diff --git a/CHANGELOG.md b/CHANGELOG.md index 72dc92bc..b5a48eb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. += 3.3.3 - Sep 7, 2024 = + +* added escaping to imageTag attribute in the Grid block to prevent xss vulnerability + = 3.3.2 - Jul 31, 2024 = * migrate Pro plugin from Paddle to LemonSqueezy diff --git a/build/gutenberg/blocks/image-compare/styles/style-rtl.css b/build/gutenberg/blocks/image-compare/styles/style-rtl.css index 43bad20e..9a8a2e9e 100644 --- a/build/gutenberg/blocks/image-compare/styles/style-rtl.css +++ b/build/gutenberg/blocks/image-compare/styles/style-rtl.css @@ -1 +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{-webkit-clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0);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{-webkit-clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0);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;-webkit-clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);right:0;overflow:hidden;position:absolute;left:0;top:0}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after{-webkit-clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position));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%;right:var(--gkt-image-compare__position);margin-right:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:right;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);right:0;margin-right: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);right:0;left: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;right: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);right:50%;position:absolute;top:50%;transform:translateX(50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-right;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-right:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-right: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-right:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-right: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{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{left: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;right: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);left:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{right:50%;transform:translateX(50%)} +.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);right:0;overflow:hidden;position:absolute;left: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%;right:var(--gkt-image-compare__position);margin-right:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:right;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);right:0;margin-right: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);right:0;left: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;right: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);right:50%;position:absolute;top:50%;transform:translateX(50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-right;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-right:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-right: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-right:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-right: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{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{left: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;right: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);left:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{right:50%;transform:translateX(50%)} diff --git a/build/gutenberg/blocks/image-compare/styles/style.css b/build/gutenberg/blocks/image-compare/styles/style.css index e4b39f39..0074b95c 100644 --- a/build/gutenberg/blocks/image-compare/styles/style.css +++ b/build/gutenberg/blocks/image-compare/styles/style.css @@ -1 +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{-webkit-clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0);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{-webkit-clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0);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;-webkit-clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 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{-webkit-clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position));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{--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%)} diff --git a/build/gutenberg/editor-rtl.css b/build/gutenberg/editor-rtl.css index f364d4ac..a34e3092 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;left:40px;top:50%;transform:translateY(-50%)}.ghostkit-control-tabs-icon .ghostkit-component-active-indicator{height:3px;right:50%;position:absolute;top:-7px;transform:translateX(50%);width:3px}.ghostkit-control-responsive-toggle .ghostkit-component-active-indicator{height:5px;right:75%;outline:2px solid #fff;position:absolute;top:0;width:5px}.ghostkit-control-element-state-toggle .ghostkit-component-active-indicator{height:5px;right: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-right:8px;width:15px}.components-panel__body-toggle>.ghostkit-color-indicator+.ghostkit-color-indicator{margin-right:2px}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper){margin-bottom:-9px}.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-left: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-right: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-right: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-left-radius:0;border-top-left-radius:0}.ghostkit-components-gap-settings-custom>.components-base-control:first-child~.components-base-control input{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper){margin-bottom:-9px}.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-left: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-left: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-right:-10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list>*{margin-right: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%;right: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-right:30px}.ghostkit-component-input-group-wrapper{display:flex}.ghostkit-component-input-group-wrapper>div+div{margin-right:-1px}.ghostkit-component-input-group-wrapper>div:focus-within{z-index:1}.ghostkit-component-input-group-wrapper>div:first-of-type input{border-bottom-left-radius:0;border-top-left-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-right-radius:0;border-top-right-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-right:2px;padding-left: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;left: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-right:-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-right:-400px;max-width:800px;min-width:800px;transform:none}}@media(min-width:600px){body>.components-modal__screen-overlay .ghostkit-component-modal{margin-right: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-right:auto}}.ghostkit-component-modal .components-modal__header .components-modal__icon-container svg{display:block;margin-left: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-right:-16px;margin-left:-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:right}.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;right:0;margin:-2px;position:absolute;left: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;right: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-left: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-left:-10px;margin-top:-10px;opacity:.7;padding:0!important;position:absolute;left: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-right: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-right: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;right:-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-right:auto;margin-left: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-left-radius:0;border-left:0;border-top-left-radius:0;margin-left:-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;left: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-right: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-left: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-right:20px}.ghostkit-control-typography .ghostkit-typography-information-control.ghostkit-typography-font-control{color:#a2aab2;flex:1 0 80%;font-style:italic;padding-right:20px;padding-left: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-right:5px!important;margin-left: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-right: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{left: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);right: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{right: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;left:0;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-bottom{bottom:0;right:0;position:absolute;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-left{height:100%;right:0;position:absolute;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center{right: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;right:50%;margin-right:-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-left: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-right:-1px}.ghostkit-control-radius>div:focus-within{z-index:1}.ghostkit-control-radius .ghostkit-control-radius-tl input{border-bottom-left-radius:0;border-top-left-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-right-radius:0;border-top-right-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;right: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-left: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-left: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:right;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-right:-16px;margin-left:-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-right: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-right: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;left: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-right:-15px;margin-left:-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;left: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-right: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-right-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-right:0}.ghostkit-plugin-templates-list{display:flex;flex-wrap:wrap;list-style:none;margin-right:-15px;margin-top:-15px;padding:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 33.33%;padding-right: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-right-radius:4px;border-top-left-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%;right: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-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}.ghostkit-typography-container+.ghostkit-typography-container{border-top:1px solid #e8eaeb;margin-top:16px}.ghostkit-typography-advanced{margin-top:10px;text-align:left}.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-left: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-right: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-right: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-right: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-right: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;right: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-right: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);right: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-right:0;padding-right: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);right: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-right: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;right:calc(var(--gkt-icon-spinner__border-size)*-1);opacity:var(--gkt-icon-spinner--background__opacity);position:absolute;left: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-right: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-right:0;margin-left: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-right-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-left: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-right: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-left:var(--gkt-button--icon__offset)}.ghostkit-button-icon-right{margin-right: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-left: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;right: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-right:var(--gkt-changelog--date__margin-left)}.editor-styles-wrapper .ghostkit-changelog-more{margin-top:var(--gkt-changelog--content__margin-top);padding-right: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-right: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-left: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%;right: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-right:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-right{order:2;padding-left:0}.ghostkit-counter-box-number-align-right~.ghostkit-counter-box-content{padding-right:0;padding-left:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-top{flex:100%;justify-content:center;padding-left:0}.ghostkit-counter-box-number-align-top~.ghostkit-counter-box-content{flex:100%;padding-right: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-right:var(--gkt-form--field-label-required-mark__margin-left)}.ghostkit-form-field-label-hidden{right:-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{right:-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-left: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-left: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;right: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-right:3px;padding-bottom:4px;padding-left: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-right: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-left: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-left: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-right: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-right:15px;padding-left: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-right: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:left;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:left}.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{right: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% - 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-right: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-right: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;right:0;margin:0;position:absolute;left: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%;right: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;right:0;pointer-events:none;position:absolute;left: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{right: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-right:0;margin-left: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-right:-7px;margin-left:-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-right:7px;margin-left: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-left: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-left: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%;right: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-right:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-right{order:2;padding-left:0}.ghostkit-icon-box-icon-align-right~.ghostkit-icon-box-content{padding-right:0;padding-left:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-top{flex:100%;justify-content:center;padding-left: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-right: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{-webkit-clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0);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{-webkit-clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0);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;-webkit-clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 0);right:0;overflow:hidden;position:absolute;left:0;top:0}.ghostkit-image-compare-vertical .ghostkit-image-compare-image-after{-webkit-clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position));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%;right:var(--gkt-image-compare__position);margin-right:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:right;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);right:0;margin-right: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);right:0;left: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;right: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);right:50%;position:absolute;top:50%;transform:translateX(50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-right;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-right:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-right: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-right:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-right: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{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{left: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;right: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);left:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{right: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-right: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-left:var(--gkt-instagram--profile-stats__gap)}.ghostkit-instagram-profile-stats>div:last-child{margin-left: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-right: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-right: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:right;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-right: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-right: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;left: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-right: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:right}.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:left}.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-right: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;left:0;transform:translateX(-50%);white-space:nowrap}.ghostkit-progress-bar-count>div:after{border-right:var(--gkt-progress--count-arrow__size) solid transparent;border-left: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;right:50%;margin-right: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:right;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-right-radius:var(--gkt-tabs--button__border-radius);border-top-left-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-left: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-right-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:var(--gkt-tabs--button__border-radius);border-top-left-radius:0;display:block;margin-bottom:0;margin-left: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-left-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-right: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%;right:0;position:absolute;top:0;width:100%}.ghostkit-testimonial-icon{font-size:var(--gkt-testimonial--icon__font-size);right: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-right: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-right:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-meta{display:flex;flex:1;flex-direction:column}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars{margin-right: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-right: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-right:20px;margin-left: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-right: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-left:var(--gkt-twitter--profile-stats__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div:last-child{margin-left: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-left: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-left:var(--gkt-twitter--tweet-retweeted-icon__margin-right);position:absolute;left: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-left:var(--gkt-twitter--tweet-actions__gap)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div:last-child{margin-left: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-right: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:right;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-right:auto;margin-left: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{right:0;margin-right: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{right:auto;margin-right:0;left: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%;right: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;right:50%;margin-right: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;right:50%;margin-right: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%;right: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) right;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{right:0;opacity:1;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s right}.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;right: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;left: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-right:0;margin-left: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:"";right:0;pointer-events:none;position:absolute;left: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-right:35px}.components-tools-panel-header>h2>.ghostkit-ext-icon{margin-top:-4px;position:absolute}.components-tools-panel-header>h2>.ghostkit-ext-icon+span{margin-right: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-right:-15px;margin-left:-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-left: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;left:40px;top:50%;transform:translateY(-50%)}.ghostkit-control-tabs-icon .ghostkit-component-active-indicator{height:3px;right:50%;position:absolute;top:-7px;transform:translateX(50%);width:3px}.ghostkit-control-responsive-toggle .ghostkit-component-active-indicator{height:5px;right:75%;outline:2px solid #fff;position:absolute;top:0;width:5px}.ghostkit-control-element-state-toggle .ghostkit-component-active-indicator{height:5px;right: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-right:8px;width:15px}.components-panel__body-toggle>.ghostkit-color-indicator+.ghostkit-color-indicator{margin-right:2px}.ghostkit-component-color-picker-wrapper:has(+.ghostkit-component-color-picker-wrapper){margin-bottom:-9px}.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-left: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-right: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-right: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-left-radius:0;border-top-left-radius:0}.ghostkit-components-gap-settings-custom>.components-base-control:first-child~.components-base-control input{border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}.ghostkit-component-icon-picker-wrapper:has(+.ghostkit-component-icon-picker-wrapper){margin-bottom:-9px}.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-left: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-left: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-right:-10px}.ghostkit-component-icon-picker .ghostkit-component-icon-picker-list>*{margin-right: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%;right: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-right:30px}.ghostkit-component-input-group-wrapper{display:flex}.ghostkit-component-input-group-wrapper>div+div{margin-right:-1px}.ghostkit-component-input-group-wrapper>div:focus-within{z-index:1}.ghostkit-component-input-group-wrapper>div:first-of-type input{border-bottom-left-radius:0;border-top-left-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-right-radius:0;border-top-right-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-right:2px;padding-left: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;left: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-right:-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-right:-400px;max-width:800px;min-width:800px;transform:none}}@media(min-width:600px){body>.components-modal__screen-overlay .ghostkit-component-modal{margin-right: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-right:auto}}.ghostkit-component-modal .components-modal__header .components-modal__icon-container svg{display:block;margin-left: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-right:-16px;margin-left:-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:right}.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;right:0;margin:-2px;position:absolute;left: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;right: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-left: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-left:-10px;margin-top:-10px;opacity:.7;padding:0!important;position:absolute;left: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-right: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-right: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;right:-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-right:auto;margin-left: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-left-radius:0;border-left:0;border-top-left-radius:0;margin-left:-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;left: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-right: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-left: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-right:20px}.ghostkit-control-typography .ghostkit-typography-information-control.ghostkit-typography-font-control{color:#a2aab2;flex:1 0 80%;font-style:italic;padding-right:20px;padding-left: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-right:5px!important;margin-left: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-right: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{left: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);right: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{right: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;left:0;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-bottom{bottom:0;right:0;position:absolute;width:100%}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-left{height:100%;right:0;position:absolute;top:0}.ghostkit-control-sr-direction .ghostkit-control-sr-direction-wrap .ghostkit-control-sr-direction-center{right: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;right:50%;margin-right:-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-left: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-right:-1px}.ghostkit-control-radius>div:focus-within{z-index:1}.ghostkit-control-radius .ghostkit-control-radius-tl input{border-bottom-left-radius:0;border-top-left-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-right-radius:0;border-top-right-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;right: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-left: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-left: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:right;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-right:-16px;margin-left:-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-right: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-right: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;left: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-right:-15px;margin-left:-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;left: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-right: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-right-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-right:0}.ghostkit-plugin-templates-list{display:flex;flex-wrap:wrap;list-style:none;margin-right:-15px;margin-top:-15px;padding:0}.ghostkit-plugin-templates-list>.ghostkit-plugin-templates-list-item{flex:0 0 33.33%;padding-right: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-right-radius:4px;border-top-left-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%;right: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-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}.ghostkit-typography-container+.ghostkit-typography-container{border-top:1px solid #e8eaeb;margin-top:16px}.ghostkit-typography-advanced{margin-top:10px;text-align:left}.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-left: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-right: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-right: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-right: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-right: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;right: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-right: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);right: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-right:0;padding-right: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);right: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-right: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;right:calc(var(--gkt-icon-spinner__border-size)*-1);opacity:var(--gkt-icon-spinner--background__opacity);position:absolute;left: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-right: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-right:0;margin-left: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-right-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-left: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-right: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-left:var(--gkt-button--icon__offset)}.ghostkit-button-icon-right{margin-right: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-left: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;right: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-right:var(--gkt-changelog--date__margin-left)}.editor-styles-wrapper .ghostkit-changelog-more{margin-top:var(--gkt-changelog--content__margin-top);padding-right: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-right: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-left: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%;right: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-right:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-right{order:2;padding-left:0}.ghostkit-counter-box-number-align-right~.ghostkit-counter-box-content{padding-right:0;padding-left:var(--gkt-counter-box--number__offset)}.ghostkit-counter-box-number-align-top{flex:100%;justify-content:center;padding-left:0}.ghostkit-counter-box-number-align-top~.ghostkit-counter-box-content{flex:100%;padding-right: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-right:var(--gkt-form--field-label-required-mark__margin-left)}.ghostkit-form-field-label-hidden{right:-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{right:-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-left: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-left: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;right: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-right:3px;padding-bottom:4px;padding-left: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-right: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-left: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-left: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-right: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-right:15px;padding-left: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-right: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:left;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:left}.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{right: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% - 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-right: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-right: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;right:0;margin:0;position:absolute;left: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%;right: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;right:0;pointer-events:none;position:absolute;left: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{right: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-right:0;margin-left: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-right:-7px;margin-left:-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-right:7px;margin-left: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-left: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-left: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%;right: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-right:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-right{order:2;padding-left:0}.ghostkit-icon-box-icon-align-right~.ghostkit-icon-box-content{padding-right:0;padding-left:var(--gkt-icon-box--icon__offset)}.ghostkit-icon-box-icon-align-top{flex:100%;justify-content:center;padding-left: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-right: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);right:0;overflow:hidden;position:absolute;left: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%;right:var(--gkt-image-compare__position);margin-right:calc(var(--gkt-image-compare--divider__width)/-2);position:absolute;top:0;transition-duration:var(--gkt-image-compare__transition-duration);transition-property:right;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);right:0;margin-right: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);right:0;left: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;right: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);right:50%;position:absolute;top:50%;transform:translateX(50%) translateY(-50%);transition-duration:var(--gkt-image-compare__transition-duration);transition-property:margin-right;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-right:calc(var(--gkt-image-compare--divider-icons__offset)*-1)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-left{margin-right: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-right:var(--gkt-image-compare--divider-icons__offset)}.ghostkit-image-compare-vertical .ghostkit-image-compare-images-divider-button-arrow-right{margin-right: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{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-image-after-label{left: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;right: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);left:auto;top:auto}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-start .ghostkit-image-compare-image-label{right:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-end .ghostkit-image-compare-image-label{left:var(--gkt-image-compare--label__offset)}.ghostkit-image-compare-vertical.ghostkit-image-compare-labels-align-center .ghostkit-image-compare-image-label{right: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-right: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-left:var(--gkt-instagram--profile-stats__gap)}.ghostkit-instagram-profile-stats>div:last-child{margin-left: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-right: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-right: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:right;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-right: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-right: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;left: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-right: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:right}.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:left}.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-right: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;left:0;transform:translateX(-50%);white-space:nowrap}.ghostkit-progress-bar-count>div:after{border-right:var(--gkt-progress--count-arrow__size) solid transparent;border-left: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;right:50%;margin-right: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:right;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-right-radius:var(--gkt-tabs--button__border-radius);border-top-left-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-left: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-right-radius:var(--gkt-tabs--button__border-radius);border-top-right-radius:var(--gkt-tabs--button__border-radius);border-top-left-radius:0;display:block;margin-bottom:0;margin-left: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-left-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-right: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%;right:0;position:absolute;top:0;width:100%}.ghostkit-testimonial-icon{font-size:var(--gkt-testimonial--icon__font-size);right: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-right: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-right:var(--gkt-testimonial--meta__offset)}.ghostkit-testimonial-meta{display:flex;flex:1;flex-direction:column}.ghostkit-testimonial-meta+.ghostkit-testimonial-stars{margin-right: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-right: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-right:20px;margin-left: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-right: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-left:var(--gkt-twitter--profile-stats__gap)}.editor-styles-wrapper .ghostkit-twitter-profile-stats>div:last-child{margin-left: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-left: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-left:var(--gkt-twitter--tweet-retweeted-icon__margin-right);position:absolute;left: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-left:var(--gkt-twitter--tweet-actions__gap)}.editor-styles-wrapper .ghostkit-twitter-item-actions>div:last-child{margin-left: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-right: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:right;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-right:auto;margin-left: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{right:0;margin-right: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{right:auto;margin-right:0;left: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%;right: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;right:50%;margin-right: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;right:50%;margin-right: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%;right: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) right;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{right:0;opacity:1;transition:var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing),0s right}.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;right: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;left: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-right:0;margin-left: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:"";right:0;pointer-events:none;position:absolute;left: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-right:35px}.components-tools-panel-header>h2>.ghostkit-ext-icon{margin-top:-4px;position:absolute}.components-tools-panel-header>h2>.ghostkit-ext-icon+span{margin-right: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-right:-15px;margin-left:-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-left: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 9833f860..c9e880cb 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:-9px}.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:-9px}.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{-webkit-clip-path:polygon(var(--gkt-image-compare__position) 0,var(--gkt-image-compare__position) 100%,0 100%,0 0);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{-webkit-clip-path:polygon(100% 0,100% var(--gkt-image-compare__position),0 var(--gkt-image-compare__position),0 0);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;-webkit-clip-path:polygon(100% 0,100% 100%,var(--gkt-image-compare__position) 100%,var(--gkt-image-compare__position) 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{-webkit-clip-path:polygon(100% var(--gkt-image-compare__position),100% 100%,0 100%,0 var(--gkt-image-compare__position));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:-9px}.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:-9px}.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} diff --git a/build/gutenberg/index.asset.php b/build/gutenberg/index.asset.php index dcc336b7..6976b8cd 100644 --- a/build/gutenberg/index.asset.php +++ b/build/gutenberg/index.asset.php @@ -1 +1 @@ - array('jquery', 'lodash', 'react', 'react-dom', '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' => '0c6f9293a853c3c6c0ab'); + array('jquery', 'lodash', 'react', 'react-dom', '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' => '21a8f849673d48a18079'); diff --git a/build/gutenberg/index.js b/build/gutenberg/index.js index 17783aac..fde78f57 100644 --- a/build/gutenberg/index.js +++ b/build/gutenberg/index.js @@ -1,10 +1,10 @@ -(()=>{var e={4672:(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,r=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 r=[],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,r=o<0?Math.max(n+o,0):Math.min(o,n),i=arguments[2],s=void 0===i?n:i>>0,a=s<0?Math.max(n+s,0):Math.min(s,n);r0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var o=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(o,"")},t.stringTrimRight=function(e){return e.replace(r,"")},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:{},r=(/mac|win|linux/i.exec(o.platform)||["other"])[0].toLowerCase(),i=o.userAgent||"",s=o.appName||"";t.isWin="win"==r,t.isMac="mac"==r,t.isLinux="linux"==r,t.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=i.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(i.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(i.split(" Edge/")[1])||void 0,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isAndroid=i.indexOf("Android")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!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,r=e("./useragent");t.buildDom=function e(t,n,o){if("string"==typeof t&&t){var r=document.createTextNode(t);return n&&n.appendChild(r),r}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var i=[],s=0;s=1.5,r.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),r.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(),r=document.createElement("script");r.src=e,n.appendChild(r),r.onload=r.onreadystatechange=function(e,n){!n&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.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={},r=function(){this.propagationStopped=!0},i=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=r),t.preventDefault||(t.preventDefault=i),n=n.slice();for(var s=0;s1&&(r=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+r+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 i;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 i=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 i();r.loadScript(t.moduleUrl(l,s),i),c()}};if(t.dynamicModules[l])t.dynamicModules[l]().then((function(e){e.default?u(e.default):u(e)}));else{try{i=this.$require(l)}catch(e){}u(i||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.5"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,o){"use strict";e("./lib/fixoldbrowsers");var r=e("./config");r.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var i=function(){return this||"undefined"!=typeof window&&window}();function s(t){if(i&&i.document){r.set("packaged",t||e.packaged||o.packaged||i.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 r={row:n+1,column:0};else this.start.row1?++h>4&&(h=1):h=1,i.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[r]("mousedown",e),h>4)h=0;else if(h>1)return o[r](d[h],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,s)}))},t.getModifierString=function(e){return r.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(!i.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 r.MODIFIER_KEYS&&(n=-1),o||13!==n||3!==t.location||(e(t,o,-n),!t.defaultPrevented)){if(i.isChromeOS&&8&o){if(e(t,o,n),t.defaultPrevented)return;o&=-9}return!!(o||n in r.FUNCTION_KEYS||n in r.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&&!i.isOldIE){var g=1;t.nextTick=function(e,n){n=n||window;var o="zero-timeout-message-"+g++,r=function(i){i.data==o&&(t.stopPropagation(i),h(n,"message",r),e())};u(n,"message",r),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,r=e("../lib/event"),i=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 C=!1,x=!1,S="",E=0,A=0,T=0,$=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,R=0;try{var O=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",i("editor")),t.session)){var o=t.session.selection.cursor.row;n.setAttribute("aria-label",i("Cursor at row $0",[o+1]))}},this.setAriaOptions({role:"textbox"}),r.addListener(n,"blur",(function(e){x||(t.onBlur(e),O=!1)}),t),r.addListener(n,"focus",(function(e){if(!x){if(O=!0,s.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),s.isEdge?setTimeout(I):I()}}),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 r=[];if(o)for(var i=n.parentElement;i&&1==i.nodeType;)r.push(i),i.setAttribute("ace_nocontext","true"),i=!i.parentElement&&i.getRootNode?i.getRootNode().host:i.parentElement;n.focus({preventScroll:!0}),o&&r.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 O},t.on("beforeEndOperation",(function(){var e=t.curOp,o=e&&e.command&&e.command.name;if("insertstring"!=o){var r=o&&(e.docChanged||e.selectionChanged);w&&r&&(S=n.value="",U()),I()}}));var L=function(e,n){for(var o=n,r=1;r<=e-$&&r<2*R+1;r++)o+=t.session.getLine(e-r).length+1;return o},I=m?function(e){if(O&&(!o||e)&&!k){e||(e="");var r="\n ab"+e+"cde fg\n";r!=n.value&&(n.value=S=r);var i=4+(e.length||(t.selection.isEmpty()?0:1));4==E&&A==i||n.setSelectionRange(4,i),E=4,A=i}}:function(){if(!w&&!k&&(O||N)){w=!0;var e=0,o=0,r="";if(t.session){var i=t.selection,s=i.getRange(),a=i.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(r=l.join("\n"),e=L(s.start.row,s.start.column),o=L(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,r=u+"\n"+r}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+=r.length+1,r=r+"\n"+h}else b&&a>0&&(r="\n"+r,o+=1,e+=1);r.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||C?t.onTextInput(c):t.onTextInput(c,{extendLeft:a,extendRight:l,restoreStart:u,restoreEnd:h}),k=!1,S=e,E=r,A=i,T=h,g?"\n":c},F=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,r=D(o,!0);(o.length>500||v.test(r)||b&&E<1&&E==A)&&I()},z=function(e,t,n){var o=e.clipboardData||window.clipboardData;if(o&&!u){var r=h||n?"Text":"text/plain";try{return t?!1!==o.setData(r,t):o.getData(r)}catch(e){if(!n)return z(e,t,!0)}}},B=function(e,i){var s=t.getCopyText();if(!s)return r.preventDefault(e);z(e,s)?(m&&(I(s),o=s,setTimeout((function(){o=!1}),10)),i?t.onCut():t.onCopy(),r.preventDefault(e)):(o=!0,n.value=s,n.select(),setTimeout((function(){o=!1,I(),i?t.onCut():t.onCopy()})))},j=function(e){B(e,!0)},H=function(e){B(e,!1)},W=function(e){var o=z(e);c.pasteCancelled()||("string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(I),r.preventDefault(e)):(n.value="",y=!0))};r.addCommandKeyListener(n,(function(e,n,o){if(!w)return t.onCommandKey(e,n,o)}),t),r.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(),I()):b&&n.selectionStart!=E&&I())}),t),r.addListener(n,"input",F,t),r.addListener(n,"cut",j,t),r.addListener(n,"copy",H,t),r.addListener(n,"paste",W,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.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:j(e)}}),t);var V=function(){if(w&&t.onCompositionUpdate&&!t.$readOnly){if(C)return G();if(w.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;D(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&&F())};function G(){x=!0,n.blur(),n.focus(),x=!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)}r.addListener(n,"compositionstart",(function(e){if(!w&&t.onCompositionStart&&!t.$readOnly&&(w={},!C)){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),r.addListener(n,"compositionupdate",V,t),r.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthA&&"\n"==S[s]?a=g.end:rA&&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&&r==s)&&(a=g.right),r!==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=r,A=s,I("")}}};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"),r=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 r=this.editor,i=e.getButton();return 0!==i?((r.getSelectionRange().isEmpty()||1==i)&&r.selection.moveToPosition(n),void(2==i&&(r.textInput.onContextMenu(e.domEvent),o.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||r.isFocused()||(r.focus(),!this.$focusTimeout||this.$clickSelection||r.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 r=i(this.$clickSelection,n);n=r.cursor,e=r.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),r=n.selection[e](o.row,o.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(r.start),a=this.$clickSelection.comparePoint(r.end);if(-1==s&&a<=0)t=this.$clickSelection.end,r.end.row==o.row&&r.end.column==o.column||(o=r.start);else if(1==a&&s>=0)t=this.$clickSelection.start,r.start.row==o.row&&r.start.column==o.column||(o=r.end);else if(-1==s&&1==a)o=r.end,t=r.start;else{var l=i(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,r=(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))),i=Date.now();(r>0||i-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,r=o-n.t,i=r?e.wheelX/r:n.vx,s=r?e.wheelY/r:n.vy;r<550&&(i=(i+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(i/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(i)<=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=i,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function i(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}}r.prototype.selectEnd=r.prototype.selectByLinesEnd,r.prototype.selectAllEnd=r.prototype.selectByLinesEnd,r.prototype.selectByWordsEnd=r.prototype.selectByLinesEnd,t.DefaultHandlers=r})),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,r=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 __)}),i=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 r=[];try{for(var s=i(this.popups),a=s.next();!a.done;a=s.next()){var l=a.value,c=!0;try{for(var u=(n=void 0,i(r)),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?r.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 r(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 r=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),i=t.session.documentToScreenPosition(n.row,n.column);if(i.column!=r.column||i.row!=r.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 r=e.renderer;this.isOpen||(h.addPopup(this),this.$registerCloseEvents(),this.setTheme(r.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var i=r.textToScreenCoordinates(t.start.row,t.start.column),s=r.scroller.getBoundingClientRect();i.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,r=o.renderer.$gutterLayer,i=new u(o);function l(){t&&(t=clearTimeout(t)),i.isOpen&&(i.hideTooltip(),o.off("mousewheel",l))}function c(e){i.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(o.isFocused()&&0==t.getButton()&&"foldWidgets"!=r.getRegion(t)){var n=t.getDocumentPosition().row,i=o.session.selection;if(t.getShiftKey())i.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();i.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(i.showTooltip(t),i.isOpen)if(o.on("mousewheel",l),e.$tooltipFollowsMouse)c(n);else{var u=n.getGutterRow(),h=r.$lines.get(u);if(h){var d=h.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),p=i.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,i.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 r(t,e),t.prototype.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),i=this.getHeight();(e+=15)+r>n&&(e-=e+r-n),(t+=15)+i>o&&(t-=20+i),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,r=o.$annotations[e];n=r?{text:Array.from(r.text),type:Array.from(r.type)}:{text:[],type:[]};var i=o.session.getFoldLine(e);if(i&&o.$showFoldedAnnotations){for(var s,a={error:[],warning:[],info:[]},l=e+1;l<=i.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,r=[];try{for(var s=i(["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;r.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 r.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"),r=e("../lib/useragent"),i=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 r.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},e}();t.MouseEvent=i})),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"),r=e("../lib/event"),i=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(),r=!n||e.row!=n.row,i=!n||e.column!=n.column;!m||r||i?(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(),r=t.renderer.layerConfig.lineHeight,i=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/i<=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,r.addListener(document,"mousemove",x)}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,r.removeListener(document,"mousemove",x)}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 r=e.dataTransfer;r.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),r.setDragImage&&r.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),r.clearData(),r.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),r.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&S(e.dataTransfer))return l=e.clientX,c=e.clientY,s||(k(),y++),null!==C&&(C=null),e.dataTransfer.dropEffect=p=E(e),r.preventDefault(e)},this.onDragLeave=function(e){if(--y<=0&&s)return _(),p=null,r.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 _(),r.preventDefault(e)}},r.addListener(b,"dragstart",this.onDragStart.bind(e),t),r.addListener(b,"dragend",this.onDragEnd.bind(e),t),r.addListener(b,"dragenter",this.onDragEnter.bind(e),t),r.addListener(b,"dragover",this.onDragOver.bind(e),t),r.addListener(b,"dragleave",this.onDragLeave.bind(e),t),r.addListener(b,"drop",this.onDrop.bind(e),t);var C=null;function x(){null==C&&(C=setTimeout((function(){null!=C&&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=i.isMac?e.altKey:e.ctrlKey,o="uninitialized";try{o=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return n&&t.indexOf(o)>=0?r="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(o)>=0?r="move":t.indexOf(o)>=0&&(r="copy"),r}}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=i.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;i.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 r=e.domEvent.target||e.domEvent.srcElement;"unselectable"in r&&(r.unselectable="on"),t.getDragDelay()?(i.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,r=e("../lib/event"),i=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 r,s,a=o.target.getAttribute("action");if("more"==a||!n)return n=!n,r=t.getCopyText(),s=t.session.getUndoManager().hasUndo(),void p.replaceChild(i.buildDom(n?["span",!r&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],r&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],r&&["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=i.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 r=t.selection.cursor,s=t.renderer.textToScreenCoordinates(r.row,r.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 i=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,p=e.timeStamp;l=p;var y=r[0],w=y.clientX,_=y.clientY;Math.abs(n-w)+Math.abs(s-_)>i&&(a=-1),n=e.clientX=w,s=e.clientY=_,v=b=0;var C=new o(e,t);if(h=C.getDocumentPosition(),p-a<500&&1==r.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 x=t.selection.cursor,S=t.selection.isEmpty()?x:t.selection.anchor,E=t.renderer.$cursorLayer.getPixelPosition(x,!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/i-.75)*t};if(e.clientXL?"cursor":"anchor"),g=L<3.5?"anchor":O<3.5?"cursor":"scroll",c=setTimeout(k,450)}a=p}),t),r.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),r.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var r=e.touches;if(!(r.length>1||"zoom"==g)){var i=r[0],a=n-i.clientX,u=s-i.clientY;if("wait"==g){if(!(a*a+u*u>4))return e.preventDefault();g="cursor"}n=i.clientX,s=i.clientY,e.clientX=i.clientX,e.clientY=i.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(i=h+1;i=e;)i++;for(a=h,l=i-1;a=t.length||2!=(l=n[r-1])&&3!=l||2!=(c=t[r+1])&&3!=c?4:(i&&(c=3),c==l?c:4);case 10:return 2==(l=r>0?n[r-1]:5)&&r+10&&2==n[r-1])return 2;if(i)return 4;for(p=r+1,d=t.length;p=1425&&f<=2303||64286==f;if(l=t[p],m&&(1==l||7==l))return 1}return r<1||5==(l=t[r-1])?4:n[r-1];case 5:return i=!1,s=!0,o;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:i=!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[C];C--)t[C]=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 i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.wrapOffset=this.wrapIndent*this.charWidths[o.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,r=o.getVisualFromLogicalIdx(n,this.bidiMap),i=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&e<=t&&i[r]%2!=0&&r++;for(var a=0;at&&i[r]%2==0&&(s+=this.charWidths[i[r]]),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,r=o.bidiLevels,i=[],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+i/2;){if(n+=i,o===r.length-1){i=0;break}i=this.charWidths[r[++o]]}return o>0&&r[o-1]%2!=0&&r[o]%2==0?(e0&&r[o-1]%2==0&&r[o]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[o]:this.bidiMap.logicalFromVisual[o-1]):this.isRtlDir&&o===r.length-1&&0===i&&r[o-1]%2==0||!this.isRtlDir&&0===o&&r[o]%2!=0?t=1+this.bidiMap.logicalFromVisual[o]:(o>0&&r[o-1]%2!=0&&0!==i&&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"),r=e("./lib/lang"),i=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 r=this.$isEmpty,i=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||r!=this.$isEmpty||i)&&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,r=this.session.getFoldLine(o);return r?(o=r.start.row,n=r.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,r=e.column+t;return n<0&&(o=e.column-t,r=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(o,r).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 r=this.session.getFoldAt(e,t,1);if(r)this.moveCursorTo(r.end.row,r.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(i)&&(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/,r=this.session.tokenRe;if(r.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(r.lastIndex=0;(t=e[n])&&!r.test(t);)if(r.lastIndex=0,n++,o.test(t)){if(n>2){n--;break}for(;(t=e[n])&&o.test(t);)n++;if(n>2)break}}return r.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),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==n.length){var i=this.doc.getLength();do{e++,o=this.doc.getLine(e)}while(e0&&/^\s*$/.test(o));n=o.length,/\s+$/.test(o)||(o="")}var i=r.stringReverse(o),s=this.$shortWordEndIndex(i);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 r=this.session.lineWidgets[this.lead.row];e<0?e-=r.rowsAbove||0:e>0&&(e+=r.rowCount-(r.rowsAbove||0))}var i=this.session.screenToDocumentPosition(o.row+e,o.column,n);0!==e&&0===t&&i.row===this.lead.row&&(i.column,this.lead.column),this.moveCursorTo(i.row,i.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 r=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(r.charAt(t))&&r.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,i),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,r=2e3,i=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=[],r=0,i=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)+r+1)})):(h=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),i[r]=l,r+=h,o.push(u),c.onMatch||(c.onMatch=null)}}o.length||(i[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){r=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=[],r=0,i=n.length;ru){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;br){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}();i.prototype.reportError=o,t.Tokenizer=i})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){"use strict";var o,r=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var o=e[n],r=0;r=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=r})),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,r,i=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 r=e.end.row-e.start.row;return{text:n+t+o,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}};(r=function(e){e=e||{},this.add("braces","insertion",(function(t,n,i,s,a){var c=i.getCursorPosition(),u=s.doc.getLine(c.row);if("{"==a){p(i);var h=i.getSelectionRange(),d=s.doc.getTextRange(h);if(""!==d&&"{"!==d&&i.getWrapBehavioursEnabled())return g(h,d,"{","}");if(r.isSaneInsertion(i,s))return/[\]\}\)]/.test(u[c.column])||i.inMultiSelectMode||e.braces?(r.recordAutoInsert(i,s,"}"),{text:"{}",selection:[1,1]}):(r.recordMaybeInsert(i,s,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(p(i),"}"==u.substring(c.column,c.column+1)&&null!==s.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&r.isAutoInsertedClosing(c,u,a))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){p(i);var f="";if(r.isMaybeInsertedClosing(c,u)&&(f=l.stringRepeat("}",o.maybeInsertedBrackets),r.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 r.clearMaybeInsertedClosing();v=this.$getIndent(u)}var b=v+s.getTabString();return{text:"\n"+b+"\n"+v+f,selection:[1,b.length,1,b.length]}}r.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&"{"==s){if(p(n),"}"==r.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i;o.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,o,i){if("("==i){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"(",")");if(r.isSaneInsertion(n,o))return r.recordAutoInsert(n,o,")"),{text:"()",selection:[1,1]}}else if(")"==i){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})&&r.isAutoInsertedClosing(l,c,i))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&"("==i&&(p(n),")"==o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("brackets","insertion",(function(e,t,n,o,i){if("["==i){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"[","]");if(r.isSaneInsertion(n,o))return r.recordAutoInsert(n,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){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})&&r.isAutoInsertedClosing(l,c,i))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&"["==i&&(p(n),"]"==o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("string_dquotes","insertion",(function(e,t,n,o,r){var i=o.$mode.$quotes||d;if(1==r.length&&i[r]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(r))return;p(n);var s=r,a=n.getSelectionRange(),l=o.doc.getTextRange(a);if(!(""===l||1==l.length&&i[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 C=k.test(f),x=o.$mode.$pairQuotesAfter;if(!(x&&x[s]&&x[s].test(h))&&_||C)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,r){var i=o.$mode.$quotes||d,s=o.doc.getTextRange(r);if(!r.isMultiLine()&&i.hasOwnProperty(s)&&(p(n),o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)==s))return r.end.column++,r})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,o,r){if("doc-start"===e&&("\n"===r||"\r\n"===r)&&n.selection.isEmpty()){var i=n.getCursorPosition(),s=o.doc.getLine(i.row),a=o.doc.getLine(i.row+1),l=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:r+l+"* ",selection:[1,3+l.length,1,3+l.length]}:{text:r+l+" * ",selection:[1,3+l.length,1,3+l.length]};if(/\/\*\*/.test(s.substring(0,i.column)))return{text:r+l+" * "+r+" "+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 r=new a(t,n.row,n.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",c))return!1}return o.stepForward(),o.getCurrentTokenRow()!==n.row||this.$matchTokenType(o.getCurrentToken()||"text",u)},r.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},r.recordAutoInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,i,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=r.row,o.autoInsertedLineEnd=n+i.substr(r.column),o.autoInsertedBrackets++},r.recordMaybeInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,i)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=r.row,o.maybeInsertedLineStart=i.substr(0,r.column)+n,o.maybeInsertedLineEnd=i.substr(r.column),o.maybeInsertedBrackets++},r.isAutoInsertedClosing=function(e,t,n){return o.autoInsertedBrackets>0&&e.row===o.autoInsertedRow&&n===o.autoInsertedLineEnd[0]&&t.substr(e.column)===o.autoInsertedLineEnd},r.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},r.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},r.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},i.inherits(r,s),t.CstyleBehaviour=r})),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],r=0,i=[],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)||i&&!/\S/.test(e)||(r.insertInLine({row:t,column:e.length},g),r.insertInLine({row:t,column:a},p))},b=function(e,t){var n;(n=e.match(m))&&r.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&r.removeInLine(t,n[1].length,n[0].length)},y=function(e,n){if(f.test(e))return!0;for(var o=t.getTokens(n),r=0;re.length&&(k=e.length)})),a==1/0&&(a=k,i=!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 r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var i,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(r.start))){var p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m;c=new h(p,g,p,g+r.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(r.end))){p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m,d=new h(p,g,p,g+r.end.length);break}a=f.stepForward()}d&&t.remove(d),c&&(t.remove(c),i=c.start.row,s=-r.start.length)}else s=r.start.length,i=n.start.row,t.insert(n.end,r.end),t.insert(n.start,r.start);l.start.row==i&&(l.start.column+=s),l.end.row==i&&(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,i=r.$modes[o];i||(r.$modes[o]=i=new n),r.$modes[t]||(r.$modes[t]=i),this.$embeds.push(t),this.$modes[t]=i}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,r=(o?1:-1)*(e.end.row-e.start.row),i=(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+r,column:t.column+(t.row==l.row?i: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 r={row:this.row,column:this.column};this.row=o.row,this.column=o.column,this._signal("change",{old:r,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):(r(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),i<=o&&n.fireUpdateEvent(i,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(i.prototype,r),t.BackgroundTokenizer=i})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/lang"),r=e("./range").Range,i=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,i){if(this.regExp)for(var s=i.firstRow,a=i.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 r(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,i))}}},e}();i.prototype.MAX_RANGES=500,t.SearchHighlight=i})),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 r=n[o][0];if(r.id<=e)break;r.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 r=e("./range").Range,i=r.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(i(t.start,e.end)>=0)d(t,e,-1);else{if(!(i(t.start,e.start)<=0))return null;d(e,t,1)}else if(n&&!o)if(i(t.start,e.end)>=0)d(t,e,-1);else{if(!(i(t.end,e.start)<=0))return null;d(e,t,-1)}else if(!n&&o)if(i(t.start,e.start)>=0)d(t,e,1);else{if(!(i(t.start,e.start)<=0))return null;d(e,t,1)}else if(!n&&!o)if(i(t.start,e.start)>=0)d(t,e,1);else{if(!(i(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):(i(e.start,t.start)<=0||d(e,r.fromPoints(t.start,e.start),-1),d(t,e,1));else if(!n&&o)i(t.start,e.end)>=0?d(t,e,-1):(i(t.start,e.start)<=0||d(t,r.fromPoints(e.start,t.start),-1),d(e,t,1));else if(!n&&!o)if(i(t.start,e.end)>=0)d(t,e,-1);else{var s,a;if(!(i(t.end,e.start)<=0))return i(e.start,t.start)<0&&(s=e,e=g(e,t.start)),i(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 r=e.end.row-e.start.row,i=n.splice(r,n.length),a=r?t.column:t.column-e.start.column;return n.push(i[0].substring(0,a)),i[0]=i[0].substr(a),{start:s(t),end:o,lines:i,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],r=0;rthis.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,r,i=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?-i-2:i:l>0||0===l&&!t?i:-i-1}}return-i-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,r=(n=n.sort((function(e,t){return o(e.start,t.start)})))[0],i=1;i=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=r-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==i[s+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=o-r,c=t.column-n.column;sr);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>r&&(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>r&&(u.start.row+=l);if(0!=l&&s=e)return r;if(r.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 r}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,o=t-e+1,r=0;r=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 i?n=e:(n=new i(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,r;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 r=[],e.forEach((function(e){r=r.concat(this.unfold(e))}),this),r;n=e}for(var i=r=this.getFoldsInRangeList(n);1==r.length&&o.comparePoints(r[0].start,n.start)<0&&o.comparePoints(r[0].end,n.end)>0;)this.expandFolds(r),r=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(r):this.expandFolds(r),i.length)return i},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,r){null==o&&(o=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var i=this.doc,s="";return e.walk((function(e,t,n,a){if(!(tu)break}while(i&&l.test(i.type)&&!/^comment.start/.test(i.type));i=r.stepBackward()}else i=r.getCurrentToken();return c.end.row=r.getCurrentTokenRow(),c.end.column=r.getCurrentTokenColumn(),/^comment.end/.test(i.type)||(c.end.column+=i.value.length-2),c}},this.foldAll=function(e,t,n,o){null==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var i=e=e||0;i=e&&(i=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 i=n[r];if(null==i&&(i=n[r]=this.getFoldWidget(r)),"start"==i){var s=this.getFoldWidgetRange(r);if(o||(o=s),s&&s.end.row>=e)break}r--}return{range:-1!==r&&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),r="end"===n?-1:1,i=this.getFoldAt(e,-1===r?0:o.length,r);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(i=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(i.range))return this.removeFold(i),i;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 r=this.getFoldAt(t,this.getLine(t).length,1);r?this.removeFold(r):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,r=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,i=n.charAt(e.column-1),s=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(s||(i=n.charAt(e.column),e={row:e.row,column:e.column+1},s=i&&i.match(/([\(\[\{])|([\)\]\}])/),o=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=r.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=r.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=/([\(\[\{])|([\)\]\}])/,i=!t&&n.charAt(e.column-1),s=i&&i.match(o);if(s||(i=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},s=i&&i.match(o)),!s)return null;var a=new r(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 r(l.row,l.column,l.row,l.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var r=this.$brackets[e],i=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==r){if(0==(i-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==e&&(i+=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 r=this.$brackets[e],i=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,i=t.value,s=0,a=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new r(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 r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(i===(o=t.value))if("<"===n.value)s++;else if(""!==t.value)return;var p=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else i===o&&"/>"===t.value&&--s<0&&(p=d=h=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new r(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 r(a.start.row,a.start.column,u.end.row,u.end.column),closeTag:new r(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,i=0,s=e.getCurrentTokenRow(),a=e.getCurrentTokenColumn(),l=a+2,c=new r(s,a,s,l);e.stepForward();var u=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if((t=e.stepForward())&&">"===t.value){var h=new r(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(++i>0){var d=new r(s,a,s,l),p=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var g=new r(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){i--;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 r=n+o>>1,i=e[r];if(t>i)n=r+1;else{if(!(t=t);i++);return(n=o[i])?(n.index=i,n.start=r-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=r.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()?r.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 r=this.tokenRe;else r=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var i=t;if(i>0){do{i--}while(i>=0&&n.charAt(i).match(r));i++}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,r=0,i=this.$foldData[r],s=i?i.start.row:1/0,a=t.length,l=0;ls){if((l=i.end.row+1)>=a)break;s=(i=this.$foldData[r++])?i.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&&(i.start.column+=c),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=c)),s&&i.start.row>=e.end.row&&(i.start.row+=s,i.end.row+=s)}if(i.end=this.insert(i.start,o),r.length){var a=e.start,l=i.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(r.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 i},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(),r=t.start.row;r<=t.end.row;++r){var i=this.getLine(r);n.start.row=r,n.end.row=r;for(var s=0;s0){var r;if((r=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;o=r-t}else e=this.$clipRowToDocument(e),o=(t=this.$clipRowToDocument(t))-e+1;var i=new u(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(i).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,r=e.end,i=o.row,s=r.row,a=s-i,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(i,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(f=this.getFoldLine(r.row)){f.addRemoveChars(r.row,r.column,o.column-r.column),f.shiftRow(-a);var h=this.getFoldLine(i);h&&h!==f&&(h.merge(f),f=h),u=c.indexOf(f)+1}for(;u=r.row&&f.shiftRow(-a);s=i}else{var d=Array(a);d.unshift(i,0);var p=t?this.$wrapData:this.$rowLengthCache;if(p.splice.apply(p,d),c=this.$foldData,u=0,f=this.getFoldLine(i)){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,r.column-o.column)):-1==g&&(f.addRemoveChars(i,0,r.column-o.column),f.shiftRow(a)),u=c.indexOf(f)+1}for(;u=i&&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(i))&&f.addRemoveChars(i,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(i,s):this.$updateRowLengthCache(i,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,r=this.doc.getAllLines(),i=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,l=e;for(t=Math.min(t,r.length-1);l<=t;)(o=this.getFoldLine(l,o))?(n=[],o.walk(function(e,t,o,i){var s;if(null!=e){(s=this.$getDisplayTokens(e,n.length))[0]=b;for(var a=1;at-h;){var d=i+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)),i-1);d>p&&e[d]p&&e[d]p&&e[d]==w;)d--}else for(;d>p&&e[d]p?u(++d):(e[d=i+t]==v&&d--,u(d-h))}else{for(;d!=i-1&&e[d]!=b;d--);if(d>i){u(d);continue}for(d=i+t;d39&&i<48||i>57&&i<64?o.push(w):i>=4352&&x(i)?o.push(m,v):o.push(m)}return o},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var o,r;for(null==t&&(t=1/0),n=n||0,r=0;r=4352&&x(o)?n+=2:n+=1,!(n>t));r++);return[n,r]},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],i=this.$docRowCache[u];var d=e>c[h-1]}else d=!h;for(var p=this.getLength()-1,g=this.getNextFoldLine(i),f=g?g.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(i))>e||i>=p);)a+=l,++i>f&&(i=g.end.row+1,f=(g=this.getNextFoldLine(i,g))?g.start.row:1/0),d&&(this.$docRowCache.push(i),this.$screenRowCache.push(a));if(g&&g.start.row<=i)o=this.getFoldDisplayLine(g),i=g.start.row;else{if(a+l<=e||i>p)return{row:p,column:this.getLine(p).length};o=this.getLine(i),g=null}var m=0,v=Math.floor(e-a);if(this.$useWrapMode){var b=this.$wrapData[i];b&&(r=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,i,v)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(o,t-m)[1],this.$useWrapMode&&s>=r&&(s=r-1),g?g.idxToPosition(s):{row:i,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,r=0,i=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],r=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;r+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(r))}var g="";d&&a>=p?(g=this.getFoldDisplayLine(d,e,t),i=d.start.row):(g=this.getLine(e).substring(0,t),i=e);var f=0;if(this.$useWrapMode){var m=this.$wrapData[i];if(m){for(var v=0;g.length>=m[v];)r++,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&&(r+=this.lineWidgets[a].rowsAbove),{row:r,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,r=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);or&&(o=t.end.row+1,r=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);i++);return[o,i]})},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=x,o.implement(f.prototype,a);var m=1,v=2,b=3,y=4,w=9,k=10,_=11,C=12;function x(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"),r=e("./lib/oop"),i=e("./range").Range,s=function(){function e(){this.$options={}}return e.prototype.set=function(e){return r.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,r,s){return o=new i(e,n,r,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,r=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=r.length-c;e:for(var h=a.offset||0;h<=u;h++){for(var d=0;df||(s.push(l=new i(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,i){var s=r?t-d+1:t;if(!(s<0||s+d>e.getLength())){var a=e.getLine(s),l=a.search(n[0]);if(!(!r&&lo))return!!i(s,l,s+d-1,u)||void 0}}};else p=r?function(t,r,i){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>r)break;c.push(a.index,h)}for(var d=c.length-1;d>=0;d-=2){var p=c[d-1];if(i(t,p,t,p+(h=c[d])))return!0}}:function(t,r,i){var a,l,c=e.getLine(t);for(n.lastIndex=r;l=n.exec(c);){var u=l[0].length;if(i(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,r=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 __)}),i=e("../lib/keys"),s=e("../lib/useragent"),a=i.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 r in o){var i=o[r];if(i==e)delete o[r];else if(Array.isArray(i)){var s=i.indexOf(e);-1!=s&&(i.splice(s,1),1==i.length&&(o[r]=i[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 r=e.split(/\s+/);e=r.pop(),r.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;o+=(o?" ":"")+n,this._addCommandToBinding(o,"chainKeys")}),this),o+=" "}var i=this.parseKeys(e),s=a[i.hashId]+i.key;this._addCommandToBinding(o+s,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var o,r=this.commandKeyBinding;if(t)if(!r[e]||this.$singleCommand)r[e]=t;else{Array.isArray(r[e])?-1!=(o=r[e].indexOf(t))&&r[e].splice(o,1):r[e]=[r[e]],"number"!=typeof n&&(n=c(t));var i=r[e];for(o=0;on);o++);i.splice(o,0,t)}else delete r[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=i[n];if(i.FUNCTION_KEYS[o])n=i.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 r=0,s=t.length;s--;){var a=i.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;r|=a}return{key:n,hashId:r}},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 r=a[t]+n,i=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,i=this.commandKeyBinding[e.$keyChain]||i),!i||"chainKeys"!=i&&"chainKeys"!=i[i.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||o>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:i}):(e.$keyChain=e.$keyChain||r,{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 r(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,r=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 __)}),i=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 r(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 r={editor:t,command:e,args:n};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),!1!==r.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);i.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"),r=e("../config"),i=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){r.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){r.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){r.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){r.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){r.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(),r=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<=r.row+1;c++){var u=o.stringTrimLeft(o.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}r.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,r=[];o.length<1&&(o=[e.selection.getRange()]);for(var s=0;st[n].column&&n++,i.unshift(n,0),t.splice.apply(t,i),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 r=this.session.lineWidgets;e.row!=n.end.row||r[n.start.row]?e.hidden=!0:r[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 r=1/0,i=0;i0&&!o[r];)r--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=r;s<=i;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=r})),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"),r=e("../mouse/default_gutter_handler").GutterTooltip,i=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 r(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.")},r=e("./lib/oop"),i=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,C=e("./clipboard"),x=e("./lib/keys"),S=function(){function e(t,n,o){this.session,this.$toDestroy=[];var r=t.getContainerElement();this.container=r,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(),r=this.renderer.layerConfig;(o.start.row>=r.lastRow||o.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var i=this.selection.toJSON();this.curOp.selectionAfter=i,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(i),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 r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),o=o&&this.mergeNextCommand&&(!/\s/.test(r)||/\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")||i.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(),r=o&&o.$getDirectionForHighlight&&o.$getDirectionForHighlight(e),i=t.getMatchingBracketRanges(n,r);if(!i){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&&(i=[a.openTagName,a.closeTagName])}}if(!i&&t.$mode.getMatching&&(i=t.$mode.getMatching(e.session)),i){var l="ace_bracket";Array.isArray(i)?1==i.length&&(l="ace_error_bracket"):i=[i],2==i.length&&(0==g.comparePoints(i[0].end,i[1].start)?i=[g.fromPoints(i[0].start,i[1].end)]:0==g.comparePoints(i[0].start,i[1].end)&&(i=[g.fromPoints(i[1].start,i[0].end)])),t.$bracketHighlight={ranges:i,markerIds:i.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 r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),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,r=e.getLine(t.start.row),i=r.substring(n,o);if(!(i.length>5e3)&&/[\w\d]/.test(i)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:i}),a=r.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(),r=0;ra.search(/\S|$/)){var l=a.substr(r.column).search(/\S|$/);n.doc.removeInLine(r.row,r.column,r.column+l)}}this.clearSelection();var c=r.column,u=n.getState(r.row),h=(a=n.getLine(r.row),o.checkOutdent(u,a,e));if(n.insert(r,e),i&&i.selection&&(2==i.selection.length?this.selection.setSelectionRange(new g(r.row,c+i.selection[0],r.row,c+i.selection[1])):this.selection.setSelectionRange(new g(r.row+i.selection[0],i.selection[1],r.row+i.selection[2],i.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var d=o.getNextLineIndent(u,a.slice(0,r.column),n.getTabString());n.insert({row:r.row+1,column:0},d)}h&&o.autoOutdent(u,n,r.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="",r="",i="",s=e.getTabString(),a=0;a0&&(o=e.getState(u-1),r=e.getLine(u-1),i=t.getNextLineIndent(o,r,s));var h=e.getLine(u),d=t.$getIndent(h);if(i!==d){if(d.length>0){var p=new g(u,0,u,d.length);e.remove(p)}i.length>0&&e.insert({row:u,column:0},i)}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),r=n.getMode().transformAction(o,"deletion",this,n,t);if(0===t.end.column){var i=n.getTextRange(t);if("\n"==i[i.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}r&&(t=r)}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,r=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var r=new g(0,0,0,0);for(o=e.first;o<=e.last;o++){var i=t.getLine(o);r.start.row=o,r.end.row=o,r.end.column=i.length,t.replace(r,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:r[0],start:r.index,end:r.index+r[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),r=this.session.getTextRange(o);if(!isNaN(parseFloat(r))&&isFinite(r)){var i=this.getNumberAt(t,n);if(i){var s=i.value.indexOf(".")>=0?i.start+i.value.indexOf(".")+1:i.end,a=i.start+i.value.length-s,l=parseFloat(i.value);l*=Math.pow(10,a),s!==i.end&&n=a&&i<=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&&(r=u.return)&&r.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 r=n.start.row;t.duplicateLines(r,r)}else{var i=o?n.start:n.end,s=t.insert(i,t.getTextRange(n));n.start=i,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,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var i=r.toOrientedRange();n=this.$getSelectedRows(i),o=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(o=0),i.moveBy(o,0),r.fromOrientedRange(i)}else{var s=r.rangeList.ranges;r.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}r.fromOrientedRange(r.ranges[0]),r.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,r=e*Math.floor(o.height/o.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(r,0)})):!1===t&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection());var i=n.scrollTop;n.scrollBy(0,r*o.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(i)},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),r=o.getCurrentToken(),i=0;r&&-1!==r.type.indexOf("tag-name")&&(r=o.stepBackward());var s=r||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;--i)this.$tryReplace(n[i],e)&&o++;return this.selection.setSelectionRange(r),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&&r.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 i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,n),i):(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 r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var i=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,i=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=i.top-s.offset;null!=(o=i.top>=0&&a+t.top<0||!(i.topwindow.innerHeight)&&null)&&(r.style.top=a+"px",r.style.left=i.left+"px",r.style.height=s.lineHeight+"px",r.scrollIntoView(o)),o=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",i),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,i.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(r){r.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"],["&&","||"],["==","!="]],r.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),i.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),i.addCssClass(this.container,"ace_hasPlaceholder");var t=i.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===x.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"),r=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,r=Math.floor(o/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-r*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;ni&&(l=r.end.row+1,i=(r=t.getNextFoldLine(l,r))?r.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,r,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,r=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(r=t.getLength()+o-1);var i=n?n.getWidth(t,r,e):r.toString().length*e.characterWidth,s=this.$padding||this.$computePadding();(i+=s.left+s.right)===this.gutterWidth||isNaN(i)||(this.gutterWidth=i,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",i))},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 r=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&r&&r.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;r--)this.$lines.shift();if(o>n)for(r=this.session.getFoldedRowCount(n+1,o);r>0;r--)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=[],r=t,i=this.session.getNextFoldLine(r),s=i?i.start.row:1/0;r>s&&(r=i.end.row+1,s=(i=this.session.getNextFoldLine(r,i))?i.start.row:1/0),!(r>n);){var a=this.$lines.createCell(r,e,this.session,u);this.$renderCell(a,e,i,r),o.push(a),r++}return o},e.prototype.$renderCell=function(e,t,n,r){var i=e.element,s=this.session,a=i.childNodes[0],c=i.childNodes[1],u=i.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,r):r+d).toString();if(this.$highlightGutterLine&&(r==this.$cursorRow||n&&r=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[r]&&(y+=p[r]),g[r]&&(y+=g[r]),this.$annotations[r]&&r!==v&&(y+=this.$annotations[r].className),m){var _=m[r];null==_&&(_=m[r]=s.getFoldWidget(r))}if(_){var C="ace_fold-widget ace_"+_,x="start"==_&&r==v&&rn.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 r=o.createElement("span");e.appendChild(r);var i=o.createElement("span");return r.appendChild(i),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,r.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,r=e("../lib/dom"),i=function(){function e(e){this.element=r.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 r=o.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),o.renderer){var i=this.$getTop(r.start.row,e),s=this.$padding+r.start.column*e.characterWidth;o.renderer(t,r,s,i,e)}else"fullLine"==o.type?this.drawFullLineMarker(t,r,o.clazz,e):"screenLine"==o.type?this.drawScreenLineMarker(t,r,o.clazz,e):r.isMultiLine()?"text"==o.type?this.drawTextMarker(t,r,o.clazz,e):this.drawMultiLineMarker(t,r,o.clazz,e):this.drawSingleLineMarker(t,r,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)),r,c==l?0:1,i)},e.prototype.drawMultiLineMarker=function(e,t,n,o,r){var i=this.$padding,s=o.lineHeight,a=this.$getTop(t.start.row,o),l=i+t.start.column*o.characterWidth;if(r=r||"",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,r)):this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+a+"px;left:"+l+"px;"+(r||"")),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,r)}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:"+i+"px;"+(r||""))}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:"+i+"px;"+(r||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,o,r,i){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,o,r,i);var s=o.lineHeight,a=(t.end.column+(r||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;"+(i||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,o,r,i){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+(r||0))+"px;top:"+a+"px;left:"+(l+e.left)+"px;"+(i||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,o,r){var i=this.$getTop(t.start.row,o),s=o.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,o)-i),this.elt(n,"height:"+s+"px;top:"+i+"px;left:0;right:0;"+(r||""))},e.prototype.drawScreenLineMarker=function(e,t,n,o,r){var i=this.$getTop(t.start.row,o),s=o.lineHeight;this.elt(n,"height:"+s+"px;top:"+i+"px;left:0;right:0;"+(r||""))},e}();i.prototype.$padding=0,t.Marker=i})),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"),r=e("../lib/dom"),i=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=r,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>r);){var h=i[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;r--)this.$lines.shift();if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)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=[],i=t,s=this.session.getNextFoldLine(i),a=s?s.start.row:1/0;i>a&&(i=s.end.row+1,a=(s=this.session.getNextFoldLine(i,s))?s.start.row:1/0),!(i>n);){var l=this.$lines.createCell(i,e,this.session),c=l.element;this.dom.removeChildren(c),r.setStyle(c.style,"height",this.$lines.computeLineHeight(i,e,this.session)+"px"),r.setStyle(c.style,"top",this.$lines.computeLineTop(i,e,this.session)+"px"),this.$renderLine(c,i,i==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",o.push(l),i++}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 r,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;r=a.exec(o);){var d=r[1],p=r[2],g=r[3],f=r[4],m=r[5];if(s.showSpaces||!p){var v=h!=r.index?o.slice(h,r.index):"";if(h=r.index+r[0].length,v&&u.appendChild(this.dom.createTextNode(v,this.element)),d){var b=s.session.getScreenTabSize(t+r.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=i.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=i.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 r=(o-=o%this.tabSize)/this.tabSize,i=0;ir[i].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,i=t.row+1;i0)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(i.stringRepeat(" ",n.indent),this.element)),a=0,s=n[++r]||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,r,i);n=this.$renderToken(e,n,r,i)}}},e.prototype.$renderOverflowMessage=function(e,t,n,o,r){n&&this.$renderToken(e,t,n,o.slice(0,this.MAX_LINE_LENGTH-t));var i=this.dom.createElement("span");i.className="ace_inline_button ace_keyword ace_toggle_wrap",i.textContent=r?"":"",e.appendChild(i)},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 r=e;if(o.length){var i=this.session.getRowSplitData(t);i&&i.length?(this.$renderWrappedLine(e,o,i),r=e.lastChild):(r=e,this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r)),this.$renderSimpleLine(r,o))}else this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r));if(this.showEOL&&r){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,r.appendChild(s)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,o=[],r=n.getTokens(e);return t.walk((function(e,t,i,s,a){null!=e?o.push({type:"fold",value:e}):(a&&(r=n.getTokens(t)),r.length&&function(e,t,n){for(var r=0,i=0;i+e[r].value.lengthn-t&&(s=s.substring(0,n-t)),o.push({type:e[r].type,value:s}),i=t+s.length,r+=1);in?o.push({type:e[r].type,value:s.substring(0,n-i)}):o.push(e[r]),i+=s.length,r+=1}}(r,s,i))}),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"),r=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[r++]||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>r;)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}();r.prototype.$padding=0,r.prototype.drawCursor=null,t.Cursor=r})),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,r=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 __)}),i=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}();i.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 r(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 r(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,r=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 __)}),i=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}();i.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 r(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,r=t.clientY,i=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(i+o-r);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 r(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,r=t.clientX,i=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(i+o-r);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"),r=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=r})),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"),r=e("../lib/dom"),i=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=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=i.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=i.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=r.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 r(e,t){return[e[0]+t[0],e[1]+t[1]]}function i(e,t){return[e*t[0],e*t[1]]}function s(e){var t=e.getBoundingClientRect();return[t.left,t.top]}e&&(e=i(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(r(l,c),r(u,a))),p=i(1+d[0],o(l,a)),g=i(1+d[1],o(c,a));if(t){var f=t,m=d[0]*f[0]/h+d[1]*f[1]/h+1,v=r(i(f[0],p),i(f[1],g));return r(i(1/m/h,v),a)}var b=o(e,a),y=n(o(p,i(d[0],b)),o(g,i(d[1],b)),b);return i(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"),r=e("../lib/oop"),i=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 i=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,i),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}();r.implement(s.prototype,i),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"),r=e("./lib/dom"),i=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");r.importCssString(b,"ace_editor.css",!1);var k=function(){function e(e,t){var n=this;this.container=e||r.createElement("div"),r.addCssClass(this.container,"ace_editor"),r.HI_DPI&&r.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=r.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=r.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=r.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(),r.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 r=this.container;o||(o=r.clientHeight||r.scrollHeight),n||(n=r.clientWidth||r.scrollWidth);var i=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(i|this.$changes,!0):this.$loop.schedule(i|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 i=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,i|=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",i|=this.CHANGE_SCROLL),n&&(e||s.width!=n)){i|=this.CHANGE_SIZE,s.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,r.setStyle(this.scrollBarH.element.style,"left",t+"px"),r.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),r.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";r.setStyle(this.scrollBarH.element.style,"right",l),r.setStyle(this.scroller.style,"right",l),r.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)}return s.$dirty=!n||!o,i&&this._signal("resize",a),i},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=r.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.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,i=n.top,s=n.left;i-=o.offset;var a=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(i<0||i>o.height-a)r.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 i+=this.lineHeight+2;else i+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-l&&(s=this.$size.scrollerWidth-l),s+=this.gutterWidth+this.margin.left,r.setStyle(e,"height",a+"px"),r.setStyle(e,"width",l+"px"),r.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-l),Math.min(i,c))}}}else r.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 r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|o,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,o){var r=this.margin;r.top=0|e,r.bottom=0|t,r.right=0|o,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.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(),r.translate(this.content,-this.scrollLeft,-n.offset);var i=n.width+2*this.$padding+"px",s=n.minHeight+"px";r.setStyle(this.content.style,"width",i),r.setStyle(this.content.style,"height",s)}if(e&this.CHANGE_H_SCROLL&&(r.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 r=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,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,r=this.$getLongestLine(),i=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-r-2*this.$padding<0),s=this.$horizScroll!==i;s&&(this.$horizScroll=i,this.scrollBarH.setVisible(i));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,r+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!=r||s)&&(k=this.CHANGE_H_SCROLL),(s||d)&&(k|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(r=this.$getLongestLine())),this.layerConfig={width:r,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(r-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),r=o.left,i=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>i?(t&&l+s>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):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 r=e+this.scrollLeft-n.left-this.$padding,i=r/this.characterWidth,s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=this.$blockCursor?Math.floor(i):Math.round(i);return{row:s,column:a,side:i-a>0?1:-1,offsetX:r}},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 r=e+this.scrollLeft-n.left-this.$padding,i=r/this.characterWidth,s=this.$blockCursor?Math.floor(i):Math.round(i),a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),r)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=this.session.documentToScreenPosition(e,t),r=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,e)?this.session.$bidiHandler.getPosLeft(o.column):Math.round(o.column*this.characterWidth)),i=o.row*this.lineHeight;return{pageX:n.left+r-this.scrollLeft,pageY:n.top+i-this.scrollTop}},e.prototype.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){r.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?(r.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),r.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 r=e.split("\n");if(this.addToken(r[0],"ghost_text",o.row,o.column),this.$ghostText={text:e,position:{row:o.row,column:o.column}},r.length>1){this.$ghostTextWidget={text:r.slice(1).join("\n"),row:o.row,column:o.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var i=this.$cursorLayer.getPixelPosition(o,!0),s=this.container.getBoundingClientRect().height,a=r.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){r.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"),r=e("../lib/net"),i=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('"+r.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,i),this.$createWorkerFromOldConfig=function(t,n,o,r,i){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)r=r||s.moduleUrl(n,"worker");else{var l=this.$normalizePath;r=r||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(r),i&&this.send("importScripts",i),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 r.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,r=!1,a=Object.create(i),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),o&&(r?setTimeout(h):h())}});u.setEmitSync=function(e){r=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,r=e("./lib/event_emitter").EventEmitter,i=e("./lib/oop"),s=function(){function e(e,t,n,o,r,i){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=i,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 r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=n.addMarker(new o(r.row,r.column,r.row,r.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,i=t.start.column-this.pos.column;if(this.updateAnchors(e),r&&(this.length+=n),r&&!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+i};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+i},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,r){t.removeMarker(n.markerId),n.markerId=t.addMarker(new o(n.row,n.column,n.row,n.column+e.length),r,null,!1)};n(this.pos,this.mainClass);for(var r=this.others.length;r--;)n(this.others[r],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,r=e("./range").Range,i=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=r.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var o=this.session.documentToScreenPosition(this.cursor),i=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(o,i).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var o=[],i=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(i.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 r=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&r?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 r=t.indexOf(o);-1!=r&&t.splice(r,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,r=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,u=(r?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 i(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(" ",i-u)):e.remove(new r(o.row,o.column,o.row,o.column-i+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,r,i=!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,r=t[3].length,t):(n+o+r!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(i=!1),n>t[1].length&&(n=t[1].length),ot[3].length&&(r=t[3].length),t):[e]})).map(t?c:i?s?function(e){return e[2]?a(n+o-e[2].length)+e[2]+a(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(n)+e[2]+a(r)+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+r)+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,r=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 r=/\S/,i=e.getLine(t),s=i.search(r);if(-1!=s){for(var a=n||i.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,r,i){var s={row:n,column:r+1},a=e.$findClosingBracket(t,s,i);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,r,i){var s={row:n,column:r},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,o.fromPoints(a,s)}}).call(r.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,r=e("../lib/dom"),i=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(i.comparePoints);if(o.length){var r=function(e,t,n){for(var o=0,r=e.length-1;o<=r;){var i=o+r>>1,s=n(t,e[i]);if(s>0)o=i+1;else{if(!(s<0))return i;r=i-1}}return-(o+1)}(o,{row:t,column:-1},i.comparePoints);r<0&&(r=-r-1),r>=o.length?r=n>0?0:o.length-1:0===r&&n<0&&(r=o.length-1);var s=o[r];if(s&&n){if(s.row===t){do{s=o[r+=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[r+=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:r.createElement("div"),type:"errorMarker"},g=p.el.appendChild(r.createElement("div")),f=p.el.appendChild(r.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(r.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})},r.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"),r=e("./range").Range,i=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 r=e;if(!(e=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(e&&e.env&&e.env.editor instanceof i)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 i(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=r,t.Editor=i,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)}))},7424:(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"),r=e("./lib/oop"),i=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 r=t(e.substr(1));return o.unshift(r[0]),r},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||"",r=t.guard;r=new RegExp(r,o.replace(/[^gim]/g,""));var i="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,s=this,a=e.replace(r,(function(){var e=s.variables.__;s.variables.__=[].slice.call(arguments);for(var t=s.resolveVariables(i,n),o="E",r=0;r=0&&i.splice(s,1)}}e.content?r(e):Array.isArray(e)&&e.forEach(r)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],o={},r=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=r.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 i=t[2],s=t[3];if("regex"==i){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"==i?(o.tabTrigger=s.match(/^\S*/)[0],o.name||(o.name=s)):i&&(o[i]=s)}}return n},e.prototype.getSnippetByName=function(e,t){var n,o=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var r=o[t];return r&&(n=r[e]),!!n}),this),n},e}();r.implement(g.prototype,i);var f=function(e,t,n){void 0===n&&(n={});var o=e.getCursorPosition(),r=e.session.getLine(o.row),i=e.session.getTabString(),s=r.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||{},r=this.tabstops.slice(),i=0;i2&&(this.tabstops.length&&i.push(i.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,i))},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.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,r=e("../editor").Editor,i=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 r(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,r=function(){};n.focus=r,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=r,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 i(-1,0,-1,1/0),m=new i(-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],r=document.activeElement;if(o!==n.selectedNode&&n.selectedNode&&(l.removeCssClass(n.selectedNode,"ace_selected"),r.removeAttribute("aria-activedescendant"),n.selectedNode.removeAttribute(g),n.selectedNode.removeAttribute("id")),n.selectedNode=o,o){l.addCssClass(o,"ace_selected");var i=h(e);o.id=i,t.element.setAttribute("aria-activedescendant",i),r.setAttribute("aria-activedescendant",i),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 r=t.caption||t.value||t.name;function i(e,n){e&&o.push({type:(t.className||"")+(n||""),value:e})}for(var s=r.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"===r?(h.bottom=e.top-this.$borderSize,h.top=h.bottom-u):"bottom"===r&&(h.top=e.top+t+this.$borderSize,h.bottom=h.top+u);var g=h.top>=0&&h.bottom<=a;if(!i&&!g)return!1;c.$maxPixelHeight=g?null:"top"===r?p:d,"top"===r?(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=r,!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 ",r=0;r=0&&n.test(e[i]);i--)r.push(e[i]);return r.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||o;for(var r=[],i=t;i0)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 r=e.container.getBoundingClientRect();o.top+=r.top-t.layerConfig.offset,o.left+=r.left-e.renderer.scrollLeft,o.left+=t.gutterWidth;var i={top:o.top,left:o.left};t.$ghostText&&t.$ghostTextWidget&&this.base.row===t.$ghostText.position.row&&(i.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(),r=t.toLowerCase();e:for(var i,s=0;i=e[s];s++){var a=!this.ignoreCaption&&i.caption||i.value||i.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(r);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,r){return n[t]=r||""})).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=i.$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]={},i.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 i=r.for(t);i.autoShown=!0,i.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(r.startCommand)):this.commands.removeCommand(r.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)}))},3224:(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,r=e("./lib/oop"),i=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),s=e("./editor").Editor,a=e("./virtual_renderer").VirtualRenderer,l=e("./edit_session").EditSession;(function(){r.implement(this,i),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,r=0;r{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"),r=(e("../lib/lang"),e("./text_highlight_rules").TextHighlightRules),i=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":i,"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,r),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,r=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 r=n[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r})),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}},r=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 r=t.getLine(n.row).substr(0,n.column),i=/\([^)]*$/.test(r);return i&&(r=r.substr(r.lastIndexOf("(")+1)),/:[^;]+$/.test(r)?(/([\w\-]+):[^:]*$/.test(r),this.getPropertyValueCompletions(e,t,n,o)):this.getPropertyCompletions(e,t,n,o,i)}return[]},this.getPropertyCompletions=function(e,t,n,r,i){return i=i||!1,Object.keys(o).map((function(e){return{caption:e,snippet:e+": $0"+(i?"":";"),meta:"property",score:1e6}}))},this.getPropertyValueCompletions=function(e,t,n,r){var i=t.getLine(n.row).substr(0,n.column),s=(/([\w\-]+):[^:]*$/.exec(i)||{})[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(r.prototype),t.CssCompletions=r})),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"),r=(e("../behaviour").Behaviour,e("./cstyle").CstyleBehaviour),i=e("../../token_iterator").TokenIterator,s=function(){this.inherit(r),this.add("colon","insertion",(function(e,t,n,o,r){if(":"===r&&n.selection.isEmpty()){var s=n.getCursorPosition(),a=new i(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,r){var s=o.doc.getTextRange(r);if(!r.isMultiLine()&&":"===s){var a=n.getCursorPosition(),l=new i(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(r.start.row).substring(r.end.column,r.end.column+1))return r.end.column++,r}})),this.add("semicolon","insertion",(function(e,t,n,o,r){if(";"===r&&n.selection.isEmpty()){var i=n.getCursorPosition();if(";"===o.doc.getLine(i.row).substring(i.column,i.column+1))return{text:"",selection:[1,1]}}})),this.add("!important","insertion",(function(e,t,n,o,r){if("!"===r&&n.selection.isEmpty()){var i=n.getCursorPosition(),s=o.doc.getLine(i.row);if(/^\s*(;|}|$)/.test(s.substring(i.column)))return{text:"!important",selection:[10,10]}}}))};o.inherits(s,r),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"),r=e("../../range").Range,i=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,i),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 r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(o)?"start":r},this.getFoldWidgetRange=function(e,t,n,o){var r,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(r=i.match(this.foldingStartMarker)){var s=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,s);var a=e.getCommentFoldRange(n,s+r[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(r=i.match(this.foldingStopMarker))?(s=r.index+r[0].length,r[1]?this.closingBracketBlock(e,r[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/),i=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<=i)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new r(i,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),i=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new r(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"),r=e("./text").Mode,i=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=i,this.$outdent=new s,this.$behaviour=new c,this.$completer=new l,this.foldingRules=new u};o.inherits(h,r),function(){this.foldingRules="cStyle",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),r=this.getTokenizer().getLineTokens(t,e).tokens;return r.length&&"comment"==r[r.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)}))},8608:(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"),r=e("./text_highlight_rules").TextHighlightRules,i=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|$)"},i.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};o.inherits(i,r),i.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},i.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},i.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.JsDocCommentHighlightRules=i})),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"),r=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,i=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:[r.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:[r.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(r,"doc-",[r.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:[r.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[r.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}o.inherits(a,i),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,r=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 r=n[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r})),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"),r=e("../../range").Range,i=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,i),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 r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(o)?"start":r},this.getFoldWidgetRange=function(e,t,n,o){var r,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(r=i.match(this.foldingStartMarker)){var s=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,s);var a=e.getCommentFoldRange(n,s+r[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(r=i.match(this.foldingStopMarker))?(s=r.index+r[0].length,r[1]?this.closingBracketBlock(e,r[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/),i=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<=i)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new r(i,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),i=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new r(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"),r=e("./text").Mode,i=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=i,this.$outdent=new s,this.$behaviour=new l,this.foldingRules=new c};o.inherits(u,r),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),r=this.getTokenizer().getLineTokens(t,e),i=r.tokens,s=r.state;if(i.length&&"comment"==i[i.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)}))},8967:(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)}))},828:(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)}))},9540:(e,t,n)=>{e=n.nmd(e),ace.require(["ace/snippets/text"],(function(t){e&&(e.exports=t)}))},9016:(e,t,n)=>{"use strict";var o=n(2768)("ArrayBuffer.prototype.byteLength",!0),r=n(2848);e.exports=function(e){return r(e)?o?o(e):e.byteLength:NaN}},9700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=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=i(n(2251)),r=i(n(5528));function i(e){return e&&e.__esModule?e:{default:e}}t.c=(0,r.default)(o.default,{value:"onChange"})},4:e=>{var t=.1,n="function"==typeof Float32Array;function o(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function i(e){return 3*e}function s(e,t,n){return((o(t,n)*e+r(t,n))*e+i(t))*e}function a(e,t,n){return 3*o(t,n)*e*e+2*r(t,n)*e+i(t)}function l(e){return e}e.exports=function(e,o,r,i){if(!(0<=e&&e<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===o&&r===i)return l;for(var c=n?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=s(u*t,e,r);return function(n){return 0===n?0:1===n?1:s(function(n){for(var o=0,i=1;10!==i&&c[i]<=n;++i)o+=t;--i;var l=o+(n-c[i])/(c[i+1]-c[i])*t,u=a(l,e,r);return u>=.001?function(e,t,n,o){for(var r=0;r<4;++r){var i=a(t,n,o);if(0===i)return t;t-=(s(t,n,o)-e)/i}return t}(n,l,e,r):0===u?l:function(e,t,n,o,r){var i,a,l=0;do{(i=s(a=t+(n-t)/2,o,r)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++l<10);return a}(n,o,o+t,e,r)}(n),o,i)}}},2768:(e,t,n)=>{"use strict";var o=n(6604),r=n(4572),i=r(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?r(n):n}},4572:(e,t,n)=>{"use strict";var o=n(268),r=n(6604),i=n(2392),s=n(6556),a=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||o.call(l,a),u=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=c(o,l,arguments);return i(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},4772:(e,t,n)=>{"use strict";var o=n(1464),r=n(2768),i=n(8972),s=n(6604),a=n(3088),l=n(7223),c=n(1620),u=n(2816),h=n(9600),d=n(2848),p=n(768),g=n(4244),f=n(9432),m=n(7056),v=n(3424),b=n(7232),y=n(8488),w=n(9016),k=r("SharedArrayBuffer.prototype.byteLength",!0),_=r("Date.prototype.getTime"),C=Object.getPrototypeOf,x=r("Object.prototype.toString"),S=s("%Set%",!0),E=r("Map.prototype.has",!0),A=r("Map.prototype.get",!0),T=r("Map.prototype.size",!0),$=r("Set.prototype.add",!0),M=r("Set.prototype.delete",!0),R=r("Set.prototype.has",!0),O=r("Set.prototype.size",!0);function L(e,t,n,o){for(var r,i=a(e);(r=i.next())&&!r.done;)if(F(t,r.value,n,o))return M(e,r.value),!0;return!1}function I(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function P(e,t,n,r,i,s){var a=I(n);if(null!=a)return a;var l=A(t,a),c=o({},i,{strict:!1});return!(void 0===l&&!E(t,a)||!F(r,l,c,s))&&!E(e,a)&&F(r,l,c,s)}function N(e,t,n){var o=I(n);return null!=o?o:R(t,o)&&!R(e,o)}function D(e,t,n,o,r,i){for(var s,l,c=a(e);(s=c.next())&&!s.done;)if(F(n,l=s.value,r,i)&&F(o,A(t,l),r,i))return M(e,l),!0;return!1}function F(e,t,n,r){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=r.has(e),I=r.has(t);if(M&&I){if(r.get(e)===r.get(t))return!0}else l={};return M||r.set(e,l),I||r.set(t,l),function(e,t,n,r){var s,l;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(x(e)!==x(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),I=g(t);if(M!==I)return!1;if((M||I)&&(e.source!==t.source||i(e)!==i(t)))return!1;var B=p(e),j=p(t);if(B!==j)return!1;if((B||j)&&_(e)!==_(t))return!1;if(n.strict&&C&&C(e)!==C(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(!F(e[l=Z[s]],t[l],n,r))return!1;var X=b(e),Q=b(t);return X===Q&&("Set"===X||"Set"===Q?function(e,t,n,o){if(O(e)!==O(t))return!1;for(var r,i,s,l=a(e),c=a(t);(r=l.next())&&!r.done;)if(r.value&&"object"==typeof r.value)s||(s=new S),$(s,r.value);else if(!R(t,r.value)){if(n.strict)return!1;if(!N(e,t,r.value))return!1;s||(s=new S),$(s,r.value)}if(s){for(;(i=c.next())&&!i.done;)if(i.value&&"object"==typeof i.value){if(!L(s,i.value,n.strict,o))return!1}else if(!n.strict&&!R(e,i.value)&&!L(s,i.value,n.strict,o))return!1;return 0===O(s)}return!0}(e,t,n,r):"Map"!==X||function(e,t,n,r){if(T(e)!==T(t))return!1;for(var i,s,l,c,u,h,d=a(e),p=a(t);(i=d.next())&&!i.done;)if(c=i.value[0],u=i.value[1],c&&"object"==typeof c)l||(l=new S),$(l,c);else if(void 0===(h=A(t,c))&&!E(t,c)||!F(u,h,n,r)){if(n.strict)return!1;if(!P(e,t,c,u,n,r))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(!D(l,e,c,h,n,r))return!1}else if(!(n.strict||e.has(c)&&F(A(e,c),h,n,r)||D(l,e,c,h,o({},n,{strict:!1}),r)))return!1;return 0===O(l)}return!0}(e,t,n,r))}(e,t,s,r)}function z(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 F(e,t,n,l())}},5456:(e,t,n)=>{"use strict";var o=n(1188)(),r=n(6604),i=o&&r("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var s=n(7668),a=n(6556),l=n(872);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!l&&l(e,t);if(i)i(e,t,{configurable:null===c&&h?h.configurable:!c,enumerable:null===o&&h?h.enumerable:!o,value:n,writable:null===r&&h?h.writable:!r});else{if(!u&&(o||r||c))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},5728:(e,t,n)=>{"use strict";var o=n(7056),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,s=Array.prototype.concat,a=n(5456),l=n(1188)(),c=function(e,t,n,o){if(t in e)if(!0===o){if(e[t]===n)return}else if("function"!=typeof(r=o)||"[object Function]"!==i.call(r)||!o())return;var r;l?a(e,t,n,!0):a(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=o(t);r&&(i=s.call(i,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,r){void 0===r&&(r=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=r;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,i);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,r,i){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,r,i),v=this.diff_main(d,g,r,i);return m.concat([new t.Diff(0,f)],v)}return r&&e.length>100&&o.length>100?this.diff_lineMode_(e,o,i):this.diff_bisect_(e,o,i)},t.prototype.diff_lineMode_=function(e,o,r){var i=this.diff_linesToChars_(e,o);e=i.chars1,o=i.chars2;var s=i.lineArray,a=this.diff_main(e,o,!1,r);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,r),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,r){for(var i=e.length,s=o.length,a=Math.ceil((i+s)/2),l=a,c=2*a,u=new Array(c),h=new Array(c),d=0;dr);y++){for(var w=-y+f;w<=y-m;w+=2){for(var k=l+w,_=(A=w==-y||w!=y&&u[k-1]i)m+=2;else if(_>s)f+=2;else if(g&&(S=l+p-w)>=0&&S=(x=i-h[S]))return this.diff_bisectSplit_(e,o,A,_,r)}for(var C=-y+v;C<=y-b;C+=2){for(var x,S=l+C,E=(x=C==-y||C!=y&&h[S-1]i)b+=2;else if(E>s)v+=2;else if(!g){var A;if((k=l+p-C)>=0&&k=(x=i-x))return this.diff_bisectSplit_(e,o,A,_,r)}}}return[new t.Diff(n,e),new t.Diff(1,o)]},t.prototype.diff_bisectSplit_=function(e,t,n,o,r){var i=e.substring(0,n),s=t.substring(0,o),a=e.substring(n),l=t.substring(o),c=this.diff_main(i,s,!1,r),u=this.diff_main(a,l,!1,r);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],o={};function r(e){for(var t="",r=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,i,s,a,u]:null}var s,a,l,c,u,h=i(n,o,Math.ceil(n.length/4)),d=i(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,r=[],i=0,s=null,a=0,l=0,c=0,u=0,h=0;a0?r[i-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),r=n.charAt(0),i=o.match(t.nonAlphaNumericRegex_),s=r.match(t.nonAlphaNumericRegex_),a=i&&o.match(t.whitespaceRegex_),l=s&&r.match(t.whitespaceRegex_),c=a&&o.match(t.linebreakRegex_),u=l&&r.match(t.linebreakRegex_),h=c&&e.match(t.blanklineEndRegex_),d=u&&n.match(t.blanklineStartRegex_);return h||d?5:c||u?4:i&&!a&&l?3:a||l?2:i||s?1:0}for(var o=1;o=d&&(d=p,c=r,u=i,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,r=[],i=0,s=null,a=0,l=!1,c=!1,u=!1,h=!1;a0?r[i-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,r=0,i=0,s=0,a="",l="";r1?(0!==i&&0!==s&&(0!==(o=this.diff_commonPrefix(l,a))&&(r-i-s>0&&0==e[r-i-s-1][0]?e[r-i-s-1][1]+=l.substring(0,o):(e.splice(0,0,new t.Diff(0,l.substring(0,o))),r++),l=l.substring(o),a=a.substring(o)),0!==(o=this.diff_commonSuffix(l,a))&&(e[r][1]=l.substring(l.length-o)+e[r][1],l=l.substring(0,l.length-o),a=a.substring(0,a.length-o))),r-=i+s,e.splice(r,i+s),a.length&&(e.splice(r,0,new t.Diff(n,a)),r++),l.length&&(e.splice(r,0,new t.Diff(1,l)),r++),r++):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,s=0,i=0,a="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(r=1;rt));o++)s=r,a=i;return e.length!=o&&e[o][0]===n?a:a+(t-s)},t.prototype.diff_prettyHtml=function(e){for(var t=[],o=/&/g,r=//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),r=this;function i(e,o){var i=e/t.length,s=Math.abs(n-o);return r.Match_Distance?i+s/r.Match_Distance:s?1:i}var s=this.Match_Threshold,a=e.indexOf(t,n);-1!=a&&(s=Math.min(i(0,a),s),-1!=(a=e.lastIndexOf(t,n+t.length))&&(s=Math.min(i(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=i(p,v-1);if(y<=s){if(s=y,!((a=v-1)>n))break;g=Math.max(1,2*n-a)}}}if(i(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===r)s=e,i=this.diff_text1(s);else if("string"==typeof e&&o&&"object"==typeof o&&void 0===r)i=e,s=o;else{if("string"!=typeof e||"string"!=typeof o||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");i=e,s=r}if(0===s.length)return[];for(var a=[],l=new t.patch_obj,c=0,u=0,h=0,d=i,p=i,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)i[s]=!1,r-=e[s].length2-e[s].length1;else if(i[s]=!0,r=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)i[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],i.start1-=a,i.start2-=a,i.length1+=a,i.length2+=a}return 0==(s=(i=e[e.length-1]).diffs).length||0!=s[s.length-1][0]?(s.push(new t.Diff(0,o)),i.length1+=n,i.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),i.length1+=a,i.length2+=a),o},t.prototype.patch_splitMax=function(e){for(var o=this.Match_MaxBits,r=0;r2*o?(c.length1+=d.length,s+=d.length,u=!1,c.diffs.push(new t.Diff(h,d)),i.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==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var p=this.diff_text1(i.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(++r,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n{"use strict";e.exports=EvalError},2772:e=>{"use strict";e.exports=Error},5360:e=>{"use strict";e.exports=RangeError},2380:e=>{"use strict";e.exports=ReferenceError},7668:e=>{"use strict";e.exports=SyntaxError},6556:e=>{"use strict";e.exports=TypeError},568:e=>{"use strict";e.exports=URIError},7040:(e,t,n)=>{"use strict";var o=n(8528),r=Object.prototype.toString,i=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]"===r.call(e)?function(e,t,n){for(var o=0,r=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(7840);e.exports=Function.prototype.bind||o},3548: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},6604:(e,t,n)=>{"use strict";var o,r=n(2772),i=n(9576),s=n(5360),a=n(2380),l=n(7668),c=n(6556),u=n(568),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(4308)(),v=n(7636)(),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%":r,"%eval%":eval,"%EvalError%":i,"%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 C=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 r=e("%AsyncGenerator%");r&&b&&(n=b(r.prototype))}return k[t]=n,n},x={__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(268),E=n(5176),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),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,I=function(e,t){var n,o=e;if(E(x,o)&&(o="%"+(n=x[o])[0]+"%"),E(k,o)){var r=k[o];if(r===y&&(r=C(o)),void 0===r&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:r}}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,O,(function(e,t,n,r){o[o.length]=n?$(r,L,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",r=I("%"+o+"%",t),i=r.name,s=r.value,a=!1,u=r.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[i]=s)}}return s}},872:(e,t,n)=>{"use strict";var o=n(6604)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(e){o=null}e.exports=o},5112:e=>{e.exports={control:function(e,t){var n=Object.assign(e,{cursor:"pointer",minHeight:30});return n=t.isFocused&&!t.isDisabled?Object.assign(n,{borderColor:"#007cba"}):Object.assign(n,{borderColor:"#7e8993","&:hover":{borderColor:"#7e8993"}}),t.isFocused&&(n=Object.assign(n,{boxShadow:"0 0 0 1px #007cba","&:hover":{borderColor:"#007cba"}})),n},valueContainer:function(e){return Object.assign(e,{padding:"0 8px"})},input:function(e){return Object.assign(e,{margin:0,height:30,paddingTop:0,paddingBottom:0,input:{boxShadow:"none !important"}})},dropdownIndicator:function(e){return Object.assign(e,{padding:5,color:"#555555","&:hover":{color:"#555555"},svg:{width:17,height:17}})},clearIndicator:function(e){return Object.assign(e,{padding:5,svg:{width:15,height:15}})},indicatorSeparator:function(){return!1},multiValue:function(e){return Object.assign(e,{padding:"3px 4px",margin:4,marginLeft:0,borderRadius:15,backgroundColor:"#ddd"})},multiValueLabel:function(e){return Object.assign(e,{padding:0,color:"#32373c",fontSize:"90%"})},multiValueRemove:function(e){return Object.assign(e,{padding:0,marginLeft:5,marginTop:1,width:16,height:16,borderRadius:8,backgroundColor:"#555d66",color:"#ddd",justifyContent:"center",":hover":{backgroundColor:"#e02e2e",color:"#fff"},svg:{width:12,height:12}})},option:function(e,t){var n=Object.assign(e,{display:"flex",alignItems:"center",padding:"4px 10px"});return t.isFocused&&(n=Object.assign(n,{backgroundColor:"#efefef"})),t.isSelected&&(n=Object.assign(n,{backgroundColor:"#007cba"})),n},menu:function(e){return Object.assign(e,{zIndex:2})}}},9476: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)}},1188:(e,t,n)=>{"use strict";var o=n(6604)("%Object.defineProperty%",!0),r=function(){if(o)try{return o({},"a",{value:1}),!0}catch(e){return!1}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==o([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},7636:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},4308:(e,t,n)=>{"use strict";var o="undefined"!=typeof Symbol&&Symbol,r=n(1968);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},1968: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 r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},3804:(e,t,n)=>{"use strict";var o=n(1968);e.exports=function(){return o()&&!!Symbol.toStringTag}},5176:(e,t,n)=>{"use strict";var o=Function.prototype.call,r=Object.prototype.hasOwnProperty,i=n(268);e.exports=i.call(o,r)},4792:(e,t,n)=>{"use strict";var o=n(9819),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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]||r}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 r=p(n);r&&r!==g&&e(t,r,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,r=n?Symbol.for("react.portal"):60106,i=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 i: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 r: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=i,t.Lazy=m,t.Memo=f,t.Portal=r,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)===i},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===f},t.isPortal=function(e){return k(e)===r},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===i||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},9819:(e,t,n)=>{"use strict";e.exports=n(6560)},8216:(e,t,n)=>{"use strict";var o=n(5176),r=n(7223)(),i=n(6556),s={assert:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");if(r.assert(e),!s.has(e,t))throw new i("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=r.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=r.get(e);return!!n&&o(n,"$"+t)},set:function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var o=r.get(e);o||(o={},r.set(e,o)),o["$"+t]=n}};Object.freeze&&Object.freeze(s),e.exports=s},9328:e=>{"use strict";e.exports=function(e,t,n,o,r,i,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,r,i,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},2816:(e,t,n)=>{"use strict";var o=n(3804)(),r=n(2768)("Object.prototype.toString"),i=function(e){return!(o&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===r(e)},s=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r(e)&&"[object Function]"===r(e.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=s,e.exports=a?i:s},2848:(e,t,n)=>{"use strict";var o=n(4572),r=n(2768),i=n(6604)("%ArrayBuffer%",!0),s=r("ArrayBuffer.prototype.byteLength",!0),a=r("Object.prototype.toString"),l=!!i&&!s&&new i(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}}:i?function(e){return"[object ArrayBuffer]"===a(e)}:function(e){return!1}},4160:(e,t,n)=>{"use strict";if(n(9476)()){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}},7556:(e,t,n)=>{"use strict";var o=n(2768),r=o("Boolean.prototype.toString"),i=o("Object.prototype.toString"),s=n(3804)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(s&&Symbol.toStringTag in e?function(e){try{return r(e),!0}catch(e){return!1}}(e):"[object Boolean]"===i(e))}},8528:e=>{"use strict";var t,n,o=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},r((function(){throw 42}),null,t)}catch(e){e!==n&&(r=null)}else r=null;var i=/^\s*class\b/,s=function(e){try{var t=o.call(e);return i.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=r?function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{r(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)}},768:(e,t,n)=>{"use strict";var o=Date.prototype.getDay,r=Object.prototype.toString,i=n(3804)();e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Date]"===r.call(e))}},6096: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 r=n?Map.prototype.has:null,i=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 n}catch(e){}return!1}},5308:(e,t,n)=>{"use strict";var o=Number.prototype.toString,r=Object.prototype.toString,i=n(3804)();e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(i?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Number]"===r.call(e))}},4244:(e,t,n)=>{"use strict";var o,r,i,s,a=n(2768),l=n(3804)();if(l){o=a("Object.prototype.hasOwnProperty"),r=a("RegExp.prototype.exec"),i={};var c=function(){throw i};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{r(e,s)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},5744: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 r=n?Map.prototype.has:null,i=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 o}catch(e){}return!1}},9432:(e,t,n)=>{"use strict";var o=n(2768)("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}},6376:(e,t,n)=>{"use strict";var o=String.prototype.valueOf,r=Object.prototype.toString,i=n(3804)();e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object String]"===r.call(e))}},3940:(e,t,n)=>{"use strict";var o=Object.prototype.toString;if(n(4308)()){var r=Symbol.prototype.toString,i=/^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()&&i.test(r.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},7172: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 r=n?n.prototype.has:null,i=o?o.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,r),i)try{i.call(e,i)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},3864:(e,t,n)=>{"use strict";var o=n(6604),r=n(2768),i=o("%WeakSet%",!0),s=r("WeakSet.prototype.has",!0);if(s){var a=r("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 i}catch(e){}return!1}}else e.exports=function(e){return!1}},9600:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2752:(e,t,n)=>{var o,r="__lodash_hash_undefined__",i=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:"",C=y.toString,x=w.hasOwnProperty,S=w.toString,E=RegExp("^"+C.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),A=v.Symbol,T=b.splice,$=F(v,"Map"),M=F(Object,"create"),R=A?A.prototype:void 0,O=R?R.toString:void 0;function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},I.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},P.prototype.clear=function(){this.__data__={hash:new L,map:new($||I),string:new L}},P.prototype.delete=function(e){return D(this,e).delete(e)},P.prototype.get=function(e){return D(this,e).get(e)},P.prototype.has=function(e){return D(this,e).has(e)},P.prototype.set=function(e,t){return D(this,e).set(e,t),this};var z=j((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(V(e))return O?O.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return h.test(e)&&n.push(""),e.replace(d,(function(e,t,o,r){n.push(o?r.replace(p,"$1"):t||e)})),n}));function B(e){if("string"==typeof e||V(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function j(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var s=e.apply(this,o);return n.cache=i.set(r,s),s};return n.cache=new(j.Cache||P),n}j.Cache=P;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:z(n);for(var o=0,r=t.length;null!=e&&o{e=n.nmd(e);var o="__lodash_hash_undefined__",r=1,i=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]",C="[object String]",x="[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[C]=M[S]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,O="object"==typeof self&&self&&self.Object===Object&&self,L=R||O||Function("return this")(),I=t&&!t.nodeType&&t,P=I&&e&&!e.nodeType&&e,N=P&&P.exports===I,D=N&&R.process,F=function(){try{return D&&D.binding&&D.binding("util")}catch(e){}}(),z=F&&F.isTypedArray;function B(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&i?new Ee:void 0;for(a.set(e,t),a.set(t,e);++d-1},xe.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 Ce,map:new(he||xe),string:new Ce}},Se.prototype.delete=function(e){var t=Ie(this,e).delete(e);return this.size-=t?1:0,t},Se.prototype.get=function(e){return Ie(this,e).get(e)},Se.prototype.has=function(e){return Ie(this,e).has(e)},Se.prototype.set=function(e,t){var n=Ie(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 xe,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 xe){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,r=null==t?0:t.length,i=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=z?function(e){return function(t){return e(t)}}(z):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&&je(e),r=!n&&!o&&We(e),i=!n&&!o&&!r&&Ke(e),s=n||o||r||i,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 r=[n,o];t.FORMATS=r},7e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LINE_ENDINGS=void 0,t.LINE_ENDINGS={POSIX:"\n",WIN32:"\r\n"}},9196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_PLATFORMS=void 0,t.SUPPORTED_PLATFORMS={DARWIN:"darwin",LINUX:"linux",WIN32:"win32"}},4488:(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 r="sentences";t.UNIT_SENTENCES=r;var i="sentence";t.UNIT_SENTENCE=i;var s="paragraphs";t.UNIT_PARAGRAPHS=s;var a="paragraph";t.UNIT_PARAGRAPH=a;var l=[n,o,r,i,s,a];t.UNITS=l},4611:(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"]},1104:(e,t,n)=>{"use strict";Object.defineProperty(t,"Yf",{enumerable:!0,get:function(){return r.default}});n(6544),n(4488),n(4611);var o,r=(o=n(2528))&&o.__esModule?o:{default:o}},2528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=n(6544),i=n(7e3),s=(o=n(7008))&&o.__esModule?o:{default:o},a=n(2160);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]:r.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===r.FORMATS.indexOf(n.toLowerCase()))throw new Error("".concat(n," is an invalid format. Please use ").concat(r.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)()?i.LINE_ENDINGS.WIN32:i.LINE_ENDINGS.POSIX}},{key:"formatString",value:function(e){return this.format===r.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},7008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4611),r=n(2160);function i(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.sentencesPerParagraph,r=void 0===n?{max:7,min:3}:n,i=t.wordsPerSentence,a=void 0===i?{max:15,min:5}:i,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),r.min>r.max)throw new Error("Minimum number of sentences per paragraph (".concat(r.min,") cannot exceed maximum (").concat(r.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=r,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,i=n.max,s=e||this.generateRandomInteger(o,i);return(0,r.makeArrayOfLength)(s).reduce((function(e,n){return"".concat(t.pluckRandomWord()," ").concat(e)}),"").trim()}},{key:"generateRandomSentence",value:function(e){return"".concat((0,r.capitalize)(this.generateRandomWords(e)),".")}},{key:"generateRandomParagraph",value:function(e){var t=this,n=this.sentencesPerParagraph,o=n.min,i=n.max,s=e||this.generateRandomInteger(o,i);return(0,r.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]}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},2072:(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)}},2160:(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 r.default}}),Object.defineProperty(t,"isReactNative",{enumerable:!0,get:function(){return i.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(2072)),r=c(n(3516)),i=c(n(1812)),s=c(n(8236)),a=c(n(2708)),l=c(n(3247));function c(e){return e&&e.__esModule?e:{default:e}}},3516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){return!!e.exports}},1812:(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}},8236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9196);t.default=function(){var e=!1;try{e=process.platform===o.SUPPORTED_PLATFORMS.WIN32}catch(t){e=!1}return e}},2708:(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}))}},3247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(o=n(2708))&&o.__esModule?o:{default:o};t.default=function(e,t){return(0,r.default)(e).map((function(){return t()}))}},7872:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&r&&"function"==typeof r.get?r.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,C=Array.prototype.concat,x=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,O=Object.prototype.propertyIsEnumerable,L=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function I(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 r=String(o),i=b.call(t,r.length+1);return y.call(r,n,"$&_")+"."+y.call(y.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var P=n(6204),N=P.custom,D=H(N)?N:null;function F(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function z(e){return y.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==U(e)||R&&"object"==typeof e&&R in e)}function j(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,r,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?I(t,_):_}if("bigint"==typeof t){var E=String(t)+"n";return w?I(t,E):E}var T=void 0===l.depth?5:l.depth;if(void 0===r&&(r=0),r>=T&&T>0&&"object"==typeof t)return B(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=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(l,r);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 i={depth:l.depth};return V(l,"quoteStyle")&&(i.quoteStyle=l.quoteStyle),e(t,i,r+1,a)}return e(t,l,r+1,a)}if("function"==typeof t&&!j(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?" { "+x.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)),re=t.attributes||[],ie=0;ie"}if(B(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)+"]":"[ "+x.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)||O.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ae,", ")+" }":"{ ["+String(t)+"] "+x.call(C.call("[cause]: "+K(t.cause),ae),", ")+" }"}if("object"==typeof t&&f){if(D&&"function"==typeof t[D]&&P)return P(t,{depth:T-r});if("symbol"!==f&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.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",i.call(t),le,W)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.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)&&!j(t)){var ue=Q(t,K),he=L?L(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?"["+x.call(C.call([],pe||[],de||[]),": ")+"] ":"");return 0===ue.length?ge+"{}":W?ge+"{"+X(ue,W)+"}":ge+"{ "+x.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 F(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):x.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function Q(e,t){var n=B(e),o=[];if(n){o.length=e.length;for(var r=0;r{"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))}},1620:(e,t,n)=>{"use strict";var o=n(5728),r=n(4572),i=n(7344),s=n(9756),a=n(8116),l=r(s(),Object);o(l,{getPolyfill:s,implementation:i,shim:a}),e.exports=l},9756:(e,t,n)=>{"use strict";var o=n(7344);e.exports=function(){return"function"==typeof Object.is?Object.is:o}},8116:(e,t,n)=>{"use strict";var o=n(9756),r=n(5728);e.exports=function(){var e=o();return r(Object,{is:e},{is:function(){return Object.is!==e}}),e}},3816:(e,t,n)=>{"use strict";var o;if(!Object.keys){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,s=n(3428),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]&&r.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]"===i.call(e),o=s(e),a=t&&"[object String]"===i.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&&!r.call(e,0))for(var f=0;f0)for(var m=0;m{"use strict";var o=Array.prototype.slice,r=n(3428),i=Object.keys,s=i?function(e){return i(e)}:n(3816),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 r(e)?a(o.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},3428: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}},7928:(e,t,n)=>{"use strict";var o=n(7056),r=n(1968)(),i=n(2768),s=Object,a=i("Array.prototype.push"),l=i("Object.prototype.propertyIsEnumerable"),c=r?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 i=1;i{"use strict";var o=n(5728),r=n(4572),i=n(7928),s=n(9244),a=n(4976),l=r.apply(s()),c=function(e,t){return l(Object,arguments)};o(c,{getPolyfill:s,implementation:i,shim:a}),e.exports=c},9244:(e,t,n)=>{"use strict";var o=n(7928);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(5728),r=n(9244);e.exports=function(){var e=r();return o(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},9776:(e,t,n)=>{"use strict";var o=n(9143);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,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:i,resetWarningCache:r};return n.PropTypes=n,n}},3268:(e,t,n)=>{e.exports=n(9776)()},9143:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6515: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}},7392:(e,t,n)=>{"use strict";var o=n(4368),r=n(4812),i=n(6515);e.exports={formats:i,parse:r,stringify:o}},4812:(e,t,n)=>{"use strict";var o=n(5872),r=Object.prototype.hasOwnProperty,i=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 i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=a?i.slice(0,a.index):i,u=[];if(c){if(!n.plainObjects&&r.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(a=s.exec(i))&&h=0;--i){var s,a=e[i];if("[]"===a&&n.parseArrays)s=[].concat(r);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]=r:"__proto__"!==c&&(s[c]=r):s={0:r}}r=s}return r}(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=i(m)?[m]:m),r.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(7223),r=n(5872),i=n(6515),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=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},g={},f=function e(t,n,i,s,a,c,h,d,f,m,v,b,y,w,k,_){for(var C,x=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?x=d(n,x):x instanceof Date?x=v(x):"comma"===i&&l(x)&&(x=r.maybeMap(x,(function(e){return e instanceof Date?v(e):e}))),null===x){if(a)return h&&!w?h(n,p.encoder,k,"key",b):n;x=""}if("string"==typeof(C=x)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||r.isBuffer(x))return h?[y(w?n:h(n,p.encoder,k,"key",b))+"="+y(h(x,p.encoder,k,"value",b))]:[y(n)+"="+y(String(x))];var $,M=[];if(void 0===x)return M;if("comma"===i&&l(x))w&&h&&(x=r.maybeMap(x,h)),$=[{value:x.length>0?x.join(",")||null:void 0}];else if(l(d))$=d;else{var R=Object.keys(x);$=f?R.sort(f):R}for(var O=s&&l(x)&&1===x.length?n+"[]":n,L=0;L<$.length;++L){var I=$[L],P="object"==typeof I&&void 0!==I.value?I.value:x[I];if(!c||null!==P){var N=l(x)?"function"==typeof i?i(O,I):O:O+(m?"."+I:"["+I+"]");_.set(t,E);var D=o();D.set(g,_),u(M,e(P,N,i,s,a,c,"comma"===i&&w&&l(x)?null:h,d,f,m,v,b,y,w,k,D))}}return M};e.exports=function(e,t){var n,r=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=i.default;if(void 0!==e.format){if(!s.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=i.formatters[n],r=p.filter;return("function"==typeof e.filter||l(e.filter))&&(r=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:r,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?r=(0,c.filter)("",r):l(c.filter)&&(n=c.filter);var h,d=[];if("object"!=typeof r||null===r)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(r)),c.sort&&n.sort(c.sort);for(var v=o(),b=0;b0?k+w:""}},5872:(e,t,n)=>{"use strict";var o=n(6515),r=Object.prototype.hasOwnProperty,i=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(i(n)){for(var o=[],r=0;r=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===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(i(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(4672),delete n.g.window):window.ace?(e=window.ace).acequire=window.ace.require||window.ace.acequire:e=n(4672),e},t.debounce=function(e,t){var n=null;return function(){var o=this,r=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(o,r)}),t)}}},3496:(e,t,n)=>{"use strict";var o=n(4784);n(9987).default,n(3432).default,t.cp=o.default},3432:function(e,t,n){"use strict";var o,r=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 __)}),i=this&&this.__assign||function(){return i=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(9420),r=Object,i=TypeError;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)},8972:(e,t,n)=>{"use strict";var o=n(5728),r=n(4572),i=n(5436),s=n(1072),a=n(8148),l=r(s());o(l,{getPolyfill:s,implementation:i,shim:a}),e.exports=l},1072:(e,t,n)=>{"use strict";var o=n(5436),r=n(5728).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(r&&"gim"===/a/gim.flags){var e=i(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}},8148:(e,t,n)=>{"use strict";var o=n(5728).supportsDescriptors,r=n(1072),i=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=r(),t=l(c),n=i(t,"flags");return n&&n.get===e||s(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},9572:(e,t,n)=>{var o,r,i;i=function(){var e,t,n=document,o=n.getElementsByTagName("head")[0],r=!1,i="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(6604),r=n(5456),i=n(1188)(),s=n(872),a=o("%TypeError%"),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)&&(i?r(e,"length",t,!0,!0):r(e,"length",t)),e}},9420:(e,t,n)=>{"use strict";var o=n(5456),r=n(1188)(),i=n(3548).functionsHaveConfigurableNames(),s=TypeError;e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!i||(r?o(e,"name",t,!0,!0):o(e,"name",t)),e}},6036:(e,t,n)=>{e.exports=n(1576)},1576:(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--)r+=o[a];return i+r}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(6604),r=n(2768),i=n(7872),s=o("%TypeError%"),a=o("%WeakMap%",!0),l=o("%Map%",!0),c=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),p=r("Map.prototype.set",!0),g=r("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 "+i(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,r){a&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new a),u(e,o,r)):l?(t||(t=new l),p(t,o,r)):(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,r))}};return o}},9628: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 r=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},i=void 0===o.replacement?"-":o.replacement,s=void 0===o.trim||o.trim,a=n.normalize().split("").reduce((function(t,n){var s=r[n];return void 0===s&&(s=e[n]),void 0===s&&(s=n),s===i&&(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,i),o.lower&&(a=a.toLowerCase()),a}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},640:(e,t,n)=>{"use strict";var o=n(8216),r=SyntaxError,i="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!i)throw new r("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!==i)throw t;return{done:!0,value:void 0}}}};return o.set(t,"[[Iterator]]",e),t}},876:function(e,t,n){"use strict";var o;!function(r){if("function"!=typeof i){var i=function(e){return e};i.nonNative=!0}const s=i("plaintext"),a=i("html"),l=i("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 i.nonNative||"function"!=typeof e[i.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,r=t.state,i=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="",r=s,i+=">",n.has(g(i))?h+=i:h+=o,i="";break;case'"':case"'":u=d===u?"":u||d,i+=d;break;case"-":""===d?("--"==i.slice(-2)&&(r=s),i=""):i+=d)}return t.state=r,t.tag_buffer=i,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)}()},8812:(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,i.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),r=this.props[l[e]];o&&w(this.props,o)&&!r&&(r=this.props[o].requestChange);for(var i=arguments.length,a=Array(i>2?i-2:0),c=2;c{"use strict";t.__esModule=!0;var o,r=(o=n(8812))&&o.__esModule?o:{default:o};t.default=(0,r.default)({shouldComponentUpdate:function(){return!this._notifying}},(function(e,t,n,o,r){n&&(e._notifying=!0,n.call.apply(n,[e,o].concat(r)),e._notifying=!1),e._values[t]=o,e.unmounted||e.forceUpdate()})),e.exports=t.default},1832:(e,t,n)=>{"use strict";t.__esModule=!0,t.version=void 0,t.uncontrolledPropTypes=function(e,t,n){return{}},t.getType=function(e){return i[0]>=15||0===i[0]&&i[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,r=Array(o),i=0;i{"use strict";var o=n(6376),r=n(5308),i=n(7556),s=n(3940),a=n(4160);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:o(e)?"String":r(e)?"Number":i(e)?"Boolean":s(e)?"Symbol":a(e)?"BigInt":void 0}},8488:(e,t,n)=>{"use strict";var o=n(7040),r=n(7236),i=n(4572),s=n(2768),a=n(872),l=s("Object.prototype.toString"),c=n(3804)(),u="undefined"==typeof globalThis?n.g:globalThis,h=r(),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}},1280:e=>{"use strict";e.exports=window.React},6204:()=>{},7236:(e,t,n)=>{"use strict";var o=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="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 r(){for(var e="",t=0;t{"use strict";var o=n(2816),r=n(640);if(n(4308)()||n(1968)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():o(e)?Array.prototype[i].call(e):void 0}}else{var s=n(9600),a=n(6376),l=n(6604),c=l("%Map%",!0),u=l("%Set%",!0),h=n(2768),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(6096),b=n(5744),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 C=h("Map.prototype.@@iterator",!0)||h("Map.prototype._es6-shim iterator_",!0),x=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 r(k(e));if(C)return C(e);if(y){var t=[];return y(e,(function(e,n){d(t,[n,e])})),f(t)}}if(b(e)){if(_)return r(_(e));if(x)return x(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)}}},7232:(e,t,n)=>{"use strict";var o=n(6096),r=n(5744),i=n(7172),s=n(3864);e.exports=function(e){if(e&&"object"==typeof e){if(o(e))return"Map";if(r(e))return"Set";if(i(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.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 r=o.length-1;r>-1&&!e;)e=o[r--].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:()=>rt,hasClass:()=>lt,removeClass:()=>at,replaceClass:()=>it});var r={};n.r(r),n.d(r,{maybeDecode:()=>gt,maybeEncode:()=>pt});var i={};n.r(i),n.d(i,{getSpecificPropsFromStyles:()=>Gi,getStyle:()=>Hi,getStylesToReset:()=>Ui,getUpdatedStyles:()=>Vi,hasStyle:()=>Wi,prepareStyles:()=>ji});var s={};n.r(s),n.d(s,{get:()=>qi});var a={};n.r(a),n.d(a,{get:()=>es});var l={};n.r(l),n.d(l,{DEFAULT:()=>pg,EasingBezierEditor:()=>mg,EasingControls:()=>vg,PRESETS:()=>gg});var c={};n.r(c),n.d(c,{DEFAULT:()=>wg,PRESETS:()=>kg,SpringControls:()=>Eg,SpringEditor:()=>Sg});var u={};n.r(u),n.d(u,{get:()=>Dg});var h={};n.r(h),n.d(h,{apiFetch:()=>zg,setImageTagData:()=>Bg});var d={};n.r(d),n.d(d,{API_FETCH:()=>Wg});var p={};n.r(p),n.d(p,{getImageTagData:()=>qg});var g={};n.r(g),n.d(g,{getImageTagData:()=>Kg});var f={};n.r(f),n.d(f,{apiFetch:()=>Zg,setTemplateData:()=>Xg,setTemplates:()=>Jg});var m={};n.r(m),n.d(m,{API_FETCH:()=>Qg});var v={};n.r(v),n.d(v,{getTemplateData:()=>tf,getTemplates:()=>ef});var b={};n.r(b),n.d(b,{getTemplateData:()=>of,getTemplates:()=>nf});var y={};n.r(y),n.d(y,{apiFetch:()=>sf,setCustomCode:()=>af,updateCustomCode:()=>lf});var w={};n.r(w),n.d(w,{API_FETCH:()=>cf});var k={};n.r(k),n.d(k,{getCustomCode:()=>uf});var _={};n.r(_),n.d(_,{getCustomCode:()=>hf,updateCustomCode:()=>df});var C={};n.r(C),n.d(C,{apiFetch:()=>gf,setCustomizerData:()=>ff});var x={};n.r(x),n.d(x,{API_FETCH:()=>mf});var S={};n.r(S),n.d(S,{getCustomizerData:()=>vf});var E={};n.r(E),n.d(E,{getCustomizerData:()=>bf});var A={};n.r(A),n.d(A,{apiFetch:()=>wf,setCustomFonts:()=>kf,updateCustomFonts:()=>_f});var T={};n.r(T),n.d(T,{API_FETCH:()=>Cf});var $={};n.r($),n.d($,{getCustomFonts:()=>xf});var M={};n.r(M),n.d(M,{getCustomFonts:()=>Sf,updateCustomFonts:()=>Ef});var R={};n.r(R),n.d(R,{apiFetch:()=>Tf,setCustomTypography:()=>$f,updateCustomTypography:()=>Mf});var O={};n.r(O),n.d(O,{API_FETCH:()=>Rf});var L={};n.r(L),n.d(L,{getCustomTypography:()=>Of});var I={};n.r(I),n.d(I,{getCustomTypography:()=>Lf,updateCustomTypography:()=>If});var P={};n.r(P),n.d(P,{apiFetch:()=>Nf,setInstagramFeed:()=>Df,setInstagramProfile:()=>Ff});var N={};n.r(N),n.d(N,{API_FETCH:()=>zf});var D={};n.r(D),n.d(D,{getInstagramFeed:()=>jf,getInstagramProfile:()=>Hf});var F={};n.r(F),n.d(F,{getInstagramFeed:()=>Wf,getInstagramProfile:()=>Vf});var z={};n.r(z),n.d(z,{apiFetch:()=>Gf,setTwitterFeed:()=>qf,setTwitterProfile:()=>Kf});var B={};n.r(B),n.d(B,{API_FETCH:()=>Yf});var j={};n.r(j),n.d(j,{getTwitterFeed:()=>Jf,getTwitterProfile:()=>Xf});var H={};n.r(H),n.d(H,{getTwitterFeed:()=>Qf,getTwitterProfile:()=>em});var W={};n.r(W),n.d(W,{apiFetch:()=>nm,setTOC:()=>om});var V={};n.r(V),n.d(V,{API_FETCH:()=>rm});var U={};n.r(U),n.d(U,{getTOC:()=>sm});var G={};n.r(G),n.d(G,{getTOC:()=>am});var q={};n.r(q),n.d(q,{metadata:()=>um,name:()=>gm,settings:()=>fm});var K={};n.r(K),n.d(K,{metadata:()=>mm,name:()=>wm,settings:()=>km});var Y={};n.r(Y),n.d(Y,{metadata:()=>_m,name:()=>Sm,settings:()=>Em});var Z={};n.r(Z),n.d(Z,{metadata:()=>Am,name:()=>Lm,settings:()=>Im});var J={};n.r(J),n.d(J,{metadata:()=>Pm,name:()=>Bm,settings:()=>jm});var X={};n.r(X),n.d(X,{metadata:()=>Hm,name:()=>Km,settings:()=>Ym});var Q={};n.r(Q),n.d(Q,{metadata:()=>Zm,name:()=>Xm,settings:()=>Qm});var ee={};n.r(ee),n.d(ee,{metadata:()=>ev,name:()=>nv,settings:()=>ov});var te={};n.r(te),n.d(te,{metadata:()=>rv,name:()=>uv,settings:()=>hv});var ne={};n.r(ne),n.d(ne,{metadata:()=>dv,name:()=>vv,settings:()=>bv});var oe={};n.r(oe),n.d(oe,{metadata:()=>yv,name:()=>_v,settings:()=>Cv});var re={};n.r(re),n.d(re,{metadata:()=>xv,name:()=>Pv,settings:()=>Nv});var ie={};n.r(ie),n.d(ie,{metadata:()=>Dv,name:()=>Wv,settings:()=>Vv});var se={};n.r(se),n.d(se,{metadata:()=>Uv,name:()=>Gv,settings:()=>qv});var ae={};n.r(ae),n.d(ae,{metadata:()=>Kv,name:()=>Yv,settings:()=>Zv});var le={};n.r(le),n.d(le,{metadata:()=>Jv,name:()=>Xv,settings:()=>Qv});var ce={};n.r(ce),n.d(ce,{metadata:()=>eb,name:()=>tb,settings:()=>nb});var ue={};n.r(ue),n.d(ue,{metadata:()=>ob,name:()=>rb,settings:()=>ib});var he={};n.r(he),n.d(he,{metadata:()=>sb,name:()=>ab,settings:()=>lb});var de={};n.r(de),n.d(de,{metadata:()=>cb,name:()=>ub,settings:()=>hb});var pe={};n.r(pe),n.d(pe,{metadata:()=>db,name:()=>pb,settings:()=>gb});var ge={};n.r(ge),n.d(ge,{metadata:()=>fb,name:()=>bb,settings:()=>yb});var fe={};n.r(fe),n.d(fe,{metadata:()=>wb,name:()=>kb,settings:()=>_b});var me={};n.r(me),n.d(me,{metadata:()=>Cb,name:()=>xb,settings:()=>Sb});var ve={};n.r(ve),n.d(ve,{metadata:()=>Eb,name:()=>Ab,settings:()=>Tb});var be={};n.r(be),n.d(be,{metadata:()=>$b,name:()=>by,settings:()=>yy});var ye={};n.r(ye),n.d(ye,{metadata:()=>wy,name:()=>$y,settings:()=>My});var we={};n.r(we),n.d(we,{metadata:()=>Ry,name:()=>ow,settings:()=>rw});var ke={};n.r(ke),n.d(ke,{metadata:()=>lw,name:()=>dw,settings:()=>pw,withClasses:()=>gw});var _e={};n.r(_e),n.d(_e,{metadata:()=>fw,name:()=>ww,settings:()=>kw});var Ce={};n.r(Ce),n.d(Ce,{metadata:()=>_w,name:()=>$w,settings:()=>Mw});var xe={};n.r(xe),n.d(xe,{metadata:()=>Rw,name:()=>Nw,settings:()=>Dw});var Se={};n.r(Se),n.d(Se,{metadata:()=>Fw,name:()=>jw,settings:()=>Hw});var Ee={};n.r(Ee),n.d(Ee,{metadata:()=>Ww,name:()=>Vw,settings:()=>Uw});var Ae={};n.r(Ae),n.d(Ae,{metadata:()=>Gw,name:()=>Zw,settings:()=>Jw});var Te={};n.r(Te),n.d(Te,{decode:()=>tk,encode:()=>rk,format:()=>ik,parse:()=>bk});var $e={};n.r($e),n.d($e,{Any:()=>wk,Cc:()=>kk,Cf:()=>_k,P:()=>yk,Z:()=>Ck});var Me={};n.r(Me),n.d(Me,{arrayReplaceAt:()=>Yk,assign:()=>Kk,escapeHtml:()=>a_,escapeRE:()=>c_,fromCodePoint:()=>Jk,has:()=>qk,isMdAsciiPunct:()=>p_,isPunctChar:()=>d_,isSpace:()=>u_,isString:()=>Uk,isValidEntityCode:()=>Zk,isWhiteSpace:()=>h_,lib:()=>f_,normalizeReference:()=>g_,unescapeAll:()=>n_,unescapeMd:()=>t_});var Re={};n.r(Re),n.d(Re,{parseLinkDestination:()=>v_,parseLinkLabel:()=>m_,parseLinkTitle:()=>b_});var Oe={};n.r(Oe),n.d(Oe,{metadata:()=>Xw,name:()=>cx,settings:()=>ux});var Le={};n.r(Le),n.d(Le,{metadata:()=>hx,name:()=>gx,settings:()=>fx});var Ie={};n.r(Ie),n.d(Ie,{metadata:()=>mx,name:()=>bx,settings:()=>yx});var Pe={};n.r(Pe),n.d(Pe,{metadata:()=>wx,name:()=>Cx,settings:()=>xx});var Ne={};n.r(Ne),n.d(Ne,{metadata:()=>Sx,name:()=>Ox,settings:()=>Lx});var De={};n.r(De),n.d(De,{metadata:()=>Ix,name:()=>Nx,settings:()=>Dx});var Fe={};n.r(Fe),n.d(Fe,{metadata:()=>Fx,name:()=>Ux,settings:()=>Gx});var ze={};n.r(ze),n.d(ze,{metadata:()=>qx,name:()=>Jx,settings:()=>Xx});var Be={};n.r(Be),n.d(Be,{metadata:()=>Qx,name:()=>sS,settings:()=>aS});var je={};n.r(je),n.d(je,{metadata:()=>lS,name:()=>cS,settings:()=>uS});var He={};n.r(He),n.d(He,{metadata:()=>hS,name:()=>kS,settings:()=>_S});var We={};n.r(We),n.d(We,{metadata:()=>CS,name:()=>SS,settings:()=>ES});var Ve={};n.r(Ve),n.d(Ve,{name:()=>TS,settings:()=>$S});var Ue={};n.r(Ue),n.d(Ue,{name:()=>MS,settings:()=>RS});var Ge={};n.r(Ge),n.d(Ge,{name:()=>PS,settings:()=>NS});var qe={};n.r(qe),n.d(qe,{name:()=>DS,settings:()=>FS});var Ke=n(1280),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 rt(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 it(e,t,n){const o=new(ot())(e),r=new RegExp(`${t}-`);for(const e of o.values())r.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],r=o?ct(e[n]):e[n],i=o&&!Object.keys(r).length;return void 0===r||i?t:Object.assign(t,{[n]:r})}),{})}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,Ct,xt,St,Et,At,Tt,$t,Mt,Rt,Ot,Lt,It,Pt,Nt,Dt,Ft,zt,Bt,jt,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 Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt!==e))}var Ai=n(9628),Ti=n.n(Ai),$i=n(876),Mi=n.n($i);const{getBlocks:Ri}=(0,Ze.select)("core/block-editor");function Oi(e,t="none"){let n=[];return"none"===t&&(t=Ri()),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,...Oi(e,t.innerBlocks)])})),n}function Li(e,t){let n=!0;return t.forEach((t=>{t===e&&(n=!1)})),n}function Ii(e){return Ti()(Mi()(e),{replacement:"-",remove:/[*_+~()'"!?/\-—–−:@^|&#.,;%<>{}]/g,lower:!0})}function Pi(e,t){let n="",o=0;const r=Oi(t);for(;!n||!Li(n,r);)n&&(o+=1),n=`${Ii(e)}${o?`-${o}`:""}`;return n}function Ni(e){return e&&"object"==typeof e&&!Array.isArray(e)}function Di(e,...t){if(!t.length)return e;const n=t.shift();return Ni(e)&&Ni(n)&&Object.keys(n).forEach((t=>{Ni(n[t])?(e[t]||Object.assign(e,{[t]:{}}),Di(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),Di(e,...t)}function Fi(e,t=1){const n=10**t;return Math.round(e*n)/n}function zi(e){return Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{})}const Bi={...window.ghostkitVariables.media_sizes};function ji(e){return gt(e)}function Hi(e,t,n=!1,o=!1){let r,i=ji(e);return n&&(i=i?.[`media_${n}`]),o&&(i=i?.[o]),void 0!==i?.[t]&&(r=i?.[t]),r}function Wi(e,t,n=!1,o=!1){return void 0!==Hi(e,t,n,o)}function Vi(e,t,n=!1,o=!1){let r;return o&&(t={[o]:t}),n?(r={},r[`media_${n}`]=t):r=t,r=Di({media_xl:{},media_lg:{},media_md:{},media_sm:{}},gt(e),r),pt(ct(r))}function Ui(e,t=!1,n=[""]){const o={};return n.forEach((e=>{e&&(o[e]={})})),["",...t?Object.keys(Bi):[]].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 Gi(e,t,n=!1,o=[""]){const r=Ui(t,n,o),i=gt(e||{});return["",...n?Object.keys(Bi):[]].forEach((e=>{t.forEach((t=>{o.forEach((n=>{e?n?void 0!==i?.[`media_${e}`]?.[n]?.[t]&&(r[`media_${e}`][n][t]=i[`media_${e}`][n][t]):void 0!==i?.[`media_${e}`]?.[t]&&(r[`media_${e}`][t]=i[`media_${e}`][t]):n?void 0!==i?.[n]?.[t]&&(r[n][t]=i[n][t]):void 0!==i?.[t]&&(r[t]=i[t])}))}))})),pt(r)}function qi(){return{arrayMove:et,camelCaseToDash:tt,classesReplacer:o,compactObject:ct,dashCaseToTitle:ut,encodeDecode:r,getIcon:xi,getParents:Si,getSiblings:Ei,getSlug:Ii,getUniqueSlug:Pi,merge:Di,round:Fi,sortObject:zi,styles:i}}const Ki=(0,Ze.createReduxStore)("ghostkit/base/utils",{selectors:s,reducer:e=>e});(0,Ze.register)(Ki);const{ghostkitVariables:Yi}=window,Zi={...Yi.media_sizes};function Ji(){const{device:e}=(0,Ze.useSelect)((e=>{const{getDevice:t}=e("ghostkit/responsive");return{device:t()}})),{setDevice:t}=(0,Ze.useDispatch)("ghostkit/responsive");return{device:e,setDevice:t,allDevices:Zi}}const Xi=window.lodash;function Qi(e){const{attributes:t,setAttributes:n}=e,o=t?.ghostkit||{},r=o?.styles||{};function i(e,t=!1,r=!1){const i=(0,Xi.cloneDeep)(o);void 0===i?.styles&&(i.styles={});const s=Vi(i.styles,e,t,r);i.styles=s,n({ghostkit:i})}return{styles:r,getStyles:function(){return ji(r)},getStyle:function(e,t=!1,n=!1){return Hi(r,e,t,n)},hasStyle:function(e,t=!1,n=!1){return Wi(r,e,t,n)},setStyles:i,resetStyles:function(e,t=!1,n=[""]){i(Ui(e,t,n))}}}function es(){return{useResponsive:Ji,useStyles:Qi}}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 rs(e){const{name:t,children:n}=e;return(0,os.applyFilters)(t,n||"",e)}var is=n(3496),ss=(n(2256),n(8608),n(8967),n(828),n(9540),n(7424));function as(e){const{setOptions:t={},editorProps:n={},...o}=e;return(0,Ke.createElement)(is.cp,{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(7892),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:r=(()=>{})}=e,i=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)(rs,{name:"ghostkit.component.color-palette",props:e},(0,Ke.createElement)(us.ColorPalette,{colors:i,value:t,enableAlpha:n,onChange:e=>{r(e)},__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0}))}function gs(e){const{value:t,onChange:n,label:o,colorPalette:r=!0,alpha:i=!1,gradient:s=!1,afterDropdownContent:a}=e;return(0,Ke.createElement)(us.BaseControl,{className:"ghostkit-component-color-picker-wrapper"},(0,Ke.createElement)(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,Ke.createElement)(us.Button,{className:cs()("ghostkit-component-color-toggle",e?"ghostkit-component-color-toggle-active":""),onClick:n},(0,Ke.createElement)("span",{className:"ghostkit-component-color-toggle-indicator",style:{background:t||""}}),(0,Ke.createElement)("span",{className:"ghostkit-component-color-toggle-label"},o)),renderContent:()=>(0,Ke.createElement)("div",{className:"ghostkit-component-color-picker"},(0,Ke.createElement)(ps,{value:t,palette:r,alpha:i,gradient:s,onChange:e=>{n(e||"")}}),a||"")}))}const fs=window.wp.date,ms=window.wp.element,vs=window.wp.i18n,{luxon:bs}=window;function ys(e){const[t,n]=(0,ms.useState)(!1),{value:o,onChange:r,label:i,is12Hour:s=!1}=e,a=(0,fs.getSettings)(),l=a.formats.datetime||"F j, Y g:i a";return(0,Ke.createElement)(us.BaseControl,{id:i,label:i,className:"ghostkit-components-date-time-picker"},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Button,{isLink:!0,onClick:()=>n(!t)},o?`${(0,fs.dateI18n)(l,o)} ${a.timezone.abbr||a.timezone.string||`UTC${a.timezone.offset}`}`:(0,vs.__)("Select Date","ghostkit")),t?(0,Ke.createElement)(us.Popover,{className:"ghostkit-components-date-time-picker-popover",onClose:()=>n(!1)},(0,Ke.createElement)(us.DateTimePicker,{label:i,currentDate:bs.DateTime.fromISO(o).isValid?o:"",onChange:r,is12Hour:s})):null))}function ws(e){const{label:t,className:n,contentClassName:o,onClick:r,open:i,onToggle:s,children:a}=e;return(0,Ke.createElement)(us.BaseControl,{className:"ghostkit-component-dropdown-picker-wrapper"},(0,Ke.createElement)(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:i,onToggle:s,renderToggle:({isOpen:e,onToggle:n})=>(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-component-dropdown-picker-toggle",e?"ghostkit-component-dropdown-picker-toggle-active":""),onClick:t=>{r?r(n,e,t):n()}},(0,Ke.createElement)("span",{className:"ghostkit-component-dropdown-picker-toggle-label"},t)),renderContent:()=>a}))}const ks=".editor-styles-wrapper";function _s(e){const{styles:t}=e,n=(0,ms.useMemo)((()=>{const e=(0,ds.transformStyles)([{css:t}],ks);let n="";return(0,Xi.map)((0,Xi.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)}},xi("icon-pointer"),o()&&(0,Ke.createElement)(ns,null),t&&(0,Ke.createElement)("span",null,(0,vs.__)(":hover","ghostkit")))}const xs={};function Ss(e){const{value:t,onChange:n,label:o,image:r}=e;let i="";if(!r)return null;if(i=function(e){if(void 0!==xs[e])return xs[e];let t=/]*?src\s*=\s*['"]([^'"]*?)['"][^>]*?>/g.exec(e);if(t&&t[1])return xs[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)?(xs[e]=t,t):(xs[e]=!1,!1)}(r),!i)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,Ke.createElement)(us.FocalPointPicker,{label:o,url:i,value:s,onChange:e=>{n(`${parseInt(100*e.x,10)}% ${parseInt(100*e.y,10)}%`)}})}var Es=n(5112),As=n.n(Es);function Ts(e){return Ts="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},Ts(e)}function $s(e){var t=function(e,t){if("object"!=Ts(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=Ts(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ts(t)?t:String(t)}function Ms(e,t,n){return(t=$s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rs(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?js(Js,--Ys):0,qs--,10===Zs&&(qs=1,Gs--),Zs}function ta(){return Zs=Ys2||ia(Zs)>3?"":" "}function ua(e,t){for(;--t&&ta()&&!(Zs<48||Zs>102||Zs>57&&Zs<65||Zs>70&&Zs<97););return ra(e,oa()+(t<6&&32==na()&&32==ta()))}function ha(e){for(;ta();)switch(Zs){case e:return Ys;case 34:case 39:34!==e&&39!==e&&ha(Zs);break;case 40:41===e&&ha(e);break;case 92:ta()}return Ys}function da(e,t){for(;ta()&&e+Zs!==57&&(e+Zs!==84||47!==na()););return"/*"+ra(t,Ys-1)+"*"+Ns(47===e?e:ta())}function pa(e){for(;!ia(na());)ta();return ra(e,Ys)}var ga="-ms-",fa="-moz-",ma="-webkit-",va="comm",ba="rule",ya="decl",wa="@keyframes";function ka(e,t){for(var n="",o=Vs(e),r=0;r0&&Ws(C)-h&&Us(p>32?Aa(C+";",o,n,h-1):Aa(zs(C," ","")+";",o,n,h-2),l);break;case 59:C+=";";default:if(Us(_=Sa(C,t,n,c,u,r,a,y,w=[],k=[],h),i),123===b)if(0===u)xa(C,t,_,_,w,i,h,a,k);else switch(99===d&&110===js(C,3)?100:d){case 100:case 108:case 109:case 115:xa(e,_,_,o&&Us(Sa(e,_,_,0,0,r,a,y,r,w=[],h),k),r,k,h,a,o?w:k);break;default:xa(C,_,_,_,[""],k,0,a,k)}}c=u=p=0,f=v=1,y=C="",h=s;break;case 58:h=1+Ws(C),p=g;default:if(f<1)if(123==b)--f;else if(125==b&&0==f++&&125==ea())continue;switch(C+=Ns(b),b*f){case 38:v=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Ws(C)-1)*v,v=1;break;case 64:45===na()&&(C+=la(ta())),d=na(),u=h=Ws(y=C+=pa(oa())),b++;break;case 45:45===g&&2==Ws(C)&&(f=0)}}return i}function Sa(e,t,n,o,r,i,s,a,l,c,u){for(var h=r-1,d=0===r?i:[""],p=Vs(d),g=0,f=0,m=0;g0?d[v]+" "+b:zs(b,/&\f/g,d[v])))&&(l[m++]=y);return Xs(e,t,n,0===r?ba:a,l,c,u)}function Ea(e,t,n){return Xs(e,t,n,va,Ns(Zs),Hs(e,2,-2),0)}function Aa(e,t,n,o){return Xs(e,t,n,ya,Hs(e,0,o),Hs(e,o+1,-1),o)}var Ta=function(e,t,n){for(var o=0,r=0;o=r,r=na(),38===o&&12===r&&(t[n]=1),!ia(r);)ta();return ra(e,Ys)},$a=new WeakMap,Ma=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)||$a.get(n))&&!o){$a.set(e,!0);for(var r=[],i=function(e,t){return aa(function(e,t){var n=-1,o=44;do{switch(ia(o)){case 0:38===o&&12===na()&&(t[n]=1),e[n]+=Ta(Ys-1,t,n);break;case 2:e[n]+=la(o);break;case 4:if(44===o){e[++n]=58===na()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ns(o)}}while(o=ta());return e}(sa(e),t))}(t,r),s=n.props,a=0,l=0;a6)switch(js(e,t+1)){case 109:if(45!==js(e,t+4))break;case 102:return zs(e,/(.+:)(.+)-([^]+)/,"$1"+ma+"$2-$3$1"+fa+(108==js(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Bs(e,"stretch")?Oa(zs(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==js(e,t+1))break;case 6444:switch(js(e,Ws(e)-3-(~Bs(e,"!important")&&10))){case 107:return zs(e,":",":"+ma)+e;case 101:return zs(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ma+(45===js(e,14)?"inline-":"")+"box$3$1"+ma+"$2$3$1"+ga+"$2box$3")+e}break;case 5936:switch(js(e,t+11)){case 114:return ma+e+ga+zs(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ma+e+ga+zs(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ma+e+ga+zs(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ma+e+ga+e+e}return e}var La=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case ya:e.return=Oa(e.value,e.length);break;case wa:return ka([Qs(e,{value:zs(e.value,"@","@"+ma)})],o);case ba: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 ka([Qs(e,{props:[zs(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return ka([Qs(e,{props:[zs(t,/:(plac\w+)/,":"+ma+"input-$1")]}),Qs(e,{props:[zs(t,/:(plac\w+)/,":-moz-$1")]}),Qs(e,{props:[zs(t,/:(plac\w+)/,ga+"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,r,i=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,r-=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(r){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)}(r)+l;return{name:c,styles:r,next:Ua}},Ka=!!Ke.useInsertionEffect&&Ke.useInsertionEffect,Ya=Ka||function(e){return e()},Za=(Ka||Ke.useLayoutEffect,{}.hasOwnProperty),Ja=Ke.createContext("undefined"!=typeof HTMLElement?Ia({key:"css"}):null);Ja.Provider;var Xa=function(e){return(0,Ke.forwardRef)((function(t,n){var o=(0,Ke.useContext)(Ja);return e(t,o,n)}))},Qa=Ke.createContext({}),el="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tl=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;return Pa(t,n,o),Ya((function(){return function(e,t,n){Pa(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+o:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(t,n,o)})),null},nl=Xa((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[el],i=[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,i,e.className):null!=e.className&&(s=e.className+" ");var a=qa(i,void 0,Ke.useContext(Qa));s+=t.key+"-"+a.name;var l={};for(var c in e)Za.call(e,c)&&"css"!==c&&c!==el&&(l[c]=e[c]);return l.ref=n,l.className=s,Ke.createElement(Ke.Fragment,null,Ke.createElement(tl,{cache:t,serialized:a,isStringTag:"string"==typeof r}),Ke.createElement(r,l))})),ol=nl,rl=(n(4792),function(e,t){var n=arguments;if(null==t||!Za.call(t,"css"))return Ke.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=ol,r[1]=function(e,t){var n={};for(var o in t)Za.call(t,o)&&(n[o]=t[o]);return n[el]=e,n}(e,t);for(var i=2;ie.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const ul=window.ReactDOM,hl=Math.min,dl=Math.max,pl=Math.round,gl=Math.floor,fl=e=>({x:e,y:e});function ml(e){return yl(e)?(e.nodeName||"").toLowerCase():"#document"}function vl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function bl(e){var t;return null==(t=(yl(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function yl(e){return e instanceof Node||e instanceof vl(e).Node}function wl(e){return e instanceof Element||e instanceof vl(e).Element}function kl(e){return e instanceof HTMLElement||e instanceof vl(e).HTMLElement}function _l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof vl(e).ShadowRoot)}function Cl(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=xl(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function xl(e){return vl(e).getComputedStyle(e)}function Sl(e){const t=function(e){if("html"===ml(e))return e;const t=e.assignedSlot||e.parentNode||_l(e)&&e.host||bl(e);return _l(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(ml(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:kl(t)&&Cl(t)?t:Sl(t)}function El(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Sl(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=vl(r);return i?t.concat(s,s.visualViewport||[],Cl(r)?r:[],s.frameElement&&n?El(s.frameElement):[]):t.concat(r,El(r,[],n))}function Al(e){return wl(e)?e:e.contextElement}function Tl(e){const t=Al(e);if(!kl(t))return fl(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=xl(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=kl(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=pl(n)!==i||pl(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?pl(n.width):n.width)/o,a=(i?pl(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const $l=fl(0);function Ml(e){const t=vl(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$l}function Rl(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=Al(e);let s=fl(1);t&&(o?wl(o)&&(s=Tl(o)):s=Tl(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==vl(e))&&t}(i,n,o)?Ml(i):fl(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,h=r.height/s.y;if(i){const e=vl(i),t=o&&wl(o)?vl(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=Tl(n),t=n.getBoundingClientRect(),o=xl(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,h*=e.y,l+=r,c+=i,n=vl(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 Pl(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Nl(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r-1}function jl(e){return Bl(e)?window.pageYOffset:e.scrollTop}function Hl(e,t){Bl(e)?window.scrollTo(0,t):e.scrollTop=t}function Wl(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,r=jl(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;Hl(e,l),sn.bottom?Hl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r=g)return{placement:"bottom",maxHeight:t};if(x>=g&&!s)return i&&Wl(l,S,A),{placement:"bottom",maxHeight:t};if(!s&&x>=o||s&&_>=o)return i&&Wl(l,S,A),{placement:"bottom",maxHeight:s?_-y:x-y};if("auto"===r||s){var T=t,$=s?k:C;return $>=o&&(T=Math.min($-y-a,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return i&&Hl(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(k>=g)return{placement:"top",maxHeight:t};if(C>=g&&!s)return i&&Wl(l,E,A),{placement:"top",maxHeight:t};if(!s&&C>=o||s&&k>=o){var M=t;return(!s&&C>=o||s&&k>=o)&&(M=s?k-w:C-w),i&&Wl(l,E,A),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:m});d(a.maxHeight),f(a.placement),null==l||l(a.placement)}}),[o,r,i,s,n,l,m]),t({ref:c,placerProps:Os(Os({},e),{},{placement:g||oc(r),maxHeight:h})})},sc=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return Os({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},ac=sc,lc=sc,cc=["size"],uc=["innerProps","isRtl","size"],hc={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},dc=function(e){var t=e.size,n=cl(e,cc);return rl("svg",Ls({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:hc},n))},pc=function(e){return rl(dc,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"}))},gc=function(e){return rl(dc,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"}))},fc=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Os({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},mc=fc,vc=fc,bc=function(){var e=il.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_"}}}(ec||(tc=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],nc||(nc=tc.slice(0)),ec=Object.freeze(Object.defineProperties(tc,{raw:{value:Object.freeze(nc)}})))),yc=function(e){var t=e.delay,n=e.offset;return rl("span",{css:il({animation:"".concat(bc," 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"},"","")})},wc=["data"],kc=["innerRef","isDisabled","isHidden","inputClassName"],_c={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"},_c)},xc=function(e){return Os({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},_c)},Sc=function(e){var t=e.children,n=e.innerProps;return rl("div",n,t)},Ec={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(pc,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return rl("div",Ls({ref:r},zl(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"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(gc,null))},DownChevron:gc,CrossIcon:pc,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=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(i,Ls({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),rl("div",null,t))},GroupHeading:function(e){var t=Fl(e);t.data;var n=cl(t,wc);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=Fl(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=cl(o,kc);return rl("div",Ls({},zl(e,"input",{"input-container":!0}),{"data-value":n||""}),rl("input",Ls({className:t({input:!0},a),ref:r,style:xc(s),disabled:i},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=cl(e,uc);return rl("div",Ls({},zl(Os(Os({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),rl(yc,{delay:0,offset:n}),rl(yc,{delay:160,offset:!0}),rl(yc,{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,r=e.isMulti;return rl("div",Ls({},zl(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,s=e.menuPosition,a=(0,Ke.useRef)(null),l=(0,Ke.useRef)(null),c=ll((0,Ke.useState)(oc(i)),2),u=c[0],h=c[1],d=(0,Ke.useMemo)((function(){return{setPortalPlacement:h}}),[]),p=ll((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:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Al(e),u=r||i?[...c?El(c):[],...El(t)]:[];u.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const h=c&&a?function(e,t){let n,o=null;const r=bl(e);function i(){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),i();const{left:c,top:u,width:h,height:d}=e.getBoundingClientRect();if(a||t(),!h||!d)return;const p={rootMargin:-gl(u)+"px "+-gl(r.clientWidth-(c+h))+"px "+-gl(r.clientHeight-(u+d))+"px "+-gl(c)+"px",threshold:dl(0,hl(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:r.ownerDocument})}catch(e){o=new IntersectionObserver(f,p)}o.observe(e)}(!0),i}(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?Rl(e):null;return l&&function t(){const o=Rl(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=>{r&&e.removeEventListener("scroll",n),i&&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}),r),n);return rl(rc.Provider,{value:d},t?(0,ul.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=cl(e,Ql);return rl("div",Ls({},zl(Os(Os({},r),{},{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,r=cl(e,Xl);return rl("div",Ls({},zl(Os(Os({},r),{},{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,r=e.innerProps,i=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":i})),r),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:Sc,MultiValueLabel:Sc,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({role:"button"},n),t||rl(pc,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=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":r}),{ref:i,"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,r=e.isRtl;return rl("div",Ls({},zl(e,"container",{"--is-disabled":o,"--is-rtl":r}),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,r=e.hasValue;return rl("div",Ls({},zl(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},Ac=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e,t){for(var n=0;n1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,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(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var h=a?" disabled":"",d="".concat(l?" selected":"").concat(h);return"".concat(i).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:"",".")}},Wc=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=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"],C=(0,Ke.useMemo)((function(){return Os(Os({},Hc),u||{})}),[u]),x=(0,Ke.useMemo)((function(){var e,n="";if(t&&C.onChange){var o=t.option,r=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?h(c):"",d=r||a||void 0,p=d?d.map(h):[],f=Os({isDisabled:c&&g(c,s),label:u,labels:p},t);n=C.onChange(f)}return n}),[t,C,g,s,h]),S=(0,Ke.useMemo)((function(){var e="",t=n||o,i=!!(n&&s&&s.includes(n));if(t&&C.onFocus){var a={focused:t,label:h(t),isDisabled:g(t,s),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=C.onFocus(a)}return e}),[n,o,h,g,C,r,s,c]),E=(0,Ke.useMemo)((function(){var e="";if(m&&v.length&&!w&&C.onFilter){var t=b({count:r.length});e=C.onFilter({inputValue:d,resultsMessage:t})}return e}),[r,d,m,C,v,b,w]),A="initial-input-focus"===(null==t?void 0:t.action),T=(0,Ke.useMemo)((function(){var e="";if(C.guidance){var t=o?"value":m?"menu":"input";e=C.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,C,s,y,A]),$=rl(Ke.Fragment,null,rl("span",{id:"aria-selection"},x),rl("span",{id:"aria-focused"},S),rl("span",{id:"aria-results"},E),rl("span",{id:"aria-guidance"},T));return rl(Ke.Fragment,null,rl(jc,{id:l},A&&$),rl(jc,{"aria-live":_,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!A&&$))},Vc=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Uc=new RegExp("["+Vc.map((function(e){return e.letters})).join("")+"]","g"),Gc={},qc=0;qc1?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&&(i&&i(e),a.current=!1),g&&t>f?(n&&!s.current&&n(e),p.scrollTop=h,m=!0,s.current=!0):!g&&-t>u&&(r&&!a.current&&r(e),p.scrollTop=0,m=!0,a.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,r,i]),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=!!Yl&&{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}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=(0,Ke.useRef)({}),i=(0,Ke.useRef)(null),s=(0,Ke.useCallback)((function(e){if(lu){var t=document.body,n=t&&t.style;if(o&&nu.forEach((function(e){var t=n&&n[e];r.current[e]=t})),o&&cu<1){var i=parseInt(r.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+i||0;Object.keys(ou).forEach((function(e){var t=ou[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(a,"px"))}t&&au()&&(t.addEventListener("touchmove",ru,uu),e&&(e.addEventListener("touchstart",su,uu),e.addEventListener("touchmove",iu,uu))),cu+=1}}),[o]),a=(0,Ke.useCallback)((function(e){if(lu){var t=document.body,n=t&&t.style;cu=Math.max(cu-1,0),o&&cu<1&&nu.forEach((function(e){var t=r.current[e];n&&(n[e]=t)})),t&&au()&&(t.removeEventListener("touchmove",ru,uu),e&&(e.removeEventListener("touchstart",su,uu),e.removeEventListener("touchmove",iu,uu)))}}),[o]);return(0,Ke.useEffect)((function(){if(t){var e=i.current;return s(e),function(){a(e)}}}),[t,s,a]),function(e){i.current=e}}({isEnabled:n});return rl(Ke.Fragment,null,n&&rl("div",{onClick:hu,css:du}),t((function(e){r(e),i(e)})))}var gu={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},fu=function(e){var t=e.name,n=e.onFocus;return rl("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:gu,value:"",onChange:function(){}})};function mu(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 vu(){return mu(/^Mac/i)}var bu={clearIndicator:vc,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,r=e.theme,i=r.colors,s=r.borderRadius;return Os({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:mc,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,r=n.spacing;return Os({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.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,r=o.spacing.baseUnit,i=o.colors;return Os({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return Os(Os({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Cc),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.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?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:lc,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return Os((Ms(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Ms(n,"position","absolute"),Ms(n,"width","100%"),Ms(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,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,r=n.borderRadius,i=n.colors;return Os({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return Os({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=e.isFocused;return Os({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:ac,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return Os({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return Os({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return Os({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Os({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},yu={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}},wu={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ul(),captureMenuScroll:!Ul(),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:Qc,trim:!0,matchFrom:"any"},void 0),o=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,s=n.trim,a=n.matchFrom,l=s?Xc(t):t,c=s?Xc(i(e)):i(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),r&&(l=Jc(l),c=Zc(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 ku(e,t,n,o){return{type:"option",data:t,isDisabled:$u(e,t,n),isSelected:Mu(e,t,n),label:Au(e,t),value:Tu(e,t),index:o}}function _u(e,t){return e.options.map((function(n,o){if("options"in n){var r=n.options.map((function(n,o){return ku(e,n,t,o)})).filter((function(t){return Su(e,t)}));return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=ku(e,n,t,o);return Su(e,i)?i:void 0})).filter(Zl)}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 xu(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 Su(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!Ou(e)||!i)&&Ru(e,{label:s,value:a,data:r},o)}var Eu=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Au=function(e,t){return e.getOptionLabel(t)},Tu=function(e,t){return e.getOptionValue(t)};function $u(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Mu(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Tu(e,t);return n.some((function(t){return Tu(e,t)===o}))}function Ru(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(r,e);var t,n,o=(t=r,n=Ic(),function(){var e,o=Lc(t);if(n){var r=Lc(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return Nc(this,e)});function r(e){var t;if(Tc(this,r),(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=vu()||mu(/^iPhone/i)||mu(/^iPad/i)||vu()&&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,r=o.onChange,i=o.name;n.name=i,t.ariaOnChange(e,n),r(e,n)},t.setValue=function(e,n,o){var r=t.props,i=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(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,r=n.isMulti,i=n.name,s=t.state.selectValue,a=r&&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:i});r?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,r=t.getOptionValue(e),i=o.filter((function(e){return t.getOptionValue(e)!==r})),s=Jl(n,i,i[0]||null);t.onChange(s,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Jl(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],r=n.slice(0,n.length-1),i=Jl(e,r,r[0]||null);t.onChange(i,{action:"pop-value",removedValue:o})},t.getFocusedOptionId=function(e){return Eu(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return xu(_u(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||i>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,r=n.backspaceRemovesValue,i=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(!r)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&&i&&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(),i=t.buildFocusableOptions(),s=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=i[s],t.state.focusedOptionId=Eu(n,i[s])}return t}return Mc(r,[{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&&Vl(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Vl(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,r=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[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 r=n.indexOf(o);o||(r=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(yu):Os(Os({},yu),this.props.theme):yu}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=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:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,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 $u(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Mu(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Ru(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,r=e.inputValue,i=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:i,form:s,type:"text",value:r},f)):Ke.createElement(tu,Ls({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Il,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=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:r,Remove:i},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,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;return e&&r?Ke.createElement(e,Ls({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return Ke.createElement(n,Ls({},o,{isDisabled:r,isFocused:i}))}},{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,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=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,C=d.menuShouldBlockScroll,x=d.menuShouldScrollIntoView,S=d.noOptionsMessage,E=d.onMenuScrollToTop,A=d.onMenuScrollToBottom;if(!y)return null;var T,$=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,d=h===r,p=i?void 0:function(){return e.onOptionHover(r)},g=i?void 0:function(){return e.selectOption(r)},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:r,isDisabled:i,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 r=t.data,i=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:r,options:i,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 O={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:k,menuShouldScrollIntoView:x},L=Ke.createElement(ic,Ls({},u,O),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,a=o.maxHeight;return Ke.createElement(r,Ls({},u,O,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),Ke.createElement(pu,{captureEnabled:p,onTopArrive:E,onBottomArrive:A,lockEnabled:C},(function(t){return Ke.createElement(i,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}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!o)return Ke.createElement(fu,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var l=a.map((function(t){return e.getOptionValue(t)})).join(n);return Ke.createElement("input",{name:i,type:"hidden",value:l})}var c=a.length>0?a.map((function(t,n){return Ke.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):Ke.createElement("input",{name:i,type:"hidden",value:""});return Ke.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return Ke.createElement("input",{name:i,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return Ke.createElement(Wc,Ls({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:s,focusableOptions:a,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,s=i.className,a=i.id,l=i.isDisabled,c=i.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(r,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,r=t.inputIsHiddenAfterUpdate,i=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(_u(e,t))}(e,g):[],v=h?xu(_u(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:Eu(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var w=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},k=i,_=s&&a;return s&&!_&&(k={value:Jl(p,g,g[0]||null),options:g,action:"initial-input-focus"},_=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(k=null),Os(Os(Os({},f),w),{},{prevProps:e,ariaSelection:k,prevWasFocused:_})}}]),r}(Ke.Component);Iu.defaultProps=wu;var Pu=(0,Ke.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,s=void 0===i?null:i,a=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,h=e.onMenuClose,d=e.onMenuOpen,p=e.value,g=cl(e,Ac),f=ll((0,Ke.useState)(void 0!==a?a:n),2),m=f[0],v=f[1],b=ll((0,Ke.useState)(void 0!==l?l:r),2),y=b[0],w=b[1],k=ll((0,Ke.useState)(void 0!==p?p:s),2),_=k[0],C=k[1],x=(0,Ke.useCallback)((function(e,t){"function"==typeof c&&c(e,t),C(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:x,onInputChange:S,onMenuClose:A,onMenuOpen:E,value:M})}(e);return Ke.createElement(Iu,Ls({ref:t},n))})),Nu=Pu;function Du(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Fu(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 Bu(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,r=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?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=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"+i+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\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=Fu),"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 ju(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 Vu=function(){function e(t){var n=t.cellCount,o=t.cellSizeGetter,r=t.estimatedCellSize;Tc(this,e),Ms(this,"_cellSizeAndPositionData",{}),Ms(this,"_lastMeasuredIndex",-1),Ms(this,"_lastBatchedIndex",-1),Ms(this,"_cellCount",void 0),Ms(this,"_cellSizeGetter",void 0),Ms(this,"_estimatedCellSize",void 0),this._cellSizeGetter=o,this._cellCount=n,this._estimatedCellSize=r}return Mc(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 r=this._cellSizeGetter({index:o});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(o," of value ").concat(r));null===r?(this._cellSizeAndPositionData[o]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[o]={offset:n,size:r},n+=r,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,r=e.currentOffset,i=e.targetIndex;if(o<=0)return 0;var s,a=this.getSizeAndPositionOfCell(i),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,r))}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,r=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(r);n=i.offset+i.size;for(var s=r;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}(),Uu=function(){function e(t){var n=t.maxScrollSize,o=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,r=cl(t,["maxScrollSize"]);Tc(this,e),Ms(this,"_cellSizeAndPositionManager",void 0),Ms(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Vu(r),this._maxScrollSize=o}return Mc(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(),r=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(r-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,r=e.currentOffset,i=e.targetIndex;r=this._safeOffsetToOffset({containerSize:o,offset:r});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:o,currentOffset:r,targetIndex:i});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(),r=this.getTotalSize();if(o===r)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();if(o===r)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}}]),e}();function Gu(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var o=n.callback,r=n.indices,i=Object.keys(r),s=!e||i.every((function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0})),a=i.length!==Object.keys(t).length||i.some((function(e){var n=t[e],o=r[e];return Array.isArray(o)?n.join(",")!==o.join(","):n!==o}));t=r,s&&a&&o(r)}}function qu(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,o=e.previousCellsCount,r=e.previousCellSize,i=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 Ku=!("undefined"==typeof window||!window.document||!window.document.createElement);var Yu,Zu;function Ju(e){if((!Yu&&0!==Yu||e)&&Ku){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),Yu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Yu}var Xu,Qu,eh=(Zu="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||Zu.webkitRequestAnimationFrame||Zu.mozRequestAnimationFrame||Zu.oRequestAnimationFrame||Zu.msRequestAnimationFrame||function(e){return Zu.setTimeout(e,1e3/60)},th=Zu.cancelAnimationFrame||Zu.webkitCancelAnimationFrame||Zu.mozCancelAnimationFrame||Zu.oCancelAnimationFrame||Zu.msCancelAnimationFrame||function(e){Zu.clearTimeout(e)},nh=eh,oh=th,rh=function(e){return oh(e.id)},ih=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var o={id:nh((function r(){Date.now()-n>=t?e.call():o.id=nh(r)}))};return o};function sh(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 ah(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),Mc(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,r=void 0===o?this.props.scrollToColumn:o,i=e.rowIndex,s=void 0===i?this.props.scrollToRow:i,a=ah({},this.props,{scrollToAlignment:n,scrollToColumn:r,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,r=void 0===o?0:o;if(!(r<0)){this._debounceScrollEnded();var i=this.props,s=i.autoHeight,a=i.autoWidth,l=i.height,c=i.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),r);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,r=void 0===o?0:o,i=this.props,s=i.scrollToColumn,a=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=s>=0&&(1===this.state.scrollDirectionHorizontal?n<=s:n>=s),this._recomputeScrollTopFlag=a>=0&&(1===this.state.scrollDirectionVertical?r<=a:r>=a),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,o=this.props.columnCount,r=this.props;o>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(ah({},r,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(ah({},r,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,o=e.height,r=e.scrollLeft,i=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=ah({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof r&&r>=0||"number"==typeof s&&s>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,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;i>=0&&h&&this._updateScrollLeftForScrollToColumn(),a>=0&&h&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||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,r=o.autoHeight,i=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===lh&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=g),!r&&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)):qu({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)):qu({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,r=e.className,i=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,C=w>g?m.scrollbarSize:0;C===this._horizontalScrollBarSize&&_===this._verticalScrollBarSize||(this._horizontalScrollBarSize=C,this._verticalScrollBarSize=_,this._scrollbarPresenceChanged=!0),y.overflowX=w+_<=g?"hidden":"auto",y.overflowY=k+C<=l?"hidden":"auto";var x=this._childrenToDisplay,S=0===x.length&&l>0&&g>0;return Ke.createElement("div",Ls({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Hu("ReactVirtualized__Grid",r),id:c,onScroll:this._onScroll,role:h,style:ah({},y,{},d),tabIndex:p}),x.length>0&&Ke.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:ah({width:t?"auto":w,height:k,maxWidth:w,maxHeight:k,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},a)},x),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,r=e.columnCount,i=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 C=l({direction:"horizontal",cellCount:r,overscanCellsCount:a,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=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=C.overscanStartIndex,E=C.overscanStopIndex,A=x.overscanStartIndex,T=x.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var $=A;$<=T;$++)if(!i.has($,0)){S=0,E=r-1;break}if(!i.hasFixedWidth())for(var M=S;M<=E;M++)if(!i.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:i,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=ih(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,r=e.totalColumnsWidth,i=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:i,scrollLeft:n,scrollTop:o,scrollWidth:r})},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,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:o});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{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 r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(o,"-").concat(r);this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{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 r,i,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}),Wu({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(){r=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),Wu({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(){i=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,ah({},o,{},r,{},i)}},{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,r={scrollPositionChangeReason:lh};return"number"==typeof n&&n>=0&&(r.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,r.scrollLeft=n),"number"==typeof o&&o>=0&&(r.scrollDirectionVertical=o>t.scrollTop?1:-1,r.scrollTop=o),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof o&&o>=0&&o!==t.scrollTop?r:{}}},{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,r=e.scrollToAlignment,i=e.scrollToColumn,s=e.width,a=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),h=l.rowSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>o?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:s-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var o=n.scrollLeft,r=t._getCalculatedScrollLeft(e,n);return"number"==typeof r&&r>=0&&o!==r?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,o=e.rowCount,r=e.scrollToAlignment,i=e.scrollToRow,s=e.width,a=t.scrollTop,l=t.instanceProps;if(o>0){var c=o-1,u=i<0?c:Math.min(c,i),h=l.columnSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>s?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:n-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var o=n.scrollTop,r=t._getCalculatedScrollTop(e,n);return"number"==typeof r&&r>=0&&o!==r?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:r}):{}}}]),t}(Ke.PureComponent),Ms(Xu,"propTypes",null),Qu);Ms(ch,"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,r=e.columnStartIndex,i=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),C=r;C<=i;C++){var x=o.getSizeAndPositionOfCell(C),S=C>=m.start&&C<=m.stop&&k>=v.start&&k<=v.stop,E="".concat(k,"-").concat(C),A=void 0;w&&g[E]?A=g[E]:s&&!s.has(k,C)?A={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(A={height:_.size,left:x.offset+a,position:"absolute",top:_.offset+f,width:x.size},g[E]=A);var T={columnIndex:C,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:Ju,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,r=e.startIndex,i=e.stopIndex;return 1===o?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,r-n),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Bu(ch);const uh=ch;function hh(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return n=Math.max(1,n),1===o?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,r-n),overscanStopIndex:Math.min(t-1,i+1)}}var dh,ph;function gh(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 fh,mh,vh=(ph=dh=function(e){function t(){var e,n;Tc(this,t);for(var o=arguments.length,r=new Array(o),i=0;i 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],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=n:r.appendChild(t.createTextNode(n)),o.appendChild(r)}}(i),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=i.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(r)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 yh(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 wh(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Tc(this,e),Ms(this,"_cellHeightCache",{}),Ms(this,"_cellWidthCache",{}),Ms(this,"_columnWidthCache",{}),Ms(this,"_rowHeightCache",{}),Ms(this,"_defaultHeight",void 0),Ms(this,"_defaultWidth",void 0),Ms(this,"_minHeight",void 0),Ms(this,"_minWidth",void 0),Ms(this,"_keyMapper",void 0),Ms(this,"_hasFixedHeight",void 0),Ms(this,"_hasFixedWidth",void 0),Ms(this,"_columnCount",0),Ms(this,"_rowCount",0),Ms(this,"columnWidth",(function(e){var n=e.index,o=t._keyMapper(0,n);return void 0!==t._columnWidthCache[o]?t._columnWidthCache[o]:t._defaultWidth})),Ms(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,r=n.defaultWidth,i=n.fixedHeight,s=n.fixedWidth,a=n.keyMapper,l=n.minHeight,c=n.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===s,this._minHeight=l||0,this._minWidth=c||0,this._keyMapper=a||Eh,this._defaultHeight=Math.max(this._minHeight,"number"==typeof o?o:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof r?r:100)}return Mc(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 r=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[r]=o,this._cellWidthCache[r]=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:r,cellIndex:i,height:o,scrollLeft:l,scrollTop:c,width:s});u.scrollLeft===l&&u.scrollTop===c||n._setScrollPosition(u)}})),Ms(Pc(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,o=t.cellLayoutManager,r=t.height,i=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-r+a,e.target.scrollTop));if(n.state.scrollLeft!==h||n.state.scrollTop!==d){var p=e.cancelable?"observed":$h;n.state.isScrolling||i(!0),n.setState({isScrolling:!0,scrollLeft:h,scrollPositionChangeReason:p,scrollTop:d})}n._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:d,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=Ju(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return Oc(t,e),Mc(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,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Ju(),this._scrollbarSizeMeasured=!0,this.setState({})),o>=0?this._updateScrollPositionForScrollToCell():(n>=0||r>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),s=i.height,a=i.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:r||0,totalHeight:s,totalWidth:a})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,o=n.height,r=n.scrollToAlignment,i=n.scrollToCell,s=n.width,a=this.state,l=a.scrollLeft,c=a.scrollPositionChangeReason,u=a.scrollTop;c===$h&&(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&&r===e.scrollToAlignment&&i===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,r=e.className,i=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+i+u),C=i>0&&h>0?o.cellRenderers({height:_-w,isScrolling:p,width:k-y,x:y,y:w}):[],x={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},S=v>i?this._scrollbarSize:0,E=b>h?this._scrollbarSize:0;return x.overflowX=b+S<=h?"hidden":"auto",x.overflowY=v+E<=i?"hidden":"auto",Ke.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Hu("ReactVirtualized__Collection",r),id:a,onScroll:this._onScroll,role:"grid",style:Th({},x,{},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}},C),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,r=e.totalHeight,i=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:r,scrollLeft:n,scrollTop:o,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:$h};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:$h}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:$h}}}]),t}(Ke.PureComponent);Ms(Mh,"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}),Mh.propTypes={},Bu(Mh);const Rh=Mh;var Oh=function(){function e(t){var n=t.height,o=t.width,r=t.x,i=t.y;Tc(this,e),this.height=n,this.width=o,this.x=r,this.y=i,this._indexMap={},this._indices=[]}return Mc(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;Tc(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return Mc(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,o=e.x,r=e.y,i={};return this.getSections({height:t,width:n,x:o,y:r}).forEach((function(e){return e.getCellIndices().forEach((function(e){i[e]=e}))})),Object.keys(i).map((function(e){return i[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,r=e.y,i=Math.floor(o/this._sectionSize),s=Math.floor((o+n-1)/this._sectionSize),a=Math.floor(r/this._sectionSize),l=Math.floor((r+t-1)/this._sectionSize),c=[],u=i;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,r=e.cellSize,i=e.containerSize,s=e.currentOffset,a=o,l=a-i+r;switch(n){case"start":return a;case"end":return l;case"center":return a-(i-r)/2;default:return Math.max(l,Math.min(a,s))}}var Ph=function(e){function t(e,n){var o;return Tc(this,t),(o=Nc(this,Lc(t).call(this,e,n)))._cellMetadata=[],o._lastRenderedCellIndices=[],o._cellCache=[],o._isScrollingChange=o._isScrollingChange.bind(Pc(o)),o._setCollectionViewRef=o._setCollectionViewRef.bind(Pc(o)),o}return Oc(t,e),Mc(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(Rh,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=[],r=new Lh(e.sectionSize),i=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,r=this.props,i=r.isRowLoaded,s=r.minimumBatchSize,a=r.rowCount,l=r.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,o=e.rowCount,r=e.stopIndex,i=[],s=null,a=null,l=e.startIndex;l<=r;l++)t({index:l})?null!==a&&(i.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;i.push({startIndex:s,stopIndex:a})}if(i.length)for(var h=i[0];h.stopIndex-h.startIndex+10;){var d=h.startIndex-1;if(t({index:d}))break;h.startIndex=d}return i}({isRowLoaded:i,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);Ms(Nh,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Nh.propTypes={};var Dh,Fh,zh=(Fh=Dh=function(e){function t(){var e,n;Tc(this,t);for(var o=arguments.length,r=new Array(o),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,r=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,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,r=e.width,i=Hu("ReactVirtualized__List",t);return Ke.createElement(uh,Ls({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:r,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(Ke.PureComponent),Ms(Dh,"propTypes",null),Fh);Ms(zh,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:hh,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const Bh=function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){for(var i=n+1;t<=n;){var s=t+n>>>1;r(e[s],o)>=0?(i=s,n=s-1):t=s+1}return i}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){for(var r=n+1;t<=n;){var i=t+n>>>1;e[i]>=o?(r=i,n=i-1):t=i+1}return r}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)};function jh(e,t,n,o,r){this.mid=e,this.left=t,this.right=n,this.leftPoints=o,this.rightPoints=r,this.count=(t?t.count:0)+(n?n.count:0)+o.length}var Hh=jh.prototype;function Wh(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 Vh(e,t){var n=Qh(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 Uh(e,t){var n=e.intervals([]);n.push(t),Vh(e,n)}function Gh(e,t){var n=e.intervals([]),o=n.indexOf(t);return o<0?0:(n.splice(o,1),Vh(e,n),1)}function qh(e,t,n){for(var o=0;o=0&&e[o][1]>=t;--o){var r=n(e[o]);if(r)return r}}function Yh(e,t){for(var n=0;n>1],r=[],i=[],s=[];for(n=0;n3*(t+1)?Uh(this,e):this.left.insert(e):this.left=Qh([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Uh(this,e):this.right.insert(e):this.right=Qh([e]);else{var n=Bh(this.leftPoints,e,Jh),o=Bh(this.rightPoints,e,Xh);this.leftPoints.splice(n,0,e),this.rightPoints.splice(o,0,e)}},Hh.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1)?Gh(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?Gh(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):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 r=this.left,i=this.right;n.count-=o.count,n.right=o.left,o.left=r,o.right=i}Wh(this,o),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Wh(this,this.left):Wh(this,this.right);return 1}for(r=Bh(this.leftPoints,e,Jh);rthis.mid?this.right&&(n=this.right.queryPoint(e,t))?n:Kh(this.rightPoints,e,t):Yh(this.leftPoints,t);var n},Hh.queryInterval=function(e,t,n){var o;return ethis.mid&&this.right&&(o=this.right.queryInterval(e,t,n))?o:tthis.mid?Kh(this.rightPoints,e,n):Yh(this.leftPoints,n)};var td=ed.prototype;td.insert=function(e){this.root?this.root.insert(e):this.root=new jh(e[0],null,null,[e],[e])},td.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},td.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},td.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(td,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(td,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var nd,od,rd=function(){function e(){Tc(this,e),Ms(this,"_columnSizeMap",{}),Ms(this,"_intervalTree",new ed(null)),Ms(this,"_leftMap",{})}return Mc(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=ll(e,3),r=t[0],i=(t[1],t[2]);return n(i,o._leftMap[i],r)}))}},{key:"setPosition",value:function(e,t,n,o){this._intervalTree.insert([n,n+o,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];r[t]=void 0===i?n+o:Math.max(i,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 id(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 sd(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Tc(this,e),Ms(this,"_cellMeasurerCache",void 0),Ms(this,"_columnIndexOffset",void 0),Ms(this,"_rowIndexOffset",void 0),Ms(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),Ms(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var o=n.cellMeasurerCache,r=n.columnIndexOffset,i=void 0===r?0:r,s=n.rowIndexOffset,a=void 0===s?0:s;this._cellMeasurerCache=o,this._columnIndexOffset=i,this._rowIndexOffset=a}return Mc(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 ud(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 hd(e){for(var t=1;t0?new cd({cellMeasurerCache:r,columnIndexOffset:0,rowIndexOffset:s}):r,o._deferredMeasurementCacheBottomRightGrid=i>0||s>0?new cd({cellMeasurerCache:r,columnIndexOffset:i,rowIndexOffset:s}):r,o._deferredMeasurementCacheTopRightGrid=i>0?new cd({cellMeasurerCache:r,columnIndexOffset:i,rowIndexOffset:0}):r),o}return Oc(t,e),Mc(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,r=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,r):r}},{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,r=void 0===o?0:o,i=this.props,s=i.fixedColumnCount,a=i.fixedRowCount,l=Math.max(0,n-s),c=Math.max(0,r-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:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:r}),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),r=(e.scrollTop,e.scrollToRow),i=cl(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(i),this._renderTopRightGrid(hd({},i,{onScroll:t,scrollLeft:a}))),Ke.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(hd({},i,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(hd({},i,{onScroll:t,onSectionRendered:n,scrollLeft:a,scrollToColumn:o,scrollToRow:r,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,r=0;r=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(Ke.PureComponent);Ms(dd,"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}),dd.propTypes={},Bu(dd);var pd=function(e){function t(e,n){var o;return Tc(this,t),(o=Nc(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(Pc(o)),o}return Oc(t,e),Mc(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,o=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,s=t.scrollTop,a=t.scrollWidth;return e({clientHeight:n,clientWidth:o,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:s,scrollWidth:a})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,o=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,s=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:o,scrollLeft:r,scrollTop:i,scrollWidth:s})}}]),t}(Ke.PureComponent);function gd(e){var t=e.className,n=e.columns,o=e.style;return Ke.createElement("div",{className:t,role:"row",style:o},n)}pd.propTypes={},gd.propTypes=null;const fd={ASC:"ASC",DESC:"DESC"};function md(e){var t=e.sortDirection,n=Hu("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===fd.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===fd.DESC});return Ke.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===fd.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 vd(e){var t=e.dataKey,n=e.label,o=e.sortBy,r=e.sortDirection,i=o===t,s=[Ke.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return i&&s.push(Ke.createElement(md,{key:"SortIndicator",sortDirection:r})),s}function bd(e){var t=e.className,n=e.columns,o=e.index,r=e.key,i=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(i||s||a||l||c)&&(d["aria-label"]="row",d.tabIndex=0,i&&(d.onClick=function(e){return i({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:r,role:"row",style:h}),n)}md.propTypes={},vd.propTypes=null,bd.propTypes=null;var yd=function(e){function t(){return Tc(this,t),Nc(this,Lc(t).apply(this,arguments))}return Oc(t,e),t}(Ke.Component);function wd(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 kd(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,r=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,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,ul.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,r=t.disableHeader,i=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=r?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]=kd({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:Hu("ReactVirtualized__Table",o),id:u,role:"grid",style:f},!r&&l({className:Hu("ReactVirtualized__Table__headerRow",y),columns:this._getHeaderColumns(),style:kd({height:a,overflow:"hidden",paddingRight:v,width:m},w)}),Ke.createElement(uh,Ls({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Hu("ReactVirtualized__Table__Grid",i),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:kd({},s,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,o=e.isScrolling,r=e.parent,i=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:i}),columnData:d,columnIndex:n,dataKey:p,isScrolling:o,parent:r,rowData:i,rowIndex:s}),m=this._cachedColumnStyles[n],v="string"==typeof f?f:null;return Ke.createElement("div",{"aria-colindex":n+1,"aria-describedby":g,className:Hu("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,r,i,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,C=!y&&d,x=Hu("ReactVirtualized__Table__headerColumn",c,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:C}),S=this._getFlexStyleForColumn(s,kd({},u,{},s.props.headerStyle)),E=w({columnData:m,dataKey:v,disableSort:y,label:_,sortBy:p,sortDirection:g});if(C||h){var A=p!==v?b:g===fd.DESC?fd.ASC:fd.DESC,T=function(e){C&&d({defaultSortDirection:b,event:e,sortBy:v,sortDirection:A}),h&&h({columnData:m,dataKey:v,event:e})};i=s.props["aria-label"]||_||v,r="none",o=0,t=T,n=function(e){"Enter"!==e.key&&" "!==e.key||T(e)}}return p===v&&(r=g===fd.ASC?"ascending":"descending"),Ke.createElement("div",{"aria-label":i,"aria-sort":r,className:x,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,r=e.key,i=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,r){return t._createColumn({column:e,columnIndex:r,isScrolling:o,parent:i,rowData:k,rowIndex:n,scrollbarWidth:b})})),C=Hu("ReactVirtualized__Table__row",y),x=kd({},s,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},w);return m({className:C,columns:_,index:n,isScrolling:o,key:r,onRowClick:c,onRowDoubleClick:u,onRowRightClick:h,onRowMouseOver:d,onRowMouseOut:p,rowData:k,style:x})}},{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=kd({},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,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:o,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(Ke.PureComponent);Ms(_d,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:hh,overscanRowCount:10,rowRenderer:bd,headerRowRenderer:gd,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),_d.propTypes={};var Cd=[],xd=null,Sd=null;function Ed(){Sd&&(Sd=null,document.body&&null!=xd&&(document.body.style.pointerEvents=xd),xd=null)}function Ad(){Ed(),Cd.forEach((function(e){return e.__resetIsScrolling()}))}function Td(e){e.currentTarget===window&&null==xd&&document.body&&(xd=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){Sd&&rh(Sd);var e=0;Cd.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),Sd=ih(Ad,e)}(),Cd.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function $d(e,t){Cd.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",Td),Cd.push(e)}function Md(e,t){(Cd=Cd.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",Td),Sd&&(rh(Sd),Ed()))}var Rd,Od,Ld=function(e){return e===window},Id=function(e){return e.getBoundingClientRect()};function Pd(e,t){if(e){if(Ld(e)){var n=window,o=n.innerHeight,r=n.innerWidth;return{height:"number"==typeof o?o:0,width:"number"==typeof r?r:0}}return Id(e)}return{height:t.serverHeight,width:t.serverWidth}}function Nd(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 Fd=function(){return"undefined"!=typeof window?window:void 0},zd=(Od=Rd=function(e){function t(){var e,n;Tc(this,t);for(var o=arguments.length,r=new Array(o),i=0;i0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,o=n.height,r=n.width,i=this._child||ul.findDOMNode(this);if(i instanceof Element&&e){var s=function(e,t){if(Ld(t)&&document.documentElement){var n=document.documentElement,o=Id(e),r=Id(n);return{top:o.top-r.top,left:o.left-r.left}}var i=Nd(t),s=Id(e),a=Id(t);return{top:s.top+i.top-a.top,left:s.left+i.left-a.left}}(i,e);this._positionFromTop=s.top,this._positionFromLeft=s.left}var a=Pd(e,this.props);o===a.height&&r===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=bh(),this.updatePosition(e),e&&($d(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),Md(this,o),$d(this,n),this._unregisterResizeListener(o),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(Md(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,r=t.scrollLeft,i=t.height,s=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:n,scrollLeft:r,scrollTop:o,width:s})}}]),t}(Ke.PureComponent),Ms(Rd,"propTypes",null),Od);Ms(zd,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Fd(),serverHeight:0,serverWidth:0});const Bd=26;function jd(e){const{children:t,maxHeight:n}=e;return t.length?(0,Ke.createElement)(kh,{disableHeight:!0},(({width:e})=>(0,Ke.createElement)(zh,{height:n,rowCount:t.length,rowHeight:Bd,rowRenderer:({index:e,key:n,style:o})=>(0,Ke.createElement)("div",{key:n,style:o},t[e]),width:e}))):null}const{Option:Hd}=Ec;function Wd(e){return(0,Ke.createElement)(Hd,{...e},e?.data?.icon||"",e.data.label)}function Vd(e){const{className:t,...n}=e,o={...e.grouped?{groupHeaderHeight:50}:{},...n},r=e?.options?.length>30;return(0,Ke.createElement)(Nu,{styles:{...As(),option(e,t){const n=As().option(e,t);return n["> svg"]={width:"24px",height:"auto",marginRight:"5px"},n}},components:{...r?{MenuList:jd}:{},Option:Wd},className:cs()("ghostkit-control-select",t),...o})}const{fonts:Ud}=window.GHOSTKIT,Gd=void 0!==Ud["google-fonts"].fonts?Ud["google-fonts"].fonts[0].name:"";function qd(){const e=[];return void 0!==Ud["google-fonts"]&&void 0!==Ud["google-fonts"].fonts&&Object.keys(Ud["google-fonts"].fonts).forEach((t=>{e.push({value:Ud["google-fonts"].fonts[t].name,label:Ud["google-fonts"].fonts[t].name})})),e}class Kd extends ms.Component{constructor(e){super(e);const{fontWeightOptions:t,styleOptions:n}=this.getFontWeightAndStyleOptions(Gd);this.state={isLoading:!0,name:Gd,weight:["400"],style:"normal",fontFamilyOptions:qd(),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!==Ud["google-fonts"]&&void 0!==Ud["google-fonts"].fonts){const n=Ud["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),r="normal"===t?o.normal:o.italic;return o.normal.length>0&&n.push({value:"normal",label:(0,vs.__)("Normal","ghostkit")}),o.italic.length>0&&n.push({value:"italic",label:(0,vs.__)("Italic","ghostkit")}),{fontWeightOptions:r,styleOptions:n}}renderEditor(){const{fontFamilyOptions:e,fontWeightOptions:t,styleOptions:n,style:o,name:r,weight:i,error:s,notice:a,isEdit:l,editKey:c}=this.state,{customFonts:u,updateFonts:h}=this.props;return(0,Ke.createElement)("div",{className:"editor-styles-wrapper"},(0,Ke.createElement)("div",{className:"ghostkit-settings-fonts-google-form"},l?null:(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Font","ghostkit"),label:(0,vs.__)("Font","ghostkit")},(0,Ke.createElement)(Vd,{value:{value:r,label:r},onChange:e=>{let t=this.getFontWeightAndStyleOptions(e.value,o);const n=[];let r=!1;0===t.fontWeightOptions.length&&(r="normal"===o?"italic":"normal",t=this.getFontWeightAndStyleOptions(e.value,r)),Object.keys(i).forEach((e=>{void 0!==t.fontWeightOptions.find((e=>e.value===i))&&n.push(i[e])})),0===n.length&&0!==t.fontWeightOptions.length&&n.push(t.fontWeightOptions[0].value),this.setState({name:e.value,style:r||o,weight:n,fontWeightOptions:t.fontWeightOptions,styleOptions:t.styleOptions})},options:e,placeholder:(0,vs.__)("--- Select ---","ghostkit")})),(0,Ke.createElement)(us.SelectControl,{multiple:!0,label:(0,vs.__)("Weight","ghostkit"),value:i,onChange:e=>{this.setState({weight:e})},options:t}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Style","ghostkit"),value:o,onChange:e=>{this.setState({style:e})},options:n}),s?(0,Ke.createElement)("div",{className:"ghostkit-settings-fonts-google-form-error"},s):null,a?(0,Ke.createElement)("div",{className:"ghostkit-settings-fonts-google-form-notice"},a):null,l?(0,Ke.createElement)(us.Button,{isPrimary:!0,onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===r&&u.google[t].style===o&&t!==c&&(e=!0)})),r&&c&&!e){h({google:{...u.google,[c]:{name:this.state.name,weight:this.state.weight,style:this.state.style}}});const e=this.getFontWeightAndStyleOptions(Gd);this.setState({name:Gd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",isEdit:!1,editKey:null,notice:(0,vs.__)("The font has been successfully edited","ghostkit")})}else this.state.name?e&&this.setState({error:(0,vs.__)("The font has already been added with style.","ghostkit")}):this.setState({error:(0,vs.__)("You should specify the `Name` to add new font.","ghostkit")})}},(0,vs.__)("Edit Font","ghostkit")):(0,Ke.createElement)(us.Button,{isPrimary:!0,onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===r&&u.google[t].style===o&&(e=!0)})),r&&!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(Gd);this.setState({name:Gd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",notice:"",isEdit:!1})}else this.state.name?e&&this.setState({error:(0,vs.__)("The font has already been added. To edit, use the font edit button in the table.","ghostkit")}):this.setState({error:(0,vs.__)("You should specify the `Name` to add new font.","ghostkit")})}},(0,vs.__)("Add Font","ghostkit"))))}render(){const{isLoading:e,isEdit:t,editKey:n}=this.state,{customFonts:o,updateFonts:r}=this.props;return(0,Ke.createElement)("div",{className:e?"ghostkit-settings-fonts-loading":""},e?(0,Ke.createElement)(us.Spinner,null):"",t?"":this.renderEditor(),o.google&&Object.keys(o.google).length?(0,Ke.createElement)(ms.Fragment,null,(0,Ke.createElement)("br",null),(0,Ke.createElement)("table",{className:"widefat fixed striped"},(0,Ke.createElement)("thead",null,(0,Ke.createElement)("tr",null,(0,Ke.createElement)("td",null,(0,vs.__)("Font Family","ghostkit")),(0,Ke.createElement)("td",null,(0,vs.__)("Font Weights","ghostkit")),(0,Ke.createElement)("td",null,(0,vs.__)("Font Style","ghostkit")),(0,Ke.createElement)("td",null,(0,vs.__)("Actions","ghostkit")))),(0,Ke.createElement)("tbody",null,Object.keys(o.google).map((e=>(0,Ke.createElement)(ms.Fragment,{key:o.google[e].name+e},(0,Ke.createElement)("tr",null,(0,Ke.createElement)("td",null,o.google[e].name),(0,Ke.createElement)("td",null,Object.keys(o.google[e].weight).map((t=>(t=Number(t),(0,Ke.createElement)(ms.Fragment,{key:o.google[e].name+e+t},o.google[e].weight[t],Number(o.google[e].weight.length)===t+1?"":", "))))),(0,Ke.createElement)("td",null,o.google[e].style),(0,Ke.createElement)("td",null,(0,Ke.createElement)(us.Button,{isLink:!0,onClick:()=>{const t={...o.google};delete t[e],r({google:{...t}})}},(0,vs.__)("Remove","ghostkit"))," | ",(0,Ke.createElement)(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})}},(0,vs.__)("Edit","ghostkit")))),t&&n===e?(0,Ke.createElement)("tr",null,(0,Ke.createElement)("td",{colSpan:4},this.renderEditor())):null)))))):null)}}const Yd=Kd,{GHOSTKIT:Zd}=window;function Jd(e){const{icons:t,settings:n}=Zd;Object.keys(t).forEach((o=>{(void 0===n[`icon_pack_${o}`]||n[`icon_pack_${o}`])&&e(t[o])}))}function Xd(e){const{iconData:t,onClick:n,active:o}=e;return(0,Ke.createElement)(ep.Preview,{className:cs()("ghostkit-component-icon-picker-button",o?"ghostkit-component-icon-picker-button-active":""),onClick:n,data:t})}const Qd={};function ep(e){const{value:t,label:n,onChange:o,insideInspector:r}=e;return(0,Ke.createElement)(us.BaseControl,{className:"ghostkit-component-icon-picker-wrapper"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>o(pt(e)),value:gt(t),insideInspector:r,renderToggle:({isOpen:e,onToggle:o})=>(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-component-icon-picker-toggle",e?"ghostkit-component-icon-picker-toggle-active":""),onClick:o},(0,Ke.createElement)(ep.Preview,{className:"ghostkit-component-icon-picker-toggle-indicator",name:gt(t),alwaysRender:!0}),(0,Ke.createElement)("span",{className:"ghostkit-component-icon-picker-toggle-label"},n))}))}function tp(e){const{value:t,options:n,itemsPerRow:o=2,onChange:r,label:i}=e;return(0,Ke.createElement)(us.BaseControl,{id:i,label:i,className:cs()("ghostkit-component-image-picker",`ghostkit-component-image-picker-${o}`)},n.map((e=>(0,Ke.createElement)("button",{key:`image-pircker-${e.value}`,onClick:()=>{r(e.value)},className:cs()("ghostkit-component-image-picker-item",t===e.value?"ghostkit-component-image-picker-item-active":"",e.className)},e.image&&"string"==typeof e.image?(0,Ke.createElement)("img",{src:e.image,alt:e.label||e.value}):null,e.image&&"string"!=typeof e.image?e.image:"",e.label?(0,Ke.createElement)("span",null,e.label):""))))}function np(e){const{onClick:t,isActive:n}=e;return(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("!important","ghostkit")},(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-control-important-toggle",n&&"is-active"),onClick:()=>{t(!n)}},"!"))}ep.Dropdown=function(e){const t=(0,ms.useRef)(),{onChange:n,value:o,label:r,className:i,renderToggle:s,insideInspector:a}=e,[l,c]=(0,ms.useState)(""),[u,h]=(0,ms.useState)(Qd),[d,p]=(0,ms.useState)(!1);(0,ms.useEffect)((()=>{t.current=new Sh({defaultHeight:65,fixedWidth:!0})}),[]),(0,ms.useEffect)((()=>{t.current&&t.current.clearAll()}));const g=(0,Ke.createElement)(us.Dropdown,{className:i,contentClassName:"ghostkit-component-icon-picker-content",renderToggle:s,focusOnMount:!1,renderContent:()=>function(){const e=[{key:"form",render:(0,Ke.createElement)(ms.Fragment,{key:"form"},(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Search Icon","ghostkit"),value:gt(l),onChange:e=>c(pt(e)),placeholder:(0,vs.__)("Type to Search…","ghostkit"),autoComplete:"off",autoFocus:!0}),(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker-input-output"},d?(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Icon Output","ghostkit"),value:o,onChange:e=>{n(e)},placeholder:(0,vs.__)("Icon Output","ghostkit"),autoComplete:"off"}):(0,Ke.createElement)(us.Button,{isSmall:!0,isSecondary:!0,onClick:()=>p(!0),style:{marginRight:5}},(0,vs.__)("Customize Icon","ghostkit")),(0,Ke.createElement)(us.Button,{isSmall:!0,isSecondary:!0,disabled:!o,onClick:()=>n("")},(0,vs.__)("Reset","ghostkit"))))}];Jd((t=>{const r=void 0===u[t.name]||u[t.name],i=l.toLowerCase(),s=t.icons.filter((e=>!(i&&!(i&&e.keys.indexOf(i.toLowerCase())>-1)))).map((e=>{const t=function(e){let t="";return e.keys&&(t=ut(e.keys.split(",")[0])),t}(e),r=(0,Ke.createElement)(Xd,{active:gt(e.svg)===gt(o),iconData:e,onClick:()=>{n(gt(e.svg))}});return t?(0,Ke.createElement)(us.Tooltip,{key:gt(e.svg),text:t},(0,Ke.createElement)("div",null,r)):r}));if(!s.length)return;if(e.push({key:`title-${t.name}`,render:(0,Ke.createElement)("div",{className:cs()("components-panel__body ghostkit-component-icon-picker-list-panel-toggle",r?"is-opened":"")},(0,Ke.createElement)("h2",{className:"components-panel__body-title"},(0,Ke.createElement)(us.Button,{className:"components-panel__body-toggle",onClick:()=>{h({...u,[t.name]:!r})},"aria-expanded":r},(0,Ke.createElement)("span",{"aria-hidden":"true"},r?(0,Ke.createElement)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})),(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):(0,Ke.createElement)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})),(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t.name)))}),!r)return;let a=[];s.forEach(((t,n)=>{a.push(t),3!==a.length&&s.length!==n+1||(e.push({key:"icons",render:(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker-list"},a)}),a=[])}))})),1===e.length&&e.push({key:"icons",render:(0,vs.__)("No icons found.","ghostkit")});const r=(0,Ke.createElement)(kh,{key:"autosizer-"+(d?"1":"0")},(({width:n,height:o})=>(0,Ke.createElement)(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:r,parent:i,key:s}=n;return(0,Ke.createElement)(xh,{cache:t?.current,columnIndex:0,key:s,rowIndex:o,parent:i},(()=>(0,Ke.createElement)("div",{style:r},e[o].render||"")))}})));return(0,Ke.createElement)(ms.Fragment,null,(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker-sizer"}),(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker"},r))}(),...a?{popoverProps:{placement:"left-start",offset:36,shift:!0}}:{}});return r?(0,Ke.createElement)(us.BaseControl,{id:r,label:r,className:i},g):g},ep.Preview=function(e){const{onClick:t,className:n,alwaysRender:o=!1}=e;let{data:r,name:i}=e;!r&&i&&Jd((e=>{e.icons.forEach((e=>{!r&&e.svg&&(e.svg===i||e.fallback&&e.fallback===i&&e.svg)&&(e.svg?r=e:i=e.class)}))}));let s="";return r&&r.svg?s=r.svg:(i||r&&r.class)&&(s=i||r.class),s||o?(0,Ke.createElement)(ep.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},ep.Render=function(e){const{tag:t="span",name:n,alwaysRender:o=!1,...r}=e,i=t;let s="";const a=gt(n);return a&&/^`),s||o?(0,Ke.createElement)(i,{dangerouslySetInnerHTML:{__html:s},...r}):null};const op={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 ip(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 sp(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 ap(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 lp(e){for(var t=1;t0,r=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);op.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[i,s]=t._movement,[a,l]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(i)>=a&&u[0]),!1===c[1]&&(c[1]=Math.abs(s)>=l&&u[1])):(!1===c[0]&&(c[0]=Math.abs(i)>=a&&Math.sign(i)*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]?i-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=yp(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,r]){const[[i,s],[a,l]]=e;return[ip(t,i,s,o),ip(n,a,l,r)]}(t._bounds,t.offset,w),t.delta=op.sub(t.offset,d),this.computeMovement(),p&&(!t.last||r>32)){t.delta=op.sub(t.offset,d);const e=t.delta.map(Math.abs);op.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&r>0&&(t.velocity=[e[0]/r,e[1]/r],t.timeDelta=r)}}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(lp(lp(lp({},t),e),{},{[this.aliasKey]:e.values}));void 0!==o&&(e.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Sp extends xp{constructor(...e){super(...e),sp(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=op.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=op.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[fp(e)]:n.axisThreshold;t.axis=function([e,t],n){const o=Math.abs(e),r=Math.abs(t);return o>r&&o>n?"x":r>o&&r>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 Ep=e=>e,Ap={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>lp(lp({},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 op.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?op.toVector(e):void 0,transform(e,t,n){const o=e||n.shared.transform;return this.hasCustomTransform=!!o,o||Ep},threshold:e=>op.toVector(e,0)},Tp=lp(lp({},Ap),{},{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=>Tp.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:r=1/0}=e;return[[t,n],[o,r]]}}),$p={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]},Mp="undefined"!=typeof window&&window.document&&window.document.createElement;function Rp(){return Mp&&"ontouchstart"in window}const Op={isBrowser:Mp,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:Rp(),touchscreen:Rp()||Mp&&window.navigator.maxTouchPoints>1,pointer:Mp&&"onpointerdown"in window,pointerLock:Mp&&"exitPointerLock"in window.document},Lp={mouse:0,touch:0,pen:8},Ip=lp(lp({},Tp),{},{device(e,t,{pointer:{touch:n=!1,lock:o=!1,mouse:r=!1}={}}){return this.pointerLock=o&&Op.pointerLock,Op.touch&&n?"touch":this.pointerLock?"mouse":Op.pointer&&!r?"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:r=!0}={}}){return this.pointerButtons=o,this.keys=r,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:o=3,axis:r}){const i=op.toVector(e,n?o:r?1:0);return this.filterTaps=n,this.tapsThreshold=o,i},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(op.toVector(e)),distance:this.transform(op.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?lp(lp({},Lp),e):Lp,keyboardDisplacement:(e=10)=>e});lp(lp({},Ap),{},{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 r=e=>{const t=Cp(yp(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},i=e=>{const t=Cp(yp(o,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof o?[r(),i()]:e=>[r(e),i(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,op.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),lp(lp({},Tp),{},{mouseOnly:(e=!0)=>e}),lp(lp({},Tp),{},{mouseOnly:(e=!0)=>e});const Pp=new Map,Np=new Map,Dp={key:"drag",engine:class extends Sp{constructor(...e){super(...e),sp(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=Tp.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=vp(e),n._pointerActive=!0,this.computeValues(bp(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==fp(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=vp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;const r=bp(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=op.sub(r,t._values),this.computeValues(r)),op.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=vp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[r,i]=t._distance;if(t.tap=r<=n.tapsThreshold&&i<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,o]=t._delta,[r,i]=t._movement,[s,a]=n.swipe.velocity,[l,c]=n.swipe.distance,u=n.swipe.duration;if(t.elapsedTimes&&Math.abs(r)>l&&(t.swipe[0]=Math.sign(e)),u>a&&Math.abs(i)>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=$p[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,op.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in $p&&(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 Fp={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 Bp(e={},t){const n={};for(const[o,r]of Object.entries(t))switch(typeof r){case"function":n[o]=r.call(n,e[o],o,e);break;case"object":n[o]=Bp(e[o],r);break;case"boolean":r&&(n[o]=e[o])}return n}class jp{constructor(e,t){sp(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,o,r){const i=this._listeners,s=function(e,t=""){const n=cp[e];return e+(n&&n[t]||t)}(t,n),a=lp(lp({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),r);e.addEventListener(s,o,a);const l=()=>{e.removeEventListener(s,o,a),i.delete(l)};return i.add(l),l}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class Hp{constructor(){sp(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 Wp{constructor(e){var t,n;sp(this,"gestures",new Set),sp(this,"_targetEventStore",new jp(this)),sp(this,"gestureEventStores",{}),sp(this,"gestureTimeoutStores",{}),sp(this,"handlers",{}),sp(this,"config",{}),sp(this,"pointerIds",new Set),sp(this,"touchIds",new Set),sp(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),t=this,(n=e).drag&&Vp(t,"drag"),n.wheel&&Vp(t,"wheel"),n.scroll&&Vp(t,"scroll"),n.move&&Vp(t,"move"),n.pinch&&Vp(t,"pinch"),n.hover&&Vp(t,"hover")}setEventIds(e){return gp(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:r,eventOptions:i,window:s,enabled:a,transform:l}=o,c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(o,zp);if(n.shared=Bp({target:r,eventOptions:i,window:s,enabled:a,transform:l},Fp),t){const e=Np.get(t);n[t]=Bp(lp({shared:n.shared},c),e)}else for(const e in c){const t=Np.get(e);t&&(n[e]=Bp(lp({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 r=this.config[t],i=Up(n,r.eventOptions,!!o);r.enabled&&new(Pp.get(t))(this,e,t).bind(i)}const r=Up(n,t.eventOptions,!!o);for(const t in this.nativeHandlers)r(t,"",(n=>this.nativeHandlers[t](lp(lp({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=_p(...n[e]);if(!o)return n;for(const e in n){const{device:t,capture:r,passive:i}=pp(e);this._targetEventStore.add(o,t,"",n[e],{capture:r,passive:i})}}}}function Vp(e,t){e.gestures.add(t),e.gestureEventStores[t]=new jp(e,t),e.gestureTimeoutStores[t]=new Hp}const Up=(e,t,n)=>(o,r,i,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=cp[e],r=o&&o[t]||t;return"on"+up(e)+up(r)+(function(e=!1,t){return e&&!hp.includes(t)}(n,r)?"Capture":"")}(o,r,u);n&&h&&(d+="Passive"),e[d]=e[d]||[],e[d].push(i)};function Gp(e,t){var n;return n=Dp,Pp.set(n.key,n.engine),Np.set(n.key,n.resolver),function(e,t={},n,o){const r=Ye().useMemo((()=>new Wp(e)),[]);if(r.applyHandlers(e,o),r.applyConfig(t,n),Ye().useEffect(r.effect.bind(r)),Ye().useEffect((()=>r.clean.bind(r)),[]),void 0===t.target)return r.bind.bind(r)}({drag:e},t||{},"drag")}const qp=["px","%","rem","em","vh","vw","vmin","vmax","ex","cm","mm","in","pt","pc","ch"],Kp=e=>e.toString().includes(".")?e.toString().split(".").pop().length:0;function Yp(e){const{label:t,help:n,icon:o,placeholder:r,value:i,step:s,defaultUnit:a,expandOnFocus:l,autoComplete:c,className:u,onChange:h}=e,d=(0,ms.useRef)(),[p,g]=(0,ms.useState)(!1);function f(e,t){let n=e;s&&(n*=s),t&&(n*=10);const o=function(){let e=parseFloat(i),t="";if(i!==`${e}`){const n=(i||"").match(new RegExp(`${e}(${qp.join("|")})`,"i"));n&&n[1]&&(t=n[1])}return Number.isNaN(e)&&(e=0,void 0!==a&&(t=a)),{num:e,unit:t,full:i}}();if(void 0!==o.full&&`${o.num}${o.unit}`!==o.full)return;n=o.num+n;const r=Kp(n);r>10&&(n=function(e,t){const n=Math.pow(10,t||0);return Math.round(e*n)/n}(n,r-1)),h(n+o.unit)}const m=Gp((e=>{const{event:t,dragging:n,_direction:o,shiftKey:r}=e;n&&(t.stopPropagation(),f(-1*o[1],r))}),{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,Ke.createElement)("div",{className:cs()(v,p&&l&&i&&i.length>=l&&"ghostkit-component-input-drag-expand",u)},o,(0,Ke.createElement)(us.TextControl,{...m(),ref:d,label:t,help:n,placeholder:r,value:i||"",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}))}function Zp(e){const{checkActive:t=(()=>!1)}=e,[n,o]=(0,ms.useState)(!1),{allDevices:r,device:i,setDevice:s}=Ji();(0,ms.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=[xi("tabs-mobile"),xi("tabs-tablet"),xi("tabs-laptop"),xi("tabs-desktop"),xi("tabs-tv")];let c=l[l.length-1],u="0",h=!1;return[...Object.keys(r),""].forEach(((e,n)=>{e===i&&(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,vs.sprintf)((0,vs.__)("Devices with screen width <= %s","ghostkit"),`${r[e]}px`):(0,vs.__)("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===i&&"is-active"),onClick:()=>{s(e.name),o(!1)}},e.title)))))}const Jp=()=>{};function Xp(e){const{className:t,children:n,...o}=e;return(0,Ke.createElement)(us.BaseControl,{className:cs()("ghostkit-component-input-group",t),...o},(0,Ke.createElement)("div",{className:"ghostkit-component-input-group-wrapper"},n))}function Qp(e){if(e.children)return(0,Ke.createElement)(Xp,{...e});const{label:t,inputs:n,hasValue:o=Jp,getValue:r=Jp,onChange:i=Jp,withResponsive:s,withState:a,withImportant:l,expandOnFocus:c,className:u,...h}=e,[d,p]=(0,ms.useState)(!1),{device:g}=Ji();return(0,Ke.createElement)(us.BaseControl,{id:n[0].name,className:cs()("ghostkit-component-input-group",u),label:(0,Ke.createElement)(Ke.Fragment,null,t,s&&(0,Ke.createElement)(Zp,{checkActive:e=>n.some((t=>o(t.name,e,d)))}),a&&(0,Ke.createElement)(Cs,{isHover:d,onChange:()=>{p(!d)},checkActive:()=>n.some((e=>o(e.name,g,!0)))})),...h},(0,Ke.createElement)("div",{className:"ghostkit-component-input-group-wrapper"},n.map((e=>{let t=r(e.name,g,d),n=!1;return l&&(n=/ !important$/.test(t),n&&(t=t.replace(/ !important$/,""))),(0,Ke.createElement)("div",{key:e.name,className:"ghostkit-component-input-group-item"},(0,Ke.createElement)(Yp,{id:e.name,help:e.label,value:t,onChange:t=>{t=t?`${t}${n?" !important":""}`:void 0,i(e.name,t,g,d)},expandOnFocus:c,autoComplete:"off"}),l&&void 0!==t&&(0,Ke.createElement)(np,{onClick:n=>{if(t){const o=`${t}${n?" !important":""}`;i(e.name,o,g,d)}},isActive:n}))}))))}const eg=us.__experimentalUnitControl;function tg(e){const{attributes:t,hasAspectRatio:n=!0,hasSizeSelectors:o=!0,hasOriginalOption:r=!0,onChangeAspectRatio:i,onChangeWidth:s,onChangeHeight:a,onChangeResolution:l}=e,{aspectRatio:c,width:u,height:h,resolution:d}=t,p=[];r&&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,ms.useState)(!1);return(0,ms.useEffect)((()=>{m(!(!u||!h)&&"custom")}),[]),(0,Ke.createElement)(Ke.Fragment,null,n&&(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Aspect Ratio","ghostkit"),value:f||c,onChange:e=>{m(!1);const{label:t}=p.find((t=>t.value===e));i(e,t),u&&h&&a("")},options:p}),o&&(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("div",{style:{display:"flex",gap:10}},(0,Ke.createElement)(eg,{value:u,placeholder:(0,vs.__)("Auto","ghostkit"),label:(0,vs.__)("Width","ghostkit"),onChange:e=>{s(parseFloat(e)?e:""),m(!(!e||!h)&&"custom")}}),(0,Ke.createElement)(eg,{value:h,placeholder:(0,vs.__)("Auto","ghostkit"),label:(0,vs.__)("Height","ghostkit"),onChange:e=>{a(parseFloat(e)?e:""),m(!(!u||!e)&&"custom")}})),!d&&(0,Ke.createElement)("div",{style:{marginTop:"-22px"}})),d&&g?.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:d,onChange:l,options:g.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null)}function ng(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 og(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[r,i]=(0,ms.useState)(parseFloat(o.min)||0),[s,a]=(0,ms.useState)(parseFloat(o.max)||100);return(0,ms.useEffect)((()=>{e&&o.value&&o.values&&a(o.value)}),[o.value]),e||t?(0,Ke.createElement)(us.BaseControl,{id:n,label:n,className:"ghostkit-component-range-control"},(0,Ke.createElement)(us.RangeControl,{...o,min:r,max:s,withInputField:!1}),(0,Ke.createElement)(us.TextControl,{type:"number",value:o.value,min:r,max:s,step:o.step,onChange:n=>{const i=""===n?void 0:parseFloat(n);!e&&ns?o.onChange(s):o.onChange(i)}})):(0,Ke.createElement)(us.RangeControl,{...o,label:n,min:r,max:s})}function ig(e){const[t,n]=(0,ms.useState)(-1),{onRemove:o,show:r,style:i,tooltipText:s=(0,vs.__)("Remove Block?","ghostkit"),tooltipRemoveText:a=(0,vs.__)("Remove","ghostkit"),tooltipCancelText:l=(0,vs.__)("Cancel","ghostkit")}=e;return r?(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button",onClick:()=>{-1===t&&n(0)},style:i},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,xi("icon-trash")):null}function sg(e){const{children:t}=e,n=e?.active||e?.filledTabs||{},{allDevices:o,device:r,setDevice:i}=Ji(),s=[],a=[xi("tabs-mobile"),xi("tabs-tablet"),xi("tabs-laptop"),xi("tabs-desktop"),xi("tabs-tv")];return[...Object.keys(o),""].forEach(((e,t)=>{s.unshift({name:e,title:(0,Ke.createElement)(us.Tooltip,{text:e?(0,vs.sprintf)((0,vs.__)("Devices with screen width <= %s","ghostkit"),`${o[e]}px`):(0,vs.__)("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===r&&"is-active"),onClick:()=>{i(e.name)}},e.title)))),t({name:r}))}function ag(e){const{label:t,value:n,options:o,onChange:r,isBlock:i,isAdaptiveWidth:s,isDeselectable:a}=e;return us.__experimentalToggleGroupControl&&us.__experimentalToggleGroupControlOption?(0,Ke.createElement)(us.BaseControl,{id:t,label:t,className:cs()("ghostkit-control-toggle-group",e.className)},(0,Ke.createElement)(us.__experimentalToggleGroupControl,{value:n,onChange:r,isBlock:i,isAdaptiveWidth:s,isDeselectable:a,hideLabelFromVision:!0},o.map((e=>e.icon?(0,Ke.createElement)(us.__experimentalToggleGroupControlOptionIcon,{key:e.value,value:e.value,icon:e.icon,label:e.label,disabled:e.disabled}):(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{key:e.value,value:e.value,label:e.label,disabled:e.disabled}))))):(0,Ke.createElement)(us.BaseControl,{id:t,label:t},(0,Ke.createElement)(us.ButtonGroup,{className:"ghostkit-control-toggle-group"},o.map((e=>(0,Ke.createElement)(us.Button,{key:e.value,isSmall:!0,isPrimary:n===e.value,isPressed:n===e.value,disabled:e.disabled,onClick:()=>{r(e.value)}},e.label)))))}var lg=n(8428);const cg=window.wp.compose,{Motion:{animate:ug,spring:hg}}=window;function dg(e){const{label:t,options:n}=e,o=(0,ms.useRef)(),r=(0,ms.useRef)(),i=(0,ms.useRef)();function s(){i?.current&&i.current.stop(),r.current&&(i.current=ug(r.current,{x:0},{duration:0}))}function a(e){s(),setTimeout((()=>{if(o.current&&r.current){const t={};"easing"===e?.type?(t.easing=e.easing,t.duration=e.duration):"spring"===e?.type&&(t.easing=hg({stiffness:e.stiffness,damping:e.damping,mass:e.mass}));const n=window.getComputedStyle(o.current);let s=o.current.clientWidth;s-=r.current.clientWidth,s-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),i.current=ug(r.current,{x:`${s}px`},t)}}),1)}const l=(0,ms.useCallback)((0,cg.useDebounce)(a,1e3),[]);return(0,ms.useEffect)((()=>{s(),l(n)}),[o,r,n,l]),(0,Ke.createElement)(us.BaseControl,{id:t,label:t,className:"ghostkit-component-transition-preview-wrapper"},(0,Ke.createElement)(us.Button,{className:"ghostkit-component-transition-preview",ref:o,onClick:e=>{e.preventDefault(),a(n)}},(0,Ke.createElement)("span",{ref:r})))}const pg={easing:[.42,0,.58,1],delay:0,duration:.9},gg={linear:{label:(0,vs.__)("Linear","ghostkit"),easing:[0,0,1,1],delay:0,duration:.9},"ease-in":{label:(0,vs.__)("Ease In","ghostkit"),easing:[.42,0,1,1],delay:0,duration:.9},"ease-out":{label:(0,vs.__)("Ease Out","ghostkit"),easing:[0,0,.58,1],delay:0,duration:.9},"ease-in-out":{label:(0,vs.__)("Ease In Out","ghostkit"),easing:[.42,0,.58,1],delay:0,duration:.9},"ease-in-back":{label:(0,vs.__)("Ease In Back","ghostkit"),easing:[.36,0,.66,-.56],delay:0,duration:.9},"ease-out-back":{label:(0,vs.__)("Ease Out Back","ghostkit"),easing:[.34,1.56,.64,1],delay:0,duration:.9},"ease-in-out-back":{label:(0,vs.__)("Ease In Out Back","ghostkit"),easing:[.68,-.6,.32,1.6],delay:0,duration:.9}},fg=us.__stableNumberControl||us.__experimentalNumberControl;function mg(e){const{value:t,onChange:n,variant:o="",backgroundColor:r}=e;let i={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&&(i={...i,readOnly:!0,width:20,height:20,padding:[3,3,3,3],curveColor:"#fff",curveWidth:1.5}),(0,Ke.createElement)("div",{className:cs()("ghostkit-component-bezier-editor",o&&`ghostkit-component-bezier-editor-${o}`),style:r?{backgroundColor:r}:{}},(0,Ke.createElement)(lg.c,{...i}))}function vg(e){const{value:t,onChange:n,enableDelayControl:o=!0}=e,[r,i]=(0,ms.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=pg.easing),(0,ms.useEffect)((()=>{let e="custom";Object.keys(gg).forEach((t=>{const n=gg[t].easing;JSON.stringify(a)===JSON.stringify(n)&&(e=t)})),i(e)}),[r,a]);const l=[..."custom"===r?[{value:"custom",label:(0,vs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(gg).map((e=>({value:e,label:gg[e].label})))],c={value:r,label:r};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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Vd,{value:c,onChange:({value:e})=>{gg?.[e]?.easing&&s({easing:gg[e].easing})},options:l,isSearchable:!1}),(0,Ke.createElement)(mg,{value:a,onChange:e=>{s({easing:e.map((e=>Fi(e,2)))})}}),(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Bezier","ghostkit"),label:(0,vs.__)("Bezier","ghostkit"),className:"ghostkit-component-easing-controls-bezier"},(0,Ke.createElement)(fg,{value:a[0],onChange:e=>s({easing:[Fi(parseFloat(e),2),a[1],a[2],a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,Ke.createElement)(fg,{value:a[1],onChange:e=>s({easing:[a[0],Fi(parseFloat(e),2),a[2],a[3]]}),onPaste:e=>u(e),min:-5,max:5,step:.01}),(0,Ke.createElement)(fg,{value:a[2],onChange:e=>s({easing:[a[0],a[1],Fi(parseFloat(e),2),a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,Ke.createElement)(fg,{value:a[3],onChange:e=>s({easing:[a[0],a[1],a[2],Fi(parseFloat(e),2)]}),onPaste:e=>u(e),min:-5,max:5,step:.01})),(0,Ke.createElement)(fg,{label:(0,vs.__)("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,Ke.createElement)(fg,{label:(0,vs.__)("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,Ke.createElement)(dg,{label:(0,vs.__)("Preview","ghostkit"),options:{type:"easing",duration:t?.duration||0,easing:a}}))}const bg={fade:{label:(0,vs.__)("Fade In","ghostkit"),icon:xi("sr-fade"),data:{opacity:0}},zoom:{label:(0,vs.__)("Zoom In","ghostkit"),icon:xi("sr-zoom"),data:{scale:.9}},"zoom-up":{label:(0,vs.__)("Zoom In From Bottom","ghostkit"),icon:xi("sr-zoom-from-bottom"),data:{y:50,scale:.9}},"zoom-left":{label:(0,vs.__)("Zoom In From Left","ghostkit"),icon:xi("sr-zoom-from-left"),data:{x:-50,scale:.9}},"zoom-right":{label:(0,vs.__)("Zoom In From Right","ghostkit"),icon:xi("sr-zoom-from-right"),data:{x:50,scale:.9}}};function yg(e){const{label:t,value:n,onChange:o}=e,[r,i]=(0,ms.useState)();(0,ms.useEffect)((()=>{let e="custom";const t={...n||{}};t?.transition&&delete t.transition,Object.keys(bg).forEach((n=>{const o={...bg[n].data};o?.transition&&delete o.transition,JSON.stringify(t)===JSON.stringify(o)&&(e=n)})),i(e)}),[r,n]);const s=[..."custom"===r?[{value:"custom",label:(0,vs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(bg).map((e=>({value:e,label:bg[e].label,icon:bg[e].icon})))],a={value:r,label:r};return a.value&&s.forEach((e=>{a.value===e.value&&(a.label=e.label)})),(0,Ke.createElement)(Vd,{label:t,value:a,onChange:e=>{bg?.[e.value]?.data&&o(bg[e.value].data)},options:s,isSearchable:!1})}const wg={stiffness:300,damping:35,mass:2,delay:0},kg={default:{label:(0,vs.__)("Default","ghostkit"),stiffness:300,damping:35,mass:2,delay:0},gentle:{label:(0,vs.__)("Gentle","ghostkit"),stiffness:100,damping:14,mass:1,delay:0},wobbly:{label:(0,vs.__)("Wobbly","ghostkit"),stiffness:200,damping:10,mass:1,delay:0},slow:{label:(0,vs.__)("Slow","ghostkit"),stiffness:8,damping:4,mass:1,delay:0},molasses:{label:(0,vs.__)("Molasses","ghostkit"),stiffness:10,damping:20,mass:4,delay:0}},_g=us.__stableNumberControl||us.__experimentalNumberControl,Cg=us.__stableGrid||us.__experimentalGrid,{Motion:{spring:xg}}=window;function Sg(e){const{value:t,variant:n="",backgroundColor:o}=e,[r,i]=(0,ms.useState)(""),[s,a]=(0,ms.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,ms.useEffect)((()=>{const e=xg({stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass}).createAnimation([0,l.framesLength]),n=l.width-2*l.padding,o=l.height-2*l.padding,r=e.keyframes.map(((t,r)=>{const i=(l.framesLength-t)/l.framesLength;return[Fi(r/e.keyframes.length*n,4)+l.padding,Fi(i*o/2,4)+o/2+l.padding]}));let s=`M${l.padding}`;for(let e=0,t=r.length;e{let e="custom";Object.keys(kg).forEach((n=>{t?.stiffness===kg[n].stiffness&&t?.damping===kg[n].damping&&t?.mass===kg[n].mass&&(e=n)})),i(e)}),[r,t]);const a=[..."custom"===r?[{value:"custom",label:(0,vs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(kg).map((e=>({value:e,label:kg[e].label})))],l={value:r,label:r};return l.value&&a.forEach((e=>{l.value===e.value&&(l.label=e.label)})),(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Vd,{value:l,onChange:({value:e})=>{kg?.[e]?.stiffness&&s({stiffness:kg[e].stiffness,damping:kg[e].damping,mass:kg[e].mass})},options:a,isSearchable:!1}),(0,Ke.createElement)(Sg,{value:t}),(0,Ke.createElement)(Cg,{columns:3},(0,Ke.createElement)(_g,{label:(0,vs.__)("Stiffness","ghostkit"),value:t?.stiffness,onChange:e=>s({stiffness:parseFloat(e)}),min:1,max:1e3,step:1}),(0,Ke.createElement)(_g,{label:(0,vs.__)("Damping","ghostkit"),value:t?.damping,onChange:e=>s({damping:parseFloat(e)}),min:0,max:100,step:.1}),(0,Ke.createElement)(_g,{label:(0,vs.__)("Mass","ghostkit"),value:t?.mass,onChange:e=>s({mass:parseFloat(e)}),min:0,max:10,step:.05})),o&&(0,Ke.createElement)(_g,{label:(0,vs.__)("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,Ke.createElement)(dg,{label:(0,vs.__)("Preview","ghostkit"),options:{type:"spring",stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass}}))}function Ag(e){const{label:t,value:n,onChange:o,enableEasing:r=!0,enableSpring:i=!0,enableDelayControl:s=!0,allowReset:a=!1}=e,[l,c]=(0,ms.useState)(!1);let u=n?.easing;u&&4===u.length||(u=pg.easing);let h="";const d=a&&n&&(0,Ke.createElement)("span",{className:"ghostkit-component-transition-selector-reset",onClick:e=>{e.preventDefault(),e.stopPropagation(),c(!1),o(void 0)},onKeyDown:()=>{},role:"button",tabIndex:0},(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(mg,{variant:"preview",value:u}),(0,vs.__)("Easing","ghostkit"),d):"spring"===n?.type?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Sg,{variant:"preview",value:n}),(0,vs.__)("Spring","ghostkit"),d):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Sg,{variant:"preview",value:{type:"spring",stiffness:930,damping:40,mass:6,delay:0},backgroundColor:"#c3c3c3"}),(0,vs.__)("Add…","ghostkit")),!(!r&&!i)&&(0,Ke.createElement)(us.BaseControl,{id:t,label:t},(0,Ke.createElement)(ws,{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",...wg};delete e.label,o(e)}}},r&&i&&(0,Ke.createElement)(ag,{value:n?.type||"spring",options:[{label:(0,vs.__)("Easing","ghostkit"),value:"easing"},{label:(0,vs.__)("Spring","ghostkit"),value:"spring"}],onChange:e=>{const t="easing"===e?{type:"easing",...pg}:{type:"spring",...wg};delete t.label,o(t)},isBlock:!0}),i&&"easing"!==n?.type&&(0,Ke.createElement)(Eg,{value:n,onChange:e=>{o(e)},enableDelayControl:s}),r&&"easing"===n?.type&&(0,Ke.createElement)(vg,{value:n,onChange:e=>{o(e)},enableDelayControl:s})))}const{GHOSTKIT:Tg}=window,{version:$g}=window.ghostkitVariables;function Mg(e){return""===e?(0,vs.__)("Default Site Font","ghostkit"):e}function Rg(e){let t="";switch(e){case"":t=(0,vs.__)("Default","ghostkit");break;case"100":t=(0,vs.__)("Thin","ghostkit");break;case"100i":t=(0,vs.__)("Thin Italic","ghostkit");break;case"200":t=(0,vs.__)("Extra Light","ghostkit");break;case"200i":t=(0,vs.__)("Extra Light Italic","ghostkit");break;case"300":t=(0,vs.__)("Light","ghostkit");break;case"300i":t=(0,vs.__)("Light Italic","ghostkit");break;case"400":t=(0,vs.__)("Regular","ghostkit");break;case"400i":t=(0,vs.__)("Regular Italic","ghostkit");break;case"500":t=(0,vs.__)("Medium","ghostkit");break;case"500i":t=(0,vs.__)("Medium Italic","ghostkit");break;case"600":t=(0,vs.__)("Semi Bold","ghostkit");break;case"600i":t=(0,vs.__)("Semi Bold Italic","ghostkit");break;case"700":t=(0,vs.__)("Bold","ghostkit");break;case"700i":t=(0,vs.__)("Bold Italic","ghostkit");break;case"800":t=(0,vs.__)("Extra Bold","ghostkit");break;case"800i":t=(0,vs.__)("Extra Bold Italic","ghostkit");break;case"900":t=(0,vs.__)("Black","ghostkit");break;case"900i":t=(0,vs.__)("Black Italic","ghostkit")}return t}function Og(e,t){const{fonts:n}=Tg,o=[];return""!==e&&""!==t&&void 0!==e&&void 0!==t&&void 0!==n[t]&&Object.keys(n[t].fonts).forEach((r=>{n[t].fonts[r].name===e&&Object.keys(n[t].fonts[r].widths).forEach((e=>{const i=n[t].fonts[r].widths[e];o.push({value:i,label:Rg(i)})}))})),o}class Lg extends ms.Component{render(){let{fontFamilyCategory:e}=this.props;e="default"===e?"google-fonts":e;const{onChange:t,placeholders:n,label:o,fontFamily:r,fontWeight:i,fontSize:s,lineHeight:a,letterSpacing:l,childOf:c,fontWeights:u=Og(Mg(r),e)}=this.props,h=`icon-typography-${e}`,d=(0,os.applyFilters)("ghostkit.typography.allow.fonts","adobe-fonts"!==e&&"custom-fonts"!==e,e),p={value:r,label:Mg(r),fontFamilyCategory:e},g={value:i,label:Rg(i)},f=void 0===s?"":s,m=function(e="google-fonts"){const{fonts:t}=Tg,n=[];return Object.keys(t).forEach((o=>{Object.keys(t[o].fonts).forEach((r=>{const i=t[o].fonts[r];let s=i.name;"default"===o&&(s=""),e!==o&&"default"!==o||n.push({value:s,label:i.label||i.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:xi(h,!1),label:(0,vs.__)("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:xi("icon-typography-google-fonts",!1),onClick:()=>{t({fontFamilyCategory:"google-fonts",fontFamily:"",fontWeight:""}),e()}},(0,vs.__)("Google Fonts","ghostkit")),(0,Ke.createElement)(us.MenuItem,{icon:xi("icon-typography-adobe-fonts",!1),onClick:()=>{t({fontFamilyCategory:"adobe-fonts",fontFamily:"",fontWeight:""}),e()}},(0,vs.__)("Adobe Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,vs.__)("PRO","ghostkit"))),(0,Ke.createElement)(us.MenuItem,{icon:xi("icon-typography-custom-fonts",!1),onClick:()=>{t({fontFamilyCategory:"custom-fonts",fontFamily:"",fontWeight:""}),e()}},(0,vs.__)("Custom Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,vs.__)("PRO","ghostkit")))))):null,(0,Ke.createElement)(rs,{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,vs.__)("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=${$g}`},"https://www.ghostkit.io/pricing/")):null,"custom-fonts"===e?(0,Ke.createElement)("div",{className:"ghostkit-typography-information-control ghostkit-typography-font-control"},(0,vs.__)("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=${$g}`},"https://www.ghostkit.io/pricing/")):null),void 0!==r&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-font-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Font Family","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Vd,{value:p,onChange:n=>{t({fontFamily:n&&n.value?n.value:"",fontWeight:n&&n.value?"400":"",fontFamilyCategory:e})},options:m,placeholder:(0,vs.__)("--- Select Font Family ---","ghostkit"),className:"ghostkit-typography-font-selector",menuPosition:"fixed"})))):null,void 0!==i&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-weight-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Font Weight","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Vd,{value:g,onChange:e=>{t({fontWeight:e&&e.value?e.value:""})},options:u,placeholder:(0,vs.__)("--- 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,vs.__)("Font Size","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Yp,{value:f,placeholder:n["font-size"],onChange:e=>{t({fontSize:e})},autoComplete:"off",icon:xi("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,vs.__)("Line Height","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Yp,{value:a,placeholder:n["line-height"],onChange:e=>{t({lineHeight:e})},autoComplete:"off",icon:xi("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,vs.__)("Letter Spacing","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Yp,{value:l,placeholder:n["letter-spacing"],onChange:e=>{t({letterSpacing:e})},autoComplete:"off",icon:xi("icon-typography-letter-spacing"),defaultUnit:"em",step:.01})))):null))}}const Ig=window.wp.keycodes,Pg="noreferrer noopener";function Ng(e){const[t,n]=(0,ms.useState)(!1),{rel:o,target:r,url:i,ariaLabel:s,toolbarSettings:a=!0,inspectorSettings:l=!0,blockControlsGroup:c="block",isSelected:u}=e;function h(t){const n={rel:o,target:r,url:i,ariaLabel:s,...t};if(r!==n.target){let e=n.rel;n.target&&!n.rel?e=Pg:n.target||n.rel!==Pg||(e=void 0),n.rel=e}e.onChange(n)}function d(e){n(void 0!==e?e:!t)}function p(){return(0,Ke.createElement)(ds.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:i,opensInNewTab:"_blank"===r},onChange:({url:e="",opensInNewTab:t})=>{h({url:e,target:t?"_blank":""})},onRemove:()=>{h({url:"",target:"",rel:""}),d(!1)}})}return(0,Ke.createElement)(Ke.Fragment,null,a?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,{group:c},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{name:"link",icon:(0,Ke.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("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,vs.__)("Link"),shortcut:Ig.displayShortcut.primary("k"),onClick:()=>d()}))),u&&(0,Ke.createElement)(us.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[Ig.rawShortcut.primary("k")]:d}}),t?(0,Ke.createElement)(us.Popover,{position:"bottom center",onClose:()=>d(!1)},p()):null):null,l?(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Link Settings"),initialOpen:!1,className:"ghostkit-components-url-picker-inspector"},p(),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Link Rel"),value:o||"",onChange:e=>{h({rel:e})}}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Accessible Label"),value:s||"",onChange:e=>{h({ariaLabel:e})}}))):null)}function Dg(){return{ActiveIndicator:ns,ApplyFilters:rs,CodeEditor:as,ColorIndicator:hs,ColorPalette:ps,ColorPicker:gs,DateTimePicker:ys,DropdownPicker:ws,EditorStyles:_s,ElementStateToggle:Cs,FocalPointPicker:Ss,GoogleFonts:Yd,IconPicker:ep,ImagePicker:tp,ImportantToggle:np,InputDrag:Yp,InputGroup:Qp,MediaSizeSelector:tg,Modal:ng,Notice:og,RangeControl:rg,RemoveButton:ig,ResponsiveTabPanel:sg,ResponsiveToggle:Zp,Select:Vd,ToggleGroup:ag,transitionEasingControls:l,TransitionPresetsControl:yg,TransitionPreview:dg,TransitionSelector:Ag,transitionSpringControls:c,Typography:Lg,URLPicker:Ng}}const Fg=(0,Ze.createReduxStore)("ghostkit/base/components",{selectors:u,reducer:e=>e});function zg(e){return{type:"API_FETCH",request:e}}function Bg(e,t){return{type:"SET_IMAGE_TAG_DATA",query:e,image:t}}(0,Ze.register)(Fg);const jg=window.wp.apiFetch;var Hg=n.n(jg);function Wg({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}var Vg=n(7392),Ug=n.n(Vg);function Gg({id:e,...t}){const n=Ug().stringify(t,{encode:!1});return`/ghostkit/v1/get_attachment_image/${e}${n?`?${n}`:""}`}function*qg(e){const t=Gg(e);return Bg(t,yield zg({path:t}))}function Kg(e,t){const n=Gg(t);return e.images[n]}const Yg=(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 Zg(e){return{type:"API_FETCH",request:e}}function Jg(e){return{type:"SET_TEMPLATES",templates:e}}function Xg(e){return{type:"SET_TEMPLATE_DATA",data:e}}function Qg({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Yg);function*ef(){return Jg(yield Zg({path:"/ghostkit/v1/get_templates/"}))}function*tf(e){const t=`/ghostkit/v1/get_template_data/?id=${e}`,n=yield Zg({path:t});return n.id||(n.id=e),Xg(n)}function nf(e){return e.templates}function of(e,t){return e.templatesData[t]}const rf=(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 sf(e){return{type:"API_FETCH",request:e}}function af(e){return{type:"SET_CUSTOM_CODE",data:e}}function lf(e){return{type:"UPDATE_CUSTOM_CODE",data:e}}function cf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(rf);function*uf(){return af(yield sf({path:"/ghostkit/v1/get_custom_code/"}))}function hf(e){return e.data}function df(e){return e.data}const pf=(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,Xi.merge)(e.data,t.data)}:{data:t.data}:e},selectors:_,actions:y,controls:w,resolvers:k});function gf(e){return{type:"API_FETCH",request:e}}function ff(e,t){return{type:"SET_CUSTOMIZER_DATA",query:e,data:t}}function mf({request:e}){return Hg()(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)}))}(),Hg()(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)(pf);function*vf(){const e="/ghostkit/v1/get_customizer/";return ff(e,yield gf({path:e}))}function bf(e){return e.data}const yf=(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:C,controls:x,resolvers:S});function wf(e){return{type:"API_FETCH",request:e}}function kf(e){return{type:"SET_CUSTOM_FONTS",data:e}}function _f(e){return{type:"UPDATE_CUSTOM_FONTS",data:e}}function Cf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(yf);function*xf(){return kf(yield wf({path:"/ghostkit/v1/get_custom_fonts/"}))}function Sf(e){return e.data}function Ef(e){return e.data}const Af=(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,Xi.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 Tf(e){return{type:"API_FETCH",request:e}}function $f(e){return{type:"SET_CUSTOM_TYPOGRAPHY",data:e}}function Mf(e){return{type:"UPDATE_CUSTOM_TYPOGRAPHY",data:e}}function Rf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Af);function*Of(){return $f(yield Tf({path:"/ghostkit/v1/get_custom_typography/"}))}function Lf(e){return e.data}function If(e){return e.data}const Pf=(0,Ze.createReduxStore)("ghostkit/plugins/typography",{reducer:function(e={data:!1},t={}){return"SET_CUSTOM_TYPOGRAPHY"===t.type&&t.data?e.data?{data:(0,Xi.merge)(e.data,t.data)}:{data:t.data}:e},selectors:I,actions:R,controls:O,resolvers:L});function Nf(e){return{type:"API_FETCH",request:e}}function Df(e,t){return{type:"SET_INSTAGRAM_FEED",query:e,feed:t}}function Ff(e,t){return{type:"SET_INSTAGRAM_PROFILE",query:e,profile:t}}function zf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Pf);function Bf(e,t){const n=Ug().stringify(t,{encode:!1});return`/ghostkit/v1/get_instagram_${e}/${n?`?${n}`:""}`}function*jf(e){const t=Bf("feed",e);return Df(t,yield Nf({path:t}))}function*Hf(e){const t=Bf("profile",e);return Ff(t,yield Nf({path:t}))}function Wf(e,t){const n=Bf("feed",t);return e.feeds[n]}function Vf(e,t){const n=Bf("profile",t);return e.profiles[n]}const Uf=(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:F,actions:P,controls:N,resolvers:D});function Gf(e){return{type:"API_FETCH",request:e}}function qf(e,t){return{type:"SET_TWITTER_FEED",query:e,feed:t}}function Kf(e,t){return{type:"SET_TWITTER_PROFILE",query:e,profile:t}}function Yf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Uf);function Zf(e,t){const n=Ug().stringify(t,{encode:!1});return`/ghostkit/v1/get_twitter_${e}/${n?`?${n}`:""}`}function*Jf(e){const t=Zf("feed",e);return qf(t,yield Gf({path:t}))}function*Xf(e){const t=Zf("profile",e);return Kf(t,yield Gf({path:t}))}function Qf(e,t){const n=Zf("feed",t);return e.feeds[n]}function em(e,t){const n=Zf("profile",t);return e.profiles[n]}const tm=(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:z,controls:B,resolvers:j});function nm(e){return{type:"API_FETCH",request:e}}function om(e,t){return{type:"SET_TOC",query:e,toc:t}}function rm({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(tm);function im(e){const t=Ug().stringify(e,{encode:!0});return"/ghostkit/v1/get_table_of_contents/"+(t?`?${t}`:"")}function*sm(e){const t=im(e);return om(t,yield nm({path:t}))}function am(e,t){const n=im(t);return e.toc[n]}const lm=(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)(lm);const cm=window.wp.blocks,um=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"}}'),hm="ghostkit/accordion-item",{name:dm}=um,pm={from:[{type:"block",blocks:["ghostkit/tabs-v2"],transform(e,t){const{tabsData:n,tabActive:o}=e;return(0,cm.createBlock)("ghostkit/accordion",{itemsCount:t.length},t.map(((e,t)=>(0,cm.createBlock)("ghostkit/accordion-item",{heading:n[t]?n[t].title:(0,vs.__)("Accordion Item","ghostkit"),active:!!n[t]&&n[t].slug===o},e.innerBlocks))))}}]},{name:gm}=um,fm={icon:xi("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:r=""}=e;const{itemsCount:i,collapseOne:s,collapseTitleTag:a}=t,{isSelectedBlockInRoot:l,count:c}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,hasSelectedInnerBlock:n,getBlockCount:r}=e("core/block-editor");return{isSelectedBlockInRoot:t(o)||n(o,!0),count:r(o)}}),[o]);(0,ms.useEffect)((()=>{c!==i&&n({itemsCount:c})}),[c,i,n]);const{insertBlock:u}=(0,Ze.useDispatch)("core/block-editor");r=cs()(r,"ghostkit-accordion"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const h=(0,ds.useBlockProps)(),d=(0,ds.useInnerBlocksProps)({className:r},{allowedBlocks:[hm],template:[[hm],[hm]]});return(0,Ke.createElement)("div",{...h},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Collapse one item only","ghostkit"),checked:!!s,onChange:e=>n({collapseOne:e})}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Collapse Title HTML Element","ghostkit"),value:a,options:[{value:"div",label:(0,vs.__)("Default (
)","ghostkit")},{value:"h1",label:(0,vs.__)("

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

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

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

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

","ghostkit")},{value:"h6",label:(0,vs.__)("
","ghostkit")}],onChange:e=>n({collapseTitleTag:e})}))),(0,Ke.createElement)("div",{...d}),l?(0,Ke.createElement)("div",{className:"ghostkit-accordion-add-item"},(0,Ke.createElement)(us.Button,{isSecondary:!0,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:()=>{u((0,cm.createBlock)(hm),void 0,o)}},(0,vs.__)("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:dm,...e});const r=ds.useBlockProps.save({className:o}),i=ds.useInnerBlocksProps.save(r);return(0,Ke.createElement)("div",{...i})},transforms:pm},mm=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:vm}=mm,bm=[{...mm,save:function(e){const{attributes:t}=e,{heading:n,active:o,slug:r,titleTag:i}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:vm,...e});const a=i||"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:`#${r}`},(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}))}},{...mm,save:class extends ms.Component{render(){const{attributes:e}=this.props,{heading:t,active:n,slug:o}=e;let r=cs()("ghostkit-accordion-item",n&&"ghostkit-accordion-item-active");return r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:vm,...this.props}),(0,Ke.createElement)("div",{className:r},(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:ym}=mm,{name:wm}=mm,km={icon:xi("block-accordion-item",!0),edit:function(e){const{attributes:t,setAttributes:n,context:o,clientId:r}=e,{heading:i,slug:s,active:a,titleTag:l}=t,c=(0,ms.useRef)(),u=o["ghostkit/collapseTitleTag"]||"div";(0,ms.useEffect)((()=>{if(c.current){const e=Pi(`accordion ${i}`,r);n({slug:e})}else c.current=!0}),[i,s]),(0,ms.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(r).length>0}}),[r]),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:xi("block-accordion-collapse"),label:(0,vs.__)("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,vs.__)("Write label…","ghostkit"),value:i,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:r,titleTag:i}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:ym,...e});const a=i||"div",l=ds.useBlockProps.save({className:s,"data-accordion":r}),c=ds.useInnerBlocksProps.save({id:`${r}-content`,className:"ghostkit-accordion-item-content",role:"region","aria-labelledby":`${r}-button`});return(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(a,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)("button",{type:"button",id:`${r}-button`,"aria-expanded":o?"true":"false","aria-controls":`${r}-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:bm},_m=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}=_m,xm={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,cm.createBlock)("ghostkit/alert",{iconSize:e.numberSize,color:e.numberColor,hoverColor:e.hoverNumberColor},t)},{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,cm.createBlock)("ghostkit/alert",{iconSize:e.iconSize,color:e.iconColor,hoverColor:e.hoverIconColor},t)}]},{name:Sm}=_m,Em={icon:xi("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:r,hoverColor:i,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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:"info",label:(0,vs.__)("Type","ghostkit"),controls:[{title:(0,vs.__)("Primary","ghostkit"),icon:"editor-help",isActive:"#2E77C3"===r,onClick:()=>n({color:"#2E77C3"})},{title:(0,vs.__)("Success","ghostkit"),icon:"marker",isActive:"#22CF6E"===r,onClick:()=>n({color:"#22CF6E"})},{title:(0,vs.__)("Danger","ghostkit"),icon:"dismiss",isActive:"#DC3232"===r,onClick:()=>n({color:"#DC3232"})},{title:(0,vs.__)("Warning","ghostkit"),icon:"warning",isActive:"#E47F3B"===r,onClick:()=>n({color:"#E47F3B"})},{title:(0,vs.__)("Info","ghostkit"),icon:"info",isActive:"#2DC7E8"===r,onClick:()=>n({color:"#2DC7E8"})}]}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(rg,{label:(0,vs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:20,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0}):null),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Dismiss button","ghostkit"),checked:!!l,onChange:e=>n({hideButton:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:r})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:o?i:r,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0}))})))),(0,Ke.createElement)("div",{...u},s?(0,Ke.createElement)("div",{className:"ghostkit-alert-icon"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,(0,Ke.createElement)("div",{...h}),l?(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))},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 r=ds.useBlockProps.save({className:o}),i=ds.useInnerBlocksProps.save({className:"ghostkit-alert-content"});return(0,Ke.createElement)("div",{...r},t?(0,Ke.createElement)(ep.Render,{name:t,tag:"div",className:"ghostkit-alert-icon"}):null,(0,Ke.createElement)("div",{...i}),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:xm},Am=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"}}}'),Tm={no:0,sm:15,md:30,lg:45};function $m(e){const{gap:t,gapCustom:n,gapVerticalCustom:o,allowVerticalGap:r,onChange:i}=e;return(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Gap","ghostkit"),label:(0,vs.__)("Gap","ghostkit"),className:"ghostkit-components-gap-settings"},(0,Ke.createElement)(ag,{value:t,options:[{label:(0,vs.__)("None","ghostkit"),value:"no"},{label:(0,vs.__)("S","ghostkit"),value:"sm"},{label:(0,vs.__)("M","ghostkit"),value:"md"},{label:(0,vs.__)("L","ghostkit"),value:"lg"},{label:(0,Ke.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("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!==Tm[t]&&(n.gapCustom=Tm[t]),"custom"!==e&&(n.gapVerticalCustom=void 0),i(n)},isBlock:!0}),"custom"===t?(0,Ke.createElement)("div",{className:"ghostkit-components-gap-settings-custom"},(0,Ke.createElement)(us.TextControl,{type:"number",help:r?(0,vs.__)("Horizontal","ghostkit"):"",value:n,onChange:e=>i({gapCustom:""===e?void 0:parseFloat(e)}),min:0}),r?(0,Ke.createElement)(us.TextControl,{type:"number",help:(0,vs.__)("Vertical","ghostkit"),placeholder:n,value:o,onChange:e=>i({gapVerticalCustom:""===e?void 0:parseFloat(e)}),min:0}):null):null)}const Mm="ghostkit/button-single",{name:Rm}=Am,Om={from:[{type:"block",blocks:["core/button"],transform:e=>(0,cm.createBlock)("ghostkit/button",{align:e.align,count:1},[(0,cm.createBlock)("ghostkit/button-single",{url:e.url,text:e.text})])}]},{name:Lm}=Am,Im={icon:xi("block-buttons",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/button/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,r={"--gkt-button__gap":void 0,"--gkt-button__gap-vertical":void 0};if("custom"===t){if(void 0!==n){const e=n?"px":"%";r["--gkt-button__gap"]=`${n}${e}`}if(void 0!==o){const e=o?"px":"%";r["--gkt-button__gap-vertical"]=`${o}${e}`}}return r}},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:r=""}=e;const{align:i,gap:s,gapCustom:a,gapVerticalCustom:l,count:c}=t,{block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:t(o),isSelectedBlockInRoot:n(o)||r(o,!0)}}),[]),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,ms.useEffect)((()=>{u&&u.innerBlocks&&c!==u.innerBlocks.length&&n({count:u.innerBlocks.length})}),[u,u?.innerBlocks?.length,c,n]),r=cs()("ghostkit-button-wrapper",!!s&&`ghostkit-button-wrapper-gap-${s}`,!(!i||"none"===i)&&`ghostkit-button-wrapper-align-${i}`,r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const p=(0,ds.useBlockProps)({className:r}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-button-wrapper-inner"},{allowedBlocks:[Mm],template:[[Mm]],orientation:"horizontal",directInsert:!0,templateInsertUpdatesSelection:!0,renderAppender:h?()=>(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Add Button","ghostkit")},(0,Ke.createElement)(us.Button,{className:"block-list-appender__toggle block-editor-button-block-appender",icon:(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),onClick:()=>{d((0,cm.createBlock)(Mm),void 0,o)}})):void 0});return(0,Ke.createElement)("div",{...p},(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"]})),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:s,gapCustom:a,gapVerticalCustom:l,onChange:e=>{n(e)},allowVerticalGap:!0}),(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Align","ghostkit"),label:(0,vs.__)("Align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1}))))),(0,Ke.createElement)("div",{...f},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:Rm,...e});const r=ds.useBlockProps.save({className:o}),{children:i,...s}=ds.useInnerBlocksProps.save({className:"ghostkit-button-wrapper-inner"});return(0,Ke.createElement)("div",{...r},(0,Ke.createElement)("div",{...s},i))},transforms:Om},Pm=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:Nm}=Pm,Dm=[{...Pm,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:r,hideText:i,url:s,target:a,rel:l,size:c,focusOutlineWeight:u,focusOutlineColor:h}=e.attributes;let d=cs()("ghostkit-button",c&&`ghostkit-button-${c}`,i&&"ghostkit-button-icon-only");u&&h&&(d=cs()(d,"ghostkit-button-with-outline")),d=(0,os.applyFilters)("ghostkit.blocks.className",d,{name:Nm,...e});const p=[];i||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)(ep.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===r?"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)}}],Fm=[{label:"XS",value:"xs"},{label:"S",value:"sm"},{label:"M",value:"md"},{label:"L",value:"lg"},{label:"XL",value:"xl"}],{name:zm}=Pm,{name:Bm}=Pm,jm={icon:xi("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:r,text:i,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:C}=t;let{className:x=""}=t;const[S,E]=(0,ms.useState)("normal");(0,ms.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)),x=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",x),y&&w&&(x=cs()(x,"ghostkit-button-with-outline")),x=(0,os.applyFilters)("ghostkit.editor.className",x,e);const M=[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}];y&&w&&M.push({name:"focus",title:(0,vs.__)("Focus","ghostkit"),className:"ghostkit-control-tabs-tab"});const R=(0,ds.useBlockProps)({className:x});return(0,Ke.createElement)("div",{...R},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)("div",{className:"blocks-size__main"},(0,Ke.createElement)(ag,{value:p,options:Fm,onChange:e=>{n({size:e})}}))),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Corner Radius","ghostkit"),value:m,min:0,max:50,onChange:e=>n({borderRadius:e}),allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Border Size","ghostkit"),value:v,min:0,max:6,onChange:e=>n({borderWeight:e}),allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Focus Outline Size","ghostkit"),value:y,min:0,max:6,onChange:e=>n({focusOutlineWeight:e}),allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Icon Only","ghostkit"),checked:!!l,onChange:e=>n({hideText:e})}):null,s&&!l?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Icon Position","ghostkit"),value:a,options:[{value:"left",label:(0,vs.__)("Left","ghostkit")},{value:"right",label:(0,vs.__)("Right","ghostkit")}],onChange:e=>n({iconPosition:e})}):null),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:g}),(0,Ke.createElement)(hs,{colorValue:f}),v?(0,Ke.createElement)(hs,{colorValue:b}):null,y&&w?(0,Ke.createElement)(hs,{colorValue:w}):null),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:M,onSelect:e=>{E(e)}},(t=>{const o="hover"===t.name;return"focus"===t.name?(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"focusOutlineColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Outline","ghostkit"),value:w,onChange:e=>n({focusOutlineColor:e}),alpha:!0})):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Background","ghostkit"),value:o?k:g,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})),(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverTextColor":"textColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Text","ghostkit"),value:o?_:f,onChange:e=>n(o?{hoverTextColor:e}:{textColor:e}),alpha:!0})),v?(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverBorderColor":"borderColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Border","ghostkit"),value:o?C:b,onChange:e=>n(o?{hoverBorderColor:e}:{borderColor:e}),alpha:!0})):null)})))),r&&"a"!==r?null:(0,Ke.createElement)(Ng,{url:c,rel:d,ariaLabel:u,target:h,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,Ke.createElement)("div",{className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===a?"right":"left")},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,l?null:(0,Ke.createElement)(ds.RichText,{placeholder:(0,vs.__)("Write text…","ghostkit"),value:i,onChange:e=>n({text:e}),isSelected:o,withoutInteractiveFormatting:!0}))},save:function(e){const{tagName:t,text:n,icon:o,iconPosition:r,hideText:i,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}`,i&&"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=[];i||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)(ep.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===r?"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},Hm=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}}}'),Wm=us.NumberControl||us.__experimentalNumberControl,Vm="ghostkit/carousel-slide";var Um=n(2084),Gm=n.n(Um);const{name:qm}=Hm,{name:Km}=Hm,Ym={icon:xi("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:r=""}=e;const{effect:i,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:C}=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return{getBlocks:t.getBlocks,slidesCount:t.getBlockCount(o),block:t.getBlock(o)}})),{removeBlock:x,replaceInnerBlocks:S}=(0,Ze.useDispatch)("core/block-editor");r=cs()(r,"ghostkit-carousel",p&&"ghostkit-carousel-fade-edges"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const E=(0,ds.useBlockProps)({className:r}),A=(0,ds.useInnerBlocksProps)({className:"ghostkit-carousel-items"},{template:[[Vm],[Vm],[Vm]],allowedBlocks:[Vm],templateLock:!1,orientation:"horizontal"});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Settings","ghostkit")},(0,Ke.createElement)(rg,{label:(0,vs.__)("Slides","ghostkit"),value:_,onChange:e=>{if(e<1)x(C.clientId);else if(e>_){const t=e-_,n=[...k(C.clientId)];for(let e=1;e<=t;e+=1)n.push((0,cm.createBlock)(Vm,{size:3}));S(C.clientId,n,!1)}else if(e<_){const t=[...k(C.clientId)];t.splice(e,_-e),S(C.clientId,t,!1)}},min:2,max:20,allowCustomMax:!0}),"fade"!==i?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Slides per view","ghostkit"),value:c,onChange:e=>n({slidesPerView:e}),min:1,max:8,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Gap","ghostkit"),value:w,onChange:e=>n({gap:e}),min:0,max:60,allowCustomMax:!0})):null,(0,Ke.createElement)(ag,{label:(0,vs.__)("Effect","ghostkit"),value:i,options:[{value:"slide",label:(0,vs.__)("Slide","ghostkit")},{value:"coverflow",label:(0,vs.__)("Coverflow","ghostkit")},{value:"fade",label:(0,vs.__)("Fade","ghostkit")}],onChange:e=>{n({effect:e})},isBlock:!0}),(0,Ke.createElement)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Speed (seconds)","ghostkit"),suffix:"s ",value:s,onChange:e=>n({speed:e}),min:0,max:10,step:.1,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Autoplay (seconds)","ghostkit"),value:a,onChange:e=>n({autoplay:e}),min:0,max:20,step:.3,allowCustomMax:!0}),a?(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Pause autoplay on mouse over","ghostkit"),checked:!!l,onChange:e=>n({autoplayHoverPause:e})}):null,(0,Ke.createElement)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Centered Slides","ghostkit"),checked:!!u,onChange:e=>n({centeredSlides:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Loop","ghostkit"),checked:!!h,onChange:e=>n({loop:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Free Scroll","ghostkit"),checked:!!d,onChange:e=>n({freeScroll:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Fade Edges","ghostkit"),checked:!!p,onChange:e=>n({fadeEdges:e})}),p&&(0,Ke.createElement)(Wm,{label:(0,vs.__)("Fade Edges Size","ghostkit"),suffix:"% ",value:g,onChange:e=>n({fadeEdgesSize:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"100px",disableUnits:!0,min:0,max:50})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Arrow","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show","ghostkit"),checked:!!f,onChange:e=>n({showArrows:e})}),f?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Prev icon","ghostkit"),value:m,onChange:e=>n({arrowPrevIcon:e}),insideInspector:!0}),(0,Ke.createElement)(ep,{label:(0,vs.__)("Next icon","ghostkit"),value:v,onChange:e=>n({arrowNextIcon:e}),insideInspector:!0})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Bullets","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show","ghostkit"),checked:!!b,onChange:e=>n({showBullets:e})}),b?(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Dynamic","ghostkit"),checked:!!y,onChange:e=>n({dynamicBullets:e})}):null)),(0,Ke.createElement)("div",{...E},(0,Ke.createElement)("div",{className:"block-editor-inner-blocks"},(0,Ke.createElement)("div",{...A}))),(0,Ke.createElement)(_s,{styles:`\n [data-block="${e.clientId}"] > .ghostkit-carousel {\n --gkt-carousel-gap: ${w}px;\n --gkt-carousel-slides-per-view: ${"fade"===i?1:c};\n }\n `}))},save:function(e){const{effect:t,speed:n,autoplay:o,autoplayHoverPause:r,slidesPerView:i,centeredSlides:s,loop:a,freeScroll:l,fadeEdges:c,showArrows:u,arrowPrevIcon:h,arrowNextIcon:d,showBullets:p,dynamicBullets:g,gap:f}=e.attributes;let m=Gm()("ghostkit-carousel",c&&"ghostkit-carousel-fade-edges");m=(0,os.applyFilters)("ghostkit.blocks.className",m,{name:qm,...e});const v={"data-effect":t,"data-speed":n,"data-autoplay":o,"data-autoplay-hover-pause":o&&r?"true":null,"data-slides-per-view":i,"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)(ep.Render,{name:h,tag:"div",className:"ghostkit-carousel-arrow-prev-icon"}):null,d?(0,Ke.createElement)(ep.Render,{name:d,tag:"div",className:"ghostkit-carousel-arrow-next-icon"}):null)}},Zm=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:Jm}=Zm,{name:Xm}=Zm,Qm={icon:xi("block-carousel-slide",!0),edit:function(e){const{attributes:t,clientId:n}=e;let{className:o}=t;const r=(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 i=(0,ds.useBlockProps)({className:o}),s=(0,ds.useInnerBlocksProps)(i,{renderAppender:r?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:Jm,...e});const n=ds.useBlockProps.save({className:t}),o=ds.useInnerBlocksProps.save(n);return(0,Ke.createElement)("div",{...o})}},ev=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:tv}=ev,{name:nv}=ev,ov={icon:xi("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,vs.__)("Added","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,vs.__)("Fixed","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,vs.__)("Improved","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}}]}]},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{version:r,date:i}=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,vs.__)("Added","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,vs.__)("Fixed","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,vs.__)("Improved","ghostkit")}${(0,vs.__)("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,vs.__)("1.0.0","ghostkit"),value:r,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:i,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:tv,...e});const r=ds.useBlockProps.save({className:o}),i=ds.useInnerBlocksProps.save({className:"ghostkit-changelog-more"});return(0,Ke.createElement)("div",{...r},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",{...i}))}},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"}}}'),iv=(()=>{const e=1,t=2,n=4,o=8,r=16,i=32,s=64,a=128,l=a|s|r|o|n|t,c=a|s|i|r|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 C(e,t,n,o,r,i){return e[n]>=0&&(t+=e[n],delete e[n]),1+(t/=r)<=1?0:e[o]>=0?(e[o]=+(e[o]+t).toFixed(i),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 x(l,c,k,_,x,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&i)||_>=v?(l.days+=l.weeks*f,delete l.weeks):l.weeks&&(_+=1),!(c&r)||_>=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=C(e,0,"milliseconds","seconds",u,t);if(n&&(n=C(e,n,"seconds","minutes",h,t),n&&(n=C(e,n,"minutes","hours",d,t),n&&(n=C(e,n,"hours","days",p,t),n&&(n=C(e,n,"days","weeks",f,t),n&&(n=C(e,n,"weeks","months",w(e.refMonth)/f,t),n&&(n=C(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,_,x,S)}finally{delete l.refMonth}return l}function S(e,t,n,o){const r=n.length>0?n.length:NaN;o=o>0?o<20?Math.round(o):20:0;let i=null;e instanceof Date||(null!==e&&Number.isFinite(e)?e=new Date(+e):("object"==typeof i&&(i=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)),i&&(e=k(i,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 x(new _,e,t,a,r,o)}return S.MILLISECONDS=e,S.SECONDS=t,S.MINUTES=n,S.HOURS=o,S.DAYS=r,S.WEEKS=i,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,vs._n)("Year","Years",e,"ghostkit");break;case"months":t=(0,vs._n)("Month","Months",e,"ghostkit");break;case"weeks":t=(0,vs._n)("Week","Weeks",e,"ghostkit");break;case"days":t=(0,vs._n)("Day","Days",e,"ghostkit");break;case"hours":t=(0,vs._n)("Hour","Hours",e,"ghostkit");break;case"minutes":t=(0,vs._n)("Minute","Minutes",e,"ghostkit");break;case"seconds":t=(0,vs._n)("Second","Seconds",e,"ghostkit")}return{number:e=`${e<10?"0":""}${e}`,label:t}},S})(),sv="yyyy-LL-dd'T'HH:mm:ss",{GHOSTKIT:av,luxon:lv}=window,{name:cv}=rv,{name:uv}=rv,hv={icon:xi("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:r,units:i,unitsAlign:s,numberFontSize:a,labelFontSize:l,numberColor:c,labelColor:u}=t;let{className:h=""}=e;function d(e,t){const n=lv.DateTime.fromISO(e).toFormat(sv),o=new Date(lv.DateTime.now().setZone(av.timezone).toFormat(sv)),r=iv(new Date(n),o,t,0);return{formattedDate:n,delay:iv.getDelay(t),...r}}const[p,g]=(0,ms.useState)(!!r&&d(r,i)),f=(0,ms.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!==r&&n({date:o.formattedDate})}(0,ms.useEffect)((()=>{if(r)v(r,i);else{const e=new Date,t=new Date;t.setDate(e.getDate()+1),v(lv.DateTime.fromJSDate(t).toFormat(sv),i)}}),[]),(0,ms.useEffect)((()=>{clearInterval(f.current),p&&(f.current=setInterval((()=>{if(!r||!i||!i.length)return;const e=d(r,i);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,vs.__)("This countdown has been ended already!","ghostkit")}]],templateLock:!1});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ys,{label:(0,vs.__)("End Date","ghostkit"),value:r,onChange:e=>v(e,i)}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Display Units","ghostkit"),value:i,onChange:e=>{n({units:e}),v(r,e)},multiple:!0,options:[{label:(0,vs.__)("Years","ghostkit"),value:"years"},{label:(0,vs.__)("Months","ghostkit"),value:"months"},{label:(0,vs.__)("Weeks","ghostkit"),value:"weeks"},{label:(0,vs.__)("Days","ghostkit"),value:"days"},{label:(0,vs.__)("Hours","ghostkit"),value:"hours"},{label:(0,vs.__)("Minutes","ghostkit"),value:"minutes"},{label:(0,vs.__)("Seconds","ghostkit"),value:"seconds"}]})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Number Font Size","ghostkit"),value:a,onChange:e=>n({numberFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Label Font Size","ghostkit"),value:l,onChange:e=>n({labelFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Number Color","ghostkit"),value:c,onChange:e=>n({numberColor:e}),alpha:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Label Color","ghostkit"),value:u,onChange:e=>n({labelColor:e}),alpha:!0}))),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Units Align Left","ghostkit"),onClick:()=>n({unitsAlign:"left"}),isActive:"left"===s}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Units Align Center","ghostkit"),onClick:()=>n({unitsAlign:"center"}),isActive:"center"===s}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Units Align Right","ghostkit"),onClick:()=>n({unitsAlign:"right"}),isActive:"right"===s}))),(0,Ke.createElement)("div",{...b},i.map((e=>{let t=!1;if(p&&void 0!==p[e]){const n=p.value>=0;t=iv.formatUnit(n?0:p[e],e)}return(0,Ke.createElement)("div",{key:e,className:cs()("ghostkit-countdown-unit",`ghostkit-countdown-unit-${e}`)},(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-number"},t?t.number:"00"),(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-label"},t?t.label:e))}))),m?(0,Ke.createElement)("div",{className:"ghostkit-countdown-expire-action"},(0,Ke.createElement)("div",{className:"ghostkit-countdown-expire-action-label"},(0,vs.__)("Display content after expiration:","ghostkit")),(0,Ke.createElement)("div",{...y})):null)},save:function(e){const{attributes:t}=e,{date:n,units:o,unitsAlign:r}=t;let i=cs()("ghostkit-countdown",r&&`ghostkit-countdown-units-align-${r}`);i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:cv,...e});const s=ds.useBlockProps.save({className:i,"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}))}},dv=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:pv}=dv,gv=[{...dv,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 ms.Component{render(){const{number:e,animateInViewport:t,numberPosition:n,showContent:o,url:r,target:i,rel:s}=this.props.attributes;let{animateInViewportFrom:a}=this.props.attributes;a=parseFloat(a);let l=cs()("ghostkit-counter-box",r&&"ghostkit-counter-box-with-link");l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:pv,...this.props});const c=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${n||"left"}`);return(0,Ke.createElement)("div",{className:l},r?(0,Ke.createElement)("a",{className:"ghostkit-counter-box-link",href:r,target:i||!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:fv}=dv,mv={from:[{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,cm.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,cm.createBlock)("ghostkit/counter-box",{numberSize:e.iconSize,numberColor:e.color,hoverNumberColor:e.hoverColor},t)}]},{name:vv}=dv,bv={icon:xi("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:r}=e;let{className:i=""}=e;const s=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(r).length>0}),[r]),{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;i=cs()("ghostkit-counter-box",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,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:i}),_=(0,ds.useInnerBlocksProps)({className:"ghostkit-counter-box-content"},{renderAppender:s?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),C=(0,vs.__)("Number Position","ghostkit");return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Number Size","ghostkit"),value:d,onChange:e=>n({numberSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0}),(0,Ke.createElement)(us.BaseControl,{id:C,label:C},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:C},(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u})))),"top"===u?(0,Ke.createElement)(ag,{label:(0,vs.__)("Number Alignment","ghostkit"),value:h||"center",options:[{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Start","ghostkit"),value:"left"},{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-horizontal-end"),label:(0,vs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({numberAlign:e})}}):null),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Content","ghostkit"),checked:!!p,onChange:e=>n({showContent:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Animate in viewport","ghostkit"),checked:!!l,onChange:e=>n({animateInViewport:e})}),l?(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Animate from","ghostkit"),type:"number",value:c,onChange:e=>n({animateInViewportFrom:parseInt(e,10)})}):null),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:g})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverNumberColor":"numberColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:o?f:g,onChange:e=>n(o?{hoverNumberColor:e}:{numberColor:e}),alpha:!0,gradient:!0}))})))),(0,Ke.createElement)(Ng,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u}))),(0,Ke.createElement)("div",{...k},(0,Ke.createElement)("div",{className:w},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-counter-box-number-wrap",placeholder:(0,vs.__)("Write number…","ghostkit"),value:a,onChange:e=>n({number:e}),withoutInteractiveFormatting:!0})),p?(0,Ke.createElement)("div",{..._}):null))},save:function(e){const{attributes:t}=e,{number:n,animateInViewport:o,numberPosition:r,numberAlign:i,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:fv,...e});const p=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${r||"left"}`,"top"===r?`ghostkit-counter-box-number-top-align-${i||"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:mv,deprecated:gv},yv=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:wv}=yv,kv={from:[{type:"block",blocks:["core/separator"],transform:()=>(0,cm.createBlock)("ghostkit/divider")}],to:[{type:"block",blocks:["core/separator"],transform:()=>(0,cm.createBlock)("core/separator")}]},{name:_v}=yv,Cv={icon:xi("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:r,size:i,icon:s,iconSize:a,color:l,iconColor:c,hoverColor:u,hoverIconColor:h}=t;o=cs()("ghostkit-divider",`ghostkit-divider-type-${r}`,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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:xi("border-solid"),label:(0,vs.__)("Type","ghostkit"),controls:[{label:(0,vs.__)("Line","ghostkit"),icon:xi("border-solid"),isActive:"solid"===r,onClick:()=>n({type:"solid"})},{label:(0,vs.__)("Dashed","ghostkit"),icon:xi("border-dashed"),isActive:"dashed"===r,onClick:()=>n({type:"dashed"})},{label:(0,vs.__)("Dotted","ghostkit"),icon:xi("border-dotted"),isActive:"dotted"===r,onClick:()=>n({type:"dotted"})},{label:(0,vs.__)("Double","ghostkit"),icon:xi("border-double"),isActive:"double"===r,onClick:()=>n({type:"double"})}]}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Type","ghostkit"),value:r,options:[{value:"solid",label:(0,vs.__)("Line","ghostkit")},{value:"dashed",label:(0,vs.__)("Dashed","ghostkit")},{value:"dotted",label:(0,vs.__)("Dotted","ghostkit")},{value:"double",label:(0,vs.__)("Double","ghostkit")}],onChange:e=>n({type:e})}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Size","ghostkit"),value:i,onChange:e=>n({size:e}),min:1,max:7,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(rg,{label:(0,vs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:10,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0}):null),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:l}),s?(0,Ke.createElement)(hs,{colorValue:c}):null),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Divider","ghostkit"),value:o?u:l,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0})),s?(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Icon","ghostkit"),value:o?h:c,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0})):null)})))),(0,Ke.createElement)("div",{...d},s?(0,Ke.createElement)("div",{className:"ghostkit-divider-icon"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.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:wv,...e});const r=ds.useBlockProps.save({className:o});return(0,Ke.createElement)("div",{...r},t?(0,Ke.createElement)(ep.Render,{name:t,tag:"div",className:"ghostkit-divider-icon"}):null)},transforms:kv},xv=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 Sv(e,t,n){var o,r=n||{},i=r.noTrailing,s=void 0!==i&&i,a=r.noLeading,l=void 0!==a&&a,c=r.debounceMode,u=void 0===c?void 0:c,h=!1,d=0;function p(){o&&clearTimeout(o)}function g(){for(var n=arguments.length,r=new Array(n),i=0;ie?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 Ev(e,t,n){var o=(n||{}).atBegin;return Sv(e,t,{debounceMode:!1!==(void 0!==o&&o)})}const{GHOSTKIT:Av}=window,Tv=!Av.googleReCaptchaAPISiteKey||!Av.googleReCaptchaAPISecretKey,$v=Ev(1500,((e,t)=>{Hg()({path:"/ghostkit/v1/update_google_recaptcha_keys",method:"POST",data:{site_key:e,secret_key:t}})}));function Mv(){const[e,t]=(0,ms.useState)(Av.googleReCaptchaAPISiteKey),[n,o]=(0,ms.useState)(Av.googleReCaptchaAPISecretKey);return(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Google reCAPTCHA","ghostkit"),initialOpen:Tv},(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Site Key","ghostkit"),value:e,onChange:e=>{t(e),$v(e,n)}}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Secret Key","ghostkit"),value:n,onChange:t=>{o(t),$v(e,t)}}),(0,Ke.createElement)("p",null,(0,vs.__)("Protect your form from spam using Google reCAPTCHA v3.","ghostkit")),(0,Ke.createElement)("p",null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.google.com/recaptcha/about/"},(0,vs.__)("Generate Keys","ghostkit"))))}const Rv=[["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,vs.__)("Subject","ghostkit"),required:!0}],["ghostkit/form-field-textarea",{slug:"field_message",label:(0,vs.__)("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,r=0;for(;void 0!==t[e.type][n]&&o>0;)r+=1,o-=1,n=`field_${e.type}_${r}`;return n}const{name:Pv}=xv,Nv={icon:xi("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,vs.__)("First","ghostkit"),descriptionLast:(0,vs.__)("Last","ghostkit")}},{name:"ghostkit/form-field-textarea",attributes:{label:(0,vs.__)("Message","ghostkit"),placeholder:(0,vs.__)("Write your message here…","ghostkit")}},{name:"ghostkit/form-submit-button"}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:r=""}=e;const{mailAllow:i,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:r}=e("core/block-editor");return{allFieldsData:Lv(t(o)),isSelectedBlockInRoot:n(o)||r(o,!0)}}),[o]),{updateBlockAttributes:m}=(0,Ze.useDispatch)("core/block-editor"),v=Sv(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,ms.useEffect)((()=>{v()})),r=cs()(r,"ghostkit-form"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const b=(0,ds.useBlockProps)({className:r}),{children:y,...w}=(0,ds.useInnerBlocksProps)(b,{template:Rv,allowedBlocks:Ov,renderAppender:()=>null});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Mail","ghostkit")},i?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Send To Email Address","ghostkit"),value:s,onChange:e=>n({mailTo:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Subject","ghostkit"),value:a,onChange:e=>n({mailSubject:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("From","ghostkit"),value:l,onChange:e=>n({mailFrom:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Reply To","ghostkit"),value:c,onChange:e=>n({mailReplyTo:e})}),(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Message","ghostkit"),value:u,onChange:e=>n({mailMessage:e})})):null,(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Send Email","ghostkit"),label:(0,vs.__)("Send Email","ghostkit"),help:(0,vs.__)("In case if you don't want to receive email messages from this form, you may disable sending emails functionality.")},(0,Ke.createElement)(us.ToggleControl,{Label:(0,vs.__)("Yes","ghostkit"),checked:!!i,onChange:()=>n({mailAllow:!i})}))),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Confirmation","ghostkit")},(0,Ke.createElement)(ag,{label:(0,vs.__)("Type","ghostkit"),value:h,options:[{label:(0,vs.__)("Message","ghostkit"),value:"message"},{label:(0,vs.__)("Redirect","ghostkit"),value:"redirect"}],onChange:e=>{n({confirmationType:e})},isDeselectable:!0}),h&&"message"!==h?null:(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Message","ghostkit"),value:d,onChange:e=>n({confirmationMessage:e})}),"redirect"===h?(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Redirect URL","ghostkit"),value:p,onChange:e=>n({confirmationRedirect:e})}):null),(0,Ke.createElement)(Mv,null)),(0,Ke.createElement)("div",{...w},y,g?(0,Ke.createElement)(ds.InnerBlocks.ButtonBlockAppender,null):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 Fv(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 r=e[o];void 0!==r&&("slug"===o&&(o="id"),-1!==t.indexOf(o)&&("boolean"==typeof r&&(r=!!r&&o),"default"===o&&(o="value"),!1!==r&&(n[o]=r)))})),n}function zv(e){const{attributes:t,setAttributes:n,hideLabelCustom:o,hideDescriptionCustom:r,requiredCustom:i,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,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Hide Label","ghostkit"),checked:d,onChange:()=>n({hideLabel:!d})}),b=r||(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Hide Description","ghostkit"),checked:p,onChange:()=>n({hideDescription:!p})});return(0,Ke.createElement)(Ke.Fragment,null,l||(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Slug","ghostkit"),help:(0,vs.__)("Slug is used in form field [name] attribute.","ghostkit"),value:c,onChange:()=>{},readOnly:!0}),s||(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Placeholder","ghostkit"),value:f,onChange:e=>n({placeholder:e})}),a||(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Default","ghostkit"),value:m,onChange:e=>n({default:e})}),i||(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Required","ghostkit"),checked:g,onChange:()=>n({required:!g})}),u?v:"",h?b:"")}function Bv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{description:r,hideDescription:i}=t;return r||o?i&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:r,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({description:e})}):null}function jv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{label:r,hideLabel:i}=t;return r||o?i&&!o?null:(0,Ke.createElement)("label",{className:"ghostkit-form-field-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"span",value:r,placeholder:(0,vs.__)("Write label…","ghostkit"),onChange:e=>n({label:e})}),t.required?(0,Ke.createElement)("span",{className:"required"},"*"):""):null}function Hv(e){const{options:t,onChange:n,multiple:o}=e;return(0,Ke.createElement)("div",{className:"ghostkit-field-options"},t.map(((e,r)=>{const i=`option-${r}`;return(0,Ke.createElement)("div",{className:"ghostkit-field-options-item",key:i},(0,Ke.createElement)("input",{type:o?"checkbox":"radio",checked:e.selected,onClick:()=>{const i=[...t];i[r].selected=!e.selected,o||i.forEach(((e,t)=>{r!==t&&(i[t].selected=!1)})),n(i)}}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Write label…","ghostkit"),value:e.value,onChange:e=>{const o=[...t];o[r].value=e,o[r].label=e,n(o)}}),(0,Ke.createElement)(us.Button,{onClick:()=>{if(t.length>1){const e=[...t];e.splice(r,1),n(e)}},className:"components-icon-button"},(0,Ke.createElement)("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"},(0,Ke.createElement)("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"}))))})),(0,Ke.createElement)(us.Button,{onClick:()=>{n([...t,{value:"",label:"",selected:!1}])},className:"components-icon-button"},(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"}))," ",(0,vs.__)("Add Option","ghostkit")))}const{name:Wv}=Dv,Vv={icon:xi("block-form-field-checkbox",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:r,inline:i}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-checkbox",i&&"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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Inline","ghostkit"),checked:i,onChange:()=>n({inline:!i})}))),(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(jv,{...e}),o?(0,Ke.createElement)(Hv,{options:s,onChange:e=>n({options:e}),multiple:!0}):(0,Ke.createElement)("div",{className:"ghostkit-form-field-checkbox-items"},s.map(((e,n)=>{const o=`${r}-item-${n}`;return(0,Ke.createElement)("label",{key:o,htmlFor:o,className:"ghostkit-form-field-checkbox-item"},(0,Ke.createElement)("input",{type:"checkbox",checked:e.selected,onChange:()=>{},...Fv(t)}),e.label)}))),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},Uv=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:Gv}=Uv,qv={icon:xi("block-form-field-date",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:r,default:i}=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,Ke.createElement)(us.TextControl,{type:"date",label:(0,vs.__)("Default","ghostkit"),value:i,onChange:e=>n({default:e}),max:r,min:o}),l=(0,ds.useBlockProps)({className:s});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:a})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Date Settings","ghostkit")},(0,Ke.createElement)(us.TextControl,{type:"date",label:(0,vs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),max:r}),(0,Ke.createElement)(us.TextControl,{type:"date",label:(0,vs.__)("Max","ghostkit"),value:r,onChange:e=>n({max:e}),min:o}))),(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"date",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},Kv=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:Yv}=Kv,Zv={icon:xi("block-form-field-email",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,emailConfirmation:r,descriptionConfirmation:i,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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Email Confirmation","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Yes","ghostkit"),checked:r,onChange:()=>{n(r?{emailConfirmation:!r}:{emailConfirmation:!r,description:o||(0,vs.__)("Email","ghostkit"),descriptionConfirmation:i||(0,vs.__)("Confirm Email","ghostkit")})}}),r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderConfirmation:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Default","ghostkit"),value:a,onChange:e=>n({defaultConfirmation:e})})):null)),(0,Ke.createElement)("div",{...c},(0,Ke.createElement)(jv,{...e}),r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-row"},(0,Ke.createElement)("div",{className:"ghostkit-form-field-email-primary"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})),(0,Ke.createElement)("div",{className:"ghostkit-form-field-email-confirm"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv({slug:t.slug?`${t.slug}-confirmation`:null,placeholder:t.placeholderConfirmation,default:t.defaultConfirmation,required:t.required})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:i,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionConfirmation:e})}))):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e}))))},save:function(){return null}},Jv=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:Xv}=Jv,Qv={icon:xi("block-form-field-hidden",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=e;let{className:r=""}=e;r=cs()("ghostkit-form-field ghostkit-form-field-hidden",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const i=(0,ds.useBlockProps)({className:r});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Value","ghostkit"),value:o,onChange:e=>n({default:e})}))),(0,Ke.createElement)("div",{...i},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"text",...Fv(t)})))},save:function(){return null}},eb=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:tb}=eb,nb={icon:xi("block-form-field-name",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,nameFields:r,descriptionLast:i,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"===r||"first-last"===r?"ghostkit-form-field-name-with-last":"","first-middle-last"===r?"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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Name Fields","ghostkit")},(0,Ke.createElement)(us.SelectControl,{options:[{label:"First",value:"first"},{label:"First Last",value:"first-last"},{label:"First Middle Last",value:"first-middle-last"}],value:r,onChange:e=>{n("first-last"===e?{nameFields:e,description:o||(0,vs.__)("First","ghostkit"),descriptionLast:i||(0,vs.__)("Last","ghostkit")}:"first-middle-last"===e?{nameFields:e,description:o||(0,vs.__)("First","ghostkit"),descriptionLast:i||(0,vs.__)("Last","ghostkit"),descriptionMiddle:l||(0,vs.__)("Middle","ghostkit")}:{nameFields:e})}}),"first-middle-last"===r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Middle Placeholder","ghostkit"),value:c,onChange:e=>n({placeholderMiddle:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Middle Default","ghostkit"),value:u,onChange:e=>n({defaultMiddle:e})})):null,"first-middle-last"===r||"first-last"===r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Last Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderLast:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Last Default","ghostkit"),value:a,onChange:e=>n({defaultLast:e})})):null)),(0,Ke.createElement)("div",{...d},(0,Ke.createElement)(jv,{...e}),"first-middle-last"===r||"first-last"===r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-row"},(0,Ke.createElement)("div",{className:"ghostkit-form-field-name-first"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})),"first-middle-last"===r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-name-middle"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv({slug:t.slug?`${t.slug}-middle`:null,placeholder:t.placeholderMiddle,default:t.defaultMiddle,required:t.required})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:l,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionMiddle:e})})):null,"first-middle-last"===r||"first-last"===r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-name-last"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv({slug:t.slug?`${t.slug}-last`:null,placeholder:t.placeholderLast,default:t.defaultLast,required:t.required})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:i,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionLast:e})})):null):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e}))))},save:function(){return null}},ob=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}=ob,ib={icon:xi("block-form-field-number",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:r,step:i,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,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Default","ghostkit"),value:s,onChange:e=>n({default:e}),step:i,max:r,min:o}),c=(0,ds.useBlockProps)({className:a});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:l})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Number Settings","ghostkit")},(0,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),step:i,max:r}),(0,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Max","ghostkit"),value:r,onChange:e=>n({max:e}),step:i,min:o}),(0,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Step","ghostkit"),value:i,onChange:e=>n({step:e})}))),(0,Ke.createElement)("div",{...c},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"number",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},sb=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:ab}=sb,lb={icon:xi("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e}))),(0,Ke.createElement)("div",{...o},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"tel",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},cb=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:ub}=cb,hb={icon:xi("block-form-field-radio",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:r,inline:i}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-radio",i&&"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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Inline","ghostkit"),checked:i,onChange:()=>n({inline:!i})}))),(0,Ke.createElement)("div",{...c},(0,Ke.createElement)(jv,{...e}),o?(0,Ke.createElement)(Hv,{options:s,onChange:e=>n({options:e})}):(0,Ke.createElement)("div",{className:"ghostkit-form-field-radio-items"},s.map(((e,n)=>{const o=`${r}-item-${n}`;return(0,Ke.createElement)("label",{key:o,htmlFor:o,className:"ghostkit-form-field-radio-item"},(0,Ke.createElement)("input",{type:"radio",checked:l===e.value,onChange:()=>{},...Fv(t)}),e.label)}))),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},db=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:pb}=db,gb={icon:xi("block-form-field-select",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{multiple:r}=t;let{options:i}=t,{className:s=""}=e;s=cs()("ghostkit-form-field ghostkit-form-field-select",s),s=(0,os.applyFilters)("ghostkit.editor.className",s,e),i&&i.length||(i=[{label:"",value:"",selected:!1}]);let a=r?[]:"";i.forEach((e=>{r&&e.selected?a.push(e.value):r||a||!e.selected||(a=e.value)}));const l=(0,ds.useBlockProps)({className:s});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Multiple","ghostkit"),checked:r,onChange:()=>{if(r){const e=[...i];let t=!1;e.forEach(((n,o)=>{n.selected&&(t&&(e[o].selected=!1),t=!0)})),n({multiple:!r,options:e})}else n({multiple:!r})}}))),(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(jv,{...e}),o?(0,Ke.createElement)(Hv,{options:i,multiple:r,onChange:e=>n({options:e})}):(0,Ke.createElement)(us.SelectControl,{...Fv(t),value:a,options:(()=>{if(!r){let e=!0;if(Object.keys(i).forEach((t=>{t.selected&&(e=!1)})),e)return[{label:(0,vs.__)("--- Select ---","ghostkit"),value:"",selected:!0},...i]}return i})()}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},fb=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 mb(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,...mb(e)])})),t}const{name:vb}=fb,{name:bb}=fb,yb={icon:xi("block-buttons",!0),edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:r=""}=e;const{align:i}=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=Sv(200,function(){(mb(a)||[]).forEach((e=>{e.attributes.tagName&&"button"===e.attributes.tagName||s(e.clientId,{tagName:"button"})}))}.bind(this));(0,ms.useEffect)((()=>{l()})),r=cs()("ghostkit-form-submit-button",!(!i||"none"===i)&&`ghostkit-form-submit-button-align-${i}`,r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const c=(0,ds.useBlockProps)({className:r}),u=(0,ds.useInnerBlocksProps)(c,{template:[["ghostkit/button-single",{text:(0,vs.__)("Submit","ghostkit"),tagName:"button",focusOutlineWeight:2}]],allowedBlocks:["ghostkit/button-single"],templateLock:"all"});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"]})),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Align","ghostkit"),label:(0,vs.__)("Align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1}))))),(0,Ke.createElement)("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:vb,...e});const o=ds.useBlockProps.save({className:n}),r=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...r})}},wb=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:kb}=wb,_b={icon:xi("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e}))),(0,Ke.createElement)("div",{...o},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{...Fv(t)}),(0,Ke.createElement)(Bv,{...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:xb}=Cb,Sb={icon:xi("block-form-field-textarea",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=t;let{className:r=""}=e;r=cs()("ghostkit-form-field ghostkit-form-field-textarea",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const i=(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Default","ghostkit"),value:o,onChange:e=>n({default:e})}),s=(0,ds.useBlockProps)({className:r});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:i}))),(0,Ke.createElement)("div",{...s},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextareaControl,{...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},Eb=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:Ab}=Eb,Tb={icon:xi("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e}))),(0,Ke.createElement)("div",{...o},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"url",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},$b=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"}}}'),Mb={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Rb;const Ob=new Uint8Array(16);function Lb(){if(!Rb&&(Rb="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Rb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Rb(Ob)}const Ib=[];for(let e=0;e<256;++e)Ib.push((e+256).toString(16).slice(1));const Pb=function(e,t,n){if(Mb.randomUUID&&!t&&!e)return Mb.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 Nb={ENABLED:"undefined"!=typeof window&&"undefined"!=typeof location&&-1!==location.search.indexOf("giphy-debug"),LEVEL:0,PREFIX:"GiphyJS",debug:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=0&&console.debug(Nb.PREFIX,...e)},info:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=1&&console.info(Nb.PREFIX,...e)},warn:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=2&&console.warn(Nb.PREFIX,...e)},error:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=3&&console.error(Nb.PREFIX,...e)}},Db="",Fb=()=>{if(!Db){try{Db=sessionStorage.getItem("giphyPingbackId")}catch(e){}if(!Db){const e=(new Date).getTime().toString(16);try{Db=`${e}${Pb().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 Bb,jb,Hb,Wb=()=>zb._GIPHY_SDK_HEADERS_,Vb=(e,t)=>{var n;return null==(n=Wb())?void 0:n.set(e,t)},Ub=Object.defineProperty,Gb=Object.defineProperties,qb=Object.getOwnPropertyDescriptors,Kb=Object.getOwnPropertyNames,Yb=Object.getOwnPropertySymbols,Zb=Object.prototype.hasOwnProperty,Jb=Object.prototype.propertyIsEnumerable,Xb=(e,t,n)=>t in e?Ub(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qb=(e,t)=>{for(var n in t||(t={}))Zb.call(t,n)&&Xb(e,n,t[n]);if(Yb)for(var n of Yb(t))Jb.call(t,n)&&Xb(e,n,t[n]);return e},ey=(e,t)=>Gb(e,qb(t)),ty=(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')})),ny=(Bb={"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.3.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":"*",qs:"^6.9.4"},devDependencies:{"@types/qs":"^6.9.4","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 jb||(0,Bb[Kb(Bb)[0]])((jb={exports:{}}).exports,jb),jb.exports}),oy=["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"],iy=e=>t=>e[t]=!!e[t],sy=e=>"string"==typeof e?e:e.text,ay=e=>{const t=Qb({},e);t.id=String(t.id),t.tags=(t.tags||[]).map(sy),oy.forEach(iy(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=Qb({},n);ry.forEach(iy(e)),t.user=e}return t},ly=e=>(e.data=ay(e.data),e),cy=e=>(e.data=e.data.map((e=>ay(e))),e),uy=(("undefined"!=typeof window?window:global)||{}).GIPHY_API_URL||"https://api.giphy.com/v1/",hy=class extends Error{constructor(e,t,n=0,o=""){super(e),this.url=t,this.status=n,this.statusText=o}},dy=e=>e,py={},gy=function(e,t={}){const{apiVersion:n=1,noCache:o=!1,normalizer:r=dy}=t,i=uy.replace(/\/v\d+\/$/,`/v${n}/`);if((()=>{const e=Date.now();Object.keys(py).forEach((t=>{const n=py[t].isError?6e3:6e4;e-py[t].ts>=n&&delete py[t]}))})(),!py[e]||o){const t=`${i}${e}`,n=()=>{return n=this,o=null,i=function*(){var n;let o;try{const i=yield fetch(t,{method:"get"});if(i.ok){const e=yield i.json();if(null==(n=e.meta)?void 0:n.response_id)return r(e);throw{message:"synthetic response"}}{let n="Error fetching";try{const e=yield i.json();e.message&&(n=e.message)}catch(e){}py[e]&&(py[e].isError=!0),o=new hy(`@giphy/js-fetch-api: ${n}`,t,i.status,i.statusText)}}catch(n){o=new hy(n.message,t),py[e]&&(py[e].isError=!0)}throw o},new Promise(((e,t)=>{var r=e=>{try{a(i.next(e))}catch(e){t(e)}},s=e=>{try{a(i.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((i=i.apply(n,o)).next())}));var n,o,i};py[e]={request:n(),ts:Date.now()}}return py[e].request},fy=e=>e&&e.type?e.type:"gifs";if(void 0!==ty){const{version:e}=ny();(null==(Hb=Wb())?void 0:Hb.get("X-GIPHY-SDK-NAME"))||(Vb("X-GIPHY-SDK-NAME","FetchAPI"),Vb("X-GIPHY-SDK-VERSION",e))}const my=new class{constructor(e,t={}){this.getQS=(e={})=>Vg.stringify(Qb(ey(Qb({},e),{api_key:this.apiKey,pingback_id:Fb()}),this.qsParams)),this.apiKey=e,this.qsParams=t}categories(e){return gy(`gifs/categories?${this.getQS(e)}`)}gif(e,t){const n=(null==t?void 0:t.internal)?"internal/":"";return gy(`${n}gifs/${e}?${this.getQS()}`,{normalizer:ly})}gifs(e,t){return Array.isArray(e)?gy(`gifs?${this.getQS({ids:e.join(",")})}`,{normalizer:cy}):gy(`gifs/categories/${e}/${t}?${this.getQS()}`,{normalizer:cy})}emoji(e){return gy(`emoji?${this.getQS(e)}`,{normalizer:cy})}emojiDefaultVariations(e){return gy(`emoji?${this.getQS(e)}`,{apiVersion:2,normalizer:cy})}emojiVariations(e){return gy(`emoji/${e}/variations?${this.getQS()}`,{apiVersion:2,normalizer:cy})}animate(e,t={}){const n=this.getQS(ey(Qb({},t),{m:e}));return gy(`text/animate?${n}`,{normalizer:cy})}search(e,t={}){const n=t.channel?`@${t.channel} ${e}`:e;let o;"text"===t.type&&(o=!0);const r=this.getQS(ey(Qb({rating:"pg-13"},t),{q:n,excludeDynamicResults:o}));return gy(`${fy(t)}/search?${r}`,{normalizer:cy})}subcategories(e,t){return gy(`gifs/categories/${e}?${this.getQS(t)}`)}trending(e={}){return gy(`${fy(e)}/trending?${this.getQS(Qb({rating:"pg-13"},e))}`,{normalizer:cy})}random(e){return gy(`${fy(e)}/random?${this.getQS(Qb({rating:"pg-13"},e))}`,{noCache:!0,normalizer:ly})}related(e,t={}){const{type:n="gifs"}=t;return gy(`${n}/related?${this.getQS(Qb({gif_id:e,rating:"pg-13"},t))}`,{normalizer:cy})}channels(e,t={}){return gy(`channels/search?${this.getQS(Qb({q:e,rating:"pg-13"},t))}`)}}("Qm6AupESs2abqy7fSeHNQ892EWSS28r8");function vy(e,t){const n=e.split(t);return n[n.length-1]}const{name:by}=$b,yy={icon:xi("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:r}=e;const{caption:i,url:s,srcset:a,alt:l,width:c,height:u,searchText:h}=t,[d,p]=(0,ms.useState)(null),[g,f]=(0,ms.useState)(!1);function m(e){e.preventDefault(),function(){f(!0);const e=function(){let e=null;-1!==h.indexOf("//giphy.com/gifs")&&(e=vy(vy(h,"/"),"-")),-1!==h.indexOf("//i.giphy.com")&&(e=vy(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?my.gifs([e.id]):my.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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("form",{className:"ghostkit-gif-input-container",onSubmit:m},(0,Ke.createElement)(us.TextControl,{className:"ghostkit-gif-input",placeholder:(0,vs.__)("Enter search terms, e.g. cat…","ghostkit"),onChange:e=>o({searchText:e}),value:h}),(0,Ke.createElement)(us.Button,{isSecondary:!0,onClick:e=>{m(e)}},(0,vs.__)("Search","ghostkit"))),g&&(0,Ke.createElement)(us.Spinner,null),!g&&d&&d.length>1&&(0,Ke.createElement)("div",{className:"ghostkit-gif-thumbnails-container"},d.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,Ke.createElement)("button",{className:"ghostkit-gif-thumbnail-container",key:e.id,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}," ")}))));r=cs()("ghostkit-gif",r);const b=(0,ds.useBlockProps)({className:r});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{className:"components-panel__body-gif-branding"},(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,Ke.createElement)("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,Ke.createElement)("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,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Image settings","ghostkit")},v,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:l,onChange:e=>o({alt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null),(0,Ke.createElement)("figure",{...b},s?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("img",{src:s,srcSet:a,alt:l,width:c,height:u}),(!ds.RichText.isEmpty(i)||n)&&!!s&&(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-gif-caption",onChange:e=>o({caption:e}),placeholder:(0,vs.__)("Write caption…","jetpack"),tagName:"figcaption",value:i})):(0,Ke.createElement)(us.Placeholder,{className:"ghostkit-gif-placeholder",icon:xi("block-gif"),label:(0,vs.__)("GIF","ghostkit"),instructions:(0,vs.__)("Search for a term or paste a Giphy URL","ghostkit")},v)))},save:function(e){const{url:t,srcset:n,alt:o,width:r,height:i,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:r,height:i}),ds.RichText.isEmpty(s)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-gif-caption",tagName:"figcaption",value:s}))}},wy=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 ky(e,t,n,o=(()=>{})){const{currentDoc:r}=function(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}(n),i=r.getElementsByTagName("head")[0],s=document.getElementById(t);if(s)if(r.getElementById(t))o();else{if("js"===e){const e=r.createElement("script");e.id=t,e.type="text/javascript",e.src=s.src,e.onload=o,i.appendChild(e)}if("css"===e){const e=r.createElement("link");e.id=t,e.rel="stylesheet",e.href=s.href,i.appendChild(e)}}}const _y=window.jQuery;var Cy=n.n(_y);const xy={};function Sy(e){const{url:t,label:n,value:o,onChange:r,isToolbar:i,className:s}=e,[a,l]=(0,ms.useState)([""]);function c(e){a.toString()!==e.toString()&&l(e)}return(0,ms.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(xy[e])return xy[e].then((e=>{c([""].concat(e.files))}),(()=>{c([""])})),!1;xy[e]=Cy().Deferred()},success(t){xy[e]&&xy[e].resolve(t),c([""].concat(t.files))},error(){c([""])}}))})),i?(0,Ke.createElement)(us.DropdownMenu,{icon:"media-default",label:n,controls:a.map((e=>({title:e||(0,vs.__)("Show all files","ghostkit"),isActive:e===o,onClick:()=>r(e)}))),className:s}):(0,Ke.createElement)(us.SelectControl,{label:n,value:o,options:a.map((e=>({value:e,label:e||(0,vs.__)("Show all files","ghostkit")}))),onChange:r,className:s})}const{gistSimple:Ey}=window,{name:Ay}=wy,Ty={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,cm.createBlock)("ghostkit/gist",{url:e.textContent.trim()})}]},{name:$y}=wy,My={icon:xi("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:Ty,edit:function(e){const{attributes:t,setAttributes:n}=e,{url:o,file:r,caption:i,showFooter:s,showLineNumbers:a}=t,[l,c]=(0,ms.useState)(t.url),u=(0,ms.useRef)(),h=(0,ms.useRef)(),d=(0,ms.useRef)();let{className:p=""}=e;function g(e,t=1e3){c(e),clearTimeout(d.current),d.current=setTimeout((()=>{n({url:e})}),t)}(0,ms.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===Ey)return void console.warn((0,vs.__)("Gist Simple plugin is not defined.","ghostkit"));const t=e+r+i+(s?1:0)+(a?1:0);t!==h?.current&&(h.current=t,setTimeout((()=>{u.current.GistSimple&&u.current.GistSimple.destroy(),Ey(u.current,{id:e,file:r,caption:i,showFooter:s,showLineNumbers:a})}),0))}()})),(0,ms.useEffect)((()=>{u?.current&&ky("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("URL","ghostkit"),type:"url",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)}}),(0,Ke.createElement)(Sy,{label:(0,vs.__)("File","ghostkit"),url:o,value:r,onChange:e=>n({file:e})})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Caption","ghostkit"),value:i,onChange:e=>n({caption:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show footer","ghostkit"),checked:!!s,onChange:e=>n({showFooter:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show line numbers","ghostkit"),checked:!!a,onChange:e=>n({showLineNumbers:e})}))),(0,Ke.createElement)("div",{...f},o?null:(0,Ke.createElement)(us.Placeholder,{icon:xi("block-gist"),label:(0,vs.__)("Gist URL","ghostkit"),className:p},(0,Ke.createElement)(us.TextControl,{placeholder:"https://gist.github.com/...",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)}}),(0,Ke.createElement)(us.ExternalLink,{href:"https://gist.github.com/"},(0,vs.__)("Visit GitHub Gist Site","ghostkit"))),o?(0,Ke.createElement)("div",{ref:u,className:p,"data-url":o,"data-file":r,"data-caption":i,"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:r,showLineNumbers:i}=e.attributes;let s="ghostkit-gist";s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Ay,...e});const a=ds.useBlockProps.save({className:s,"data-url":t,"data-file":n,"data-caption":o,"data-show-footer":r?"true":"false","data-show-line-numbers":i?"true":"false"});return(0,Ke.createElement)("div",{...a})}},Ry=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${r}
`),i&&(e+=i),p=new window.google.maps.InfoWindow({content:e}),d.addListener("click",(()=>{p.open(t,d)}))}return{marker:d,infoWindow:p}}function Hy(e){const{apiUrl:t,options:n,markers:o,onChangeMarkers:r}=e,[i,s]=(0,ms.useState)(null),a=(0,ms.useRef)(null),l=(0,ms.useRef)(null);return(0,ms.useEffect)((()=>{a.current&&(i?i.setOptions(n):function(e,t,n){const{markers:o,apiUrl:r=`${By}&key=${zy}`,onZoomChange:i,onCenterChange:s,...a}=t;Dy()(r,(()=>{Fy.trigger(e,"prepare.googleMaps.gkt",{options:t});const r=new window.google.maps.Map(e,a),l=e.getAttribute("data-gesture-handling");r&&"cooperative"===l&&r.setOptions({gestureHandling:l,scrollwheel:t.scrollwheel?null:t.scrollwheel}),o&&o.length&&o.forEach((e=>{jy({map:r,lat:e.lat,lng:e.lng,title:e.title,description:e.infoWindowText,iconURL:e.iconUrl,iconWidth:e.iconWidth,iconHeight:e.iconHeight})})),i&&r.addListener("zoom_changed",(()=>{i(r.getZoom())})),s&&r.addListener("center_changed",(()=>{s(r.getCenter())})),Fy.trigger(e,"prepared.googleMaps.gkt",{options:t,instance:r}),n&&n(r)}))}(a.current,{apiUrl:t,...n},(e=>{s(e)})))}),[t,i,n]),(0,ms.useEffect)((()=>{i&&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}=jy({map:i,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(),i=e.latLng.lng(),s=Object.assign([],o);s[t].lat=n,s[t].lng=i,r(s)}))})))}),[t,i,n,o,r]),(0,Ke.createElement)("div",{ref:a,className:"ghostkit-google-maps-wrap",style:{minHeight:"100%"}})}const Wy=n.p+"images/style-bright.b03a3ba1.png",Vy=n.p+"images/style-custom.69181fd3.png",Uy=n.p+"images/style-dark.9fb1c8ca.png",Gy=n.p+"images/style-default.d929fa91.png",qy=n.p+"images/style-light.49c19432.png",Ky=n.p+"images/style-pale-dawn.2dd7ae39.png",Yy=[{value:"default",label:(0,vs.__)("Default","ghostkit"),image:Gy,json:[]},{value:"bright",label:(0,vs.__)("Bright","ghostkit"),image:Wy,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,vs.__)("Light","ghostkit"),image:qy,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,vs.__)("Dark","ghostkit"),image:Uy,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,vs.__)("Pale Dawn","ghostkit"),image:Ky,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,vs.__)("Custom","ghostkit"),image:Vy}];function Zy(e){const{label:t,placeholder:n,className:o,onChange:r}=e,i=(0,ms.useRef)(null),[s,a]=(0,ms.useState)("");return(0,ms.useEffect)((()=>{if(!i?.current||!window?.google?.maps?.places)return;const e=new window.google.maps.places.SearchBox(i.current);e.addListener("places_changed",(()=>{const t=e.getPlaces();r&&(r(t),t&&t[0]&&a(t[0].formatted_address))}))}),[i,r]),(0,Ke.createElement)("div",{className:o},(0,Ke.createElement)(us.TextControl,{ref:i,label:t,placeholder:n,value:s,onChange:e=>{a(e)}}))}const{GHOSTKIT:Jy}=window,Xy=`${Jy.googleMapsAPIUrl}&libraries=geometry,drawing,places`;let Qy=!1;function ew(e){let t=[];try{t=JSON.parse(gt(e))}catch(e){return[]}return t}function tw(e){const{googleMapURL:t,title:n,address:o,addresses:r,lat:i,lng:s,iconImageURL:a,iconImageCustomWidth:l,infoWindowText:c,onChange:u}=e,h=a?(0,Ke.createElement)("img",{src:a,width:l,alt:""}):(0,Ke.createElement)("img",{src:"https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi3_hdpi.png",width:"27",alt:""});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Title","ghostkit"),value:n,onChange:e=>{u({title:e})}}),(0,Ke.createElement)(Zy,{googleMapURL:t,label:(0,vs.__)("Address","ghostkit"),value:o||r[i+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,Ke.createElement)("div",{className:"ghostkit-google-maps-marker-options-content-icon"},h,(0,Ke.createElement)(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,Ke.createElement)(us.Button,{variant:"secondary",onClick:e},(0,vs.__)("Change Icon","ghostkit"))})),l?(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Button,{className:"ghostkit-google-maps-icon-reset",isSmall:!0,onClick:()=>{u({iconImageID:"",iconImageURL:"",iconImageCustomWidth:"",iconImageWidth:"",iconImageHeight:""})}},(0,vs.__)("Reset Icon to Default","ghostkit"))):null,l?(0,Ke.createElement)("div",null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Marker Width","ghostkit"),value:l,onChange:e=>u({iconImageCustomWidth:e}),min:10,max:100})):null,(0,Ke.createElement)(us.BaseControl,{label:(0,vs.__)("Info Window Text","ghostkit"),className:"ghostkit-google-maps-marker-options-content-info-window-text",id:"ghostkit-google-maps-marker-content-info-window-text"},(0,Ke.createElement)(ds.RichText,{value:c,multiline:!0,placeholder:(0,vs.__)("Write text…","ghostkit"),onChange:e=>{u({infoWindowText:e})},onRemove:()=>{u({infoWindowText:""})}})))}const{name:nw}=Ry,{name:ow}=Ry,rw={icon:xi("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:r}=e;let{className:i=""}=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,ms.useState)(t.apiKey),[C,x]=(0,ms.useState)(Jy.googleMapsAPIKey),[S,E]=(0,ms.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,ms.useEffect)((()=>{(Qy||window.google&&window.google.maps&&window.google.maps.Geocoder)&&(Qy=new window.google.maps.Geocoder),Qy&&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]):Qy.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=Ev(600,(e=>{Jy.googleMapsAPIKey=e,_(e)})),$=Ev(3e3,(e=>{Hg()({path:"/ghostkit/v1/update_google_maps_api_key",method:"POST",data:{key:e}})}));function M(){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(tp,{value:gt(y),options:Yy,onChange:e=>{let t=w;"default"===e?t="":"custom"!==e&&Yy.forEach((n=>{e===n.value&&(t=JSON.stringify(n.json))})),n({style:e,styleCustom:pt(t)})}}),"custom"===y?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextareaControl,{placeholder:(0,vs.__)("Enter Style JSON","ghostkit"),value:gt(w),onChange:e=>n({styleCustom:pt(e)})}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("You can use custom styles presets from the","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"https://snazzymaps.com/"},(0,vs.__)("Snazzy Maps","ghostkit")),"."))):null)}function R(){return(0,Ke.createElement)(Hy,{key:k+v.length,apiUrl:`${Xy}&key=${pt(C)}`,markers:v,onChangeMarkers:e=>{n({markers:e})},options:{styles:w?ew(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:Ev(500,(e=>n({zoom:e}))),onCenterChange:Ev(500,(e=>n({lat:e.lat(),lng:e.lng()})))}})}i=cs()("ghostkit-google-maps",i),b&&(i=cs()(i,"ghostkit-google-maps-fullheight")),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const O=(0,ds.useBlockProps)({className:i});return(0,Ke.createElement)(Ke.Fragment,null,C?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-fullheight"),title:(0,vs.__)("Full Height","ghostkit"),onClick:()=>n({fullHeight:!b}),isActive:b})),(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-marker"),title:(0,vs.__)("Add Marker","ghostkit"),onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})}}),(0,Ke.createElement)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,Ke.createElement)(us.Button,{label:(0,vs.__)("Style","ghostkit"),icon:xi("icon-map"),className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,Ke.createElement)("div",{style:{minWidth:260}},M())}))):null,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Styles","ghostkit")},M())),(0,Ke.createElement)(ds.InspectorControls,null,C?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:b?(0,vs.__)("Minimal Height","ghostkit"):(0,vs.__)("Height","ghostkit"),value:s,onChange:e=>n({height:e}),min:100,max:800,allowCustomMin:!0,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Zoom","ghostkit"),value:a,onChange:e=>n({zoom:e}),min:1,max:18,allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Markers","ghostkit")},v&&v.length>0?(0,Ke.createElement)("ul",{className:"ghostkit-google-maps-markers"},v.map(((e,t)=>(0,Ke.createElement)(ws,{key:t,label:e.title||(0,vs.__)("Marker","ghostkit"),contentClassName:"ghostkit-component-google-maps-markers"},(0,Ke.createElement)(tw,{index:t,googleMapURL:`${Xy}&key=${pt(C)}`,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,Ke.createElement)(us.Button,{onClick:()=>{const e=Object.assign([],v);e.splice(t,1),n({markers:e})},className:"ghostkit-google-maps-marker-remove"},(0,vs.__)("Remove Marker","ghostkit")))))):null,(0,Ke.createElement)(us.Button,{isSecondary:!0,onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})}},(0,vs.__)("+ Add Marker","ghostkit"))),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Options","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Zoom Buttons","ghostkit"),checked:!!u,onChange:e=>n({showZoomButtons:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Map Type Buttons","ghostkit"),checked:!!h,onChange:e=>n({showMapTypeButtons:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Street View Button","ghostkit"),checked:!!d,onChange:e=>n({showStreetViewButton:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Fullscreen Button","ghostkit"),checked:!!p,onChange:e=>n({showFullscreenButton:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Scroll Wheel","ghostkit"),checked:!!g,onChange:e=>n({optionScrollWheel:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Draggable","ghostkit"),checked:!!f,onChange:e=>n({optionDraggable:e})}),g||f?(0,Ke.createElement)(us.ToggleControl,{label:g&&f?(0,vs.__)("Better Scroll & Draggable","ghostkit"):g?(0,vs.__)("Better Scroll","ghostkit"):f?(0,vs.__)("Better Draggable","ghostkit"):"",help:g&&f?(0,vs.__)("Scroll with pressed Ctrl or ⌘ key to zoom. Draggable with two fingers.","ghostkit"):g?(0,vs.__)("Scroll with pressed Ctrl or ⌘ key to zoom.","ghostkit"):f?(0,vs.__)("Draggable with two fingers.","ghostkit"):"",checked:"cooperative"===m,onChange:()=>{n({gestureHandling:"greedy"===m?"cooperative":"greedy"})}}):null)):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("API Key","ghostkit"),initialOpen:!C},(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Enter API Key","ghostkit"),value:C,onChange:e=>{x(e),T(e),$(e)}}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("A valid API key is required to use Google Maps. How to get API key","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,vs.__)("read here","ghostkit")),".")),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("This key will be used in all Google Maps blocks on your site.","ghostkit"))))),(0,Ke.createElement)("div",{...O},C?(0,Ke.createElement)(Ke.Fragment,null,b?R():(0,Ke.createElement)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:s},style:{minHeight:s},minHeight:"100",enable:{bottom:!0},onResizeStart:()=>{r(!1)},onResizeStop:(e,t,o,i)=>{n({height:parseInt(s+i.height,10)}),r(!0)}},R()),o?(0,Ke.createElement)("div",{className:"ghostkit-google-maps-search"},(0,Ke.createElement)(Zy,{googleMapURL:`${Xy}&key=${pt(C)}`,label:(0,vs.__)("Center Map","ghostkit"),placeholder:(0,vs.__)("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,Ke.createElement)("div",{className:"ghostkit-google-maps-search-note"},(0,Ke.createElement)("p",null,(0,Ke.createElement)("small",null,(0,vs.__)("You can also drag the map to change the center coordinates.","ghostkit"))))):null):(0,Ke.createElement)("div",{className:"ghostkit-google-maps-placeholder",style:{minHeight:s}},(0,Ke.createElement)(Py,null),(0,Ke.createElement)("div",{className:"ghostkit-google-maps-placeholder-key"},(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,(0,vs.__)("Google Maps API Key Required","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("small",null,(0,vs.__)("Add an API key in block settings.","ghostkit")))))))},save:function(e){const{height:t,zoom:n,lat:o,lng:r,showZoomButtons:i,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:nw,...e});const m={className:f,style:{minHeight:t},"data-lat":o,"data-lng":r,"data-zoom":n,"data-show-zoom-buttons":i?"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 r=`marker-${t}`;return(0,Ke.createElement)("div",{key:r,className:"ghostkit-google-maps-marker",...o})})):"")}};function iw(e){const{attributes:t,setAttributes:n}=e,{awb_color:o,awb_type:r,awb_image:i,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(!i)return!1;const t={id:i,size:l,attr:{class:"jarallax-img"}};return"pattern"===c&&(t.div_tag=!0),{fetchedImageTag:e("ghostkit/base/images").getImageTagData(t)}}));return(0,ms.useEffect)((()=>{d&&pt(d)!==s&&h({imageTag:pt(d)})})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Background","ghostkit"),initialOpen:!1},(0,Ke.createElement)(ag,{value:"video"===r||"yt_vm_video"===r?"yt_vm_video":r,options:[{label:(0,vs.__)("Color","ghostkit"),value:"color"},{label:(0,vs.__)("Image","ghostkit"),value:"image"},{label:(0,vs.__)("Video","ghostkit"),value:"yt_vm_video"}],onChange:e=>{h({type:e})}}),"image"===r?(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Image","ghostkit"),initialOpen:"image"===r},i&&s?null:(0,Ke.createElement)(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:i,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select image","ghostkit"))}),i&&s?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Ss,{value:u,image:gt(s),onChange:e=>h({imageBackgroundPosition:e})}),a?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("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})}):null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Background size","ghostkit"),value:c,options:[{label:(0,vs.__)("Cover","ghostkit"),value:"cover"},{label:(0,vs.__)("Contain","ghostkit"),value:"contain"},{label:(0,vs.__)("Pattern","ghostkit"),value:"pattern"}],onChange:e=>h({imageBackgroundSize:e})}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{h({image:"",imageTag:"",imageSizes:""}),e.preventDefault()}},(0,vs.__)("Remove image","ghostkit"))):null):null,"color"===r?(0,Ke.createElement)(gs,{label:(0,vs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0}):(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Overlay","ghostkit"),(0,Ke.createElement)(hs,{colorValue:o})),initialOpen:"color"===r},(0,Ke.createElement)(gs,{label:(0,vs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0})),(0,Ke.createElement)("p",null,(0,vs.__)("Install AWB plugin to set video backgrounds and images with parallax support.","ghostkit")),(0,Ke.createElement)(us.ExternalLink,{className:"components-button is-button is-secondary is-small",href:"https://wordpress.org/plugins/advanced-backgrounds/"},(0,vs.__)("Install","ghostkit")))}function sw(e,t){if((0,cm.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageTag:o}=t.attributes;let r=!1;return"color"===n&&e&&(r=!0),"image"===n&&(e||o)&&(r=!0),r?(0,Ke.createElement)("div",{className:"awb-gutenberg-preview-block"},e?(0,Ke.createElement)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&o?(0,Ke.createElement)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:gt(o)}}):null):null}return e}function aw(e,t){if((0,cm.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageBackgroundSize:o,awb_imageBackgroundPosition:r}=t.attributes;let{awb_imageTag:i}=t.attributes,s=!1;if("color"===n&&e&&(s=!0),"image"===n&&(e||i)&&(s=!0),s){const t={"data-awb-type":n};return"image"===n&&(o&&(t["data-awb-image-background-size"]=o),r&&(t["data-awb-image-background-position"]=r)),"image"===n&&i&&(i=gt(i),i=i.replace("url("","url('"),i=i.replace("");","');")),(0,Ke.createElement)("div",{className:"nk-awb"},(0,Ke.createElement)("div",{className:"nk-awb-wrap",...t},e?(0,Ke.createElement)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&i?(0,Ke.createElement)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:i}}):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,cm.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,cm.hasBlockSupport)(t.props.name,"awb",!1)?(0,Ke.createElement)(iw,{...t.props}):e})),(0,os.addFilter)("ghostkit.editor.grid.background","ghostkit/grid/awb/addEditorBackground",sw),(0,os.addFilter)("ghostkit.editor.grid-column.background","ghostkit/grid-column/awb/addEditorBackground",sw),(0,os.addFilter)("ghostkit.blocks.grid.background","ghostkit/grid/addSaveBackground",aw),(0,os.addFilter)("ghostkit.blocks.grid-column.background","ghostkit/grid-column/addSaveBackground",aw);const lw=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 cw(e){const{awb_image:t,awb_imageBackgroundSize:n,awb_imageBackgroundPosition:o}=e,r={"> .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&&(r["> .nk-awb .jarallax-img"]["object-fit"]=n),o&&(r["> .nk-awb .jarallax-img"]["object-position"]=o)):(n&&(r["> .nk-awb .jarallax-img"]["background-repeat"]="repeat"),n&&(r["> .nk-awb .jarallax-img"]["background-position"]=o))),r}const{name:uw}=lw,hw={from:[{type:"block",blocks:["core/columns"],transform:(e,t)=>(0,cm.createBlock)("ghostkit/grid",{columns:e.columns},t.map((e=>(0,cm.createBlock)("ghostkit/grid-column",{},e.innerBlocks))))}]},{name:dw}=lw,pw={icon:xi("block-grid",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/advanced-columns/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,r={"--gkt-grid__gap":void 0,"--gkt-grid__gap-vertical":void 0,...cw(e)};if("custom"===t){if(void 0!==n&&""!==n){const e=n?"px":"%";r["--gkt-grid__gap"]=`${n}${e}`}if(void 0!==o&&""!==o){const e=o?"px":"%";r["--gkt-grid__gap-vertical"]=`${o}${e}`}}return r},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:r,gapCustom:i,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}let g=cs()("ghostkit-grid",`ghostkit-grid-gap-${r}`,!!a&&`ghostkit-grid-align-items-${a}`,!!l&&`ghostkit-grid-justify-content-${l}`);const f=(0,os.applyFilters)("ghostkit.editor.grid.background","",e);f&&(g=cs()(g,"ghostkit-grid-with-bg")),g=(0,os.applyFilters)("ghostkit.editor.className",g,e);const m=(0,ds.useBlockProps)({className:g}),{children:v,...b}=(0,ds.useInnerBlocksProps)(m,{allowedBlocks:["ghostkit/grid-column"],orientation:"horizontal",renderAppender:!1});return(0,Ke.createElement)("div",{...b},d>0?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-top"),title:(0,vs.__)("Content Vertical Start","ghostkit"),onClick:()=>o({verticalAlign:""}),isActive:""===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-center"),title:(0,vs.__)("Content Vertical Center","ghostkit"),onClick:()=>o({verticalAlign:"center"}),isActive:"center"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-bottom"),title:(0,vs.__)("Content Vertical End","ghostkit"),onClick:()=>o({verticalAlign:"end"}),isActive:"end"===a}))):null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"columns",props:e},(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("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,cm.createBlock)("ghostkit/grid-column",{size:3}));u(t,o,!1)}else if(e0?(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ag,{label:(0,vs.__)("Vertical alignment","ghostkit"),value:a,options:[{icon:xi("icon-vertical-top"),label:(0,vs.__)("Top","ghostkit"),value:""},{icon:xi("icon-vertical-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-vertical-bottom"),label:(0,vs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({verticalAlign:e})},isDeselectable:!0,isAdaptiveWidth:!0}),(0,Ke.createElement)(ag,{label:(0,vs.__)("Horizontal alignment","ghostkit"),value:l,options:[{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Start","ghostkit"),value:""},{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-horizontal-end"),label:(0,vs.__)("End","ghostkit"),value:"end"},{icon:xi("icon-horizontal-around"),label:(0,vs.__)("Around","ghostkit"),value:"around"},{icon:xi("icon-horizontal-between"),label:(0,vs.__)("Space Between","ghostkit"),value:"between"}],onChange:e=>{o({horizontalAlign:e})},isDeselectable:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:r,gapCustom:i,gapVerticalCustom:s,onChange:e=>{o(e)},allowVerticalGap:!0}))):null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)("div",{className:"ghostkit-background-controls"},(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"background",props:e}))),d>0?(0,Ke.createElement)(Ke.Fragment,null,f,(0,Ke.createElement)("div",{className:"ghostkit-grid-inner"},v)):(0,Ke.createElement)((function(){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,Ke.createElement)(us.Placeholder,{icon:xi("block-grid"),label:(0,vs.__)("Advanced Columns","ghostkit"),instructions:(0,vs.__)("Select one layout to get started.","ghostkit"),className:"ghostkit-select-layout"},(0,Ke.createElement)("div",{className:"ghostkit-grid-layout-preview"},n.map((e=>{const n=p(e);return(0,Ke.createElement)(us.Button,{key:`layout-${e}`,className:"ghostkit-grid-layout-preview-btn ghostkit-grid",onClick:()=>function(e){const n=p(e),o=[];n.forEach((e=>{o.push((0,cm.createBlock)("ghostkit/grid-column",e))})),u(t,o,!1)}(e)},n.map(((t,n)=>{const o=`layout-${e}-col-${n}`;return(0,Ke.createElement)("div",{key:o,className:cs()("ghostkit-col",`ghostkit-col-${t.size}`)})})))}))),o)}),null))},save:function(e){const{verticalAlign:t,horizontalAlign:n,gap:o}=e.attributes;let r=cs()("ghostkit-grid",`ghostkit-grid-gap-${o}`,!!t&&`ghostkit-grid-align-items-${t}`,!!n&&`ghostkit-grid-justify-content-${n}`);const i=(0,os.applyFilters)("ghostkit.blocks.grid.background","",{name:uw,...e});i&&(r=cs()(r,"ghostkit-grid-with-bg")),r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:uw,...e});const s=ds.useBlockProps.save({className:r}),{children:a,...l}=ds.useInnerBlocksProps.save(s);return(0,Ke.createElement)("div",{...l},i,(0,Ke.createElement)("div",{className:"ghostkit-grid-inner"},a))},transforms:hw},gw=(0,cg.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",gw);const fw=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 mw(e){const{attributes:t}=e;let n="ghostkit-col";return Object.keys(t).forEach((e=>{if(t[e]){let o=e.split("_")[0],r=e.split("_")[1];if(r||(r=o,o=""),r&&("size"===r||"order"===r||"verticalAlign"===r)){switch(o=o&&`-${o}`,r){case"size":r="";break;case"order":r=`-${r}`;break;case"verticalAlign":r="-align-self"}n=cs()(n,`ghostkit-col${r}${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 vw=function(){const e=[{label:(0,vs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,vs.__)("Auto","ghostkit"),value:"auto"},{label:(0,vs.__)("Grow","ghostkit"),value:"grow"}];for(let t=1;t<=12;t+=1)e.push({label:(0,vs.sprintf)(1===t?(0,vs.__)("%d Column (%s)","ghostkit"):(0,vs.__)("%d Columns (%s)","ghostkit"),t,Math.round(100*t/12*100)/100+"%"),value:t});return e},bw=function(e=12){const t=[{label:(0,vs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,vs.__)("Auto","ghostkit"),value:"auto"},{label:(0,vs.__)("First","ghostkit"),value:"first"}];for(let n=1;n<=e;n+=1)t.push({label:n,value:n});return t.push({label:(0,vs.__)("Last","ghostkit"),value:"last"}),t},{name:yw}=fw,{name:ww}=fw,kw={icon:xi("block-grid-column",!0),ghostkit:{customStylesCallback(e){const{stickyContent:t,stickyContentOffset:n}=e,o={"--gkt-grid--column-sticky__offset":void 0,...cw(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:r,stickyContentOffset:i}=n,{device:s}=Ji(),{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,mw(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,Ke.createElement)("div",{...c},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"columnSettings",props:e},(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Size","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!n[`${e}_size`]})),value:n[h],onChange:e=>{o({[h]:e})},options:vw()}),(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Order","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!n[`${e}_order`]})),value:n[d],onChange:e=>{o({[d]:e})},options:bw()}),(0,Ke.createElement)(ag,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Vertical Alignment","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!n[`${e}_verticalAlign`]})),value:n[p],options:[{icon:xi("icon-vertical-top"),label:(0,vs.__)("Top","ghostkit"),value:""},{icon:xi("icon-vertical-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-vertical-bottom"),label:(0,vs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({[p]:e})},isDeselectable:!0}))),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ag,{label:(0,vs.__)("Sticky Content","ghostkit"),value:r,options:[{label:(0,vs.__)("Top","ghostkit"),value:"top"},{label:(0,vs.__)("Bottom","ghostkit"),value:"bottom"}],onChange:e=>{o({stickyContent:e})},isDeselectable:!0}),r?(0,Ke.createElement)(rg,{label:(0,vs.__)("Sticky Offset","ghostkit"),value:i,onChange:e=>o({stickyContentOffset:e}),allowCustomMax:!0}):null),(0,Ke.createElement)("div",{className:"ghostkit-background-controls"},(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"background",props:e}))),l,(0,Ke.createElement)("div",{...u}))},save:function(e){let t=mw(e);const n=(0,os.applyFilters)("ghostkit.blocks.grid-column.background","",{name:yw,...e});n&&(t=cs()(t,"ghostkit-col-with-bg"));const o=ds.useBlockProps.save({className:t}),r=ds.useInnerBlocksProps.save({className:"ghostkit-col-content"});return(0,Ke.createElement)("div",{...o},n,(0,Ke.createElement)("div",{...r}))}},_w=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 Cw(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{url:r,rel:i,ariaLabel:s,target:a}=t;return(0,Ke.createElement)(Ng,{url:r,rel:i,ariaLabel:s,target:a,onChange:e=>n(e),isSelected:o,toolbarSettings:!0,inspectorSettings:!0})}function xw({attributes:e,setAttributes:t,isSelected:n}){const{justify:o,flipH:r,flipV:i}=e,s=xi("icon-horizontal-start"),a=xi("icon-horizontal-center"),l=xi("icon-horizontal-end"),c=[{title:(0,vs.__)("Justify Icon Start","ghostkit"),icon:s,isActive:"start"===o,onClick:()=>t({justify:"start"})},{title:(0,vs.__)("Justify Icon Center","ghostkit"),icon:a,isActive:"center"===o,onClick:()=>t({justify:"center"})},{title:(0,vs.__)("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,vs.__)("Justify Icon","ghostkit"),controls:c}))),(0,Ke.createElement)(Cw,{attributes:e,setAttributes:t,isSelected:n}),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-horizontal"),title:(0,vs.__)("Flip Horizontal","ghostkit"),onClick:()=>t({flipH:!r}),isActive:r}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-vertical"),title:(0,vs.__)("Flip Vertical","ghostkit"),onClick:()=>t({flipV:!i}),isActive:i}))))}function Sw(e){const{attributes:t,setAttributes:n,clientId:o}=e,{color:r,backgroundColor:i,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:r,label:(0,vs.__)("Icon","ghostkit"),onColorChange:e=>{n({color:e})},isShownByDefault:!0,resetAllFilter:()=>({color:void 0})},{colorValue:i,gradientValue:s,label:(0,vs.__)("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 Ew({attributes:e,setAttributes:t}){const{icon:n,width:o}=e;return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:n,onChange:e=>t({icon:e}),insideInspector:!0}),(0,Ke.createElement)(us.__experimentalUnitControl,{label:(0,vs.__)("Width","ghostkit"),placeholder:(0,vs.__)("Auto","ghostkit"),value:o,onChange:e=>t({width:e}),labelPosition:"edge",__unstableInputWidth:"70px",min:0})))}const{name:Aw}=_w;function Tw({attributes:e}){const{icon:t,url:n,target:o,ariaLabel:r,rel:i}=e,s=n?"a":"div",a={};return"a"===s&&(a.href=n,a.target=o||null,a.rel=i||null,a.ariaLabel=r||null),(0,Ke.createElement)(ep.Render,{...a,name:t,tag:s,className:"ghostkit-icon-inner"})}const{name:$w}=_w,Mw={icon:xi("block-icon",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/icon/",customStylesCallback(e){const{justify:t,width:n,color:o,backgroundColor:r,backgroundGradient:i}=e,s={"--gkt-icon__color":o||void 0,"--gkt-icon__background":r||i||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:r}=e,{flipV:i,flipH:s}=t;let{className:a=""}=e;a=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":i,"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)(Ew,{attributes:t,setAttributes:n}),(0,Ke.createElement)(Sw,{attributes:t,setAttributes:n,clientId:r}),(0,Ke.createElement)(xw,{attributes:t,setAttributes:n,isSelected:o}),(0,Ke.createElement)("span",{...l},(0,Ke.createElement)(ep.Preview,{tag:"div",name:t.icon,className:"ghostkit-icon-inner"})))},save:function(e){const{attributes:t}=e,{flipV:n,flipH:o}=t;let r=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":n,"ghostkit-icon-flip-horizontal":o});r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:Aw,...e});const i=ds.useBlockProps.save({className:r});return(0,Ke.createElement)("div",{...i},(0,Ke.createElement)(Tw,{attributes:e.attributes}))}},Rw=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:Ow}=Rw,Lw=[{...Rw,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 ms.Component{render(){const{icon:e,iconPosition:t,showContent:n,url:o,target:r,rel:i}=this.props.attributes;let s=cs()("ghostkit-icon-box",o&&"ghostkit-icon-box-with-link");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Ow,...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:r||!1,rel:i||!1},(0,Ke.createElement)("span",null)):null,e?(0,Ke.createElement)(ep.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:Iw}=Rw,Pw={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,cm.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,cm.createBlock)("ghostkit/icon-box",{icon:e.icon,iconSize:e.iconSize,iconColor:e.color,hoverIconColor:e.hoverColor},t)}]},{name:Nw}=Rw,Dw={icon:xi("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:r}=e;let{className:i=""}=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(r).length>0}),[r]);i=cs()("ghostkit-icon-box",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,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:i}),w=(0,ds.useInnerBlocksProps)({className:"ghostkit-icon-box-content"},{renderAppender:v?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),k=(0,vs.__)("Icon Position","ghostkit");return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Icon Size","ghostkit"),value:c,onChange:e=>n({iconSize:e}),min:20,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0}),(0,Ke.createElement)(us.BaseControl,{id:k,label:k},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:k},(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a})))),"top"===a?(0,Ke.createElement)(ag,{label:(0,vs.__)("Icon Alignment","ghostkit"),value:l||"center",options:[{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Start","ghostkit"),value:"left"},{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-horizontal-end"),label:(0,vs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({iconAlign:e})}}):null):null),!u||s?(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Content","ghostkit"),checked:!!u,onChange:e=>n({showContent:e})})):null,(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:h})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Icon","ghostkit"),value:o?d:h,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0,gradient:!0}))})))),(0,Ke.createElement)(Ng,{url:p,rel:m,ariaLabel:g,target:f,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a}))):null,(0,Ke.createElement)("div",{...y},s?(0,Ke.createElement)("div",{className:b},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,u?(0,Ke.createElement)("div",{...w}):null))},save:function(e){const{icon:t,iconPosition:n,iconAlign:o,showContent:r,url:i,ariaLabel:s,target:a,rel:l}=e.attributes;let c=cs()("ghostkit-icon-box",i&&"ghostkit-icon-box-with-link");c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Iw,...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},i?(0,Ke.createElement)("a",{className:"ghostkit-icon-box-link",href:i,target:a||null,rel:l||null,"aria-label":s||null},(0,Ke.createElement)("span",null)):null,t?(0,Ke.createElement)(ep.Render,{name:t,tag:"div",className:u}):null,r?(0,Ke.createElement)("div",{...d}):null)},transforms:Pw,deprecated:Lw},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"}}}'),zw=["image"],Bw="large",{name:jw}=Fw,Hw={icon:xi("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:r}=e;const{position:i,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:C,afterSizeSlug:x,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,Ke.createElement)("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,O=(e="before",n={},r=!1)=>{const i={[`${e}SizeSlug`]:r=r||t[`${e}SizeSlug`]||Bw,[`${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[r];!s&&n.media_details&&n.media_details.sizes&&n.media_details.sizes[r]&&(s=n.media_details.sizes[r]),s&&(s.url&&(i[`${e}Url`]=s.url),s.source_url&&(i[`${e}Url`]=s.source_url),s.width&&(i[`${e}Width`]=s.width),s.height&&(i[`${e}Height`]=s.height)),o(i)},L=xi("vertical"===s?"icon-horizontal-start":"icon-vertical-top"),I=xi("vertical"===s?"icon-horizontal-center":"icon-vertical-center"),P=xi("vertical"===s?"icon-horizontal-end":"icon-vertical-bottom");r=cs()("ghostkit-image-compare","vertical"===s&&"ghostkit-image-compare-vertical",!(!c||!d)&&`ghostkit-image-compare-labels-align-${d}`,r);const N=(0,ds.useBlockProps)({className:r}),D="vertical"===s?(0,vs.__)("Horizontal Align","ghostkit"):(0,vs.__)("Vertical Align","ghostkit");return(0,Ke.createElement)(Ke.Fragment,null,g&&w?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-vertical"),title:(0,vs.__)("Vertical","ghostkit"),onClick:()=>o({direction:"vertical"===s?"":"vertical"}),isActive:"vertical"===s}))):null,(0,Ke.createElement)(ds.InspectorControls,null,g&&w?(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("General","ghostkit")},(0,Ke.createElement)(rg,{label:(0,vs.__)("Start Position","ghostkit"),value:i,min:0,max:100,onChange:e=>o({position:e})}),(0,Ke.createElement)(us.__experimentalToggleGroupControl,{label:(0,vs.__)("Direction","ghostkit"),onChange:e=>o({direction:e}),value:s||"",isBlock:!0},(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,vs.__)("Horizontal","ghostkit")}),(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"vertical",label:(0,vs.__)("Vertical","ghostkit")})),(0,Ke.createElement)(us.__experimentalToggleGroupControl,{label:(0,vs.__)("Trigger","ghostkit"),onChange:e=>o({trigger:e}),value:a||"",isBlock:!0},(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,vs.__)("Click","ghostkit")}),(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"hover",label:(0,vs.__)("Hover","ghostkit")}))):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Labels","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Labels","ghostkit"),checked:!!c,onChange:e=>o({showLabels:e})}),c&&(0,Ke.createElement)(us.BaseControl,{id:D,label:D},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:"vertical"===s?(0,vs.__)("Horizontal Align","ghostkit"):(0,vs.__)("Vertical Align","ghostkit")},(0,Ke.createElement)(us.ToolbarButton,{icon:L,title:(0,vs.__)("Start","ghostkit"),onClick:()=>o({labelAlign:"start"}),isActive:"start"===d}),(0,Ke.createElement)(us.ToolbarButton,{icon:I,title:(0,vs.__)("Center","ghostkit"),onClick:()=>o({labelAlign:"center"}),isActive:"center"===d}),(0,Ke.createElement)(us.ToolbarButton,{icon:P,title:(0,vs.__)("End","ghostkit"),onClick:()=>o({labelAlign:"end"}),isActive:"end"===d}))))),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Before Image Settings","ghostkit")},p?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select Image","ghostkit"))}),p?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:g,alt:f,width:m,height:v})))}),(0,Ke.createElement)("div",{style:{marginTop:-20}}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{o({beforeId:"",beforeUrl:"",beforeAlt:"",beforeWidth:"",beforeHeight:""}),e.preventDefault()},className:"button button-secondary"},(0,vs.__)("Remove Image","ghostkit")),(0,Ke.createElement)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:b||Bw,onChange:e=>{O("before",T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:f,onChange:e=>o({beforeAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("After Image Settings","ghostkit")},y?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select Image","ghostkit"))}),y?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:w,alt:k,width:_,height:C})))}),(0,Ke.createElement)("div",{style:{marginTop:-20}}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{o({afterId:"",afterUrl:"",afterAlt:"",afterWidth:"",afterHeight:""}),e.preventDefault()},className:"button button-secondary"},(0,vs.__)("Remove Image","ghostkit")),(0,Ke.createElement)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:x||Bw,onChange:e=>{O("after",$,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:k,onChange:e=>o({afterAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null)),(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Color","ghostkit")},(0,Ke.createElement)(gs,{label:(0,vs.__)("Divider","ghostkit"),value:S,onChange:e=>o({colorDivider:e}),alpha:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Divider Icon","ghostkit"),value:E,onChange:e=>o({colorDividerIcon:e}),alpha:!0}))),g&&w?(0,Ke.createElement)("figure",{...N},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images"},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-before"},R("before"),!c||ds.RichText.isEmpty(u)&&!n?null:(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-before-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelBeforeText:e}),value:u,placeholder:(0,vs.__)("Before label…","ghostkit")}))),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-after"},R("after"),!c||ds.RichText.isEmpty(h)&&!n?null:(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-after-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelAfterText:e}),value:h,placeholder:(0,vs.__)("After label…","ghostkit")}))),(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(l)||n)&&(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-image-compare-caption",onChange:e=>o({caption:e}),placeholder:(0,vs.__)("Write caption…","jetpack"),tagName:"figcaption",value:l})):(0,Ke.createElement)("div",{...N},(0,Ke.createElement)(us.Placeholder,{className:"ghostkit-image-compare-placeholder",icon:xi("block-image-compare"),label:(0,vs.__)("Image Compare","ghostkit"),instructions:(0,vs.__)("Select images to compare","ghostkit")},R("before")?(0,Ke.createElement)("div",{className:"components-placeholder"},R("before")):(0,Ke.createElement)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,vs.__)("Image Before","ghostkit"),name:(0,vs.__)("image","ghostkit")},onSelect:e=>{O("before",e)},accept:"image/*",allowedTypes:zw,disableMaxUploadErrorMessages:!0,onError:M}),R("after")?(0,Ke.createElement)("div",{className:"components-placeholder"},R("after")):(0,Ke.createElement)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,vs.__)("Image After","ghostkit"),name:(0,vs.__)("image","ghostkit")},value:!!w&&{src:w},onSelect:e=>{O("after",e)},accept:"image/*",allowedTypes:zw,disableMaxUploadErrorMessages:!0,onError:M}))))},save:function(e){const{attributes:t}=e,{direction:n,trigger:o,caption:r,showLabels:i,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}`,!(!i||!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}),i&&!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}),i&&!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(r)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-image-compare-caption",tagName:"figcaption",value:r}))}},Ww=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":{"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:Vw}=Ww,Uw={icon:xi("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:r,count:i,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=>!!r&&{instagramFeed:e("ghostkit/blocks/instagram").getInstagramFeed({access_token:r,count:i}),instagramProfile:e("ghostkit/blocks/instagram").getInstagramProfile({access_token:r})})),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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Photos Number","ghostkit"),value:i,onChange:e=>t({count:e}),min:1,max:20,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Columns","ghostkit"),value:s,onChange:e=>t({columns:e}),min:1,max:8,allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:a,gapCustom:l,onChange:e=>{t(e)}})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Profile Info","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Profile Info","ghostkit"),checked:!!n.showProfile,onChange:e=>t({showProfile:e})}),n.showProfile?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Avatar","ghostkit"),checked:!!c,onChange:e=>t({showProfileAvatar:e})}),c?(0,Ke.createElement)(rg,{label:(0,vs.__)("Avatar Size","ghostkit"),value:u,onChange:e=>t({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0}):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Name","ghostkit"),checked:!!h,onChange:e=>t({showProfileName:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Stats","ghostkit"),checked:!!d,onChange:e=>t({showProfileStats:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show BIO","ghostkit"),checked:!!p,onChange:e=>t({showProfileBio:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Website","ghostkit"),checked:!!g,onChange:e=>t({showProfileWebsite:e})})):null)):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("API Data","ghostkit"),initialOpen:!r},(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Access Token","ghostkit"),value:r,onChange:e=>t({accessToken:e})}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("A valid Access Token is required to use Instagram feed. How to get token","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"http://instagram.pixelunion.net/"},"http://instagram.pixelunion.net/"))))),(0,Ke.createElement)("div",{...b},r&&v&&m&&m.data?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile"},c&&m.data.profile_picture?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-avatar"},(0,Ke.createElement)("img",{src:m.data.profile_picture,alt:m.data.full_name,width:u,height:u})):null,(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-side"},h&&m.data.username?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-name"},m.data.username):null,d&&m.data.counts?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-stats"},(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,m.data.counts.media)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Posts","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,m.data.counts.followed_by)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Followers","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,m.data.counts.follows)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Following","ghostkit")))):null,p&&m.data.bio?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-bio"},(0,Ke.createElement)("h2",null,m.data.full_name),(0,Ke.createElement)("div",null,m.data.bio)):null,g&&m.data.website?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-website"},(0,Ke.createElement)("a",{href:m.data.website},m.data.website)):null)):null,r&&f&&f.data?(0,Ke.createElement)("div",{className:"ghostkit-instagram-items"},f.data.map(((e,t)=>{const n=`instagram-item-${t}`;return(0,Ke.createElement)("div",{className:"ghostkit-instagram-item",key:n},(0,Ke.createElement)("span",null,(0,Ke.createElement)("img",{src:e.images.standard_resolution.url,width:e.images.standard_resolution.width,height:e.images.standard_resolution.height,alt:e.caption||""})))}))):null,!r||f&&f.data?null:(0,Ke.createElement)("div",{className:"ghostkit-instagram-spinner"},(0,Ke.createElement)(us.Spinner,null)),r?null:(0,Ke.createElement)(us.Placeholder,{icon:xi("block-instagram"),label:(0,vs.__)("Instagram","ghostkit"),instructions:(0,vs.__)("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}},Gw=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 qw(e){const{url:t,trigger:n,speed:o,loop:r,direction:i,isSelected:s,onLoad:a=(()=>{})}=e,l=(0,ms.useRef)(null);return(0,ms.useEffect)((()=>{const e=l.current;function t(e){a(e)}return e.addEventListener("load",t),ky("js","lottie-player-js",e),()=>{e.removeEventListener("load",t)}}),[l]),(0,Ke.createElement)("lottie-player",{key:`lottie-${n}-${o}-${r}-${i}`,ref:l,src:t,direction:i,background:"transparent",mode:"normal",..."scroll"!==n?{speed:o}:{},..."scroll"!==n&&r?{loop:"loop"}:{},...!n||s?{autoplay:"autoplay"}:{},..."hover"===n?{hover:"hover"}:{},style:{width:"100%",height:"auto"}})}const Kw=us.UnitControl||us.__experimentalUnitControl,{name:Yw}=Gw,{name:Zw}=Gw,Jw={icon:xi("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:r=""}=e;const{fileUrl:i,fileWidth:s,fileHeight:a,trigger:l,loop:c,direction:u,speed:h,width:d}=t,[p,g]=(0,ms.useState)(d.endsWith("%"));r=cs()("ghostkit-lottie",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const f=(0,ds.useBlockProps)({className:r,"data-trigger":l,style:s&&a?{"--gkt-lottie__ar":`${s} / ${a}`,"--gkt-lottie__width":d}:{}});return(0,Ke.createElement)(Ke.Fragment,null,i?(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Play Animation On","ghostkit"),value:l,options:[{label:(0,vs.__)("Page Load","ghostkit"),value:""},{label:(0,vs.__)("Viewport","ghostkit"),value:"viewport"},{label:(0,vs.__)("Hover","ghostkit"),value:"hover"},{label:(0,vs.__)("Click","ghostkit"),value:"click"},{label:(0,vs.__)("Scroll","ghostkit"),value:"scroll"}],onChange:e=>n({trigger:e})}),"scroll"!==l?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Speed","otter-blocks"),value:h,onChange:e=>n({speed:e}),step:.1,min:0,max:10}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Loop","ghostkit"),checked:!!c,onChange:()=>n({loop:!c})})):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Reverse","ghostkit"),checked:-1===u,onChange:()=>{n({direction:1===u?-1:1})}}),(0,Ke.createElement)(Kw,{label:(0,vs.__)("Width","ghostkit"),value:d,onChange:e=>n({width:e}),onUnitChange:e=>g("%"===e),labelPosition:"edge",__unstableInputWidth:"70px",units:[{value:"px",label:"px"},{value:"%",label:"%"}],min:0,max:p?100:1/0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Lottie File","ghostkit"),value:i,disabled:!0}),(0,Ke.createElement)(us.Button,{isSecondary:!0,onClick:()=>{n({fileId:void 0,fileUrl:void 0,fileWidth:void 0,fileHeight:void 0})}},(0,vs.__)("Clear","ghostkit")))):null,(0,Ke.createElement)("div",{...f},i?(0,Ke.createElement)(qw,{url:i,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,Ke.createElement)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,vs.__)("Lottie JSON","ghostkit"),name:(0,vs.__)("lottie","ghostkit"),instructions:(0,vs.__)("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:r,loop:i,direction:s,speed:a,width:l}=e.attributes;let c="ghostkit-lottie";c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Yw,...e});const u=ds.useBlockProps.save({className:c,"data-trigger":r,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"!==r?{speed:a}:{},..."scroll"!==r&&i?{loop:"loop"}:{},...r?{}:{autoplay:"autoplay"},..."hover"===r?{hover:"hover"}:{},style:{width:"100%",height:"auto"}}))}},Xw=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"}}}'),Qw={};function ek(e,t){"string"!=typeof t&&(t=ek.defaultChars);const n=function(e){let t=Qw[e];if(t)return t;t=Qw[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&i)&&o+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),o+=9;continue}}t+="�"}}return t}))}ek.defaultChars=";/?:@&=+$,#",ek.componentChars="";const tk=ek,nk={};function ok(e,t,n){"string"!=typeof t&&(n=t,t=ok.defaultChars),void 0===n&&(n=!0);const o=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);/^[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){r+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[t])}return r}ok.defaultChars=";/?:@&=+$,-_.!~*'()#",ok.componentChars="-_.!~*'()";const rk=ok;function ik(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 sk(){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 ak=/^([a-z0-9.+-]+:)/i,lk=/:[0-9]*$/,ck=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,uk=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),hk=["'"].concat(uk),dk=["%","/","?",";","#"].concat(hk),pk=["/","?","#"],gk=/^[+a-z0-9A-Z_-]{0,63}$/,fk=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,mk={javascript:!0,"javascript:":!0},vk={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};sk.prototype.parse=function(e,t){let n,o,r,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=ck.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=ak.exec(i);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,i=i.substr(s.length)),(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===i.substr(0,2),!r||s&&mk[s]||(i=i.substr(2),this.slashes=!0)),!mk[s]&&(r||s&&!vk[s])){let e,t,n=-1;for(let e=0;e127?o+="x":o+=n[e];if(!o.match(gk)){const o=e.slice(0,t),r=e.slice(t+1),s=n.match(fk);s&&(o.push(s[1]),r.unshift(s[2])),r.length&&(i=r.join(".")+i),this.hostname=o.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");-1!==a&&(this.hash=i.substr(a),i=i.slice(0,a));const l=i.indexOf("?");return-1!==l&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),vk[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},sk.prototype.parseHost=function(e){let t=lk.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 bk=function(e,t){if(e&&e instanceof sk)return e;const n=new sk;return n.parse(e,t),n},yk=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,wk=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,kk=/[\0-\x1F\x7F-\x9F]/,_k=/[\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]/,Ck=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,xk=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)))),Sk=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Ek;const Ak=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]]),Tk=null!==(Ek=String.fromCodePoint)&&void 0!==Ek?Ek: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 $k,Mk,Rk,Ok,Lk;function Ik(e){return e>=$k.ZERO&&e<=$k.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"}($k||($k={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Mk||(Mk={})),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"}(Rk||(Rk={})),(Lk=Ok||(Ok={}))[Lk.Legacy=0]="Legacy",Lk[Lk.Strict=1]="Strict",Lk[Lk.Attribute=2]="Attribute";class Pk{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Rk.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ok.Strict}startEntity(e){this.decodeMode=e,this.state=Rk.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Rk.EntityStart:return e.charCodeAt(t)===$k.NUM?(this.state=Rk.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Rk.NamedEntity,this.stateNamedEntity(e,t));case Rk.NumericStart:return this.stateNumericStart(e,t);case Rk.NumericDecimal:return this.stateNumericDecimal(e,t);case Rk.NumericHex:return this.stateNumericHex(e,t);case Rk.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===$k.LOWER_X?(this.state=Rk.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Rk.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,o){if(t!==n){const r=n-t;this.result=this.result*Math.pow(o,r)+parseInt(e.substr(t,r),o),this.consumed+=r}}stateNumericHex(e,t){const n=t;for(;t=$k.UPPER_A&&o<=$k.UPPER_F||o>=$k.LOWER_A&&o<=$k.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,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=Ak.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==$k.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let o=n[this.treeIndex],r=(o&Mk.VALUE_LENGTH)>>14;for(;t=$k.UPPER_A&&e<=$k.UPPER_Z||e>=$k.LOWER_A&&e<=$k.LOWER_Z||Ik(e)}(i)))?0:this.emitNotTerminatedNamedEntity();if(o=n[this.treeIndex],r=(o&Mk.VALUE_LENGTH)>>14,0!==r){if(s===$k.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Ok.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var i;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,o=(n[t]&Mk.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]&~Mk.VALUE_LENGTH:o[e+1],n),3===t&&this.emitCodePoint(o[e+2],n),n}end(){var e;switch(this.state){case Rk.NamedEntity:return 0===this.result||this.decodeMode===Ok.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Rk.NumericDecimal:return this.emitNumericEntity(0,2);case Rk.NumericHex:return this.emitNumericEntity(0,3);case Rk.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Rk.EntityStart:return 0}}}function Nk(e){let t="";const n=new Pk(e,(e=>t+=Tk(e)));return function(e,o){let r=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(r,i),n.startEntity(o);const s=n.write(e,i+1);if(s<0){r=i+n.end();break}r=i+s,i=0===s?r+1:r}const s=t+e.slice(r);return t="",s}}function Dk(e,t,n,o){const r=(t&Mk.BRANCH_LENGTH)>>7,i=t&Mk.JUMP_TABLE;if(0===r)return 0!==i&&o===i?n:-1;if(i){const t=o-i;return t<0||t>=r?-1:e[n+t]-1}let s=n,a=s+r-1;for(;s<=a;){const t=s+a>>>1,n=e[t];if(no))return e[t+r];a=t-1}}return-1}const Fk=Nk(xk);function zk(e,t=Ok.Legacy){return Fk(e,t)}function Bk(e){for(let t=1;t'"]/g,jk),Hk(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Hk(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(Wk||(Wk={})),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"}(Vk||(Vk={}));const Gk=Object.prototype.hasOwnProperty;function qk(e,t){return Gk.call(e,t)}function Kk(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 Yk(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Zk(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 Jk(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Xk=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Qk=new RegExp(Xk.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),e_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function t_(e){return e.indexOf("\\")<0?e:e.replace(Xk,"$1")}function n_(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Qk,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&e_.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Zk(n)?Jk(n):e}const n=zk(e);return n!==e?n:e}(e,n)}))}const o_=/[&<>"]/,r_=/[&<>"]/g,i_={"&":"&","<":"<",">":">",'"':"""};function s_(e){return i_[e]}function a_(e){return o_.test(e)?e.replace(r_,s_):e}const l_=/[.?*+^$[\]\\(){}|-]/g;function c_(e){return e.replace(l_,"\\$&")}function u_(e){switch(e){case 9:case 32:return!0}return!1}function h_(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 d_(e){return yk.test(e)}function p_(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 g_(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const f_={mdurl:Te,ucmicro:$e};function m_(e,t,n){let o,r,i,s;const a=e.posMax,l=e.pos;for(e.pos=t+1,o=1;e.pos32))return i;if(41===o){if(0===s)break;s--}r++}return t===r||0!==s||(i.str=n_(e.slice(t,r)),i.pos=r,i.ok=!0),i}function b_(e,t,n){let o,r,i=0,s=t;const a={ok:!1,pos:0,lines:0,str:""};if(s>=n)return a;if(r=e.charCodeAt(s),34!==r&&39!==r&&40!==r)return a;for(s++,40===r&&(r=41);s"+a_(i.content)+""},y_.code_block=function(e,t,n,o,r){const i=e[t];return""+a_(e[t].content)+"\n"},y_.fence=function(e,t,n,o,r){const i=e[t],s=i.info?n_(i.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(i.content,l,c)||a_(i.content),0===a.indexOf("${a}\n`}return`
${a}
\n`},y_.image=function(e,t,n,o,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)},y_.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},y_.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},y_.text=function(e,t){return a_(e[t].content)},y_.html_block=function(e,t){return e[t].content},y_.html_inline=function(e,t){return e[t].content},w_.prototype.renderAttrs=function(e){let t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t\n":">",r},w_.prototype.renderInline=function(e,t,n){let o="";const r=this.rules;for(let i=0,s=e.length;i=0&&(n=this.attrs[t][1]),n},S_.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 E_=S_;function A_(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}A_.prototype.Token=E_;const T_=A_,$_=/\r\n?|\n/g,M_=/\0/g;function R_(e){return/^<\/a\s*>/i.test(e)}const O_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,L_=/\((c|tm|r)\)/i,I_=/\((c|tm|r)\)/gi,P_={c:"©",r:"®",tm:"™"};function N_(e,t){return P_[t.toLowerCase()]}function D_(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(I_,N_)),"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||O_.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 z_=/['"]/,B_=/['"]/g;function j_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function H_(e,t){let n;const o=[];for(let r=0;r=0&&!(o[n].level<=s);n--);if(o.length=n+1,"text"!==i.type)continue;let a=i.content,l=0,c=a.length;e:for(;l=0)g=a.charCodeAt(u.index-1);else for(n=r-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=r[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&i>0&&i--,R_(a.content)&&i++),!(i>0)&&"text"===a.type&&e.md.linkify.test(a.content)){const n=a.content;let i=e.md.linkify.match(n);const l=[];let c=a.level,u=0;i.length>0&&0===i[0].index&&s>0&&"text_special"===r[s-1].type&&(i=i.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",r]],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=i[t].lastIndex}if(u=0;t--)"inline"===e.tokens[t].type&&(L_.test(e.tokens[t].content)&&D_(e.tokens[t].children),O_.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&&z_.test(e.tokens[t].content)&&H_(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const o=e.tokens,r=o.length;for(let e=0;e0&&this.level++,this.tokens.push(o),o},G_.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},G_.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!u_(this.src.charCodeAt(--e)))return e+1;return e},G_.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},G_.prototype.getLines=function(e,t,n,o){if(e>=t)return"";const r=new Array(t-e);for(let i=0,s=e;sn?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},G_.prototype.Token=E_;const q_=G_;function K_(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function Y_(e){const t=[],n=e.length;let o=0,r=e.charCodeAt(o),i=!1,s=0,a="";for(;o=o)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=o)return-1;if(i=e.src.charCodeAt(r++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Q_="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eC=new RegExp("^(?:"+X_+"|"+Q_+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),tC=new RegExp("^(?:"+X_+"|"+Q_+")"),nC=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tC.source+"\\s*$"),/^$/,!1]],oC=[["table",function(e,t,n,o){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(124!==s&&45!==s&&58!==s)return!1;if(i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a&&!u_(a))return!1;if(45===s&&u_(a))return!1;for(;i=4)return!1;c=Y_(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=Y_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),r===t+2&&(e.push("tbody_open","tbody",1).map=f=[t+2,0]),e.push("tr_open","tr",1).map=[r,r+1];for(let t=0;t=4))break;o++,r=o}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}],["fence",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(r+3>i)return!1;const s=e.src.charCodeAt(r);if(126!==s&&96!==s)return!1;let a=r;r=e.skipChars(r,s);let l=r-a;if(l<3)return!1;const c=e.src.slice(a,r),u=e.src.slice(r,i);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(o)return!0;let h=t,d=!1;for(;!(h++,h>=n||(r=a=e.bMarks[h]+e.tShift[h],i=e.eMarks[h],r=4||(r=e.skipChars(r,s),r-a=4)return!1;if(62!==e.src.charCodeAt(r))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=i)break;if(62===e.src.charCodeAt(r++)&&!t){let t,n,o=e.sCount[p]+1;32===e.src.charCodeAt(r)?(r++,o++,n=!1,t=!0):9===e.src.charCodeAt(r)?(t=!0,(e.bsCount[p]+o)%4==3?(r++,o++,n=!1):n=!0):t=!1;let s=o;for(a.push(e.bMarks[p]),e.bMarks[p]=r;r=i,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]=r-e.bMarks[p];continue}if(g)break;let o=!1;for(let t=0,r=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 i=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(i++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;i=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(p=!0),(d=J_(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=Z_(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=r?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>=r&&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 C=!1;for(let t=0,o=b.length;t=4)return!1;if(91!==e.src.charCodeAt(i))return!1;for(;++i3)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(r))return!1;let s=e.src.slice(r,i),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(r);if(35!==s||r>=i)return!1;let a=1;for(s=e.src.charCodeAt(++r);35===s&&r6||rr&&u_(e.src.charCodeAt(l-1))&&(i=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(r,i).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 r=e.parentType;e.parentType="paragraph";let i,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===i?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let r=0,i=o.length;r3)continue;if(e.sCount[i]<0)continue;let t=!1;for(let r=0,s=o.length;r=n))&&!(e.sCount[s]=i){e.line=n;break}const t=e.line;let l=!1;for(let i=0;i=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=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o},sC.prototype.scanDelims=function(e,t){let n,o,r=!0,i=!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){uC[e.charCodeAt(0)]=1}));const dC={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(126!==o)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const s=String.fromCharCode(o);if(i<2)return!1;let a;i%2&&(a=e.push("text","",0),a.content=s,i--);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 r=t[o.end],i=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===r.token+1,s=String.fromCharCode(o.marker),a=e.tokens[o.token];a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?s+s:s,a.content="";const l=e.tokens[r.token];l.type=i?"strong_close":"em_close",l.tag=i?"strong":"em",l.nesting=-1,l.markup=i?s+s:s,l.content="",i&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}const gC={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 r=e.scanDelims(e.pos,42===o);for(let t=0;t\x00-\x20]*)$/,vC=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bC=/^&([a-z][a-z0-9]{1,31});/i;function yC(e){const t={},n=e.length;if(!n)return;let o=0,r=-2;const i=[];for(let s=0;sa;l-=i[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?i[l-1]+1:0;i[s]=s-l+o,i[l]=o,n.open=!1,t.end=s,t.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const wC=[["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(cC);if(!o)return!1;const r=o[1],i=e.md.linkify.matchAtStart(e.src.slice(n-r.length));if(!i)return!1;let s=i.url;if(s.length<=r.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,-r.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-r.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const o=e.pending.length-1,r=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 r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&t<=57343&&(i+=e.src[n+1],n++)}const s="\\"+i;if(!t){const t=e.push("text_special","",0);r<256&&0!==uC[r]?t.content=i: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 r=e.posMax;for(;n=h)return!1;if(l=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(s=e.md.normalizeLink(r.str),e.md.validateLink(s)?g=r.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)),i=e.env.references[g_(o)],!i)return e.pos=u,!1;s=i.href,a=i.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,r,i,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(i=g+1,i=d)return!1;for(c=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?i=a.pos:u=""),c=i;i=d||41!==e.src.charCodeAt(i))return e.pos=h,!1;i++}else{if(void 0===e.env.references)return!1;if(i=0?r=e.src.slice(c,i++):i=g+1):i=g+1,r||(r=e.src.slice(p,g)),s=e.env.references[g_(r)],!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),r=[["src",u],["alt",""]];n.attrs=r,n.children=t,n.content=o,l&&r.push(["title",l])}return e.pos=i,e.posMax=d,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const o=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const i=e.src.slice(o+1,n);if(mC.test(i)){const n=e.md.normalizeLink(i);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(i);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=i.length+2,!0}if(fC.test(i)){const n=e.md.normalizeLink("mailto:"+i);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(i);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=i.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 r=e.src.charCodeAt(o+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const i=e.src.slice(o).match(eC);if(!i)return!1;if(!t){const t=e.push("html_inline","",0);t.content=i[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+=i[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(vC);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=Zk(t)?Jk(t):Jk(65533),n.markup=o[0],n.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(bC);if(o){const n=zk(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}]],kC=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;yC(e.delimiters);for(let e=0;e0&&o++,"text"===r[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++,i[t]=e.pos},_C.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,o=e.posMax,r=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()},_C.prototype.parse=function(e,t,n,o){const r=new this.State(e,t,n,o);this.tokenize(r);const i=this.ruler2.getRules(""),s=i.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}}},MC="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]",RC="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function OC(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=wk.source,t.src_Cc=kk.source,t.src_Z=Ck.source,t.src_P=yk.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(MC),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 r=[];function i(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]"===SC(n))return"[object RegExp]"!==SC(n.validate)?EC(n.validate)?o.validate=n.validate:i(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(EC(n.normalize)?o.normalize=n.normalize:n.normalize?i(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===SC(e)}(n)?i(t,n):r.push(t)})),r.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(AC).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 LC(e,t){const n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function IC(e,t){const n=new LC(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function PC(e,t){if(!(this instanceof PC))return new PC(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||TC.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=xC({},TC,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=xC({},$C,e),this.__compiled__={},this.__tlds__=RC,this.__tlds_replaced__=!1,this.re={},OC(this)}PC.prototype.add=function(e,t){return this.__schemas__[e]=t,OC(this),this},PC.prototype.set=function(e){return this.__opts__=xC(this.__opts__,e),this},PC.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,o,r,i,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(r=this.testSchemaAt(e,t[2],a.lastIndex),r){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;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))&&(i=o.index+o[1].length,s=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s))),this.__index__>=0},PC.prototype.pretest=function(e){return this.re.pretest.test(e)},PC.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},PC.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(IC(this,n)),n=this.__last_index__);let o=n?e.slice(n):e;for(;this.test(o);)t.push(IC(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},PC.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,IC(this,0)):null},PC.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(),OC(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,OC(this),this)},PC.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},PC.prototype.onCompile=function(){};const NC=PC,DC=2147483647,FC=36,zC=/^xn--/,BC=/[^\0-\x7F]/,jC=/[\x2E\u3002\uFF0E\uFF61]/g,HC={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},WC=Math.floor,VC=String.fromCharCode;function UC(e){throw new RangeError(HC[e])}function GC(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]);const r=function(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}((e=e.replace(jC,".")).split("."),t).join(".");return o+r}function qC(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&n>1,e+=WC(e/t);e>455;o+=FC)e=WC(e/35);return WC(o+36*e/(e+38))},ZC=function(e){const t=[],n=e.length;let o=0,r=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&UC("not-basic"),t.push(e.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&UC("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:FC;s>=FC&&UC("invalid-input"),s>WC((DC-o)/t)&&UC("overflow"),o+=s*t;const c=r<=i?1:r>=i+26?26:r-i;if(sWC(DC/u)&&UC("overflow"),t*=u}const c=t.length+1;i=YC(o-s,c,0==s),WC(o/c)>DC-r&&UC("overflow"),r+=WC(o/c),o%=c,t.splice(o++,0,r)}var a;return String.fromCodePoint(...t)},JC=function(e){const t=[],n=(e=qC(e)).length;let o=128,r=0,i=72;for(const n of e)n<128&&t.push(VC(n));const s=t.length;let a=s;for(s&&t.push("-");a=o&&tWC((DC-r)/l)&&UC("overflow"),r+=(n-o)*l,o=n;for(const n of e)if(nDC&&UC("overflow"),n===o){let e=r;for(let n=FC;;n+=FC){const o=n<=i?1:n>=i+26?26:n-i;if(eString.fromCodePoint(...e)},decode:ZC,encode:JC,toASCII:function(e){return GC(e,(function(e){return BC.test(e)?"xn--"+JC(e):e}))},toUnicode:function(e){return GC(e,(function(e){return zC.test(e)?ZC(e.slice(4).toLowerCase()):e}))}},QC={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"]}}}},ex=/^(vbscript|javascript|file|data):/,tx=/^data:image\/(gif|png|jpeg|webp);/;function nx(e){const t=e.trim().toLowerCase();return!ex.test(t)||tx.test(t)}const ox=["http:","https:","mailto:"];function rx(e){const t=bk(e,!0);if(t.hostname&&(!t.protocol||ox.indexOf(t.protocol)>=0))try{t.hostname=XC.toASCII(t.hostname)}catch(e){}return rk(ik(t))}function ix(e){const t=bk(e,!0);if(t.hostname&&(!t.protocol||ox.indexOf(t.protocol)>=0))try{t.hostname=XC.toUnicode(t.hostname)}catch(e){}return tk(ik(t),tk.defaultChars+"%")}function sx(e,t){if(!(this instanceof sx))return new sx(e,t);t||Uk(e)||(t=e||{},e="default"),this.inline=new CC,this.block=new iC,this.core=new U_,this.renderer=new k_,this.linkify=new NC,this.validateLink=nx,this.normalizeLink=rx,this.normalizeLinkText=ix,this.utils=Me,this.helpers=Kk({},Re),this.options={},this.configure(e),t&&this.set(t)}sx.prototype.set=function(e){return Kk(this.options,e),this},sx.prototype.configure=function(e){const t=this;if(Uk(e)){const t=e;if(!(e=QC[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},sx.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},sx.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},sx.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},sx.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},sx.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},sx.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},sx.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const ax=new sx;function lx(e){const{content:t,...n}=e;return(0,Ke.createElement)(ms.RawHTML,{onClick:e=>{"A"===e.target.nodeName&&(window.confirm((0,vs.__)("Are you sure you wish to leave this page?","ghostkit"))||e.preventDefault())},...n},t&&t.length?ax.render(t):"")}const{name:cx}=Xw,ux={icon:xi("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:r}=t;let{className:i}=e;const[s,a]=(0,ms.useState)("editor"),l=(0,ms.useRef)();(0,ms.useEffect)((()=>{o||"preview"!==s||a("editor")}),[o,s]),(0,ms.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");i=cs()("ghostkit-markdown",i);const h=(0,ds.useBlockProps)({className:i});return o||r&&""!==r.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,vs.__)("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,vs.__)("Preview","ghostkit"))))),"preview"!==s&&o?(0,Ke.createElement)(ds.PlainText,{onChange:e=>{n({content:e})},onKeyDown:e=>{8===e.keyCode&&""===r&&(u(c),e.preventDefault())},"aria-label":(0,vs.__)("Markdown","ghostkit"),ref:l,value:r}):(0,Ke.createElement)(lx,{content:r})):(0,Ke.createElement)("div",{...h},(0,Ke.createElement)("p",null,(0,vs.__)("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 r=ds.useBlockProps.save({className:o});return(0,Ke.createElement)(lx,{content:n,...r})}},hx=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"}}}'),dx="ghostkit/pricing-table-item",{name:px}=hx,{name:gx}=hx,fx={icon:xi("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:r=""}=e;const{count:i,gap:s,gapCustom:a,verticalAlign:l,horizontalAlign:c}=t,{itemsCount:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,getBlockCount:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{itemsCount:n(o),isSelectedBlockInRoot:t(o)||r(o,!0)}})),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,ms.useEffect)((()=>{i!==u&&n({count:u})}),[i,u,n]),r=cs()(r,"ghostkit-pricing-table",`ghostkit-pricing-table-gap-${s}`,!!i&&`ghostkit-pricing-table-items-${i}`,!!l&&`ghostkit-pricing-table-align-vertical-${l}`,!!c&&`ghostkit-pricing-table-align-horizontal-${c}`),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const p=(0,ds.useBlockProps)({className:r}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-pricing-table-inner"},{template:[[dx],[dx]],allowedBlocks:[dx],orientation:"horizontal",renderAppender:!1});return(0,Ke.createElement)("div",{...p},(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e})})),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-top"),title:(0,vs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-center"),title:(0,vs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-bottom"),title:(0,vs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Vertical align","ghostkit"),label:(0,vs.__)("Vertical align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:(0,vs.__)("Vertical align","ghostkit")},(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-top"),title:(0,vs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-center"),title:(0,vs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-bottom"),title:(0,vs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l})))),(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Horizontal align","ghostkit"),label:(0,vs.__)("Horizontal align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e}),isCollapsed:!1})))),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:s,gapCustom:a,onChange:e=>{n(e)}}))),(0,Ke.createElement)("div",{...f},g,h&&i<6?(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-add-item"},(0,Ke.createElement)(us.Button,{isSecondary:!0,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:()=>{d((0,cm.createBlock)("ghostkit/pricing-table-item"),void 0,o)}},(0,vs.__)("Add Pricing Table","ghostkit"))):null))},save:function(e){const{count:t,gap:n,verticalAlign:o,horizontalAlign:r}=e.attributes;let i=cs()("ghostkit-pricing-table",`ghostkit-pricing-table-gap-${n}`,!!t&&`ghostkit-pricing-table-items-${t}`,!!o&&`ghostkit-pricing-table-align-vertical-${o}`,!!r&&`ghostkit-pricing-table-align-horizontal-${r}`);i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:px,...e});const s=ds.useBlockProps.save({className:i}),a=ds.useInnerBlocksProps.save({className:"ghostkit-pricing-table-inner"});return(0,Ke.createElement)("div",{...s},(0,Ke.createElement)("div",{...a}))}},mx=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:vx}=mx,{name:bx}=mx,yx={icon:xi("block-pricing-table",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{popularText:r,title:i,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,Ke.createElement)("div",{...w},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.BaseControl,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Popular Badge","ghostkit"),checked:!!h,onChange:e=>n({showPopular:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Title","ghostkit"),checked:!!d,onChange:e=>n({showTitle:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Price","ghostkit"),checked:!!p,onChange:e=>n({showPrice:e})}),p?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Price Currency","ghostkit"),checked:!!g,onChange:e=>n({showPriceCurrency:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Price Repeat","ghostkit"),checked:!!f,onChange:e=>n({showPriceRepeat:e})})):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Description","ghostkit"),checked:!!m,onChange:e=>n({showDescription:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Features","ghostkit"),checked:!!v,onChange:e=>n({showFeatures:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Button","ghostkit"),checked:!!b,onChange:e=>n({showButton:e})})))),(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item"},d?(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"h3",className:"ghostkit-pricing-table-item-title",onChange:e=>n({title:e}),value:i,placeholder:(0,vs.__)("Plan","ghostkit"),withoutInteractiveFormatting:!0}):null,p?(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price"},!g||ds.RichText.isEmpty(a)&&!o?null:(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price-currency"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceCurrency:e}),value:a,placeholder:(0,vs.__)("$","ghostkit"),withoutInteractiveFormatting:!0})),(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price-amount"},(0,Ke.createElement)(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,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price-repeat"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceRepeat:e}),value:l,placeholder:(0,vs.__)("/mo","ghostkit"),withoutInteractiveFormatting:!0}))):null,!m||ds.RichText.isEmpty(c)&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-pricing-table-item-description",onChange:e=>n({description:e}),value:c,placeholder:(0,vs.__)("Description","ghostkit"),withoutInteractiveFormatting:!0}),!v||ds.RichText.isEmpty(u)&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"ul",multiline:"li",className:"ghostkit-pricing-table-item-features",onChange:e=>n({features:e}),value:u,placeholder:(0,vs.__)("Add features","ghostkit")}),b?(0,Ke.createElement)("div",{...k}):null,!h||ds.RichText.isEmpty(r)&&!o?null:(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-popular-badge"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({popularText:e}),value:r,placeholder:(0,vs.__)("Popular","ghostkit"),withoutInteractiveFormatting:!0}))))},save:function(e){const{popularText:t,title:n,price:o,description:r,priceCurrency:i,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:vx,...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(i)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-currency",value:i}):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(r)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-pricing-table-item-description",value:r}):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))}},wx=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:kx}=wx,{name:Cx}=wx,xx={icon:xi("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:r}=e;let{className:i=""}=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;i=cs()("ghostkit-progress",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const y=(0,ds.useBlockProps)({className:i});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Height","ghostkit"),value:a||"",onChange:e=>n({height:e}),min:1,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Percent","ghostkit"),value:l||"",onChange:e=>n({percent:e}),min:0,max:100}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Corner Radius","ghostkit"),value:c,min:0,max:10,onChange:e=>n({borderRadius:e}),allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Count","ghostkit"),checked:!!d,onChange:e=>n({showCount:e})}),d?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Count Prefix","ghostkit"),value:p,onChange:e=>n({countPrefix:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Count Suffix","ghostkit"),value:g,onChange:e=>n({countSuffix:e})})):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Striped","ghostkit"),checked:!!u,onChange:e=>n({striped:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Animate in viewport","ghostkit"),checked:!!h,onChange:e=>n({animateInViewport:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:f}),(0,Ke.createElement)(hs,{colorValue:m})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Bar","ghostkit"),value:o?v:f,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})),(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverBackgroundColor":"backgroundColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Background","ghostkit"),value:o?b:m,onChange:e=>n(o?{hoverBackgroundColor:e}:{backgroundColor:e}),alpha:!0,gradient:!0})))})))),(0,Ke.createElement)("div",{...y},!ds.RichText.isEmpty(s)||o?(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-progress-caption",placeholder:(0,vs.__)("Write caption…","ghostkit"),value:s,onChange:e=>n({caption:e})}):null,d?(0,Ke.createElement)("div",{className:"ghostkit-progress-bar-count",style:{width:`${l}%`}},(0,Ke.createElement)("div",null,p,l,g)):null,(0,Ke.createElement)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:a},minWidth:"0%",maxWidth:"100%",minHeight:"1",enable:{bottom:!0},onResizeStart:()=>{r(!1)},onResizeStop:(e,t,o,i)=>{n({height:parseInt(a+i.height,10)}),r(!0)}},(0,Ke.createElement)("div",{className:cs()({"ghostkit-progress-wrap":!0,"ghostkit-progress-bar-striped":u})},(0,Ke.createElement)(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:()=>{r(!1)},onResizeStop:(e,t,o,i)=>{n({percent:Math.min(100,Math.max(0,l+parseInt(100*i.width/o.parentNode.getBoundingClientRect().width,10)))}),r(!0)}})))))},save:function(e){const{caption:t,percent:n,striped:o,showCount:r,countPrefix:i,countSuffix:s,animateInViewport:a}=e.attributes;let l="ghostkit-progress";l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:kx,...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})),r?(0,Ke.createElement)("div",{className:"ghostkit-progress-bar-count",style:{width:`${n}%`}},(0,Ke.createElement)("div",null,(0,Ke.createElement)("span",null,i),(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"})))}},Sx=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 Ex(e){const{title:t,children:n}=e,[o,r]=(0,ms.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:()=>{r(!o)}},xi("icon-arrow-right")),!o&&n&&(0,Ke.createElement)("div",null,n)))}Ex.Button=function(e){const{children:t}=e;return(0,Ke.createElement)("a",{className:"ghostkit-pro-component-note-button",...e},t)};const{GHOSTKIT:Ax}=window,{version:Tx}=window.ghostkitVariables,{shapes:$x}=Ax;function Mx(e){let t={allow_flip_vertical:!0,allow_flip_horizontal:!0},n=!1;return Object.keys($x).forEach((o=>{const r=$x[o];Object.keys(r.shapes).forEach((o=>{const i=r.shapes[o];i.svg&&i.svg===gt(e)&&!n&&(t=i,n=!0)}))})),t}const{name:Rx}=Sx,{name:Ox}=Sx,Lx={icon:xi("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],r=n.split("_")[1];r||(r=o,o=""),!r||"height"!==r&&"width"!==r||("height"===r&&o?t[`media_${o}`].svg.height=`${e[n]}px`:"height"===r?t.svg.height=`${e[n]}px`:"width"===r&&o?t[`media_${o}`].svg.width=`${e[n]}%`:"width"===r&&(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:r,flipHorizontal:i,color:s}=t;let{className:a=""}=e;const{device:l}=Ji();function c(){return(0,Ke.createElement)("div",{className:"ghostkit-shape-divider-control-styles"},Object.keys($x).map((e=>{const t=$x[e],a=[];return Object.keys(t.shapes).forEach((n=>{const o=t.shapes[n];a.push({label:o.label,value:o.svg,image:(0,Ke.createElement)("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,Ke.createElement)("div",{key:e},(0,Ke.createElement)("h3",null,t.name),(0,Ke.createElement)(tp,{value:gt(o),options:a,onChange:e=>{const t=Mx(e);n({svg:pt(e),flipVertical:!!t.allow_flip_vertical&&r,flipHorizontal:!!t.allow_flip_horizontal&&i})}}),(0,Ke.createElement)(Ex,{title:(0,vs.__)("Pro Shapes","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Additional 30 shapes available in the Ghost Kit Pro plugin only","ghostkit")),(0,Ke.createElement)(Ex.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=${Tx}`},(0,vs.__)("Read More","ghostkit"))))})))}(0,ms.useEffect)((()=>{if(!o){const e={};Object.keys($x).forEach((t=>{const n=$x[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=Mx(o);a=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":u.allow_flip_vertical&&r,"ghostkit-shape-divider-flip-horizontal":u.allow_flip_horizontal&&i},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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,u.allow_flip_vertical?(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-vertical"),title:(0,vs.__)("Vertical Flip","ghostkit"),onClick:()=>n({flipVertical:!r}),isActive:r}):null,u.allow_flip_horizontal?(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-horizontal"),title:(0,vs.__)("Horizontal Flip","ghostkit"),onClick:()=>n({flipHorizontal:!i}),isActive:i}):null,(0,Ke.createElement)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,Ke.createElement)(us.ToolbarButton,{label:(0,vs.__)("Shapes","ghostkit"),icon:"edit",className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,Ke.createElement)("div",{style:{minWidth:260}},c())}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Style","ghostkit")},c()),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Size","ghostkit")},(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Height","ghostkit"),(0,Ke.createElement)(Zp,{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}),(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Width","ghostkit"),(0,Ke.createElement)(Zp,{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})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:s,onChange:e=>n({color:e}),alpha:!0}))),(0,Ke.createElement)("div",{...h}))},save:function(e){const{svg:t,flipVertical:n,flipHorizontal:o}=e.attributes;let r=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":n,"ghostkit-shape-divider-flip-horizontal":o});r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:Rx,...e});const i=ds.useBlockProps.save({className:r,dangerouslySetInnerHTML:{__html:gt(t)}});return(0,Ke.createElement)("div",{...i})}},Ix=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 Px(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,...Px(e.innerBlocks,t)])})),n}const{name:Nx}=Ix,Dx={icon:xi("block-table-of-contents",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/table-of-contents/"},edit:function(e){const t=(0,ms.useRef)();let{className:n}=e;const{setAttributes:o,attributes:r,isSelected:i}=e,{title:s,allowedHeaders:a,listStyle:l}=r,{headings:c,tocHTML:u}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor"),n=Px(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,Ke.createElement)("div",{...h},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Allowed Headers","ghostkit"),value:a,options:[{value:1,label:(0,vs.__)("Heading 1","ghostkit")},{value:2,label:(0,vs.__)("Heading 2","ghostkit")},{value:3,label:(0,vs.__)("Heading 3","ghostkit")},{value:4,label:(0,vs.__)("Heading 4","ghostkit")},{value:5,label:(0,vs.__)("Heading 5","ghostkit")},{value:6,label:(0,vs.__)("Heading 6","ghostkit")}],onChange:e=>{o({allowedHeaders:e.map((e=>parseInt(e,10)))})},multiple:!0}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("List Style","ghostkit"),value:l,options:[{value:"ol",label:(0,vs.__)("Numbered List","ghostkit")},{value:"ul",label:(0,vs.__)("Dotted List","ghostkit")},{value:"ol-styled",label:(0,vs.__)("Numbered List Styled","ghostkit")},{value:"ul-styled",label:(0,vs.__)("Dotted List Styled","ghostkit")}],onChange:e=>o({listStyle:e})}))),c&&c.length?(0,Ke.createElement)(Ke.Fragment,null,!ds.RichText.isEmpty(s)||i?(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"h5",className:"ghostkit-toc-title",placeholder:(0,vs.__)("Write title…","ghostkit"),format:"string",value:s,onChange:e=>o({title:e})}):null,u?null:(0,Ke.createElement)("div",{className:cs()("ghostkit-toc-spinner",!u&&!t.current&&"ghostkit-toc-spinner-relative")},(0,Ke.createElement)(us.Spinner,null)),u||t.current?(0,Ke.createElement)(us.Disabled,null,(0,Ke.createElement)("div",{className:"ghostkit-toc-list block-library-list"},(0,Ke.createElement)(ms.RawHTML,null,u||t.current))):null):(0,Ke.createElement)(us.Placeholder,{icon:xi("block-table-of-contents"),label:(0,vs.__)("Table of Contents","ghostkit"),instructions:(0,vs.__)("Start adding Heading blocks to create a table of contents. Headings with HTML anchors will be linked here.","ghostkit")}))},save:function(){return null}},Fx=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:zx}=Fx,Bx=[{...Fx,save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:r,tabsData:i=[]}=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:zx,...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-${r}`)},i.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 jx({attributes:e,setAttributes:t}){const{buttonsAlign:n,buttonsVerticalAlign:o}=e,r={start:{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Buttons Justify Start","ghostkit")},center:{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Buttons Justify Center","ghostkit")},end:{icon:xi("icon-horizontal-end"),label:(0,vs.__)("Buttons Justify End","ghostkit")},stretch:{icon:xi("icon-horizontal-stretch"),label:(0,vs.__)("Buttons Justify Stretch","ghostkit")}};o&&(r.start.icon=xi("icon-vertical-top"),r.start.label=(0,vs.__)("Buttons Vertical Start","ghostkit"),r.center.icon=xi("icon-vertical-center"),r.center.label=(0,vs.__)("Buttons Vertical Center","ghostkit"),r.end.icon=xi("icon-vertical-bottom"),r.end.label=(0,vs.__)("Buttons Vertical End","ghostkit"),r.stretch=void 0);const i=[];Object.entries(r).forEach((e=>{e[1]&&i.push({title:e[1].label,icon:e[1].icon,isActive:n===e[0],onClick:()=>t({buttonsAlign:e[0]})})}));const s=o?(0,vs.__)("Buttons Vertical Align","ghostkit"):(0,vs.__)("Buttons Justify Align","ghostkit");return(0,Ke.createElement)(ds.BlockControls,{group:"block"},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:r[n].icon,label:s,controls:i})))}function Hx({attributes:e,setAttributes:t}){const{trigger:n,buttonsAlign:o,buttonsVerticalAlign:r}=e;return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Select Tab Trigger","ghostkit"),value:n,options:[{value:"",label:(0,vs.__)("Click","ghostkit")},{value:"hover",label:(0,vs.__)("Hover","ghostkit")}],onChange:e=>{t({trigger:e})}}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Vertical Tabs","ghostkit"),checked:!!r,onChange:e=>{t({buttonsVerticalAlign:e}),e&&"stretch"===o&&t({buttonsAlign:"start"})}})))}const{name:Wx}=Fx,Vx={from:[{type:"block",blocks:["ghostkit/accordion"],transform(e,t){const n=[];let o="";return t.forEach((e=>{const t=Pi(`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,cm.createBlock)("ghostkit/tabs-v2",{tabsData:n,tabActive:o},n.map(((e,n)=>(0,cm.createBlock)("ghostkit/tabs-tab-v2",{slug:e.slug},t[n]?t[n].innerBlocks:""))))}}]},{name:Ux}=Fx,Gx={icon:xi("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:r=""}=e;const{tabActive:i,buttonsVerticalAlign:s,buttonsAlign:a,tabsData:l=[]}=t,{getBlocks:c,block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,getBlocks:n,isBlockSelected:r,hasSelectedInnerBlock:i}=e("core/block-editor");return{getBlocks:n,block:t(o),isSelectedBlockInRoot:r(o)||i(o,!0)}})),{updateBlockAttributes:d,removeBlock:p,replaceInnerBlocks:g}=(0,Ze.useDispatch)("core/block-editor");r=cs()(r,"ghostkit-tabs",s&&"ghostkit-tabs-buttons-vertical"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const f=(0,ds.useBlockProps)({className:r}),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)(jx,{attributes:t,setAttributes:n}),(0,Ke.createElement)(Hx,{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:r}=e,s=i===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,vs.__)("Tab label","ghostkit"),value:r,onFocus:()=>n({tabActive:o}),onChange:e=>{((e,t)=>{const o=u.innerBlocks;if(o[t]){const r=Pi(`tab ${e}`,o[t].clientId),i=l.map(((n,o)=>t===o?{...n,title:e,slug:r}:n));n({tabActive:r,tabsData:i}),d(o[t].clientId,{slug:r})}})(e,t)},withoutInteractiveFormatting:!0}),(0,Ke.createElement)(ig,{show:h,tooltipText:(0,vs.__)("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,vs.__)("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 r=(0,cm.createBlock)("ghostkit/tabs-tab-v2",{slug:`tab-${t}`,title:`Tab ${t}`});let i=c(o);i=[...i,r],g(o,i,!1),n({tabsData:e})}})):null),(0,Ke.createElement)("div",{...m})))},save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:r,tabsData:i=[]}=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:Wx,...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-${r}`),role:"tablist","aria-orientation":o?"vertical":"horizontal"},i.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:Vx,deprecated:Bx},qx=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:Kx}=qx,Yx=[{...qx,save:function(e){const{slug:t}=e.attributes;let n="ghostkit-tab";n=(0,os.applyFilters)("ghostkit.blocks.className",n,{name:Kx,...e});const o=ds.useBlockProps.save({className:n,"data-tab":t}),r=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...r})}}],{name:Zx}=qx,{name:Jx}=qx,Xx={icon:xi("block-tab",!0),edit:function(e){const{clientId:t,attributes:n,setAttributes:o,context:r}=e,{slug:i,active:s,anchor:a}=n,{"ghostkit/tabActive":l}=r;let{className:c=""}=e;(0,ms.useEffect)((()=>{l!==i||s?l!==i&&s&&o({active:!1}):o({active:!0})}),[s,o,i,l]),(0,ms.useEffect)((()=>{a!==`${i}-content`&&o({anchor:`${i}-content`})}),[i,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===i&&"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":i,"data-tab":i}),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:Zx,...e});const r=ds.useBlockProps.save({className:o,tabIndex:0,role:"tabpanel","aria-labelledby":`${t}-button`,"data-tab":t}),i=ds.useInnerBlocksProps.save(r);return(0,Ke.createElement)("div",{...i})},deprecated:Yx},Qx=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:eS}=Qx,tS=[{...Qx,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 ms.Component{render(){const{attributes:e}=this.props,{photoId:t,photoUrl:n,photoAlt:o,photoWidth:r,photoHeight:i,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:eS,...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)(ep.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:r,height:i})):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)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c})))):null)}}}],nS="thumbnail",{name:oS}=Qx,rS=window.wp.richText,iS={from:[{type:"block",blocks:["core/quote","core/pullquote"],transform(e){const t=(0,rS.split)((0,rS.create)({html:e.value,multilineTag:"p"}),rS.__UNSTABLE_LINE_SEPARATOR);return(0,cm.createBlock)("ghostkit/testimonial",{source:e.citation||""},t.map((e=>(0,cm.createBlock)("core/paragraph",{content:(0,rS.toHTMLString)({value:e})}))))}}]},{name:sS}=Qx,aS={icon:xi("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:r}=e;let{className:i=""}=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:i}=e("core");return{hasChildBlocks:!!n&&n.getBlockOrder(r).length>0,editorSettings:n.getSettings(),photoImage:t.photoId&&o?i(t.photoId):null}})),C=(e,o=!1)=>{o=o||t.photoSizeSlug||nS;const r={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 i=e.sizes&&e.sizes[o];!i&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[o]&&(i=e.media_details.sizes[o]),i&&(i.url&&(r.photoUrl=i.url),i.source_url&&(r.photoUrl=i.source_url),i.width&&(r.photoWidth=i.width),i.height&&(r.photoHeight=i.height)),n(r)};i=cs()("ghostkit-testimonial",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const x=(0,ds.useBlockProps)({className:i}),S=(0,ds.useInnerBlocksProps)({},{renderAppender:w?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Photo","ghostkit")},l?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select Image","ghostkit"))}),l?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:c,alt:u,width:h,height:d})))}),(0,Ke.createElement)("div",{style:{marginTop:-20}}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{n({photoId:"",photoUrl:"",photoAlt:"",photoWidth:"",photoHeight:""}),e.preventDefault()},className:"button button-secondary"},(0,vs.__)("Remove Image","ghostkit")),(0,Ke.createElement)("div",{style:{marginBottom:13}}),k&&k.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:p||nS,onChange:e=>{C(_,e)},options:k.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:u,onChange:e=>n({photoAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Stars","ghostkit")},(0,Ke.createElement)(rg,{value:g,min:0,max:5,step:.5,beforeIcon:"star-filled",allowReset:!0,onChange:e=>n({stars:e})}),"number"==typeof g?(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:f,onChange:e=>n({starsIcon:e}),insideInspector:!0}):null)),(0,Ke.createElement)(Ng,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,Ke.createElement)("div",{...x},s?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-icon"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,(0,Ke.createElement)("div",{className:"ghostkit-testimonial-content"},(0,Ke.createElement)("div",{...S})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-photo"},l?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e},(0,Ke.createElement)("span",{className:"dashicons dashicons-format-image"}))}),l?(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:c,alt:u,width:h,height:d}))}):null),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-meta"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-name",placeholder:(0,vs.__)("Write name…","ghostkit"),value:t.name,onChange:e=>n({name:e})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-source",placeholder:(0,vs.__)("Write source…","ghostkit"),value:a,onChange:e=>n({source:e})})),"number"==typeof g&&f?(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*g/5+"%"}},(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f})))):null))},save:function(e){const{attributes:t}=e,{photoId:n,photoUrl:o,photoAlt:r,photoWidth:i,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:oS,...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)(ep.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:r,className:n?`wp-image-${n}`:null,width:i,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)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u})))):null)},transforms:iS,deprecated:tS},lS=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":{"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:cS}=lS,uS={icon:xi("block-twitter",!0),ghostkit:{},edit:function e(t){const{setAttributes:n,attributes:o}=t;let{className:r}=t;const{consumerKey:i,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:C,showProfileStats:x,showProfileDescription:S,showProfileWebsite:E,showProfileLocation:A}=o,{twitterFeed:T,twitterProfile:$}=(0,Ze.useSelect)((e=>{if(!(i&&s&&a&&l&&c))return!1;const t={consumer_key:i,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);r=cs()("ghostkit-twitter",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,t);const M=i&&s&&a&&l&&c;return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,M?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Username","ghostkit"),value:c,onChange:e=>n({userName:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Feed","ghostkit")},(0,Ke.createElement)(rg,{label:(0,vs.__)("Tweets Number","ghostkit"),value:u,onChange:e=>n({count:e}),min:1,max:20}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Replies","ghostkit"),checked:!!h,onChange:e=>n({showReplies:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Retweets","ghostkit"),checked:!!d,onChange:e=>n({showRetweets:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Avatar","ghostkit"),checked:!!p,onChange:e=>n({showFeedAvatar:e})}),p?(0,Ke.createElement)(rg,{label:(0,vs.__)("Avatar Size","ghostkit"),value:g,onChange:e=>n({feedAvatarSize:e}),min:10,max:100,allowCustomMin:!0,allowCustomMax:!0}):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Name","ghostkit"),checked:!!f,onChange:e=>n({showFeedName:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Date","ghostkit"),checked:!!m,onChange:e=>n({showFeedDate:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Actions","ghostkit"),checked:!!y,onChange:e=>n({showFeedActions:e})}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Text Mode","ghostkit"),value:v,options:[{value:"",label:(0,vs.__)("Short","ghostkit")},{value:"full",label:(0,vs.__)("Full","ghostkit")}],onChange:e=>n({feedTextMode:e})}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Convert Text Links","ghostkit"),value:b,options:[{value:"links_media",label:(0,vs.__)("Links + Media","ghostkit")},{value:"links",label:(0,vs.__)("Links","ghostkit")},{value:"no",label:(0,vs.__)("No Convert","ghostkit")}],onChange:e=>n({feedTextConvertLinks:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Profile","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Profile","ghostkit"),checked:!!w,onChange:e=>n({showProfile:e})}),w?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Avatar","ghostkit"),checked:!!k,onChange:e=>n({showProfileAvatar:e})}),k?(0,Ke.createElement)(rg,{label:(0,vs.__)("Avatar Size","ghostkit"),value:_,onChange:e=>n({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0}):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Name","ghostkit"),checked:!!C,onChange:e=>n({showProfileName:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Stats","ghostkit"),checked:!!x,onChange:e=>n({showProfileStats:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Description","ghostkit"),checked:!!S,onChange:e=>n({showProfileDescription:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Website","ghostkit"),checked:!!E,onChange:e=>n({showProfileWebsite:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Location","ghostkit"),checked:!!A,onChange:e=>n({showProfileLocation:e})})):null)):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("API Data","ghostkit"),initialOpen:!M},(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Consumer Key","ghostkit"),value:i,onChange:e=>n({consumerKey:e})}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Consumer Secret","ghostkit"),value:s,onChange:e=>n({consumerSecret:e})}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Access Token","ghostkit"),value:a,onChange:e=>n({accessToken:e})}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Access Token Secret","ghostkit"),value:l,onChange:e=>n({accessTokenSecret:e})}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("A valid API data is required to use Twitter feed. How to get it","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"http://www.gabfirethemes.com/create-twitter-api-key/"},"http://www.gabfirethemes.com/create-twitter-api-key/"))))),(0,Ke.createElement)("div",{className:r},M&&w&&$?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile"},k&&$.profile_images_https?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-avatar"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`},(0,Ke.createElement)("img",{src:$.profile_images_https.original,alt:$.fullName,width:_,height:_}))):null,(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-side"},C&&$.name?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-name"},(0,Ke.createElement)("h2",{className:"ghostkit-twitter-profile-fullname"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`},$.name),$.verified?(0,Ke.createElement)("span",{className:"ghostkit-twitter-profile-verified"},(0,vs.__)("Verified account","ghostkit")):null),(0,Ke.createElement)("h3",{className:"ghostkit-twitter-profile-username"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`},"@",$.screen_name))):null,x?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-stats"},(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,$.statuses_count_short)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Tweets","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,$.friends_count_short)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Following","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,$.followers_count_short)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Followers","ghostkit")))):null,S&&$.description_entitled?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-description",dangerouslySetInnerHTML:{__html:$.description_entitled}}):null,E&&$.url_entitled?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-website",dangerouslySetInnerHTML:{__html:` ${$.url_entitled}`}}):null,A&&$.location?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-location",dangerouslySetInnerHTML:{__html:` ${$.location}`}}):null)):null,M&&T?(0,Ke.createElement)("div",{className:"ghostkit-twitter-items"},T.map(((e,t)=>{const n=e;let o=!1;e.retweeted_status&&(e=e.retweeted_status,o=!0);const r=`twitter-item-${t}`;return(0,Ke.createElement)("div",{className:"ghostkit-twitter-item",key:r},p?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-avatar"},o&&(0,Ke.createElement)("br",null),(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`},(0,Ke.createElement)("img",{src:e.user.profile_images_https.bigger,alt:e.user.screen_name,width:g,height:g}))):null,(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-content"},o?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-retweeted"},(0,Ke.createElement)("span",{className:"ghostkit-twitter-item-retweeted-icon",dangerouslySetInnerHTML:{__html:''}}),(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${n.user.screen_name}/`},(0,Ke.createElement)("strong",null,n.user.name)),(0,vs.__)("Retweeted","ghostkit")):null,f||m?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-meta"},f?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-meta-name"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`},(0,Ke.createElement)("strong",null,e.user.name)," ",e.user.verified?(0,Ke.createElement)("span",{className:"ghostkit-twitter-item-meta-name-verified"},(0,vs.__)("Verified account","ghostkit")):null," ",(0,Ke.createElement)("span",null,"@",e.user.screen_name))):null,m?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-meta-date"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`},e.date_formatted)):null):null,"links_media"===b?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled}}):null,"links"===b?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled_no_media}}):null,"links_media"!==b&&"links"!==b?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text}}):null,y?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-actions"},(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-actions-retweet"},(0,Ke.createElement)("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,Ke.createElement)("div",{className:"ghostkit-twitter-item-actions-like"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`},(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:"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,Ke.createElement)("span",null,e.favorite_count_short):null))):null))}))):null,M&&!T?(0,Ke.createElement)("div",{className:"ghostkit-twitter-spinner"},(0,Ke.createElement)(us.Spinner,null)):null,M?null:(0,Ke.createElement)(us.Placeholder,{icon:xi("block-twitter"),label:(0,vs.__)("Twitter","ghostkit"),instructions:(0,vs.__)("A valid API data is required to use Twitter feed. You can fill it in the block settings in Inspector.","ghostkit"),className:r})))},save:function(){return null}},hS=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 dS(e){const{attributes:t,setAttributes:n,clientId:o}=e,{type:r,clickAction:i,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"===r&&"plain"===i&&!f,v="video"===r&&"fullscreen"===i,b="fullscreen"===i;return g&&m||g&&v||g&&"yt_vm_video"===r&&b?(0,Ke.createElement)(ds.InspectorControls,{group:"color"},m&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:s,gradientValue:a,label:(0,vs.__)("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,vs.__)("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,vs.__)("Fullscreen Background","ghostkit"),onColorChange:e=>{n({fullscreenBackgroundColor:e})},onGradientChange:e=>{n({fullscreenBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({fullscreenBackgroundColor:void 0})}],panelId:o,...p})):null}function pS({nameAttributes:e,setAttributes:t,children:n=(0,vs.__)("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 gS="full";function fS(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{type:r,video:i,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:C,fullscreenBackgroundColor:x,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||_||gS;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 r=e.sizes&&e.sizes[t];!r&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]&&(r=e.media_details.sizes[t]),r&&(r.url&&(o.posterUrl=r.url),r.source_url&&(o.posterUrl=r.source_url),r.width&&(o.posterWidth=r.width),r.height&&(o.posterHeight=r.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,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ag,{value:r,options:[{label:(0,vs.__)("YouTube / Vimeo","ghostkit"),value:"yt_vm_video"},{label:(0,vs.__)("Self Hosted","ghostkit"),value:"video"}],onChange:e=>n({type:e}),isBlock:!0}),"yt_vm_video"===r&&(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Video URL","ghostkit"),type:"url",value:i,onChange:e=>n({video:e})}),"video"===r&&(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Select Video","ghostkit"),label:(0,vs.__)("Select Video","ghostkit")},(0,Ke.createElement)("div",{style:{display:"flex",gap:"10px"}},!s&&(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{R(e,["videoMp4","videoMp4Id"])},allowedTypes:["video/mp4","video/m4v"],value:s,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("MP4","ghostkit"))}),!a&&(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{R(e,["videoOgv","videoOgvId"])},allowedTypes:["video/ogg","video/ogv"],value:a,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("OGV","ghostkit"))}),!l&&(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{R(e,["videoWebm","videoWebmId"])},allowedTypes:["video/webm"],value:l,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("WEBM","ghostkit"))}))),"video"===r&&(s||a||l)?(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Preview","ghostkit"),label:(0,vs.__)("Preview","ghostkit")},(0,Ke.createElement)("video",{controls:!0,style:{aspectRatio:"16/9",backgroundColor:g}},s?(0,Ke.createElement)("source",{src:s,type:"video/mp4"}):null,a?(0,Ke.createElement)("source",{src:a,type:"video/ogg"}):null,l?(0,Ke.createElement)("source",{src:l,type:"video/webm"}):null),(0,Ke.createElement)("span",null,s?.substring(s.lastIndexOf("/")+1),a?.substring(a.lastIndexOf("/")+1),l?.substring(l.lastIndexOf("/")+1)),(0,Ke.createElement)(pS,{nameAttributes:["videoWebm","videoWebmId","videoOgv","videoOgvId","videoMp4","videoMp4Id"],setAttributes:n}),(0,Ke.createElement)("div",{style:{marginBottom:"-8px"}})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Settings","ghostkit")},(0,Ke.createElement)(tg,{attributes:{aspectRatio:c},hasOriginalOption:!1,hasSizeSelectors:!1,onChangeAspectRatio:e=>n({videoAspectRatio:e})}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Volume","ghostkit"),value:u,min:0,max:100,onChange:e=>n({videoVolume:e})}),(0,Ke.createElement)(ep,{label:(0,vs.__)("Play Icon","ghostkit"),value:f,onChange:e=>n({iconPlay:e}),insideInspector:!0}),(0,Ke.createElement)(ep,{label:(0,vs.__)("Loading Icon","ghostkit"),value:m,onChange:e=>n({iconLoading:e}),insideInspector:!0}),lt(E,"is-style-icon-only")?(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Icon Align","ghostkit"),label:(0,vs.__)("Icon Align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(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,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Click Action","ghostkit")},(0,Ke.createElement)(ag,{value:C,options:[{label:(0,vs.__)("Plain","ghostkit"),value:"plain",disabled:lt(E,"is-style-icon-only")},{label:(0,vs.__)("Fullscreen","ghostkit"),value:"fullscreen"}],onChange:e=>n({clickAction:e}),isBlock:!0}),"fullscreen"===C?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"fullscreenBackgroundColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Fullscreen Background","ghostkit"),value:x,onChange:e=>n({fullscreenBackgroundColor:e}),alpha:!0})),(0,Ke.createElement)(ep,{label:(0,vs.__)("Fullscreen Close Icon","ghostkit"),value:S,onChange:e=>n({fullscreenActionCloseIcon:e}),insideInspector:!0})):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Autoplay","ghostkit"),help:(0,vs.__)("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})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Autopause","ghostkit"),help:(0,vs.__)("Automatically pause video when block out of the viewport.","ghostkit"),checked:!!d,onChange:e=>n({videoAutopause:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Loop","ghostkit"),checked:!!p,onChange:e=>n({videoLoop:e})}))),lt(E,"is-style-icon-only")?null:(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Poster Image","ghostkit")},v?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("Select Image","ghostkit"))}),v?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:b,alt:y,width:w,height:k})))}),(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:y,onChange:e=>n({posterAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))}),A?.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:_||gS,onChange:e=>{$(T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)("div",{style:{marginTop:"-10px"}}),(0,Ke.createElement)(pS,{nameAttributes:["posterId","posterUrl","posterAlt","posterWidth","posterHeight"],setAttributes:n})):null))}const mS={};let vS;const{name:bS}=hS;function yS(e){let t="16-9";const{video:n,videoAspectRatio:o}=e;let{className:r}=e;return"21:9"===o?t="21-9":"4:3"===o?t="4-3":"3:2"===o&&(t="3-2"),t&&(r=`wp-embed-aspect-${t} wp-has-aspect-ratio ${r}`),{url:n,className:r}}const wS={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,cm.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,r={type:"video",videoVolume:o?0:100};return/\.ogv$|\.ogg$/.test(n)?(r.videoOgv=n,r.videoOgvId=t):/\.webm$/.test(n)?(r.videoWebm=n,r.videoWebmId=t):(r.videoMp4=n,r.videoMp4Id=t),(0,cm.createBlock)("ghostkit/video",r)}}],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,cm.createBlock)("core-embed/youtube",yS(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,cm.createBlock)("core-embed/vimeo",yS(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,cm.createBlock)("core/video",{id:e.videoMp4Id||e.videoOgvId||e.videoWebmId,src:e.videoMp4||e.videoOgv||e.videoWebm,muted:0===e.videoVolume})}]},{name:kS}=hS,_S={icon:xi("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,vs.__)("Plain","ghostkit"),isDefault:!0},{name:"icon-only",label:(0,vs.__)("Icon Only","ghostkit")}],edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:r}=e,{type:i,video:s,videoPosterPreview:a,videoAspectRatio:l,iconPlay:c,posterId:u,posterUrl:h,posterAlt:d,posterWidth:p,posterHeight:g,clickAction:f,className:m}=t;(0,ms.useEffect)((()=>{!u&&"yt_vm_video"===i&&s&&function(e,t){mS[e]?t(mS[e]):void 0!==window.VideoWorker?(clearTimeout(vS),vS=setTimeout((()=>{const n=new window.VideoWorker(e);n.isValid()?n.getImageURL((n=>{mS[e]=n,t(n)})):t("")}),500)):t("")}(s,(e=>{e!==a&&n({videoPosterPreview:e})}))})),(0,ms.useEffect)((()=>{"plain"===f&&m&<(m,"is-style-icon-only")&&n({clickAction:"fullscreen"})}),[f,m]),(0,ms.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)(dS,{attributes:t,setAttributes:n,clientId:r}),(0,Ke.createElement)(fS,{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"!==i||!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)(ep.Dropdown,{onChange:e=>n({iconPlay:e}),value:c,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:c})})):null))},save:function(e){const{attributes:t}=e,{type:n,video:o,videoMp4:r,videoOgv:i,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:C,fullscreenBackgroundGradient:x,className:S}=t,E={className:"ghostkit-video"};E.className=(0,os.applyFilters)("ghostkit.blocks.className",E.className,{name:bS,...e}),E["data-video-type"]=n,E["data-video"]="","video"===n?(r&&(E["data-video"]+=`mp4:${r}`),i&&(E["data-video"]+=`${E["data-video"].length?",":""}ogv:${i}`),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"]=C,E["data-fullscreen-background-gradient"]=x):(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)(ep.Render,{name:d,tag:"div",className:"ghostkit-video-play-icon"}):null,p?(0,Ke.createElement)(ep.Render,{name:p,tag:"div",className:"ghostkit-video-loading-icon"}):null,"fullscreen"===y&&w?(0,Ke.createElement)(ep.Render,{name:w,tag:"div",className:"ghostkit-video-fullscreen-close-icon"}):null)},transforms:wS},CS=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:xS}=window,{name:SS}=CS,ES={icon:xi("block-widgetized-area",!0),ghostkit:{},edit:function(e){const{setAttributes:t,attributes:n}=e;let{className:o}=e;const{id:r}=n;o=cs()("ghostkit-widgetized-area",o);const i=(0,ds.useBlockProps)({className:o});return(0,Ke.createElement)("div",{...i},(0,Ke.createElement)(us.Placeholder,{icon:xi("block-widgetized-area"),label:(0,vs.__)("Widgetized Area","ghostkit")},(0,Ke.createElement)(us.SelectControl,{value:r,onChange:e=>t({id:e}),options:(()=>{const e=[{label:(0,vs.__)("--- Select Sidebar ---","ghostkit"),value:""}];return xS.sidebars&&Object.keys(xS.sidebars).forEach((t=>{e.push({label:xS.sidebars[t].name,value:xS.sidebars[t].id})})),e})()})))},save:function(){return null}};function AS(e){const{children:t,contentRef:n,settings:o}=e,r=(0,ds.useCachedTruthy)((0,rS.useAnchor)({editableContentElement:n.current,settings:o}));return(0,Ke.createElement)(us.Popover,{className:"ghostkit-format-badge-popover ghostkit-component-color-picker__dropdown-content",anchor:r},t)}document.addEventListener("DOMContentLoaded",(()=>{[ke,_e,Pe,Z,J,oe,Ne,Y,Ce,xe,Se,te,ne,q,K,Fe,ze,He,X,Q,Le,Ie,Be,De,je,Ee,Ae,Oe,we,ye,ee,We,be,re,fe,ae,ce,ve,he,ue,se,me,pe,ie,de,le,ge].forEach((({name:e,settings:t})=>{(0,cm.registerBlockType)(e,t)}))}));const TS="ghostkit/badge",$S={title:(0,vs.__)("Badge","ghostkit"),tagName:"span",className:"ghostkit-badge",attributes:{style:"style"},edit:function(e){const{isActive:t,value:n,contentRef:o,onChange:r}=e,[i,s]=(0,ms.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 i=e?rS.applyFormat:rS.toggleFormat;r(i(n,{type:TS,attributes:o}))}(0,ms.useEffect)((()=>{!t&&i&&s(!1)}),[t,i]);let l={};return t&&(l=function(){const{attributes:e}=(0,rS.getActiveFormat)(n,TS);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:xi("icon-badge"),title:(0,vs.__)("Badge","ghostkit"),onClick:()=>{t||a(),s(!i)},isActive:t}),t&&i?(0,Ke.createElement)(AS,{value:n,name:TS,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,vs.__)("Text","ghostkit"),value:l?.color||"",onChange:e=>{a(l?.background||"",e)},alpha:!0}):(0,Ke.createElement)(ps,{label:(0,vs.__)("Background","ghostkit"),value:l?.background||"",onChange:e=>{a(e,l?.color||"")},alpha:!0,gradient:!0})))):null)}},MS="ghostkit/mark",RS={title:(0,vs.__)("Highlight","ghostkit"),tagName:"mark",className:"ghostkit-highlight",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function r(){n((0,rS.toggleFormat)(t,{type:MS}))}return o?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"m",onUse:()=>r()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"m",shortcutType:"access",title:(0,vs.__)("Highlight","ghostkit"),icon:xi("icon-felt-pen"),onClick:()=>r(),isActive:o})):null}};var OS=n(1104);const LS=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 IS(e,t){return Math.floor(Math.random()*(t-e)+e)}const PS="ghostkit/lorem-ipsum",NS={title:(0,vs.__)("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 r=n.lastIndexOf("lorem",t),i=t,s=i-r;if(-1===r)return e;if(s<7||s>9)return e;const a=n.substring(r,i).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 OS.Yf({words:LS}).generateWords(e);const r=function(e){if(e.length<2)return e;const t=(e=e.slice()).length,n=/,$/;let o=0;o=t>3&&t<=6?IS(0,1):t>6&&t<=12?IS(0,2):IS(1,4);for(let r,i=0;i5});return(0,rS.insert)(e,c,r,i)},edit:null},DS="ghostkit/uppercase",FS={title:(0,vs.__)("Uppercase","ghostkit"),tagName:"span",className:"ghostkit-text-uppercase",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function r(){n((0,rS.toggleFormat)(t,{type:DS}))}return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"u",onUse:()=>r()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"u",shortcutType:"access",title:(0,vs.__)("Uppercase","ghostkit"),icon:xi("icon-text-uppercase"),onClick:()=>r(),isActive:o}))}};function zS(e){if("object"==typeof e){const t=(0,Xi.cloneDeep)(e),n={};return Object.keys(t).forEach((e=>{n[tt(e)]=zS(t[e])})),n}return e}function BS(e){const{attributes:t}=e,{ghostkitId:n,ghostkitClassname:o,ghostkitStyles:r,ghostkitCustomCSS:i,ghostkitPosition:s,ghostkitSpacings:a,ghostkitFrame:l}=t,c={};if(n||o||r||i||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,Xi.cloneDeep)(t?.ghostkit||{});n&&!e?.id&&(e.id=n),i&&!e?.styles?.custom&&(void 0===e?.styles&&(e.styles={}),e.styles.custom=i),r&&Object.keys(r).length&&(void 0===e?.styles&&(e.styles={}),Object.keys(r).forEach((t=>{e.styles=(0,Xi.merge)(e.styles,r[t])}))),e.styles&&(e.styles=zS(e.styles)),c.ghostkit=e}return c}function jS(e){const{setAttributes:t}=e;return(0,ms.useEffect)((()=>{setTimeout((()=>{let n={};const o=function(e){const{name:t,attributes:n}=e,{ghostkitSR:o}=n,r={};if(((0,cm.hasBlockSupport)(t,["ghostkit","effects","reveal"])||!0===(0,cm.getBlockSupport)(t,["ghostkit","effects"]))&&o){const e={effect:"",direction:"",distance:50,scale:.9,duration:900,delay:0},t=o.split(";");let i=t[0];if(i){let n=i.split("-");2===n.length?(i=n[0],n=n[1]):n="",e.effect=i,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,r=t.split("-");if(2===r.length)switch(t=r[0],r=r[1],r){case"up":r="bottom";break;case"down":r="top";break;case"right":r="right";break;case"left":r="left"}else r="center",n=0;"zoom"===t&&(o=.9);const i={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&&(i[t[0]]=t[1])})),i.distance&&r)switch(r){case"bottom":i.y=parseFloat(i.distance);break;case"top":i.y=-parseFloat(i.distance);break;case"right":i.x=parseFloat(i.distance);break;case"left":i.x=-parseFloat(i.distance)}return delete i.distance,i.scale=parseFloat(i.scale),i.duration=parseFloat(i.duration)/1e3,i.delay=parseFloat(i.delay)/1e3,i}(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,r.ghostkit=s}r.ghostkitSR=void 0}return r}(e),r=BS(e);o&&(n=(0,Xi.merge)(n,o)),r&&(n=(0,Xi.merge)(n,r)),Object.keys(n).length&&t(n)}),0)}),[]),null}[qe,Ve,Ge,Ue].forEach((({name:e,settings:t})=>{(0,rS.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 HS=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(jS,{...t}))}),"withInspectorControl");(0,os.addFilter)("editor.BlockEdit","ghostkit/deprecated/extensions",HS),(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:WS}=window.GHOSTKIT,{version:VS}=window.ghostkitVariables;function US(){return(0,Ke.createElement)(Ex,{title:(0,vs.__)("Attributes","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Adding custom attributes to block available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Ex.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=${VS}`},(0,vs.__)("Read More","ghostkit")))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/attributes/inspector",(function(e,{props:t}){const{name:n}=t;return(0,cm.hasBlockSupport)(n,["ghostkit","attributes"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"advanced"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.attributes.controls",props:t}))):e})),(0,os.addFilter)("ghostkit.extension.attributes.controls","ghostkit/extension/attributes/controls",((e,{props:t})=>WS?e:(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(US,{...t}))));var GS=n(4772),qS=n.n(GS),KS=n(6036);const YS=["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 ZS(e={},t="",n=!0){const o={};let r="";return Object.keys(e).forEach((i=>{if(null!==e[i]&&"object"==typeof e[i])if(/^media_/.test(i))r+=`${r?" ":""}@media #{ghostkitvar:${i}} { ${ZS(e[i],t,n)} }`;else if(/^@supports/.test(i))r+=`${r?" ":""}${i} { ${ZS(e[i],t,n)} }`;else{let o=t;o=o?-1!==i.indexOf("&")?i.replace(/&/g,o):`${o} ${i}`:i,r+=(r?" ":"")+ZS(e[i],o,n)}else if(void 0!==e[i]&&!1!==e[i]){n&&(t=(t=t.replace(/>/g,">")).replace(/{r="custom"===e?`${o[e]}${r?` ${r}`:""}`:`${e} {${o[e]} }${r?` ${r}`:""}`})),r}function JS(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=JS(e[n]);o&&Object.keys(o).length&&(t[n]=o)}})),t}function XS(e=!1){let t=[];return e?(e.forEach((e=>{t.push(e),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...XS(e.innerBlocks)])})),t):t}function QS(e){const{setAttributes:t,attributes:n,clientId:o,name:r}=e,{ghostkit:i,className:s}=n,a=(0,cm.getBlockSupport)(r,["ghostkit","styles","customSelector"]),{allBlocks:l,blockSettings:c}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor");return{allBlocks:t(),blockSettings:(0,cm.getBlockType)(r)}}),[r]),u=(0,ms.useCallback)((e=>{let t=i?.id;if(!t||e){const n={};if(e&&XS(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||"",r=10;for(;!e||void 0!==n[e]&&n[e]!==o&&r>0;)e=KS.unique(o),r-=1;e&&void 0===n[e]&&(n[e]=o),e!==t&&(t=e)}}return t||!1}),[i,l,o]),h=(0,ms.useCallback)((o=>{const r={},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=i?.styles&&Object.keys(i.styles).length;let d=!l&&!h;if(l||h){let e=(0,Xi.cloneDeep)(i?.styles||{});l&&(e=Di(e,pt(a))),e&&(e=JS(e));const t=Object.keys(e).length&&u(o);if(t){if(t!==i?.id&&(r.ghostkit||(r.ghostkit=(0,Xi.cloneDeep)(i||{})),r.ghostkit.id=t),!lt(s,`ghostkit-custom-${t}`)){const e=it(s,"ghostkit-custom",t);e!==s&&(r.className=e)}qS()(i?.styles,e)||(r.ghostkit||(r.ghostkit=(0,Xi.cloneDeep)(i||{})),r.ghostkit.styles=e)}else d=!0}if(d){const e=it(s,"ghostkit-custom","");e!==s&&(r.className=e||void 0),(i?.styles||i?.id)&&(r.ghostkit||(r.ghostkit=(0,Xi.cloneDeep)(i||{})),r?.ghostkit?.styles&&delete r.ghostkit.styles,r?.ghostkit?.id&&delete r.ghostkit.id),r?.ghostkit&&!Object.keys(r.ghostkit).length&&(r.ghostkit=void 0)}Object.keys(r).length&&t(r)}),[c,n,i,e,s,t]),d=Sv(60,h),p=(0,ms.useRef)(!1);(0,ms.useEffect)((()=>{p.current?d():(p.current=!0,h(!0))}),[n]);let g="";if(i?.id){if(i?.styles&&Object.keys(i?.styles).length){let e=`.ghostkit-custom-${i?.id}`;a&&(e=a.replace("&",e)),g+=(g?" ":"")+ZS(gt({[e]:i?.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)(_s,{styles:window.GHOSTKIT.replaceVars(g)}):null}const eE=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(QS,{...t}))}),"withNewAttrs");(0,os.addFilter)("editor.BlockEdit","ghostkit/styles/additional-attributes",eE);const tE={x:0,y:0,opacity:1,scale:1,rotate:0,transition:{type:"spring",...wg}},nE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,oE=us.__stableNumberControl||us.__experimentalNumberControl,rE=us.__stableGrid||us.__experimentalGrid,{version:iE}=window.ghostkitVariables;function sE(e){const{attributes:t,setAttributes:n,clientId:o}=e,r=t?.ghostkit?.effects?.reveal;function i(e,n){return void 0===t?.ghostkit?.effects?.reveal?.[e]?n:t.ghostkit.effects.reveal[e]}function s(e,o=!1){const r=(0,Xi.cloneDeep)(t?.ghostkit||{});void 0===r?.effects&&(r.effects={}),(o||void 0===r?.effects?.reveal)&&(r.effects.reveal?.transition?r.effects.reveal={transition:r.effects.reveal.transition}:r.effects.reveal={}),Object.keys(e).forEach((t=>{r.effects.reveal[t]=e[t]})),n({ghostkit:r})}return(0,Ke.createElement)(nE,{label:(0,vs.__)("Reveal","ghostkit"),hasValue:()=>!!r,onSelect:()=>{if(void 0===t?.ghostkit?.effects?.reveal){const e=(0,Xi.cloneDeep)(t?.ghostkit||{});e.effects={...e.effects,reveal:{opacity:0}},n({ghostkit:e})}},onDeselect:()=>{if(void 0!==t?.ghostkit?.effects?.reveal){const e=(0,Xi.cloneDeep)(t?.ghostkit||{});delete e?.effects?.reveal,n({ghostkit:e})}},isShownByDefault:!1},(0,Ke.createElement)(ws,{label:(0,vs.__)("Reveal","ghostkit"),contentClassName:"ghostkit-component-effects-reveal"},(0,Ke.createElement)(_s,{styles:`\n [data-block="${o}"] {\n transform: translateX(${i("x",tE.x)}px) translateY(${i("y",tE.y)}px) scale(${i("scale",tE.scale)}) rotate(${i("rotate",tE.rotate)}deg);\n opacity: ${Math.max(.1,i("opacity",tE.opacity))};\n }\n `}),(0,Ke.createElement)(yg,{value:r,onChange:e=>{s(e,!0)}}),(0,Ke.createElement)(rE,{columns:2},(0,Ke.createElement)(oE,{label:(0,vs.__)("X","ghostkit"),value:i("x"),placeholder:tE.x,onChange:e=>{s({x:""===e?void 0:parseFloat(e)})},suffix:"px ",style:{flex:1}}),(0,Ke.createElement)(oE,{label:(0,vs.__)("Y","ghostkit"),value:i("y"),placeholder:tE.y,onChange:e=>s({y:""===e?void 0:parseFloat(e)}),suffix:"px ",style:{flex:1}})),(0,Ke.createElement)(rE,{columns:3},(0,Ke.createElement)(oE,{label:(0,vs.__)("Opacity","ghostkit"),value:i("opacity"),placeholder:tE.opacity,onChange:e=>s({opacity:""===e?void 0:parseFloat(e)}),min:0,max:1,step:.01,style:{flex:1}}),(0,Ke.createElement)(oE,{label:(0,vs.__)("Scale","ghostkit"),value:i("scale"),placeholder:tE.scale,onChange:e=>s({scale:""===e?void 0:parseFloat(e)}),min:0,max:10,step:.01,style:{flex:1}}),(0,Ke.createElement)(oE,{label:(0,vs.__)("Rotate","ghostkit"),value:i("rotate"),placeholder:tE.rotate,onChange:e=>s({rotate:""===e?void 0:parseFloat(e)}),suffix:"deg ",style:{flex:1}})),(0,Ke.createElement)(Ag,{label:(0,vs.__)("Transition","ghostkit"),value:i("transition",tE.transition),onChange:e=>s({transition:e})}),(0,Ke.createElement)(Ex,{title:(0,vs.__)("Pro Settings","ghostkit"),collapsed:!0},(0,Ke.createElement)("p",null,(0,vs.__)("Advanced reveal settings are available in the Ghost Kit Pro plugin only:","ghostkit")),(0,Ke.createElement)("ul",null,(0,Ke.createElement)("li",null,(0,vs.__)("3D Rotation","ghostkit")),(0,Ke.createElement)("li",null,(0,vs.__)("Custom Viewport","ghostkit")),(0,Ke.createElement)("li",null,(0,vs.__)("Replay Animation","ghostkit"))),(0,Ke.createElement)(Ex.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=${iE}`},(0,vs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/reveal",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","effects","reveal"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(sE,{...t})):e));const aE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:lE}=window.GHOSTKIT,{version:cE}=window.ghostkitVariables,uE={mouseHover:{label:(0,vs.__)("Mouse Hover","ghostkit")},mousePress:{label:(0,vs.__)("Mouse Press","ghostkit")},mouseMove:{label:(0,vs.__)("Mouse Move","ghostkit")},scroll:{label:(0,vs.__)("Scroll","ghostkit")},loop:{label:(0,vs.__)("Loop","ghostkit")}};function hE(){const[e,t]=(0,ms.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)(Ex,{title:(0,vs.__)("Advanced Effects","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Advanced effects are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Ex.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=${cE}`},(0,vs.__)("Read More","ghostkit")))),Object.keys(uE).map((e=>(0,Ke.createElement)(aE,{key:e,label:uE[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/pro",((e,{props:t})=>lE?e:Object.keys(uE).some((e=>(0,cm.hasBlockSupport)(t.name,["ghostkit","effects",e])))||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(hE,{...t})):e));const dE=us.__stableToolsPanel||us.__experimentalToolsPanel;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/effects/inspector",(function(e,{props:t}){const{name:n,attributes:o,setAttributes:r}=t;return(0,cm.hasBlockSupport)(n,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(dE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-sr")),(0,Ke.createElement)("span",null,(0,vs.__)("Effects","ghostkit"))),resetAll:()=>{const e={...o?.ghostkit||{}};void 0!==e?.effects&&(delete e?.effects,r({ghostkit:e}))}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-effects"},(0,Ke.createElement)(rs,{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:r}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","effects"]))return e;const i=o?.ghostkit?.effects;return i?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.BlockControls,{group:"other"},(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:xi("extension-sr"),label:(0,vs.__)("Effects","ghostkit"),menuProps:{style:{width:"260px"}},popoverProps:{focusOnMount:!1}},(()=>(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.MenuGroup,null,(0,vs.__)('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,vs.__)("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,r({ghostkit:e}))}},(0,vs.__)("Reset All","ghostkit")))))))):e}));const pE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function gE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("position",e)})),(0,Ke.createElement)(pE,{label:(0,vs.__)("Position","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("position")||o({position:"default"})},onDeselect:()=>{r(["position"],!0)},isShownByDefault:!1},["absolute","fixed"].includes(t("position",i))?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(og,{status:"info",isDismissible:!1},(0,vs.__)("Please note! Custom positioning is not considered best practice for responsive web design and should not be used too frequently.","ghostkit")),(0,Ke.createElement)("br",null)):null,(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Position","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("position",e)})),value:t("position",i),onChange:e=>{o({position:e||void 0},i)},options:[{value:"",label:(0,vs.__)("Default","ghostkit")},{value:"absolute",label:(0,vs.__)("Absolute","ghostkit")},{value:"fixed",label:(0,vs.__)("Fixed","ghostkit")},{value:"relative",label:(0,vs.__)("Relative","ghostkit")},{value:"sticky",label:(0,vs.__)("Sticky","ghostkit")}]}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/position",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","position"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(gE,{...t})):e));const fE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,mE=[{name:"top",label:(0,vs.__)("Top","ghostkit")},{name:"right",label:(0,vs.__)("Right","ghostkit")},{name:"bottom",label:(0,vs.__)("Bottom","ghostkit")},{name:"left",label:(0,vs.__)("left","ghostkit")}];function vE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{mE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(fE,{label:(0,vs.__)("Distance","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(mE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Distance","ghostkit"),inputs:mE,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,cm.hasBlockSupport)(t.name,["ghostkit","position","distance"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(vE,{...t})):e));const bE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,yE=us.__stableUnitControl||us.__experimentalUnitControl;function wE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("width",e)})),(0,Ke.createElement)(bE,{label:(0,vs.__)("Width","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{r(["width"],!0)},isShownByDefault:!1},(0,Ke.createElement)(yE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Width","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("width",e)})),value:t("width",i),onChange:e=>{o({width:e},i)},labelPosition:"edge",__unstableInputWidth:"70px",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}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/width",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","width"])||!0===(0,cm.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 CE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("height",e)})),(0,Ke.createElement)(kE,{label:(0,vs.__)("Height","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{r(["height"],!0)},isShownByDefault:!1},(0,Ke.createElement)(_E,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Height","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("height",e)})),value:t("height",i),onChange:e=>{o({height:e},i)},labelPosition:"edge",__unstableInputWidth:"70px",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}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/height",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","height"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(CE,{...t})):e));const xE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,SE=[{name:"min-width",label:(0,vs.__)("Min","ghostkit")},{name:"max-width",label:(0,vs.__)("Max","ghostkit")}];function EE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{SE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(xE,{label:(0,vs.__)("Min Max Width","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(SE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Min Max Width","ghostkit"),inputs:SE,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,cm.hasBlockSupport)(t.name,["ghostkit","position","minMaxWidth"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(EE,{...t})):e));const AE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,TE=[{name:"min-height",label:(0,vs.__)("Min","ghostkit")},{name:"max-height",label:(0,vs.__)("Max","ghostkit")}];function $E(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{TE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(AE,{label:(0,vs.__)("Min Max Height","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(TE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Min Max Height","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-height",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","minMaxHeight"])||!0===(0,cm.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=us.__stableNumberControl||us.__experimentalNumberControl;function OE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("z-index",e)})),(0,Ke.createElement)(ME,{label:(0,vs.__)("zIndex","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{r(["z-index"],!0)},isShownByDefault:!1},(0,Ke.createElement)(RE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("zIndex","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("z-index",e)})),value:t("z-index",i),onChange:e=>{o({"z-index":e},i)},labelPosition:"edge",__unstableInputWidth:"70px"}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/zIndex",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","zIndex"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(OE,{...t})):e));const LE={effects:{label:(0,vs.__)("Effects","ghostkit"),attributes:["effects"]},position:{label:(0,vs.__)("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,vs.__)("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,vs.__)("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,vs.__)("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,vs.__)("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:[""]}},IE=us.__stableToolsPanel||us.__experimentalToolsPanel,PE=LE.position.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/position/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","position"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(IE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-position")),(0,Ke.createElement)("span",null,(0,vs.__)("Position","ghostkit"))),resetAll:()=>{o(PE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-position"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.position.tools",props:t})))))}),12);const NE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,DE=[{name:"padding-top",label:(0,vs.__)("Top","ghostkit")},{name:"padding-right",label:(0,vs.__)("Right","ghostkit")},{name:"padding-bottom",label:(0,vs.__)("Bottom","ghostkit")},{name:"padding-left",label:(0,vs.__)("left","ghostkit")}];function FE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{DE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(NE,{label:(0,vs.__)("Padding","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(DE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Padding","ghostkit"),inputs:DE,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,cm.hasBlockSupport)(t.name,["ghostkit","spacings","padding"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(FE,{...t})):e));const zE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,BE=[{name:"margin-top",label:(0,vs.__)("Top","ghostkit")},{name:"margin-right",label:(0,vs.__)("Right","ghostkit")},{name:"margin-bottom",label:(0,vs.__)("Bottom","ghostkit")},{name:"margin-left",label:(0,vs.__)("left","ghostkit")}];function jE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{BE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(zE,{label:(0,vs.__)("Margin","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(BE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Margin","ghostkit"),inputs:BE,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,cm.hasBlockSupport)(t.name,["ghostkit","spacings","margin"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(jE,{...t})):e));const HE=us.__stableToolsPanel||us.__experimentalToolsPanel,WE=LE.spacings.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/spacings/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","spacings"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(HE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-spacings")),(0,Ke.createElement)("span",null,(0,vs.__)("Spacings","ghostkit"))),resetAll:()=>{o(WE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-spacings"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.spacings.tools",props:t})))))}),13);const VE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,UE="&:hover",GE=["border-style","border-width","border-color"],qE=[{value:"solid",label:(0,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M5 11.25H19V12.75H5V11.25Z",fill:"currentColor"}))},{value:"dashed",label:(0,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("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,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("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,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M5 9.25H19V10.75H5V9.25Z",fill:"currentColor"}),(0,Ke.createElement)("path",{d:"M5 13H19V14.5H5V13Z",fill:"currentColor"}))}];function KE(e){const[t,n]=(0,ms.useState)(!1),{getStyle:o,hasStyle:r,setStyles:i,resetStyles:s}=Qi(e),{device:a,allDevices:l}=Ji();let c=!1;["",...Object.keys(l)].forEach((e=>{GE.forEach((t=>{c=c||r(t,e)||r(t,e,UE)}))}));const u=o("border-style",a,t&&UE),h=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Border","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>r("border-style",e,t&&UE)}),(0,Ke.createElement)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>r("border-style",a,UE)}));return(0,Ke.createElement)(VE,{label:(0,vs.__)("Border","ghostkit"),hasValue:()=>!!c,onSelect:()=>{i({"border-style":"solid","border-width":"1px","border-color":"#000"})},onDeselect:()=>{s(GE,!0,["","&:hover"])},isShownByDefault:!1},(0,Ke.createElement)(us.BaseControl,{id:h,label:h},(0,Ke.createElement)("div",{className:"ghostkit-control-border-row"},(0,Ke.createElement)(gs,{value:gt(o("border-color",a,t&&UE)),onChange:e=>i({"border-color":e},a,t&&UE),alpha:!0}),(0,Ke.createElement)(ag,{value:u,options:qE,onChange:e=>{i({"border-style":"none"===e?"":e},a,t&&UE)},isBlock:!0}),(0,Ke.createElement)(Yp,{value:o("border-width",a,t&&UE),placeholder:(0,vs.__)("Width","ghostkit"),onChange:e=>i({"border-width":e},a,t&&UE),autoComplete:"off"}))))}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/border",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","frame","border"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(KE,{...t})):e));const YE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,ZE="&:hover",JE=[{name:"border-top-left-radius",label:(0,vs.__)("TL","ghostkit")},{name:"border-top-right-radius",label:(0,vs.__)("TR","ghostkit")},{name:"border-bottom-right-radius",label:(0,vs.__)("BR","ghostkit")},{name:"border-bottom-left-radius",label:(0,vs.__)("BL","ghostkit")}];function XE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{JE.forEach((t=>{s=s||n(t.name,e)||n(t.name,e,ZE)}))})),(0,Ke.createElement)(YE,{label:(0,vs.__)("Border Radius","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(JE.map((e=>e.name)),!0,["","&:hover"])},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Border Radius","ghostkit"),inputs:JE,hasValue:(e,t,o)=>n(e,t,o&&ZE),getValue:(e,n,o)=>t(e,n,o&&ZE),onChange:(e,t,n,r)=>o({[e]:t},n,r&&ZE),expandOnFocus:6,withResponsive:!0,withState:!0}))}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/borderRadius",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","frame","borderRadius"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(XE,{...t})):e));const QE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,eA="&:hover";function tA(e){return"string"==typeof e&&"0"!==e&&/^[0-9.-]*$/.test(e)&&(e+="px"),e}function nA(e){const[t,n]=(0,ms.useState)(!1),{getStyle:o,hasStyle:r,setStyles:i,resetStyles:s}=Qi(e),{device:a,allDevices:l}=Ji(),[c,u]=(0,ms.useState)(),[h,d]=(0,ms.useState)(),[p,g]=(0,ms.useState)(),[f,m]=(0,ms.useState)(),[v,b]=(0,ms.useState)();(0,ms.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&&eA));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,ms.useEffect)((()=>{void 0!==c||void 0!==h||void 0!==p||void 0!==f||void 0!==v?i({"box-shadow":`${tA(c||0)} ${tA(h||0)} ${tA(p||0)} ${tA(f||0)} ${v||"#000"}`},a,t&&eA):o("box-shadow",a,t&&eA)&&i({"box-shadow":void 0},a,t&&eA)}),[c,h,p,f,v]);let y=!1;["",...Object.keys(l)].forEach((e=>{y=y||r("box-shadow",e)||r("box-shadow",e,eA)}));const w=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Shadow","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>r("box-shadow",e,t&&eA)}),(0,Ke.createElement)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>r("box-shadow",a,eA)}));return(0,Ke.createElement)(QE,{label:(0,vs.__)("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},(0,Ke.createElement)(us.BaseControl,{id:w,label:w},(0,Ke.createElement)("div",{className:"ghostkit-control-box-shadow"},(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Color","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(gs,{value:v,onChange:e=>{b(e)},alpha:!0}))),(0,Ke.createElement)(Qp,null,(0,Ke.createElement)(Yp,{help:(0,vs.__)("X","ghostkit"),value:c,onChange:e=>{u(e||0)},autoComplete:"off"}),(0,Ke.createElement)(Yp,{help:(0,vs.__)("Y","ghostkit"),value:h,onChange:e=>{d(e||0)},autoComplete:"off"}),(0,Ke.createElement)(Yp,{help:(0,vs.__)("Blur","ghostkit"),value:p,onChange:e=>{g(e||0)},autoComplete:"off"}),(0,Ke.createElement)(Yp,{help:(0,vs.__)("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,cm.hasBlockSupport)(t.name,["ghostkit","frame","shadow"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(nA,{...t})):e));const oA=us.__stableToolsPanel||us.__experimentalToolsPanel,rA=LE.frame.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/frame/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","frame"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(oA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-frame")),(0,Ke.createElement)("span",null,(0,vs.__)("Frame","ghostkit"))),resetAll:()=>{o(rA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-frame"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.frame.tools",props:t})))))}),14);const iA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:sA}=window.GHOSTKIT,{version:aA}=window.ghostkitVariables,lA={translate:{label:(0,vs.__)("Translate","ghostkit")},scale:{label:(0,vs.__)("Scale","ghostkit")},rotate:{label:(0,vs.__)("Rotate","ghostkit")},skew:{label:(0,vs.__)("Skew","ghostkit")},perspective:{label:(0,vs.__)("Perspective","ghostkit")},origin:{label:(0,vs.__)("Origin","ghostkit")}};function cA(){const[e,t]=(0,ms.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)(Ex,{title:(0,vs.__)("Pro Transformations","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Adding transformations for normal and hover state are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Ex.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=${aA}`},(0,vs.__)("Read More","ghostkit")))),Object.keys(lA).map((e=>(0,Ke.createElement)(iA,{key:e,label:lA[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.transform.tools","ghostkit/extension/transform/pro",((e,{props:t})=>sA?e:(0,cm.hasBlockSupport)(t.name,["ghostkit","transform"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(cA,{...t})):e));const uA=us.__stableToolsPanel||us.__experimentalToolsPanel,hA=LE.transform.styles,dA=(e,t)=>{let n=!1;return"object"==typeof e&&(t in e?n=!0:Object.keys(e).forEach((o=>{n=n||dA(e[o],t)}))),n};function pA(e){const{setAttributes:t,attributes:n}=e,{getStyles:o}=Qi(e);let r=!1;const i=o();function s(){let{className:o}=n;const i=(0,os.applyFilters)("ghostkit.extension.transform.allowClassName",r,e),s=lt(o,"ghostkit-has-transform");i&&!s?(o=st(o,"ghostkit-has-transform"),t({className:o})):!i&&s&&(o=at(o,"ghostkit-has-transform"),t({className:o}))}hA.forEach((e=>{r=r||dA(i,e)}));const a=Sv(60,s),l=(0,ms.useRef)(!1);return(0,ms.useEffect)((()=>{l.current?a():(l.current=!0,s())}),[n]),null}const gA=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(pA,{...t}))}),"withNewAttrs");(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/transform/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","transform"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(uA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-transform")),(0,Ke.createElement)("span",null,(0,vs.__)("Transform","ghostkit"))),resetAll:()=>{o(hA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-transform"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.transform.tools",props:t})))))}),15),(0,os.addFilter)("editor.BlockEdit","ghostkit/extension/transform/classname",gA);const fA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function mA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("opacity",e)})),(0,Ke.createElement)(fA,{label:(0,vs.__)("Opacity","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("opacity")||o({opacity:1})},onDeselect:()=>{r(["opacity"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.RangeControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Opacity","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("opacity",e)})),value:t("opacity",i),placeholder:1,onChange:e=>o({opacity:""===e?void 0:parseFloat(e)},i),min:0,max:1,step:.01,style:{flex:1}}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/opacity",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","opacity"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(mA,{...t})):e));const vA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,bA=us.__stableGrid||us.__experimentalGrid;function yA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;["",...Object.keys(s)].forEach((e=>{a=a||n("overflow-x",e)||n("overflow-y",e)}));const l=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Overflow","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("overflow-x",e)||n("overflow-y",e)}));return(0,Ke.createElement)(vA,{label:(0,vs.__)("Overflow","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("overflow-x")&&n("overflow-y")||o({"overflow-x":"hidden","overflow-y":"hidden"})},onDeselect:()=>{r(["overflow-x","overflow-y"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.BaseControl,{id:l,label:l},(0,Ke.createElement)(bA,{columns:2},(0,Ke.createElement)(us.SelectControl,{help:(0,vs.__)("X","ghostkit"),value:t("overflow-x",i),onChange:e=>{o({"overflow-x":e},i)},options:[{value:"hidden",label:(0,vs.__)("Hidden","ghostkit")},{value:"visible",label:(0,vs.__)("Visible","ghostkit")},{value:"clip",label:(0,vs.__)("Clip","ghostkit")},{value:"scroll",label:(0,vs.__)("Scroll","ghostkit")},{value:"auto",label:(0,vs.__)("Auto","ghostkit")}]}),(0,Ke.createElement)(us.SelectControl,{help:(0,vs.__)("Y","ghostkit"),value:t("overflow-y",i),onChange:e=>{o({"overflow-y":e},i)},options:[{value:"hidden",label:(0,vs.__)("Hidden","ghostkit")},{value:"visible",label:(0,vs.__)("Visible","ghostkit")},{value:"clip",label:(0,vs.__)("Clip","ghostkit")},{value:"scroll",label:(0,vs.__)("Scroll","ghostkit")},{value:"auto",label:(0,vs.__)("Auto","ghostkit")}]}))))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/overflow",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","overflow"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(yA,{...t})):e));const wA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function kA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("cursor",e)})),(0,Ke.createElement)(wA,{label:(0,vs.__)("Cursor","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("cursor")||o({cursor:"default"})},onDeselect:()=>{r(["cursor"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Cursor","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("cursor",e)})),value:t("cursor",i),onChange:e=>{o({cursor:e},i)},options:[{value:"default",label:(0,vs.__)("Default","ghostkit")},{value:"pointer",label:(0,vs.__)("Pointer","ghostkit")},{value:"not-allowed",label:(0,vs.__)("Not Allowed","ghostkit")},{value:"progress",label:(0,vs.__)("Progress","ghostkit")},{value:"move",label:(0,vs.__)("Move","ghostkit")},{value:"grab",label:(0,vs.__)("Grab","ghostkit")},{value:"grabbing",label:(0,vs.__)("Grabbing","ghostkit")},{value:"zoom-in",label:(0,vs.__)("Zoom In","ghostkit")},{value:"zoom-out",label:(0,vs.__)("Zoom Out","ghostkit")},{value:"copy",label:(0,vs.__)("Copy","ghostkit")},{value:"no-drop",label:(0,vs.__)("No Drop","ghostkit")},{value:"context-menu",label:(0,vs.__)("Context Menu","ghostkit")},{value:"help",label:(0,vs.__)("Help","ghostkit")},{value:"wait",label:(0,vs.__)("Wait","ghostkit")},{value:"cell",label:(0,vs.__)("Cell","ghostkit")},{value:"crosshair",label:(0,vs.__)("Crosshair","ghostkit")},{value:"alias",label:(0,vs.__)("Alias","ghostkit")},{value:"text",label:(0,vs.__)("Text","ghostkit")},{value:"vertical-text",label:(0,vs.__)("Vertical Text","ghostkit")},{value:"copy",label:(0,vs.__)("Copy","ghostkit")},{value:"nw-resize",label:(0,vs.__)("NW Resize","ghostkit")},{value:"n-resize",label:(0,vs.__)("N Resize","ghostkit")},{value:"e-resize",label:(0,vs.__)("E Resize","ghostkit")},{value:"se-resize",label:(0,vs.__)("SE Resize","ghostkit")},{value:"s-resize",label:(0,vs.__)("S Resize","ghostkit")},{value:"sw-resize",label:(0,vs.__)("SW Resize","ghostkit")},{value:"w-resize",label:(0,vs.__)("W Resize","ghostkit")},{value:"ew-resize",label:(0,vs.__)("EW Resize","ghostkit")},{value:"ns-resize",label:(0,vs.__)("NS Resize","ghostkit")},{value:"nwse-resize",label:(0,vs.__)("NWSE Resize","ghostkit")},{value:"nesw-resize",label:(0,vs.__)("NESW Resize","ghostkit")},{value:"col-resize",label:(0,vs.__)("Col Resize","ghostkit")},{value:"row-resize",label:(0,vs.__)("Row Resize","ghostkit")},{value:"none",label:(0,vs.__)("None","ghostkit")}]}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/cursor",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","cursor"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(kA,{...t})):e));const _A=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function CA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("user-select",e)})),(0,Ke.createElement)(_A,{label:(0,vs.__)("User Select","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("user-select")||o({"user-select":"none"})},onDeselect:()=>{r(["user-select"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("User Select","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("user-select",e)})),value:t("user-select",i),onChange:e=>{o({"user-select":e},i)},options:[{value:"none",label:(0,vs.__)("None","ghostkit")},{value:"auto",label:(0,vs.__)("Auto","ghostkit")}]}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/userSelect",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","userSelect"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(CA,{...t})):e));const xA={"inset(0 round 20px)":(0,vs.__)("Round","ghostkit"),"circle(50% at 50% 50%)":(0,vs.__)("Circle","ghostkit"),"polygon(50% 0%, 0% 100%, 100% 100%)":(0,vs.__)("Triangle","ghostkit"),"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)":(0,vs.__)("Rhombus","ghostkit"),"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)":(0,vs.__)("Pentagon","ghostkit"),"polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)":(0,vs.__)("Hexagon","ghostkit"),"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)":(0,vs.__)("Heptagon","ghostkit"),"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)":(0,vs.__)("Octagon","ghostkit"),"polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%)":(0,vs.__)("Bevel","ghostkit"),"polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)":(0,vs.__)("Star","ghostkit"),"polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%)":(0,vs.__)("Frame","ghostkit")},SA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,EA=[{value:"",label:(0,vs.__)("Custom","ghostkit")},...Object.keys(xA).map((e=>({value:e,label:xA[e]})))];function AA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("clip-path",e)})),(0,Ke.createElement)(SA,{label:(0,vs.__)("Clip Path","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("clip-path")||o({"clip-path":EA[1].value})},onDeselect:()=>{r(["clip-path"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Clip Path","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("clip-path",e)})),value:t("clip-path",i),onChange:e=>{o({"clip-path":e},i)},options:EA}),(0,Ke.createElement)("br",null),(0,Ke.createElement)(us.TextareaControl,{value:t("clip-path",i),onChange:e=>{o({"clip-path":e},i)}}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/clipPath",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","clipPath"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(AA,{...t})):e));const TA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:$A}=window.GHOSTKIT,{version:MA}=window.ghostkitVariables;function RA(){return(0,Ke.createElement)(TA,{label:(0,vs.__)("Transition","ghostkit"),hasValue:()=>!1,onSelect:()=>{},onDeselect:()=>{},isShownByDefault:!1},(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)(Ex,{title:(0,vs.__)("Transition","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Transition and transform configurations are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Ex.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=${MA}`},(0,vs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/transition",((e,{props:t})=>$A?e:(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","transition"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(RA,{...t})):e));const OA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,LA="selector {\n\n}";function IA(e){const[t,n]=(0,ms.useState)(LA),{getStyle:o,hasStyle:r,setStyles:i,resetStyles:s}=Qi(e),{device:a,allDevices:l}=Ji();let c=!1;["",...Object.keys(l)].forEach((e=>{c=c||r("custom",e)}));const u=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Custom","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>r("custom",e)}));return(0,Ke.createElement)(OA,{label:(0,vs.__)("Custom","ghostkit"),hasValue:()=>!!c,onSelect:()=>{r("custom")||i({custom:""})},onDeselect:()=>{s(["custom"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.BaseControl,{id:u,label:u},(0,Ke.createElement)(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,Ke.createElement)(us.Button,{className:cs()("ghostkit-extension-customCSS-custom__dropdown-content-toggle",e?"ghostkit-extension-customCSS-custom__dropdown-content-toggle-active":""),onClick:()=>{n()}},(0,Ke.createElement)("span",null,(0,vs.__)("Edit CSS","ghostkit")),(0,Ke.createElement)(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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.BaseControl,{id:u,label:u}),(0,Ke.createElement)(as,{mode:"css",onChange:e=>{e!==LA&&i({custom:e},a),t&&n("")},value:o("custom",a)||t,maxLines:20,minLines:5,height:"300px",editorProps:{id:"gkt-custom-css-editor"}}),(0,Ke.createElement)("p",{style:{marginBottom:20}}),(0,Ke.createElement)("details",null,(0,Ke.createElement)("summary",{label:(0,vs.__)("Examples to use selector","ghostkit"),dangerouslySetInnerHTML:{__html:(0,vs.__)("Use %s rule to change block styles.","ghostkit").replace("%s","selector")}}),(0,Ke.createElement)("p",null,(0,vs.__)("Example:","ghostkit")),(0,Ke.createElement)("pre",{className:"ghostkit-control-pre-custom-css"},"selector {\n background-color: #2F1747;\n}\n\nselector p {\n color: #2F1747;\n}")))})))}(0,ss.addCompleter)({getCompletions(e,t,n,o,r){"gkt-custom-css-editor"===e.id&&r(null,[{caption:"selector",value:"selector",meta:(0,vs.__)("Block Selector","ghostkit")}])},identifierRegexps:[/selector/]}),(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/custom",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","custom"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(IA,{...t})):e));const PA=us.__stableToolsPanel||us.__experimentalToolsPanel,NA=LE.customCSS.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/customCSS/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","customCSS"]))return e;const{resetStyles:o}=Qi(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"},xi("extension-custom-css")),(0,Ke.createElement)("span",null,(0,vs.__)("Custom CSS","ghostkit"))),resetAll:()=>{o(NA,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-custom-css"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.customCSS.tools",props:t})))))}),16);const DA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,FA=function(e=""){return[{label:e?(0,vs.__)("Inherit","ghostkit"):(0,vs.__)("Default","ghostkit"),value:""},{label:(0,vs.__)("Show","ghostkit"),value:"block"},{label:(0,vs.__)("Hide","ghostkit"),value:"none"}]};function zA(e,t){if(!t){if(lt(e,"ghostkit-d-none"))return"none";if(lt(e,"ghostkit-d-block"))return"block"}return rt(e,`ghostkit-d-${t}`,!0)}function BA(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:r,allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{s=s||zA(o,e)})),(0,Ke.createElement)(DA,{label:(0,vs.__)("Screen Size","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{let e=o;["",...Object.keys(i)].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)(ag,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Screen Size","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>lt(o,`ghostkit-d-${e}-none`)||lt(o,`ghostkit-d-${e}-block`)})),value:zA(o,r),options:FA(r).map((e=>({value:e.value,label:e.label}))),onChange:e=>{!function(e,t){let r=o;e?r=it(r,`ghostkit-d-${e}`,t):(r=at(r,"ghostkit-d-none"),r=at(r,"ghostkit-d-block"),t&&(r=st(r,`ghostkit-d-${t}`))),n({className:r})}(r,e)},isBlock:!0}))}(0,os.addFilter)("ghostkit.extension.display.tools","ghostkit/extension/display/tools/screenSize",((e,{props:t})=>{const n=(0,cm.hasBlockSupport)(t.name,["ghostkit","display","screenSize"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","display"]),o=(0,cm.hasBlockSupport)(t.name,"customClassName",!0);return n&&o?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(BA,{...t})):e}));const jA=us.__stableToolsPanel||us.__experimentalToolsPanel;function HA(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=HA(e.innerBlocks)))})),t}function WA(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,...WA(e.innerBlocks)])})),t}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/display/inspector",(function(e,{props:t}){const{name:n}=t;return(0,cm.hasBlockSupport)(n,["ghostkit","display"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(jA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-display")),(0,Ke.createElement)("span",null,(0,vs.__)("Display Conditions","ghostkit")))},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-display"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.display.tools",props:t}))))):e}),17);let VA="";const UA=Ev(300,(function(){if(!HA())return;const e=WA();if(VA&&VA===JSON.stringify(e))return;const t={};e.forEach((e=>{let{anchor:n}=e.attributes;const{content:o}=e.attributes;o&&!n&&(n=Ii(o),e.attributes.anchor=n),n&&(void 0!==t[n]?(t[n]+=1,n+=`-${t[n]}`,e.attributes.anchor=n):t[n]=1)})),VA=JSON.stringify(e)}));wp.blockEditor.__experimentalBlockPatternSetup||wp.blockEditor.BlockPatternSetup||wp.blockEditor.blockPatternSetup||(0,Ze.subscribe)((()=>{UA()}));const GA=window.wp.plugins,{GHOSTKIT:qA}=window;(0,GA.registerPlugin)("gkt-toolbar-templates",{render:function(){const{insertBlocks:e}=(0,Ze.useDispatch)("core/block-editor");if(!qA.allowTemplates)return null;function t(){return(0,Ke.createElement)(us.ToolbarButton,{className:"components-button components-icon-button","aria-label":(0,vs.__)("Add Template","ghostkit"),onClick:()=>{e((0,cm.createBlock)("ghostkit/grid",{isTemplatesModalOnly:!0}))}},xi("plugin-templates"),(0,vs.__)("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,ms.render)((0,Ke.createElement)(t,null),n)}})),null}});const KA=window.wp.notices;function YA(e,t,n=""){if(!n)return{ghostkit:(0,Xi.cloneDeep)(e?.attributes?.ghostkit||{})};const o={};return(0,cm.hasBlockSupport)(e.name,["ghostkit",n])&&(0,cm.hasBlockSupport)(t.name,["ghostkit",n])&&(o.ghostkit=(0,Xi.cloneDeep)(t?.attributes?.ghostkit||{}),LE[n]?.styles&&(o?.ghostkit?.styles||(o.ghostkit.styles={}),o.ghostkit.styles=Di(o.ghostkit.styles,Gi(e?.attributes?.ghostkit?.styles||{},LE[n].styles,LE[n].responsive,LE[n].selectors)),o.ghostkit.styles=ct(o.ghostkit.styles)),LE[n]?.attributes&&LE[n].attributes.forEach((t=>{o.ghostkit[t]=e?.attributes?.ghostkit?.[t]||void 0}))),o}function ZA(e,t,n,o=""){for(let r=0;r(0,cm.serialize)(e)),t);return(0,Ke.createElement)(us.MenuItem,{ref:o},n)}function XA(e,t){return e.every((e=>!!e&&(0,cm.hasBlockSupport)(e.name,t)))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/copy-paste",(function(e,{props:t}){const{name:n,clientId:o}=t,r=(0,cm.hasBlockSupport)(n,["ghostkit"]),{createSuccessNotice:i}=(0,Ze.useDispatch)(KA.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:r}=(0,Ze.useDispatch)(KA.store);return(0,ms.useCallback)((async(i,s)=>{let a="";try{if(!window.navigator.clipboard)return void r((0,vs.__)("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 r((0,vs.__)("Unable to paste extensions. Please allow browser clipboard permissions before continuing.","ghostkit"),{type:"snackbar"})}if(!a||!function(e){try{const t=(0,cm.parse)(e,{__unstableSkipMigrationLogs:!0,__unstableSkipAutop:!0});return 1!==t.length||"core/freeform"!==t[0].name}catch(e){return!1}}(a))return void o((0,vs.__)("Unable to paste extensions. Block extensions couldn't be found within the copied content.","ghostkit"),{type:"snackbar"});const l=(0,cm.parse)(a);if(1===l.length?e.batch((()=>{ZA(i,i.map((()=>l[0])),t,s)})):e.batch((()=>{ZA(i,l,t,s)})),1===i.length){const e=(0,cm.getBlockType)(i[0].name)?.title;n((0,vs.sprintf)( +(()=>{var e={4672:(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,r=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 r=[],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,r=o<0?Math.max(n+o,0):Math.min(o,n),i=arguments[2],s=void 0===i?n:i>>0,a=s<0?Math.max(n+s,0):Math.min(s,n);r0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var o=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(o,"")},t.stringTrimRight=function(e){return e.replace(r,"")},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:{},r=(/mac|win|linux/i.exec(o.platform)||["other"])[0].toLowerCase(),i=o.userAgent||"",s=o.appName||"";t.isWin="win"==r,t.isMac="mac"==r,t.isLinux="linux"==r,t.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=i.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(i.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(i.split(" Edge/")[1])||void 0,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isAndroid=i.indexOf("Android")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!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,r=e("./useragent");t.buildDom=function e(t,n,o){if("string"==typeof t&&t){var r=document.createTextNode(t);return n&&n.appendChild(r),r}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var i=[],s=0;s=1.5,r.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),r.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(),r=document.createElement("script");r.src=e,n.appendChild(r),r.onload=r.onreadystatechange=function(e,n){!n&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.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={},r=function(){this.propagationStopped=!0},i=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=r),t.preventDefault||(t.preventDefault=i),n=n.slice();for(var s=0;s1&&(r=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+r+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 i;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 i=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 i();r.loadScript(t.moduleUrl(l,s),i),c()}};if(t.dynamicModules[l])t.dynamicModules[l]().then((function(e){e.default?u(e.default):u(e)}));else{try{i=this.$require(l)}catch(e){}u(i||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.5"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,o){"use strict";e("./lib/fixoldbrowsers");var r=e("./config");r.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var i=function(){return this||"undefined"!=typeof window&&window}();function s(t){if(i&&i.document){r.set("packaged",t||e.packaged||o.packaged||i.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 r={row:n+1,column:0};else this.start.row1?++h>4&&(h=1):h=1,i.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[r]("mousedown",e),h>4)h=0;else if(h>1)return o[r](d[h],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,s)}))},t.getModifierString=function(e){return r.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(!i.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 r.MODIFIER_KEYS&&(n=-1),o||13!==n||3!==t.location||(e(t,o,-n),!t.defaultPrevented)){if(i.isChromeOS&&8&o){if(e(t,o,n),t.defaultPrevented)return;o&=-9}return!!(o||n in r.FUNCTION_KEYS||n in r.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&&!i.isOldIE){var g=1;t.nextTick=function(e,n){n=n||window;var o="zero-timeout-message-"+g++,r=function(i){i.data==o&&(t.stopPropagation(i),h(n,"message",r),e())};u(n,"message",r),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,r=e("../lib/event"),i=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 C=!1,x=!1,S="",E=0,A=0,T=0,$=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,R=0;try{var O=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",i("editor")),t.session)){var o=t.session.selection.cursor.row;n.setAttribute("aria-label",i("Cursor at row $0",[o+1]))}},this.setAriaOptions({role:"textbox"}),r.addListener(n,"blur",(function(e){x||(t.onBlur(e),O=!1)}),t),r.addListener(n,"focus",(function(e){if(!x){if(O=!0,s.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),s.isEdge?setTimeout(I):I()}}),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 r=[];if(o)for(var i=n.parentElement;i&&1==i.nodeType;)r.push(i),i.setAttribute("ace_nocontext","true"),i=!i.parentElement&&i.getRootNode?i.getRootNode().host:i.parentElement;n.focus({preventScroll:!0}),o&&r.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 O},t.on("beforeEndOperation",(function(){var e=t.curOp,o=e&&e.command&&e.command.name;if("insertstring"!=o){var r=o&&(e.docChanged||e.selectionChanged);w&&r&&(S=n.value="",U()),I()}}));var L=function(e,n){for(var o=n,r=1;r<=e-$&&r<2*R+1;r++)o+=t.session.getLine(e-r).length+1;return o},I=m?function(e){if(O&&(!o||e)&&!k){e||(e="");var r="\n ab"+e+"cde fg\n";r!=n.value&&(n.value=S=r);var i=4+(e.length||(t.selection.isEmpty()?0:1));4==E&&A==i||n.setSelectionRange(4,i),E=4,A=i}}:function(){if(!w&&!k&&(O||N)){w=!0;var e=0,o=0,r="";if(t.session){var i=t.selection,s=i.getRange(),a=i.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(r=l.join("\n"),e=L(s.start.row,s.start.column),o=L(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,r=u+"\n"+r}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+=r.length+1,r=r+"\n"+h}else b&&a>0&&(r="\n"+r,o+=1,e+=1);r.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||C?t.onTextInput(c):t.onTextInput(c,{extendLeft:a,extendRight:l,restoreStart:u,restoreEnd:h}),k=!1,S=e,E=r,A=i,T=h,g?"\n":c},F=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,r=D(o,!0);(o.length>500||v.test(r)||b&&E<1&&E==A)&&I()},z=function(e,t,n){var o=e.clipboardData||window.clipboardData;if(o&&!u){var r=h||n?"Text":"text/plain";try{return t?!1!==o.setData(r,t):o.getData(r)}catch(e){if(!n)return z(e,t,!0)}}},B=function(e,i){var s=t.getCopyText();if(!s)return r.preventDefault(e);z(e,s)?(m&&(I(s),o=s,setTimeout((function(){o=!1}),10)),i?t.onCut():t.onCopy(),r.preventDefault(e)):(o=!0,n.value=s,n.select(),setTimeout((function(){o=!1,I(),i?t.onCut():t.onCopy()})))},j=function(e){B(e,!0)},H=function(e){B(e,!1)},W=function(e){var o=z(e);c.pasteCancelled()||("string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(I),r.preventDefault(e)):(n.value="",y=!0))};r.addCommandKeyListener(n,(function(e,n,o){if(!w)return t.onCommandKey(e,n,o)}),t),r.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(),I()):b&&n.selectionStart!=E&&I())}),t),r.addListener(n,"input",F,t),r.addListener(n,"cut",j,t),r.addListener(n,"copy",H,t),r.addListener(n,"paste",W,t),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.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:j(e)}}),t);var V=function(){if(w&&t.onCompositionUpdate&&!t.$readOnly){if(C)return G();if(w.useTextareaForIME)t.onCompositionUpdate(n.value);else{var e=n.value;D(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&&F())};function G(){x=!0,n.blur(),n.focus(),x=!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)}r.addListener(n,"compositionstart",(function(e){if(!w&&t.onCompositionStart&&!t.$readOnly&&(w={},!C)){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),r.addListener(n,"compositionupdate",V,t),r.addListener(n,"keyup",(function(e){27==e.keyCode&&n.value.lengthA&&"\n"==S[s]?a=g.end:rA&&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&&r==s)&&(a=g.right),r!==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=r,A=s,I("")}}};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"),r=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 r=this.editor,i=e.getButton();return 0!==i?((r.getSelectionRange().isEmpty()||1==i)&&r.selection.moveToPosition(n),void(2==i&&(r.textInput.onContextMenu(e.domEvent),o.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||r.isFocused()||(r.focus(),!this.$focusTimeout||this.$clickSelection||r.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 r=i(this.$clickSelection,n);n=r.cursor,e=r.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),r=n.selection[e](o.row,o.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(r.start),a=this.$clickSelection.comparePoint(r.end);if(-1==s&&a<=0)t=this.$clickSelection.end,r.end.row==o.row&&r.end.column==o.column||(o=r.start);else if(1==a&&s>=0)t=this.$clickSelection.start,r.start.row==o.row&&r.start.column==o.column||(o=r.end);else if(-1==s&&1==a)o=r.end,t=r.start;else{var l=i(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,r=(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))),i=Date.now();(r>0||i-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,r=o-n.t,i=r?e.wheelX/r:n.vx,s=r?e.wheelY/r:n.vy;r<550&&(i=(i+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(i/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(i)<=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=i,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function i(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}}r.prototype.selectEnd=r.prototype.selectByLinesEnd,r.prototype.selectAllEnd=r.prototype.selectByLinesEnd,r.prototype.selectByWordsEnd=r.prototype.selectByLinesEnd,t.DefaultHandlers=r})),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,r=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 __)}),i=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 r=[];try{for(var s=i(this.popups),a=s.next();!a.done;a=s.next()){var l=a.value,c=!0;try{for(var u=(n=void 0,i(r)),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?r.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 r(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 r=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),i=t.session.documentToScreenPosition(n.row,n.column);if(i.column!=r.column||i.row!=r.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 r=e.renderer;this.isOpen||(h.addPopup(this),this.$registerCloseEvents(),this.setTheme(r.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var i=r.textToScreenCoordinates(t.start.row,t.start.column),s=r.scroller.getBoundingClientRect();i.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,r=o.renderer.$gutterLayer,i=new u(o);function l(){t&&(t=clearTimeout(t)),i.isOpen&&(i.hideTooltip(),o.off("mousewheel",l))}function c(e){i.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(o.isFocused()&&0==t.getButton()&&"foldWidgets"!=r.getRegion(t)){var n=t.getDocumentPosition().row,i=o.session.selection;if(t.getShiftKey())i.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();i.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(i.showTooltip(t),i.isOpen)if(o.on("mousewheel",l),e.$tooltipFollowsMouse)c(n);else{var u=n.getGutterRow(),h=r.$lines.get(u);if(h){var d=h.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),p=i.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,i.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 r(t,e),t.prototype.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),i=this.getHeight();(e+=15)+r>n&&(e-=e+r-n),(t+=15)+i>o&&(t-=20+i),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,r=o.$annotations[e];n=r?{text:Array.from(r.text),type:Array.from(r.type)}:{text:[],type:[]};var i=o.session.getFoldLine(e);if(i&&o.$showFoldedAnnotations){for(var s,a={error:[],warning:[],info:[]},l=e+1;l<=i.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,r=[];try{for(var s=i(["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;r.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 r.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"),r=e("../lib/useragent"),i=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 r.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},e}();t.MouseEvent=i})),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"),r=e("../lib/event"),i=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(),r=!n||e.row!=n.row,i=!n||e.column!=n.column;!m||r||i?(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(),r=t.renderer.layerConfig.lineHeight,i=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/i<=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,r.addListener(document,"mousemove",x)}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,r.removeListener(document,"mousemove",x)}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 r=e.dataTransfer;r.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),r.setDragImage&&r.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),r.clearData(),r.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),r.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&S(e.dataTransfer))return l=e.clientX,c=e.clientY,s||(k(),y++),null!==C&&(C=null),e.dataTransfer.dropEffect=p=E(e),r.preventDefault(e)},this.onDragLeave=function(e){if(--y<=0&&s)return _(),p=null,r.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 _(),r.preventDefault(e)}},r.addListener(b,"dragstart",this.onDragStart.bind(e),t),r.addListener(b,"dragend",this.onDragEnd.bind(e),t),r.addListener(b,"dragenter",this.onDragEnter.bind(e),t),r.addListener(b,"dragover",this.onDragOver.bind(e),t),r.addListener(b,"dragleave",this.onDragLeave.bind(e),t),r.addListener(b,"drop",this.onDrop.bind(e),t);var C=null;function x(){null==C&&(C=setTimeout((function(){null!=C&&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=i.isMac?e.altKey:e.ctrlKey,o="uninitialized";try{o=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return n&&t.indexOf(o)>=0?r="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(o)>=0?r="move":t.indexOf(o)>=0&&(r="copy"),r}}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=i.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;i.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 r=e.domEvent.target||e.domEvent.srcElement;"unselectable"in r&&(r.unselectable="on"),t.getDragDelay()?(i.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,r=e("../lib/event"),i=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 r,s,a=o.target.getAttribute("action");if("more"==a||!n)return n=!n,r=t.getCopyText(),s=t.session.getUndoManager().hasUndo(),void p.replaceChild(i.buildDom(n?["span",!r&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],r&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],r&&["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=i.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 r=t.selection.cursor,s=t.renderer.textToScreenCoordinates(r.row,r.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 i=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,p=e.timeStamp;l=p;var y=r[0],w=y.clientX,_=y.clientY;Math.abs(n-w)+Math.abs(s-_)>i&&(a=-1),n=e.clientX=w,s=e.clientY=_,v=b=0;var C=new o(e,t);if(h=C.getDocumentPosition(),p-a<500&&1==r.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 x=t.selection.cursor,S=t.selection.isEmpty()?x:t.selection.anchor,E=t.renderer.$cursorLayer.getPixelPosition(x,!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/i-.75)*t};if(e.clientXL?"cursor":"anchor"),g=L<3.5?"anchor":O<3.5?"cursor":"scroll",c=setTimeout(k,450)}a=p}),t),r.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),r.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var r=e.touches;if(!(r.length>1||"zoom"==g)){var i=r[0],a=n-i.clientX,u=s-i.clientY;if("wait"==g){if(!(a*a+u*u>4))return e.preventDefault();g="cursor"}n=i.clientX,s=i.clientY,e.clientX=i.clientX,e.clientY=i.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(i=h+1;i=e;)i++;for(a=h,l=i-1;a=t.length||2!=(l=n[r-1])&&3!=l||2!=(c=t[r+1])&&3!=c?4:(i&&(c=3),c==l?c:4);case 10:return 2==(l=r>0?n[r-1]:5)&&r+10&&2==n[r-1])return 2;if(i)return 4;for(p=r+1,d=t.length;p=1425&&f<=2303||64286==f;if(l=t[p],m&&(1==l||7==l))return 1}return r<1||5==(l=t[r-1])?4:n[r-1];case 5:return i=!1,s=!0,o;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:i=!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[C];C--)t[C]=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 i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.wrapOffset=this.wrapIndent*this.charWidths[o.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,r=o.getVisualFromLogicalIdx(n,this.bidiMap),i=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&e<=t&&i[r]%2!=0&&r++;for(var a=0;at&&i[r]%2==0&&(s+=this.charWidths[i[r]]),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,r=o.bidiLevels,i=[],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+i/2;){if(n+=i,o===r.length-1){i=0;break}i=this.charWidths[r[++o]]}return o>0&&r[o-1]%2!=0&&r[o]%2==0?(e0&&r[o-1]%2==0&&r[o]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[o]:this.bidiMap.logicalFromVisual[o-1]):this.isRtlDir&&o===r.length-1&&0===i&&r[o-1]%2==0||!this.isRtlDir&&0===o&&r[o]%2!=0?t=1+this.bidiMap.logicalFromVisual[o]:(o>0&&r[o-1]%2!=0&&0!==i&&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"),r=e("./lib/lang"),i=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 r=this.$isEmpty,i=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||r!=this.$isEmpty||i)&&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,r=this.session.getFoldLine(o);return r?(o=r.start.row,n=r.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,r=e.column+t;return n<0&&(o=e.column-t,r=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(o,r).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 r=this.session.getFoldAt(e,t,1);if(r)this.moveCursorTo(r.end.row,r.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(i)&&(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/,r=this.session.tokenRe;if(r.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(r.lastIndex=0;(t=e[n])&&!r.test(t);)if(r.lastIndex=0,n++,o.test(t)){if(n>2){n--;break}for(;(t=e[n])&&o.test(t);)n++;if(n>2)break}}return r.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),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==n.length){var i=this.doc.getLength();do{e++,o=this.doc.getLine(e)}while(e0&&/^\s*$/.test(o));n=o.length,/\s+$/.test(o)||(o="")}var i=r.stringReverse(o),s=this.$shortWordEndIndex(i);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 r=this.session.lineWidgets[this.lead.row];e<0?e-=r.rowsAbove||0:e>0&&(e+=r.rowCount-(r.rowsAbove||0))}var i=this.session.screenToDocumentPosition(o.row+e,o.column,n);0!==e&&0===t&&i.row===this.lead.row&&(i.column,this.lead.column),this.moveCursorTo(i.row,i.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 r=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(r.charAt(t))&&r.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,i),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,r=2e3,i=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=[],r=0,i=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)+r+1)})):(h=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),i[r]=l,r+=h,o.push(u),c.onMatch||(c.onMatch=null)}}o.length||(i[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){r=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=[],r=0,i=n.length;ru){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;br){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}();i.prototype.reportError=o,t.Tokenizer=i})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){"use strict";var o,r=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var o=e[n],r=0;r=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=r})),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,r,i=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 r=e.end.row-e.start.row;return{text:n+t+o,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}};(r=function(e){e=e||{},this.add("braces","insertion",(function(t,n,i,s,a){var c=i.getCursorPosition(),u=s.doc.getLine(c.row);if("{"==a){p(i);var h=i.getSelectionRange(),d=s.doc.getTextRange(h);if(""!==d&&"{"!==d&&i.getWrapBehavioursEnabled())return g(h,d,"{","}");if(r.isSaneInsertion(i,s))return/[\]\}\)]/.test(u[c.column])||i.inMultiSelectMode||e.braces?(r.recordAutoInsert(i,s,"}"),{text:"{}",selection:[1,1]}):(r.recordMaybeInsert(i,s,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(p(i),"}"==u.substring(c.column,c.column+1)&&null!==s.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&r.isAutoInsertedClosing(c,u,a))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){p(i);var f="";if(r.isMaybeInsertedClosing(c,u)&&(f=l.stringRepeat("}",o.maybeInsertedBrackets),r.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 r.clearMaybeInsertedClosing();v=this.$getIndent(u)}var b=v+s.getTabString();return{text:"\n"+b+"\n"+v+f,selection:[1,b.length,1,b.length]}}r.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&"{"==s){if(p(n),"}"==r.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i;o.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,o,i){if("("==i){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"(",")");if(r.isSaneInsertion(n,o))return r.recordAutoInsert(n,o,")"),{text:"()",selection:[1,1]}}else if(")"==i){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})&&r.isAutoInsertedClosing(l,c,i))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&"("==i&&(p(n),")"==o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("brackets","insertion",(function(e,t,n,o,i){if("["==i){p(n);var s=n.getSelectionRange(),a=o.doc.getTextRange(s);if(""!==a&&n.getWrapBehavioursEnabled())return g(s,a,"[","]");if(r.isSaneInsertion(n,o))return r.recordAutoInsert(n,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){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})&&r.isAutoInsertedClosing(l,c,i))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&"["==i&&(p(n),"]"==o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("string_dquotes","insertion",(function(e,t,n,o,r){var i=o.$mode.$quotes||d;if(1==r.length&&i[r]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(r))return;p(n);var s=r,a=n.getSelectionRange(),l=o.doc.getTextRange(a);if(!(""===l||1==l.length&&i[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 C=k.test(f),x=o.$mode.$pairQuotesAfter;if(!(x&&x[s]&&x[s].test(h))&&_||C)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,r){var i=o.$mode.$quotes||d,s=o.doc.getTextRange(r);if(!r.isMultiLine()&&i.hasOwnProperty(s)&&(p(n),o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)==s))return r.end.column++,r})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,o,r){if("doc-start"===e&&("\n"===r||"\r\n"===r)&&n.selection.isEmpty()){var i=n.getCursorPosition(),s=o.doc.getLine(i.row),a=o.doc.getLine(i.row+1),l=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:r+l+"* ",selection:[1,3+l.length,1,3+l.length]}:{text:r+l+" * ",selection:[1,3+l.length,1,3+l.length]};if(/\/\*\*/.test(s.substring(0,i.column)))return{text:r+l+" * "+r+" "+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 r=new a(t,n.row,n.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",c))return!1}return o.stepForward(),o.getCurrentTokenRow()!==n.row||this.$matchTokenType(o.getCurrentToken()||"text",u)},r.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},r.recordAutoInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,i,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=r.row,o.autoInsertedLineEnd=n+i.substr(r.column),o.autoInsertedBrackets++},r.recordMaybeInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,i)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=r.row,o.maybeInsertedLineStart=i.substr(0,r.column)+n,o.maybeInsertedLineEnd=i.substr(r.column),o.maybeInsertedBrackets++},r.isAutoInsertedClosing=function(e,t,n){return o.autoInsertedBrackets>0&&e.row===o.autoInsertedRow&&n===o.autoInsertedLineEnd[0]&&t.substr(e.column)===o.autoInsertedLineEnd},r.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},r.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},r.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},i.inherits(r,s),t.CstyleBehaviour=r})),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],r=0,i=[],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)||i&&!/\S/.test(e)||(r.insertInLine({row:t,column:e.length},g),r.insertInLine({row:t,column:a},p))},b=function(e,t){var n;(n=e.match(m))&&r.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(f))&&r.removeInLine(t,n[1].length,n[0].length)},y=function(e,n){if(f.test(e))return!0;for(var o=t.getTokens(n),r=0;re.length&&(k=e.length)})),a==1/0&&(a=k,i=!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 r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var i,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(r.start))){var p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m;c=new h(p,g,p,g+r.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(r.end))){p=f.getCurrentTokenRow(),g=f.getCurrentTokenColumn()+m,d=new h(p,g,p,g+r.end.length);break}a=f.stepForward()}d&&t.remove(d),c&&(t.remove(c),i=c.start.row,s=-r.start.length)}else s=r.start.length,i=n.start.row,t.insert(n.end,r.end),t.insert(n.start,r.start);l.start.row==i&&(l.start.column+=s),l.end.row==i&&(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,i=r.$modes[o];i||(r.$modes[o]=i=new n),r.$modes[t]||(r.$modes[t]=i),this.$embeds.push(t),this.$modes[t]=i}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,r=(o?1:-1)*(e.end.row-e.start.row),i=(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+r,column:t.column+(t.row==l.row?i: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 r={row:this.row,column:this.column};this.row=o.row,this.column=o.column,this._signal("change",{old:r,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):(r(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),i<=o&&n.fireUpdateEvent(i,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(i.prototype,r),t.BackgroundTokenizer=i})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){"use strict";var o=e("./lib/lang"),r=e("./range").Range,i=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,i){if(this.regExp)for(var s=i.firstRow,a=i.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 r(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,i))}}},e}();i.prototype.MAX_RANGES=500,t.SearchHighlight=i})),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 r=n[o][0];if(r.id<=e)break;r.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 r=e("./range").Range,i=r.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(i(t.start,e.end)>=0)d(t,e,-1);else{if(!(i(t.start,e.start)<=0))return null;d(e,t,1)}else if(n&&!o)if(i(t.start,e.end)>=0)d(t,e,-1);else{if(!(i(t.end,e.start)<=0))return null;d(e,t,-1)}else if(!n&&o)if(i(t.start,e.start)>=0)d(t,e,1);else{if(!(i(t.start,e.start)<=0))return null;d(e,t,1)}else if(!n&&!o)if(i(t.start,e.start)>=0)d(t,e,1);else{if(!(i(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):(i(e.start,t.start)<=0||d(e,r.fromPoints(t.start,e.start),-1),d(t,e,1));else if(!n&&o)i(t.start,e.end)>=0?d(t,e,-1):(i(t.start,e.start)<=0||d(t,r.fromPoints(e.start,t.start),-1),d(e,t,1));else if(!n&&!o)if(i(t.start,e.end)>=0)d(t,e,-1);else{var s,a;if(!(i(t.end,e.start)<=0))return i(e.start,t.start)<0&&(s=e,e=g(e,t.start)),i(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 r=e.end.row-e.start.row,i=n.splice(r,n.length),a=r?t.column:t.column-e.start.column;return n.push(i[0].substring(0,a)),i[0]=i[0].substr(a),{start:s(t),end:o,lines:i,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],r=0;rthis.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,r,i=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?-i-2:i:l>0||0===l&&!t?i:-i-1}}return-i-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,r=(n=n.sort((function(e,t){return o(e.start,t.start)})))[0],i=1;i=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=r-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==i[s+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=o-r,c=t.column-n.column;sr);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>r&&(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>r&&(u.start.row+=l);if(0!=l&&s=e)return r;if(r.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 r}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,o=t-e+1,r=0;r=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 i?n=e:(n=new i(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,r;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 r=[],e.forEach((function(e){r=r.concat(this.unfold(e))}),this),r;n=e}for(var i=r=this.getFoldsInRangeList(n);1==r.length&&o.comparePoints(r[0].start,n.start)<0&&o.comparePoints(r[0].end,n.end)>0;)this.expandFolds(r),r=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(r):this.expandFolds(r),i.length)return i},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,r){null==o&&(o=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var i=this.doc,s="";return e.walk((function(e,t,n,a){if(!(tu)break}while(i&&l.test(i.type)&&!/^comment.start/.test(i.type));i=r.stepBackward()}else i=r.getCurrentToken();return c.end.row=r.getCurrentTokenRow(),c.end.column=r.getCurrentTokenColumn(),/^comment.end/.test(i.type)||(c.end.column+=i.value.length-2),c}},this.foldAll=function(e,t,n,o){null==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var i=e=e||0;i=e&&(i=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 i=n[r];if(null==i&&(i=n[r]=this.getFoldWidget(r)),"start"==i){var s=this.getFoldWidgetRange(r);if(o||(o=s),s&&s.end.row>=e)break}r--}return{range:-1!==r&&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),r="end"===n?-1:1,i=this.getFoldAt(e,-1===r?0:o.length,r);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(i=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(i.range))return this.removeFold(i),i;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 r=this.getFoldAt(t,this.getLine(t).length,1);r?this.removeFold(r):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,r=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,i=n.charAt(e.column-1),s=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(s||(i=n.charAt(e.column),e={row:e.row,column:e.column+1},s=i&&i.match(/([\(\[\{])|([\)\]\}])/),o=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=r.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=r.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=/([\(\[\{])|([\)\]\}])/,i=!t&&n.charAt(e.column-1),s=i&&i.match(o);if(s||(i=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},s=i&&i.match(o)),!s)return null;var a=new r(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 r(l.row,l.column,l.row,l.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var r=this.$brackets[e],i=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==r){if(0==(i-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else u==e&&(i+=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 r=this.$brackets[e],i=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,i=t.value,s=0,a=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new r(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 r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(i===(o=t.value))if("<"===n.value)s++;else if(""!==t.value)return;var p=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else i===o&&"/>"===t.value&&--s<0&&(p=d=h=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new r(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 r(a.start.row,a.start.column,u.end.row,u.end.column),closeTag:new r(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,i=0,s=e.getCurrentTokenRow(),a=e.getCurrentTokenColumn(),l=a+2,c=new r(s,a,s,l);e.stepForward();var u=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if((t=e.stepForward())&&">"===t.value){var h=new r(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(++i>0){var d=new r(s,a,s,l),p=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var g=new r(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){i--;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 r=n+o>>1,i=e[r];if(t>i)n=r+1;else{if(!(t=t);i++);return(n=o[i])?(n.index=i,n.start=r-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=r.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()?r.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 r=this.tokenRe;else r=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var i=t;if(i>0){do{i--}while(i>=0&&n.charAt(i).match(r));i++}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,r=0,i=this.$foldData[r],s=i?i.start.row:1/0,a=t.length,l=0;ls){if((l=i.end.row+1)>=a)break;s=(i=this.$foldData[r++])?i.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&&(i.start.column+=c),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=c)),s&&i.start.row>=e.end.row&&(i.start.row+=s,i.end.row+=s)}if(i.end=this.insert(i.start,o),r.length){var a=e.start,l=i.start,c=(s=l.row-a.row,l.column-a.column);this.addFolds(r.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 i},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(),r=t.start.row;r<=t.end.row;++r){var i=this.getLine(r);n.start.row=r,n.end.row=r;for(var s=0;s0){var r;if((r=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;o=r-t}else e=this.$clipRowToDocument(e),o=(t=this.$clipRowToDocument(t))-e+1;var i=new u(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(i).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,r=e.end,i=o.row,s=r.row,a=s-i,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(i,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(f=this.getFoldLine(r.row)){f.addRemoveChars(r.row,r.column,o.column-r.column),f.shiftRow(-a);var h=this.getFoldLine(i);h&&h!==f&&(h.merge(f),f=h),u=c.indexOf(f)+1}for(;u=r.row&&f.shiftRow(-a);s=i}else{var d=Array(a);d.unshift(i,0);var p=t?this.$wrapData:this.$rowLengthCache;if(p.splice.apply(p,d),c=this.$foldData,u=0,f=this.getFoldLine(i)){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,r.column-o.column)):-1==g&&(f.addRemoveChars(i,0,r.column-o.column),f.shiftRow(a)),u=c.indexOf(f)+1}for(;u=i&&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(i))&&f.addRemoveChars(i,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(i,s):this.$updateRowLengthCache(i,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,r=this.doc.getAllLines(),i=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,l=e;for(t=Math.min(t,r.length-1);l<=t;)(o=this.getFoldLine(l,o))?(n=[],o.walk(function(e,t,o,i){var s;if(null!=e){(s=this.$getDisplayTokens(e,n.length))[0]=b;for(var a=1;at-h;){var d=i+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)),i-1);d>p&&e[d]p&&e[d]p&&e[d]==w;)d--}else for(;d>p&&e[d]p?u(++d):(e[d=i+t]==v&&d--,u(d-h))}else{for(;d!=i-1&&e[d]!=b;d--);if(d>i){u(d);continue}for(d=i+t;d39&&i<48||i>57&&i<64?o.push(w):i>=4352&&x(i)?o.push(m,v):o.push(m)}return o},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var o,r;for(null==t&&(t=1/0),n=n||0,r=0;r=4352&&x(o)?n+=2:n+=1,!(n>t));r++);return[n,r]},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],i=this.$docRowCache[u];var d=e>c[h-1]}else d=!h;for(var p=this.getLength()-1,g=this.getNextFoldLine(i),f=g?g.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(i))>e||i>=p);)a+=l,++i>f&&(i=g.end.row+1,f=(g=this.getNextFoldLine(i,g))?g.start.row:1/0),d&&(this.$docRowCache.push(i),this.$screenRowCache.push(a));if(g&&g.start.row<=i)o=this.getFoldDisplayLine(g),i=g.start.row;else{if(a+l<=e||i>p)return{row:p,column:this.getLine(p).length};o=this.getLine(i),g=null}var m=0,v=Math.floor(e-a);if(this.$useWrapMode){var b=this.$wrapData[i];b&&(r=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,i,v)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(o,t-m)[1],this.$useWrapMode&&s>=r&&(s=r-1),g?g.idxToPosition(s):{row:i,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,r=0,i=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],r=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;r+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(r))}var g="";d&&a>=p?(g=this.getFoldDisplayLine(d,e,t),i=d.start.row):(g=this.getLine(e).substring(0,t),i=e);var f=0;if(this.$useWrapMode){var m=this.$wrapData[i];if(m){for(var v=0;g.length>=m[v];)r++,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&&(r+=this.lineWidgets[a].rowsAbove),{row:r,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,r=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);or&&(o=t.end.row+1,r=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);i++);return[o,i]})},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=x,o.implement(f.prototype,a);var m=1,v=2,b=3,y=4,w=9,k=10,_=11,C=12;function x(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"),r=e("./lib/oop"),i=e("./range").Range,s=function(){function e(){this.$options={}}return e.prototype.set=function(e){return r.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,r,s){return o=new i(e,n,r,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,r=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=r.length-c;e:for(var h=a.offset||0;h<=u;h++){for(var d=0;df||(s.push(l=new i(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,i){var s=r?t-d+1:t;if(!(s<0||s+d>e.getLength())){var a=e.getLine(s),l=a.search(n[0]);if(!(!r&&lo))return!!i(s,l,s+d-1,u)||void 0}}};else p=r?function(t,r,i){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>r)break;c.push(a.index,h)}for(var d=c.length-1;d>=0;d-=2){var p=c[d-1];if(i(t,p,t,p+(h=c[d])))return!0}}:function(t,r,i){var a,l,c=e.getLine(t);for(n.lastIndex=r;l=n.exec(c);){var u=l[0].length;if(i(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,r=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 __)}),i=e("../lib/keys"),s=e("../lib/useragent"),a=i.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 r in o){var i=o[r];if(i==e)delete o[r];else if(Array.isArray(i)){var s=i.indexOf(e);-1!=s&&(i.splice(s,1),1==i.length&&(o[r]=i[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 r=e.split(/\s+/);e=r.pop(),r.forEach((function(e){var t=this.parseKeys(e),n=a[t.hashId]+t.key;o+=(o?" ":"")+n,this._addCommandToBinding(o,"chainKeys")}),this),o+=" "}var i=this.parseKeys(e),s=a[i.hashId]+i.key;this._addCommandToBinding(o+s,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var o,r=this.commandKeyBinding;if(t)if(!r[e]||this.$singleCommand)r[e]=t;else{Array.isArray(r[e])?-1!=(o=r[e].indexOf(t))&&r[e].splice(o,1):r[e]=[r[e]],"number"!=typeof n&&(n=c(t));var i=r[e];for(o=0;on);o++);i.splice(o,0,t)}else delete r[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=i[n];if(i.FUNCTION_KEYS[o])n=i.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 r=0,s=t.length;s--;){var a=i.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;r|=a}return{key:n,hashId:r}},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 r=a[t]+n,i=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,i=this.commandKeyBinding[e.$keyChain]||i),!i||"chainKeys"!=i&&"chainKeys"!=i[i.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||o>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:i}):(e.$keyChain=e.$keyChain||r,{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 r(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,r=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 __)}),i=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 r(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 r={editor:t,command:e,args:n};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),!1!==r.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);i.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"),r=e("../config"),i=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){r.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){r.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){r.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){r.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){r.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(),r=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<=r.row+1;c++){var u=o.stringTrimLeft(o.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}r.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,r=[];o.length<1&&(o=[e.selection.getRange()]);for(var s=0;st[n].column&&n++,i.unshift(n,0),t.splice.apply(t,i),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 r=this.session.lineWidgets;e.row!=n.end.row||r[n.start.row]?e.hidden=!0:r[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 r=1/0,i=0;i0&&!o[r];)r--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=r;s<=i;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=r})),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"),r=e("../mouse/default_gutter_handler").GutterTooltip,i=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 r(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.")},r=e("./lib/oop"),i=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,C=e("./clipboard"),x=e("./lib/keys"),S=function(){function e(t,n,o){this.session,this.$toDestroy=[];var r=t.getContainerElement();this.container=r,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(),r=this.renderer.layerConfig;(o.start.row>=r.lastRow||o.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}var i=this.selection.toJSON();this.curOp.selectionAfter=i,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(i),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 r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),o=o&&this.mergeNextCommand&&(!/\s/.test(r)||/\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")||i.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(),r=o&&o.$getDirectionForHighlight&&o.$getDirectionForHighlight(e),i=t.getMatchingBracketRanges(n,r);if(!i){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&&(i=[a.openTagName,a.closeTagName])}}if(!i&&t.$mode.getMatching&&(i=t.$mode.getMatching(e.session)),i){var l="ace_bracket";Array.isArray(i)?1==i.length&&(l="ace_error_bracket"):i=[i],2==i.length&&(0==g.comparePoints(i[0].end,i[1].start)?i=[g.fromPoints(i[0].start,i[1].end)]:0==g.comparePoints(i[0].start,i[1].end)&&(i=[g.fromPoints(i[1].start,i[0].end)])),t.$bracketHighlight={ranges:i,markerIds:i.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 r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),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,r=e.getLine(t.start.row),i=r.substring(n,o);if(!(i.length>5e3)&&/[\w\d]/.test(i)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:i}),a=r.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(),r=0;ra.search(/\S|$/)){var l=a.substr(r.column).search(/\S|$/);n.doc.removeInLine(r.row,r.column,r.column+l)}}this.clearSelection();var c=r.column,u=n.getState(r.row),h=(a=n.getLine(r.row),o.checkOutdent(u,a,e));if(n.insert(r,e),i&&i.selection&&(2==i.selection.length?this.selection.setSelectionRange(new g(r.row,c+i.selection[0],r.row,c+i.selection[1])):this.selection.setSelectionRange(new g(r.row+i.selection[0],i.selection[1],r.row+i.selection[2],i.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var d=o.getNextLineIndent(u,a.slice(0,r.column),n.getTabString());n.insert({row:r.row+1,column:0},d)}h&&o.autoOutdent(u,n,r.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="",r="",i="",s=e.getTabString(),a=0;a0&&(o=e.getState(u-1),r=e.getLine(u-1),i=t.getNextLineIndent(o,r,s));var h=e.getLine(u),d=t.$getIndent(h);if(i!==d){if(d.length>0){var p=new g(u,0,u,d.length);e.remove(p)}i.length>0&&e.insert({row:u,column:0},i)}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),r=n.getMode().transformAction(o,"deletion",this,n,t);if(0===t.end.column){var i=n.getTextRange(t);if("\n"==i[i.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}r&&(t=r)}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,r=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var r=new g(0,0,0,0);for(o=e.first;o<=e.last;o++){var i=t.getLine(o);r.start.row=o,r.end.row=o,r.end.column=i.length,t.replace(r,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:r[0],start:r.index,end:r.index+r[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),r=this.session.getTextRange(o);if(!isNaN(parseFloat(r))&&isFinite(r)){var i=this.getNumberAt(t,n);if(i){var s=i.value.indexOf(".")>=0?i.start+i.value.indexOf(".")+1:i.end,a=i.start+i.value.length-s,l=parseFloat(i.value);l*=Math.pow(10,a),s!==i.end&&n=a&&i<=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&&(r=u.return)&&r.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 r=n.start.row;t.duplicateLines(r,r)}else{var i=o?n.start:n.end,s=t.insert(i,t.getTextRange(n));n.start=i,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,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var i=r.toOrientedRange();n=this.$getSelectedRows(i),o=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(o=0),i.moveBy(o,0),r.fromOrientedRange(i)}else{var s=r.rangeList.ranges;r.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}r.fromOrientedRange(r.ranges[0]),r.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,r=e*Math.floor(o.height/o.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(r,0)})):!1===t&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection());var i=n.scrollTop;n.scrollBy(0,r*o.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(i)},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),r=o.getCurrentToken(),i=0;r&&-1!==r.type.indexOf("tag-name")&&(r=o.stepBackward());var s=r||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;--i)this.$tryReplace(n[i],e)&&o++;return this.selection.setSelectionRange(r),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&&r.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 i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,n),i):(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 r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var i=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,i=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=i.top-s.offset;null!=(o=i.top>=0&&a+t.top<0||!(i.topwindow.innerHeight)&&null)&&(r.style.top=a+"px",r.style.left=i.left+"px",r.style.height=s.lineHeight+"px",r.scrollIntoView(o)),o=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",i),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,i.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(r){r.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"],["&&","||"],["==","!="]],r.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),i.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),i.addCssClass(this.container,"ace_hasPlaceholder");var t=i.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===x.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"),r=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,r=Math.floor(o/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-r*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;ni&&(l=r.end.row+1,i=(r=t.getNextFoldLine(l,r))?r.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,r,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,r=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(r=t.getLength()+o-1);var i=n?n.getWidth(t,r,e):r.toString().length*e.characterWidth,s=this.$padding||this.$computePadding();(i+=s.left+s.right)===this.gutterWidth||isNaN(i)||(this.gutterWidth=i,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",i))},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 r=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&r&&r.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;r--)this.$lines.shift();if(o>n)for(r=this.session.getFoldedRowCount(n+1,o);r>0;r--)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=[],r=t,i=this.session.getNextFoldLine(r),s=i?i.start.row:1/0;r>s&&(r=i.end.row+1,s=(i=this.session.getNextFoldLine(r,i))?i.start.row:1/0),!(r>n);){var a=this.$lines.createCell(r,e,this.session,u);this.$renderCell(a,e,i,r),o.push(a),r++}return o},e.prototype.$renderCell=function(e,t,n,r){var i=e.element,s=this.session,a=i.childNodes[0],c=i.childNodes[1],u=i.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,r):r+d).toString();if(this.$highlightGutterLine&&(r==this.$cursorRow||n&&r=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[r]&&(y+=p[r]),g[r]&&(y+=g[r]),this.$annotations[r]&&r!==v&&(y+=this.$annotations[r].className),m){var _=m[r];null==_&&(_=m[r]=s.getFoldWidget(r))}if(_){var C="ace_fold-widget ace_"+_,x="start"==_&&r==v&&rn.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 r=o.createElement("span");e.appendChild(r);var i=o.createElement("span");return r.appendChild(i),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,r.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,r=e("../lib/dom"),i=function(){function e(e){this.element=r.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 r=o.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),o.renderer){var i=this.$getTop(r.start.row,e),s=this.$padding+r.start.column*e.characterWidth;o.renderer(t,r,s,i,e)}else"fullLine"==o.type?this.drawFullLineMarker(t,r,o.clazz,e):"screenLine"==o.type?this.drawScreenLineMarker(t,r,o.clazz,e):r.isMultiLine()?"text"==o.type?this.drawTextMarker(t,r,o.clazz,e):this.drawMultiLineMarker(t,r,o.clazz,e):this.drawSingleLineMarker(t,r,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)),r,c==l?0:1,i)},e.prototype.drawMultiLineMarker=function(e,t,n,o,r){var i=this.$padding,s=o.lineHeight,a=this.$getTop(t.start.row,o),l=i+t.start.column*o.characterWidth;if(r=r||"",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,r)):this.elt(n+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+a+"px;left:"+l+"px;"+(r||"")),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,r)}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:"+i+"px;"+(r||""))}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:"+i+"px;"+(r||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,o,r,i){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,o,r,i);var s=o.lineHeight,a=(t.end.column+(r||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;"+(i||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,o,r,i){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+(r||0))+"px;top:"+a+"px;left:"+(l+e.left)+"px;"+(i||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,o,r){var i=this.$getTop(t.start.row,o),s=o.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,o)-i),this.elt(n,"height:"+s+"px;top:"+i+"px;left:0;right:0;"+(r||""))},e.prototype.drawScreenLineMarker=function(e,t,n,o,r){var i=this.$getTop(t.start.row,o),s=o.lineHeight;this.elt(n,"height:"+s+"px;top:"+i+"px;left:0;right:0;"+(r||""))},e}();i.prototype.$padding=0,t.Marker=i})),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"),r=e("../lib/dom"),i=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=r,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>r);){var h=i[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;r--)this.$lines.shift();if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)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=[],i=t,s=this.session.getNextFoldLine(i),a=s?s.start.row:1/0;i>a&&(i=s.end.row+1,a=(s=this.session.getNextFoldLine(i,s))?s.start.row:1/0),!(i>n);){var l=this.$lines.createCell(i,e,this.session),c=l.element;this.dom.removeChildren(c),r.setStyle(c.style,"height",this.$lines.computeLineHeight(i,e,this.session)+"px"),r.setStyle(c.style,"top",this.$lines.computeLineTop(i,e,this.session)+"px"),this.$renderLine(c,i,i==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",o.push(l),i++}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 r,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;r=a.exec(o);){var d=r[1],p=r[2],g=r[3],f=r[4],m=r[5];if(s.showSpaces||!p){var v=h!=r.index?o.slice(h,r.index):"";if(h=r.index+r[0].length,v&&u.appendChild(this.dom.createTextNode(v,this.element)),d){var b=s.session.getScreenTabSize(t+r.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=i.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=i.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 r=(o-=o%this.tabSize)/this.tabSize,i=0;ir[i].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,i=t.row+1;i0)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(i.stringRepeat(" ",n.indent),this.element)),a=0,s=n[++r]||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,r,i);n=this.$renderToken(e,n,r,i)}}},e.prototype.$renderOverflowMessage=function(e,t,n,o,r){n&&this.$renderToken(e,t,n,o.slice(0,this.MAX_LINE_LENGTH-t));var i=this.dom.createElement("span");i.className="ace_inline_button ace_keyword ace_toggle_wrap",i.textContent=r?"":"",e.appendChild(i)},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 r=e;if(o.length){var i=this.session.getRowSplitData(t);i&&i.length?(this.$renderWrappedLine(e,o,i),r=e.lastChild):(r=e,this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r)),this.$renderSimpleLine(r,o))}else this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r));if(this.showEOL&&r){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,r.appendChild(s)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,o=[],r=n.getTokens(e);return t.walk((function(e,t,i,s,a){null!=e?o.push({type:"fold",value:e}):(a&&(r=n.getTokens(t)),r.length&&function(e,t,n){for(var r=0,i=0;i+e[r].value.lengthn-t&&(s=s.substring(0,n-t)),o.push({type:e[r].type,value:s}),i=t+s.length,r+=1);in?o.push({type:e[r].type,value:s.substring(0,n-i)}):o.push(e[r]),i+=s.length,r+=1}}(r,s,i))}),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"),r=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[r++]||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>r;)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}();r.prototype.$padding=0,r.prototype.drawCursor=null,t.Cursor=r})),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,r=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 __)}),i=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}();i.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 r(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 r(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,r=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 __)}),i=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}();i.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 r(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,r=t.clientY,i=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(i+o-r);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 r(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,r=t.clientX,i=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(i+o-r);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"),r=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=r})),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"),r=e("../lib/dom"),i=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=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=i.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=i.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=r.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 r(e,t){return[e[0]+t[0],e[1]+t[1]]}function i(e,t){return[e*t[0],e*t[1]]}function s(e){var t=e.getBoundingClientRect();return[t.left,t.top]}e&&(e=i(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(r(l,c),r(u,a))),p=i(1+d[0],o(l,a)),g=i(1+d[1],o(c,a));if(t){var f=t,m=d[0]*f[0]/h+d[1]*f[1]/h+1,v=r(i(f[0],p),i(f[1],g));return r(i(1/m/h,v),a)}var b=o(e,a),y=n(o(p,i(d[0],b)),o(g,i(d[1],b)),b);return i(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"),r=e("../lib/oop"),i=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 i=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,i),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}();r.implement(s.prototype,i),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"),r=e("./lib/dom"),i=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");r.importCssString(b,"ace_editor.css",!1);var k=function(){function e(e,t){var n=this;this.container=e||r.createElement("div"),r.addCssClass(this.container,"ace_editor"),r.HI_DPI&&r.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=r.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=r.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=r.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(),r.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 r=this.container;o||(o=r.clientHeight||r.scrollHeight),n||(n=r.clientWidth||r.scrollWidth);var i=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(i|this.$changes,!0):this.$loop.schedule(i|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 i=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,i|=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",i|=this.CHANGE_SCROLL),n&&(e||s.width!=n)){i|=this.CHANGE_SIZE,s.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,r.setStyle(this.scrollBarH.element.style,"left",t+"px"),r.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),r.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";r.setStyle(this.scrollBarH.element.style,"right",l),r.setStyle(this.scroller.style,"right",l),r.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)}return s.$dirty=!n||!o,i&&this._signal("resize",a),i},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=r.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.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,i=n.top,s=n.left;i-=o.offset;var a=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(i<0||i>o.height-a)r.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 i+=this.lineHeight+2;else i+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-l&&(s=this.$size.scrollerWidth-l),s+=this.gutterWidth+this.margin.left,r.setStyle(e,"height",a+"px"),r.setStyle(e,"width",l+"px"),r.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-l),Math.min(i,c))}}}else r.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 r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|o,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,o){var r=this.margin;r.top=0|e,r.bottom=0|t,r.right=0|o,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.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(),r.translate(this.content,-this.scrollLeft,-n.offset);var i=n.width+2*this.$padding+"px",s=n.minHeight+"px";r.setStyle(this.content.style,"width",i),r.setStyle(this.content.style,"height",s)}if(e&this.CHANGE_H_SCROLL&&(r.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 r=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,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,r=this.$getLongestLine(),i=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-r-2*this.$padding<0),s=this.$horizScroll!==i;s&&(this.$horizScroll=i,this.scrollBarH.setVisible(i));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,r+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!=r||s)&&(k=this.CHANGE_H_SCROLL),(s||d)&&(k|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),d&&(r=this.$getLongestLine())),this.layerConfig={width:r,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(r-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),r=o.left,i=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>i?(t&&l+s>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):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 r=e+this.scrollLeft-n.left-this.$padding,i=r/this.characterWidth,s=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=this.$blockCursor?Math.floor(i):Math.round(i);return{row:s,column:a,side:i-a>0?1:-1,offsetX:r}},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 r=e+this.scrollLeft-n.left-this.$padding,i=r/this.characterWidth,s=this.$blockCursor?Math.floor(i):Math.round(i),a=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),r)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=this.session.documentToScreenPosition(e,t),r=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,e)?this.session.$bidiHandler.getPosLeft(o.column):Math.round(o.column*this.characterWidth)),i=o.row*this.lineHeight;return{pageX:n.left+r-this.scrollLeft,pageY:n.top+i-this.scrollTop}},e.prototype.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){r.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?(r.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),r.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 r=e.split("\n");if(this.addToken(r[0],"ghost_text",o.row,o.column),this.$ghostText={text:e,position:{row:o.row,column:o.column}},r.length>1){this.$ghostTextWidget={text:r.slice(1).join("\n"),row:o.row,column:o.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var i=this.$cursorLayer.getPixelPosition(o,!0),s=this.container.getBoundingClientRect().height,a=r.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){r.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"),r=e("../lib/net"),i=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('"+r.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,i),this.$createWorkerFromOldConfig=function(t,n,o,r,i){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)r=r||s.moduleUrl(n,"worker");else{var l=this.$normalizePath;r=r||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(r),i&&this.send("importScripts",i),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 r.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,r=!1,a=Object.create(i),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),o&&(r?setTimeout(h):h())}});u.setEmitSync=function(e){r=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,r=e("./lib/event_emitter").EventEmitter,i=e("./lib/oop"),s=function(){function e(e,t,n,o,r,i){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=i,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 r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=n.addMarker(new o(r.row,r.column,r.row,r.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,i=t.start.column-this.pos.column;if(this.updateAnchors(e),r&&(this.length+=n),r&&!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+i};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+i},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,r){t.removeMarker(n.markerId),n.markerId=t.addMarker(new o(n.row,n.column,n.row,n.column+e.length),r,null,!1)};n(this.pos,this.mainClass);for(var r=this.others.length;r--;)n(this.others[r],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,r=e("./range").Range,i=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=r.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var o=this.session.documentToScreenPosition(this.cursor),i=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(o,i).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var o=[],i=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(i.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 r=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&r?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 r=t.indexOf(o);-1!=r&&t.splice(r,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,r=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,l=this.selection,c=l.rangeList,u=(r?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 i(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(" ",i-u)):e.remove(new r(o.row,o.column,o.row,o.column-i+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,r,i=!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,r=t[3].length,t):(n+o+r!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(i=!1),n>t[1].length&&(n=t[1].length),ot[3].length&&(r=t[3].length),t):[e]})).map(t?c:i?s?function(e){return e[2]?a(n+o-e[2].length)+e[2]+a(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(n)+e[2]+a(r)+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+r)+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,r=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 r=/\S/,i=e.getLine(t),s=i.search(r);if(-1!=s){for(var a=n||i.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,r,i){var s={row:n,column:r+1},a=e.$findClosingBracket(t,s,i);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,r,i){var s={row:n,column:r},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,o.fromPoints(a,s)}}).call(r.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,r=e("../lib/dom"),i=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(i.comparePoints);if(o.length){var r=function(e,t,n){for(var o=0,r=e.length-1;o<=r;){var i=o+r>>1,s=n(t,e[i]);if(s>0)o=i+1;else{if(!(s<0))return i;r=i-1}}return-(o+1)}(o,{row:t,column:-1},i.comparePoints);r<0&&(r=-r-1),r>=o.length?r=n>0?0:o.length-1:0===r&&n<0&&(r=o.length-1);var s=o[r];if(s&&n){if(s.row===t){do{s=o[r+=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[r+=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:r.createElement("div"),type:"errorMarker"},g=p.el.appendChild(r.createElement("div")),f=p.el.appendChild(r.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(r.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})},r.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"),r=e("./range").Range,i=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 r=e;if(!(e=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(e&&e.env&&e.env.editor instanceof i)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 i(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=r,t.Editor=i,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)}))},7424:(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"),r=e("./lib/oop"),i=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 r=t(e.substr(1));return o.unshift(r[0]),r},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||"",r=t.guard;r=new RegExp(r,o.replace(/[^gim]/g,""));var i="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,s=this,a=e.replace(r,(function(){var e=s.variables.__;s.variables.__=[].slice.call(arguments);for(var t=s.resolveVariables(i,n),o="E",r=0;r=0&&i.splice(s,1)}}e.content?r(e):Array.isArray(e)&&e.forEach(r)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],o={},r=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=r.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 i=t[2],s=t[3];if("regex"==i){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"==i?(o.tabTrigger=s.match(/^\S*/)[0],o.name||(o.name=s)):i&&(o[i]=s)}}return n},e.prototype.getSnippetByName=function(e,t){var n,o=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var r=o[t];return r&&(n=r[e]),!!n}),this),n},e}();r.implement(g.prototype,i);var f=function(e,t,n){void 0===n&&(n={});var o=e.getCursorPosition(),r=e.session.getLine(o.row),i=e.session.getTabString(),s=r.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||{},r=this.tabstops.slice(),i=0;i2&&(this.tabstops.length&&i.push(i.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,i))},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.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,r=e("../editor").Editor,i=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 r(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,r=function(){};n.focus=r,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=r,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 i(-1,0,-1,1/0),m=new i(-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],r=document.activeElement;if(o!==n.selectedNode&&n.selectedNode&&(l.removeCssClass(n.selectedNode,"ace_selected"),r.removeAttribute("aria-activedescendant"),n.selectedNode.removeAttribute(g),n.selectedNode.removeAttribute("id")),n.selectedNode=o,o){l.addCssClass(o,"ace_selected");var i=h(e);o.id=i,t.element.setAttribute("aria-activedescendant",i),r.setAttribute("aria-activedescendant",i),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 r=t.caption||t.value||t.name;function i(e,n){e&&o.push({type:(t.className||"")+(n||""),value:e})}for(var s=r.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"===r?(h.bottom=e.top-this.$borderSize,h.top=h.bottom-u):"bottom"===r&&(h.top=e.top+t+this.$borderSize,h.bottom=h.top+u);var g=h.top>=0&&h.bottom<=a;if(!i&&!g)return!1;c.$maxPixelHeight=g?null:"top"===r?p:d,"top"===r?(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=r,!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 ",r=0;r=0&&n.test(e[i]);i--)r.push(e[i]);return r.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||o;for(var r=[],i=t;i0)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 r=e.container.getBoundingClientRect();o.top+=r.top-t.layerConfig.offset,o.left+=r.left-e.renderer.scrollLeft,o.left+=t.gutterWidth;var i={top:o.top,left:o.left};t.$ghostText&&t.$ghostTextWidget&&this.base.row===t.$ghostText.position.row&&(i.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(),r=t.toLowerCase();e:for(var i,s=0;i=e[s];s++){var a=!this.ignoreCaption&&i.caption||i.value||i.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(r);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,r){return n[t]=r||""})).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=i.$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]={},i.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 i=r.for(t);i.autoShown=!0,i.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(r.startCommand)):this.commands.removeCommand(r.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)}))},3224:(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,r=e("./lib/oop"),i=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),s=e("./editor").Editor,a=e("./virtual_renderer").VirtualRenderer,l=e("./edit_session").EditSession;(function(){r.implement(this,i),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,r=0;r{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"),r=(e("../lib/lang"),e("./text_highlight_rules").TextHighlightRules),i=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":i,"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,r),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,r=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 r=n[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r})),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}},r=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 r=t.getLine(n.row).substr(0,n.column),i=/\([^)]*$/.test(r);return i&&(r=r.substr(r.lastIndexOf("(")+1)),/:[^;]+$/.test(r)?(/([\w\-]+):[^:]*$/.test(r),this.getPropertyValueCompletions(e,t,n,o)):this.getPropertyCompletions(e,t,n,o,i)}return[]},this.getPropertyCompletions=function(e,t,n,r,i){return i=i||!1,Object.keys(o).map((function(e){return{caption:e,snippet:e+": $0"+(i?"":";"),meta:"property",score:1e6}}))},this.getPropertyValueCompletions=function(e,t,n,r){var i=t.getLine(n.row).substr(0,n.column),s=(/([\w\-]+):[^:]*$/.exec(i)||{})[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(r.prototype),t.CssCompletions=r})),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"),r=(e("../behaviour").Behaviour,e("./cstyle").CstyleBehaviour),i=e("../../token_iterator").TokenIterator,s=function(){this.inherit(r),this.add("colon","insertion",(function(e,t,n,o,r){if(":"===r&&n.selection.isEmpty()){var s=n.getCursorPosition(),a=new i(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,r){var s=o.doc.getTextRange(r);if(!r.isMultiLine()&&":"===s){var a=n.getCursorPosition(),l=new i(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(r.start.row).substring(r.end.column,r.end.column+1))return r.end.column++,r}})),this.add("semicolon","insertion",(function(e,t,n,o,r){if(";"===r&&n.selection.isEmpty()){var i=n.getCursorPosition();if(";"===o.doc.getLine(i.row).substring(i.column,i.column+1))return{text:"",selection:[1,1]}}})),this.add("!important","insertion",(function(e,t,n,o,r){if("!"===r&&n.selection.isEmpty()){var i=n.getCursorPosition(),s=o.doc.getLine(i.row);if(/^\s*(;|}|$)/.test(s.substring(i.column)))return{text:"!important",selection:[10,10]}}}))};o.inherits(s,r),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"),r=e("../../range").Range,i=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,i),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 r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(o)?"start":r},this.getFoldWidgetRange=function(e,t,n,o){var r,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(r=i.match(this.foldingStartMarker)){var s=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,s);var a=e.getCommentFoldRange(n,s+r[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(r=i.match(this.foldingStopMarker))?(s=r.index+r[0].length,r[1]?this.closingBracketBlock(e,r[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/),i=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<=i)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new r(i,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),i=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new r(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"),r=e("./text").Mode,i=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=i,this.$outdent=new s,this.$behaviour=new c,this.$completer=new l,this.foldingRules=new u};o.inherits(h,r),function(){this.foldingRules="cStyle",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),r=this.getTokenizer().getLineTokens(t,e).tokens;return r.length&&"comment"==r[r.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)}))},8608:(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"),r=e("./text_highlight_rules").TextHighlightRules,i=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|$)"},i.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};o.inherits(i,r),i.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},i.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},i.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.JsDocCommentHighlightRules=i})),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"),r=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,i=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:[r.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:[r.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(r,"doc-",[r.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:[r.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[r.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}o.inherits(a,i),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,r=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 r=n[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r})),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"),r=e("../../range").Range,i=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,i),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 r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(o)?"start":r},this.getFoldWidgetRange=function(e,t,n,o){var r,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(r=i.match(this.foldingStartMarker)){var s=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,s);var a=e.getCommentFoldRange(n,s+r[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(r=i.match(this.foldingStopMarker))?(s=r.index+r[0].length,r[1]?this.closingBracketBlock(e,r[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/),i=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<=i)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}a=t}}return new r(i,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),i=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new r(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"),r=e("./text").Mode,i=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=i,this.$outdent=new s,this.$behaviour=new l,this.foldingRules=new c};o.inherits(u,r),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),r=this.getTokenizer().getLineTokens(t,e),i=r.tokens,s=r.state;if(i.length&&"comment"==i[i.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)}))},8967:(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)}))},828:(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)}))},9540:(e,t,n)=>{e=n.nmd(e),ace.require(["ace/snippets/text"],(function(t){e&&(e.exports=t)}))},9016:(e,t,n)=>{"use strict";var o=n(2768)("ArrayBuffer.prototype.byteLength",!0),r=n(2848);e.exports=function(e){return r(e)?o?o(e):e.byteLength:NaN}},9700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=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=i(n(2251)),r=i(n(5528));function i(e){return e&&e.__esModule?e:{default:e}}t.c=(0,r.default)(o.default,{value:"onChange"})},4:e=>{var t=.1,n="function"==typeof Float32Array;function o(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function i(e){return 3*e}function s(e,t,n){return((o(t,n)*e+r(t,n))*e+i(t))*e}function a(e,t,n){return 3*o(t,n)*e*e+2*r(t,n)*e+i(t)}function l(e){return e}e.exports=function(e,o,r,i){if(!(0<=e&&e<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===o&&r===i)return l;for(var c=n?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=s(u*t,e,r);return function(n){return 0===n?0:1===n?1:s(function(n){for(var o=0,i=1;10!==i&&c[i]<=n;++i)o+=t;--i;var l=o+(n-c[i])/(c[i+1]-c[i])*t,u=a(l,e,r);return u>=.001?function(e,t,n,o){for(var r=0;r<4;++r){var i=a(t,n,o);if(0===i)return t;t-=(s(t,n,o)-e)/i}return t}(n,l,e,r):0===u?l:function(e,t,n,o,r){var i,a,l=0;do{(i=s(a=t+(n-t)/2,o,r)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++l<10);return a}(n,o,o+t,e,r)}(n),o,i)}}},2768:(e,t,n)=>{"use strict";var o=n(6604),r=n(4572),i=r(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?r(n):n}},4572:(e,t,n)=>{"use strict";var o=n(268),r=n(6604),i=n(2392),s=n(6556),a=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||o.call(l,a),u=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=c(o,l,arguments);return i(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},4772:(e,t,n)=>{"use strict";var o=n(1464),r=n(2768),i=n(8972),s=n(6604),a=n(3088),l=n(7223),c=n(1620),u=n(2816),h=n(9600),d=n(2848),p=n(768),g=n(4244),f=n(9432),m=n(7056),v=n(3424),b=n(7232),y=n(8488),w=n(9016),k=r("SharedArrayBuffer.prototype.byteLength",!0),_=r("Date.prototype.getTime"),C=Object.getPrototypeOf,x=r("Object.prototype.toString"),S=s("%Set%",!0),E=r("Map.prototype.has",!0),A=r("Map.prototype.get",!0),T=r("Map.prototype.size",!0),$=r("Set.prototype.add",!0),M=r("Set.prototype.delete",!0),R=r("Set.prototype.has",!0),O=r("Set.prototype.size",!0);function L(e,t,n,o){for(var r,i=a(e);(r=i.next())&&!r.done;)if(F(t,r.value,n,o))return M(e,r.value),!0;return!1}function I(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function P(e,t,n,r,i,s){var a=I(n);if(null!=a)return a;var l=A(t,a),c=o({},i,{strict:!1});return!(void 0===l&&!E(t,a)||!F(r,l,c,s))&&!E(e,a)&&F(r,l,c,s)}function N(e,t,n){var o=I(n);return null!=o?o:R(t,o)&&!R(e,o)}function D(e,t,n,o,r,i){for(var s,l,c=a(e);(s=c.next())&&!s.done;)if(F(n,l=s.value,r,i)&&F(o,A(t,l),r,i))return M(e,l),!0;return!1}function F(e,t,n,r){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=r.has(e),I=r.has(t);if(M&&I){if(r.get(e)===r.get(t))return!0}else l={};return M||r.set(e,l),I||r.set(t,l),function(e,t,n,r){var s,l;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(x(e)!==x(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),I=g(t);if(M!==I)return!1;if((M||I)&&(e.source!==t.source||i(e)!==i(t)))return!1;var B=p(e),j=p(t);if(B!==j)return!1;if((B||j)&&_(e)!==_(t))return!1;if(n.strict&&C&&C(e)!==C(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(!F(e[l=Z[s]],t[l],n,r))return!1;var X=b(e),Q=b(t);return X===Q&&("Set"===X||"Set"===Q?function(e,t,n,o){if(O(e)!==O(t))return!1;for(var r,i,s,l=a(e),c=a(t);(r=l.next())&&!r.done;)if(r.value&&"object"==typeof r.value)s||(s=new S),$(s,r.value);else if(!R(t,r.value)){if(n.strict)return!1;if(!N(e,t,r.value))return!1;s||(s=new S),$(s,r.value)}if(s){for(;(i=c.next())&&!i.done;)if(i.value&&"object"==typeof i.value){if(!L(s,i.value,n.strict,o))return!1}else if(!n.strict&&!R(e,i.value)&&!L(s,i.value,n.strict,o))return!1;return 0===O(s)}return!0}(e,t,n,r):"Map"!==X||function(e,t,n,r){if(T(e)!==T(t))return!1;for(var i,s,l,c,u,h,d=a(e),p=a(t);(i=d.next())&&!i.done;)if(c=i.value[0],u=i.value[1],c&&"object"==typeof c)l||(l=new S),$(l,c);else if(void 0===(h=A(t,c))&&!E(t,c)||!F(u,h,n,r)){if(n.strict)return!1;if(!P(e,t,c,u,n,r))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(!D(l,e,c,h,n,r))return!1}else if(!(n.strict||e.has(c)&&F(A(e,c),h,n,r)||D(l,e,c,h,o({},n,{strict:!1}),r)))return!1;return 0===O(l)}return!0}(e,t,n,r))}(e,t,s,r)}function z(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 F(e,t,n,l())}},5456:(e,t,n)=>{"use strict";var o=n(1188)(),r=n(6604),i=o&&r("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var s=n(7668),a=n(6556),l=n(872);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!l&&l(e,t);if(i)i(e,t,{configurable:null===c&&h?h.configurable:!c,enumerable:null===o&&h?h.enumerable:!o,value:n,writable:null===r&&h?h.writable:!r});else{if(!u&&(o||r||c))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},5728:(e,t,n)=>{"use strict";var o=n(7056),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,s=Array.prototype.concat,a=n(5456),l=n(1188)(),c=function(e,t,n,o){if(t in e)if(!0===o){if(e[t]===n)return}else if("function"!=typeof(r=o)||"[object Function]"!==i.call(r)||!o())return;var r;l?a(e,t,n,!0):a(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=o(t);r&&(i=s.call(i,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,r){void 0===r&&(r=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=r;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,i);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,r,i){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,r,i),v=this.diff_main(d,g,r,i);return m.concat([new t.Diff(0,f)],v)}return r&&e.length>100&&o.length>100?this.diff_lineMode_(e,o,i):this.diff_bisect_(e,o,i)},t.prototype.diff_lineMode_=function(e,o,r){var i=this.diff_linesToChars_(e,o);e=i.chars1,o=i.chars2;var s=i.lineArray,a=this.diff_main(e,o,!1,r);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,r),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,r){for(var i=e.length,s=o.length,a=Math.ceil((i+s)/2),l=a,c=2*a,u=new Array(c),h=new Array(c),d=0;dr);y++){for(var w=-y+f;w<=y-m;w+=2){for(var k=l+w,_=(A=w==-y||w!=y&&u[k-1]i)m+=2;else if(_>s)f+=2;else if(g&&(S=l+p-w)>=0&&S=(x=i-h[S]))return this.diff_bisectSplit_(e,o,A,_,r)}for(var C=-y+v;C<=y-b;C+=2){for(var x,S=l+C,E=(x=C==-y||C!=y&&h[S-1]i)b+=2;else if(E>s)v+=2;else if(!g){var A;if((k=l+p-C)>=0&&k=(x=i-x))return this.diff_bisectSplit_(e,o,A,_,r)}}}return[new t.Diff(n,e),new t.Diff(1,o)]},t.prototype.diff_bisectSplit_=function(e,t,n,o,r){var i=e.substring(0,n),s=t.substring(0,o),a=e.substring(n),l=t.substring(o),c=this.diff_main(i,s,!1,r),u=this.diff_main(a,l,!1,r);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],o={};function r(e){for(var t="",r=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,i,s,a,u]:null}var s,a,l,c,u,h=i(n,o,Math.ceil(n.length/4)),d=i(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,r=[],i=0,s=null,a=0,l=0,c=0,u=0,h=0;a0?r[i-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),r=n.charAt(0),i=o.match(t.nonAlphaNumericRegex_),s=r.match(t.nonAlphaNumericRegex_),a=i&&o.match(t.whitespaceRegex_),l=s&&r.match(t.whitespaceRegex_),c=a&&o.match(t.linebreakRegex_),u=l&&r.match(t.linebreakRegex_),h=c&&e.match(t.blanklineEndRegex_),d=u&&n.match(t.blanklineStartRegex_);return h||d?5:c||u?4:i&&!a&&l?3:a||l?2:i||s?1:0}for(var o=1;o=d&&(d=p,c=r,u=i,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,r=[],i=0,s=null,a=0,l=!1,c=!1,u=!1,h=!1;a0?r[i-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,r=0,i=0,s=0,a="",l="";r1?(0!==i&&0!==s&&(0!==(o=this.diff_commonPrefix(l,a))&&(r-i-s>0&&0==e[r-i-s-1][0]?e[r-i-s-1][1]+=l.substring(0,o):(e.splice(0,0,new t.Diff(0,l.substring(0,o))),r++),l=l.substring(o),a=a.substring(o)),0!==(o=this.diff_commonSuffix(l,a))&&(e[r][1]=l.substring(l.length-o)+e[r][1],l=l.substring(0,l.length-o),a=a.substring(0,a.length-o))),r-=i+s,e.splice(r,i+s),a.length&&(e.splice(r,0,new t.Diff(n,a)),r++),l.length&&(e.splice(r,0,new t.Diff(1,l)),r++),r++):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,s=0,i=0,a="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(r=1;rt));o++)s=r,a=i;return e.length!=o&&e[o][0]===n?a:a+(t-s)},t.prototype.diff_prettyHtml=function(e){for(var t=[],o=/&/g,r=//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),r=this;function i(e,o){var i=e/t.length,s=Math.abs(n-o);return r.Match_Distance?i+s/r.Match_Distance:s?1:i}var s=this.Match_Threshold,a=e.indexOf(t,n);-1!=a&&(s=Math.min(i(0,a),s),-1!=(a=e.lastIndexOf(t,n+t.length))&&(s=Math.min(i(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=i(p,v-1);if(y<=s){if(s=y,!((a=v-1)>n))break;g=Math.max(1,2*n-a)}}}if(i(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===r)s=e,i=this.diff_text1(s);else if("string"==typeof e&&o&&"object"==typeof o&&void 0===r)i=e,s=o;else{if("string"!=typeof e||"string"!=typeof o||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");i=e,s=r}if(0===s.length)return[];for(var a=[],l=new t.patch_obj,c=0,u=0,h=0,d=i,p=i,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)i[s]=!1,r-=e[s].length2-e[s].length1;else if(i[s]=!0,r=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)i[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],i.start1-=a,i.start2-=a,i.length1+=a,i.length2+=a}return 0==(s=(i=e[e.length-1]).diffs).length||0!=s[s.length-1][0]?(s.push(new t.Diff(0,o)),i.length1+=n,i.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),i.length1+=a,i.length2+=a),o},t.prototype.patch_splitMax=function(e){for(var o=this.Match_MaxBits,r=0;r2*o?(c.length1+=d.length,s+=d.length,u=!1,c.diffs.push(new t.Diff(h,d)),i.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==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var p=this.diff_text1(i.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(++r,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n{"use strict";e.exports=EvalError},2772:e=>{"use strict";e.exports=Error},5360:e=>{"use strict";e.exports=RangeError},2380:e=>{"use strict";e.exports=ReferenceError},7668:e=>{"use strict";e.exports=SyntaxError},6556:e=>{"use strict";e.exports=TypeError},568:e=>{"use strict";e.exports=URIError},7040:(e,t,n)=>{"use strict";var o=n(8528),r=Object.prototype.toString,i=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]"===r.call(e)?function(e,t,n){for(var o=0,r=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(7840);e.exports=Function.prototype.bind||o},3548: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},6604:(e,t,n)=>{"use strict";var o,r=n(2772),i=n(9576),s=n(5360),a=n(2380),l=n(7668),c=n(6556),u=n(568),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(4308)(),v=n(7636)(),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%":r,"%eval%":eval,"%EvalError%":i,"%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 C=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 r=e("%AsyncGenerator%");r&&b&&(n=b(r.prototype))}return k[t]=n,n},x={__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(268),E=n(5176),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),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,I=function(e,t){var n,o=e;if(E(x,o)&&(o="%"+(n=x[o])[0]+"%"),E(k,o)){var r=k[o];if(r===y&&(r=C(o)),void 0===r&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:r}}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,O,(function(e,t,n,r){o[o.length]=n?$(r,L,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",r=I("%"+o+"%",t),i=r.name,s=r.value,a=!1,u=r.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[i]=s)}}return s}},872:(e,t,n)=>{"use strict";var o=n(6604)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(e){o=null}e.exports=o},5112:e=>{e.exports={control:function(e,t){var n=Object.assign(e,{cursor:"pointer",minHeight:30});return n=t.isFocused&&!t.isDisabled?Object.assign(n,{borderColor:"#007cba"}):Object.assign(n,{borderColor:"#7e8993","&:hover":{borderColor:"#7e8993"}}),t.isFocused&&(n=Object.assign(n,{boxShadow:"0 0 0 1px #007cba","&:hover":{borderColor:"#007cba"}})),n},valueContainer:function(e){return Object.assign(e,{padding:"0 8px"})},input:function(e){return Object.assign(e,{margin:0,height:30,paddingTop:0,paddingBottom:0,input:{boxShadow:"none !important"}})},dropdownIndicator:function(e){return Object.assign(e,{padding:5,color:"#555555","&:hover":{color:"#555555"},svg:{width:17,height:17}})},clearIndicator:function(e){return Object.assign(e,{padding:5,svg:{width:15,height:15}})},indicatorSeparator:function(){return!1},multiValue:function(e){return Object.assign(e,{padding:"3px 4px",margin:4,marginLeft:0,borderRadius:15,backgroundColor:"#ddd"})},multiValueLabel:function(e){return Object.assign(e,{padding:0,color:"#32373c",fontSize:"90%"})},multiValueRemove:function(e){return Object.assign(e,{padding:0,marginLeft:5,marginTop:1,width:16,height:16,borderRadius:8,backgroundColor:"#555d66",color:"#ddd",justifyContent:"center",":hover":{backgroundColor:"#e02e2e",color:"#fff"},svg:{width:12,height:12}})},option:function(e,t){var n=Object.assign(e,{display:"flex",alignItems:"center",padding:"4px 10px"});return t.isFocused&&(n=Object.assign(n,{backgroundColor:"#efefef"})),t.isSelected&&(n=Object.assign(n,{backgroundColor:"#007cba"})),n},menu:function(e){return Object.assign(e,{zIndex:2})}}},9476: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)}},1188:(e,t,n)=>{"use strict";var o=n(6604)("%Object.defineProperty%",!0),r=function(){if(o)try{return o({},"a",{value:1}),!0}catch(e){return!1}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==o([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},7636:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},4308:(e,t,n)=>{"use strict";var o="undefined"!=typeof Symbol&&Symbol,r=n(1968);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},1968: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 r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},3804:(e,t,n)=>{"use strict";var o=n(1968);e.exports=function(){return o()&&!!Symbol.toStringTag}},5176:(e,t,n)=>{"use strict";var o=Function.prototype.call,r=Object.prototype.hasOwnProperty,i=n(268);e.exports=i.call(o,r)},4792:(e,t,n)=>{"use strict";var o=n(9819),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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]||r}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 r=p(n);r&&r!==g&&e(t,r,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,r=n?Symbol.for("react.portal"):60106,i=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 i: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 r: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=i,t.Lazy=m,t.Memo=f,t.Portal=r,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)===i},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===f},t.isPortal=function(e){return k(e)===r},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===i||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},9819:(e,t,n)=>{"use strict";e.exports=n(6560)},8216:(e,t,n)=>{"use strict";var o=n(5176),r=n(7223)(),i=n(6556),s={assert:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");if(r.assert(e),!s.has(e,t))throw new i("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=r.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var n=r.get(e);return!!n&&o(n,"$"+t)},set:function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof t)throw new i("`slot` must be a string");var o=r.get(e);o||(o={},r.set(e,o)),o["$"+t]=n}};Object.freeze&&Object.freeze(s),e.exports=s},9328:e=>{"use strict";e.exports=function(e,t,n,o,r,i,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,r,i,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},2816:(e,t,n)=>{"use strict";var o=n(3804)(),r=n(2768)("Object.prototype.toString"),i=function(e){return!(o&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===r(e)},s=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r(e)&&"[object Function]"===r(e.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=s,e.exports=a?i:s},2848:(e,t,n)=>{"use strict";var o=n(4572),r=n(2768),i=n(6604)("%ArrayBuffer%",!0),s=r("ArrayBuffer.prototype.byteLength",!0),a=r("Object.prototype.toString"),l=!!i&&!s&&new i(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}}:i?function(e){return"[object ArrayBuffer]"===a(e)}:function(e){return!1}},4160:(e,t,n)=>{"use strict";if(n(9476)()){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}},7556:(e,t,n)=>{"use strict";var o=n(2768),r=o("Boolean.prototype.toString"),i=o("Object.prototype.toString"),s=n(3804)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(s&&Symbol.toStringTag in e?function(e){try{return r(e),!0}catch(e){return!1}}(e):"[object Boolean]"===i(e))}},8528:e=>{"use strict";var t,n,o=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},r((function(){throw 42}),null,t)}catch(e){e!==n&&(r=null)}else r=null;var i=/^\s*class\b/,s=function(e){try{var t=o.call(e);return i.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=r?function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{r(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)}},768:(e,t,n)=>{"use strict";var o=Date.prototype.getDay,r=Object.prototype.toString,i=n(3804)();e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Date]"===r.call(e))}},6096: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 r=n?Map.prototype.has:null,i=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 n}catch(e){}return!1}},5308:(e,t,n)=>{"use strict";var o=Number.prototype.toString,r=Object.prototype.toString,i=n(3804)();e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(i?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Number]"===r.call(e))}},4244:(e,t,n)=>{"use strict";var o,r,i,s,a=n(2768),l=n(3804)();if(l){o=a("Object.prototype.hasOwnProperty"),r=a("RegExp.prototype.exec"),i={};var c=function(){throw i};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{r(e,s)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},5744: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 r=n?Map.prototype.has:null,i=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 o}catch(e){}return!1}},9432:(e,t,n)=>{"use strict";var o=n(2768)("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}},6376:(e,t,n)=>{"use strict";var o=String.prototype.valueOf,r=Object.prototype.toString,i=n(3804)();e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object String]"===r.call(e))}},3940:(e,t,n)=>{"use strict";var o=Object.prototype.toString;if(n(4308)()){var r=Symbol.prototype.toString,i=/^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()&&i.test(r.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},7172: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 r=n?n.prototype.has:null,i=o?o.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,r),i)try{i.call(e,i)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},3864:(e,t,n)=>{"use strict";var o=n(6604),r=n(2768),i=o("%WeakSet%",!0),s=r("WeakSet.prototype.has",!0);if(s){var a=r("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 i}catch(e){}return!1}}else e.exports=function(e){return!1}},9600:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2752:(e,t,n)=>{var o,r="__lodash_hash_undefined__",i=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:"",C=y.toString,x=w.hasOwnProperty,S=w.toString,E=RegExp("^"+C.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),A=v.Symbol,T=b.splice,$=F(v,"Map"),M=F(Object,"create"),R=A?A.prototype:void 0,O=R?R.toString:void 0;function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},I.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},P.prototype.clear=function(){this.__data__={hash:new L,map:new($||I),string:new L}},P.prototype.delete=function(e){return D(this,e).delete(e)},P.prototype.get=function(e){return D(this,e).get(e)},P.prototype.has=function(e){return D(this,e).has(e)},P.prototype.set=function(e,t){return D(this,e).set(e,t),this};var z=j((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(V(e))return O?O.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return h.test(e)&&n.push(""),e.replace(d,(function(e,t,o,r){n.push(o?r.replace(p,"$1"):t||e)})),n}));function B(e){if("string"==typeof e||V(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function j(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var s=e.apply(this,o);return n.cache=i.set(r,s),s};return n.cache=new(j.Cache||P),n}j.Cache=P;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:z(n);for(var o=0,r=t.length;null!=e&&o{e=n.nmd(e);var o="__lodash_hash_undefined__",r=1,i=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]",C="[object String]",x="[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[C]=M[S]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,O="object"==typeof self&&self&&self.Object===Object&&self,L=R||O||Function("return this")(),I=t&&!t.nodeType&&t,P=I&&e&&!e.nodeType&&e,N=P&&P.exports===I,D=N&&R.process,F=function(){try{return D&&D.binding&&D.binding("util")}catch(e){}}(),z=F&&F.isTypedArray;function B(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&i?new Ee:void 0;for(a.set(e,t),a.set(t,e);++d-1},xe.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 Ce,map:new(he||xe),string:new Ce}},Se.prototype.delete=function(e){var t=Ie(this,e).delete(e);return this.size-=t?1:0,t},Se.prototype.get=function(e){return Ie(this,e).get(e)},Se.prototype.has=function(e){return Ie(this,e).has(e)},Se.prototype.set=function(e,t){var n=Ie(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 xe,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 xe){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,r=null==t?0:t.length,i=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=z?function(e){return function(t){return e(t)}}(z):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&&je(e),r=!n&&!o&&We(e),i=!n&&!o&&!r&&Ke(e),s=n||o||r||i,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 r=[n,o];t.FORMATS=r},7e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LINE_ENDINGS=void 0,t.LINE_ENDINGS={POSIX:"\n",WIN32:"\r\n"}},9196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_PLATFORMS=void 0,t.SUPPORTED_PLATFORMS={DARWIN:"darwin",LINUX:"linux",WIN32:"win32"}},4488:(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 r="sentences";t.UNIT_SENTENCES=r;var i="sentence";t.UNIT_SENTENCE=i;var s="paragraphs";t.UNIT_PARAGRAPHS=s;var a="paragraph";t.UNIT_PARAGRAPH=a;var l=[n,o,r,i,s,a];t.UNITS=l},4611:(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"]},1104:(e,t,n)=>{"use strict";Object.defineProperty(t,"Yf",{enumerable:!0,get:function(){return r.default}});n(6544),n(4488),n(4611);var o,r=(o=n(2528))&&o.__esModule?o:{default:o}},2528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=n(6544),i=n(7e3),s=(o=n(7008))&&o.__esModule?o:{default:o},a=n(2160);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]:r.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===r.FORMATS.indexOf(n.toLowerCase()))throw new Error("".concat(n," is an invalid format. Please use ").concat(r.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)()?i.LINE_ENDINGS.WIN32:i.LINE_ENDINGS.POSIX}},{key:"formatString",value:function(e){return this.format===r.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},7008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4611),r=n(2160);function i(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.sentencesPerParagraph,r=void 0===n?{max:7,min:3}:n,i=t.wordsPerSentence,a=void 0===i?{max:15,min:5}:i,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),r.min>r.max)throw new Error("Minimum number of sentences per paragraph (".concat(r.min,") cannot exceed maximum (").concat(r.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=r,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,i=n.max,s=e||this.generateRandomInteger(o,i);return(0,r.makeArrayOfLength)(s).reduce((function(e,n){return"".concat(t.pluckRandomWord()," ").concat(e)}),"").trim()}},{key:"generateRandomSentence",value:function(e){return"".concat((0,r.capitalize)(this.generateRandomWords(e)),".")}},{key:"generateRandomParagraph",value:function(e){var t=this,n=this.sentencesPerParagraph,o=n.min,i=n.max,s=e||this.generateRandomInteger(o,i);return(0,r.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]}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},2072:(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)}},2160:(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 r.default}}),Object.defineProperty(t,"isReactNative",{enumerable:!0,get:function(){return i.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(2072)),r=c(n(3516)),i=c(n(1812)),s=c(n(8236)),a=c(n(2708)),l=c(n(3247));function c(e){return e&&e.__esModule?e:{default:e}}},3516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){return!!e.exports}},1812:(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}},8236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9196);t.default=function(){var e=!1;try{e=process.platform===o.SUPPORTED_PLATFORMS.WIN32}catch(t){e=!1}return e}},2708:(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}))}},3247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(o=n(2708))&&o.__esModule?o:{default:o};t.default=function(e,t){return(0,r.default)(e).map((function(){return t()}))}},7872:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&r&&"function"==typeof r.get?r.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,C=Array.prototype.concat,x=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,O=Object.prototype.propertyIsEnumerable,L=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function I(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 r=String(o),i=b.call(t,r.length+1);return y.call(r,n,"$&_")+"."+y.call(y.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var P=n(6204),N=P.custom,D=H(N)?N:null;function F(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function z(e){return y.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==U(e)||R&&"object"==typeof e&&R in e)}function j(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,r,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?I(t,_):_}if("bigint"==typeof t){var E=String(t)+"n";return w?I(t,E):E}var T=void 0===l.depth?5:l.depth;if(void 0===r&&(r=0),r>=T&&T>0&&"object"==typeof t)return B(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=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(l,r);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 i={depth:l.depth};return V(l,"quoteStyle")&&(i.quoteStyle=l.quoteStyle),e(t,i,r+1,a)}return e(t,l,r+1,a)}if("function"==typeof t&&!j(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?" { "+x.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)),re=t.attributes||[],ie=0;ie"}if(B(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)+"]":"[ "+x.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)||O.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ae,", ")+" }":"{ ["+String(t)+"] "+x.call(C.call("[cause]: "+K(t.cause),ae),", ")+" }"}if("object"==typeof t&&f){if(D&&"function"==typeof t[D]&&P)return P(t,{depth:T-r});if("symbol"!==f&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.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",i.call(t),le,W)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.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)&&!j(t)){var ue=Q(t,K),he=L?L(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?"["+x.call(C.call([],pe||[],de||[]),": ")+"] ":"");return 0===ue.length?ge+"{}":W?ge+"{"+X(ue,W)+"}":ge+"{ "+x.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 F(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):x.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function Q(e,t){var n=B(e),o=[];if(n){o.length=e.length;for(var r=0;r{"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))}},1620:(e,t,n)=>{"use strict";var o=n(5728),r=n(4572),i=n(7344),s=n(9756),a=n(8116),l=r(s(),Object);o(l,{getPolyfill:s,implementation:i,shim:a}),e.exports=l},9756:(e,t,n)=>{"use strict";var o=n(7344);e.exports=function(){return"function"==typeof Object.is?Object.is:o}},8116:(e,t,n)=>{"use strict";var o=n(9756),r=n(5728);e.exports=function(){var e=o();return r(Object,{is:e},{is:function(){return Object.is!==e}}),e}},3816:(e,t,n)=>{"use strict";var o;if(!Object.keys){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,s=n(3428),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]&&r.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]"===i.call(e),o=s(e),a=t&&"[object String]"===i.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&&!r.call(e,0))for(var f=0;f0)for(var m=0;m{"use strict";var o=Array.prototype.slice,r=n(3428),i=Object.keys,s=i?function(e){return i(e)}:n(3816),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 r(e)?a(o.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},3428: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}},7928:(e,t,n)=>{"use strict";var o=n(7056),r=n(1968)(),i=n(2768),s=Object,a=i("Array.prototype.push"),l=i("Object.prototype.propertyIsEnumerable"),c=r?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 i=1;i{"use strict";var o=n(5728),r=n(4572),i=n(7928),s=n(9244),a=n(4976),l=r.apply(s()),c=function(e,t){return l(Object,arguments)};o(c,{getPolyfill:s,implementation:i,shim:a}),e.exports=c},9244:(e,t,n)=>{"use strict";var o=n(7928);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(5728),r=n(9244);e.exports=function(){var e=r();return o(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},9776:(e,t,n)=>{"use strict";var o=n(9143);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,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:i,resetWarningCache:r};return n.PropTypes=n,n}},3268:(e,t,n)=>{e.exports=n(9776)()},9143:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6515: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}},7392:(e,t,n)=>{"use strict";var o=n(4368),r=n(4812),i=n(6515);e.exports={formats:i,parse:r,stringify:o}},4812:(e,t,n)=>{"use strict";var o=n(5872),r=Object.prototype.hasOwnProperty,i=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 i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=a?i.slice(0,a.index):i,u=[];if(c){if(!n.plainObjects&&r.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(a=s.exec(i))&&h=0;--i){var s,a=e[i];if("[]"===a&&n.parseArrays)s=[].concat(r);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]=r:"__proto__"!==c&&(s[c]=r):s={0:r}}r=s}return r}(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=i(m)?[m]:m),r.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(7223),r=n(5872),i=n(6515),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=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},g={},f=function e(t,n,i,s,a,c,h,d,f,m,v,b,y,w,k,_){for(var C,x=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?x=d(n,x):x instanceof Date?x=v(x):"comma"===i&&l(x)&&(x=r.maybeMap(x,(function(e){return e instanceof Date?v(e):e}))),null===x){if(a)return h&&!w?h(n,p.encoder,k,"key",b):n;x=""}if("string"==typeof(C=x)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||r.isBuffer(x))return h?[y(w?n:h(n,p.encoder,k,"key",b))+"="+y(h(x,p.encoder,k,"value",b))]:[y(n)+"="+y(String(x))];var $,M=[];if(void 0===x)return M;if("comma"===i&&l(x))w&&h&&(x=r.maybeMap(x,h)),$=[{value:x.length>0?x.join(",")||null:void 0}];else if(l(d))$=d;else{var R=Object.keys(x);$=f?R.sort(f):R}for(var O=s&&l(x)&&1===x.length?n+"[]":n,L=0;L<$.length;++L){var I=$[L],P="object"==typeof I&&void 0!==I.value?I.value:x[I];if(!c||null!==P){var N=l(x)?"function"==typeof i?i(O,I):O:O+(m?"."+I:"["+I+"]");_.set(t,E);var D=o();D.set(g,_),u(M,e(P,N,i,s,a,c,"comma"===i&&w&&l(x)?null:h,d,f,m,v,b,y,w,k,D))}}return M};e.exports=function(e,t){var n,r=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=i.default;if(void 0!==e.format){if(!s.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=i.formatters[n],r=p.filter;return("function"==typeof e.filter||l(e.filter))&&(r=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:r,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?r=(0,c.filter)("",r):l(c.filter)&&(n=c.filter);var h,d=[];if("object"!=typeof r||null===r)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(r)),c.sort&&n.sort(c.sort);for(var v=o(),b=0;b0?k+w:""}},5872:(e,t,n)=>{"use strict";var o=n(6515),r=Object.prototype.hasOwnProperty,i=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(i(n)){for(var o=[],r=0;r=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===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(i(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(4672),delete n.g.window):window.ace?(e=window.ace).acequire=window.ace.require||window.ace.acequire:e=n(4672),e},t.debounce=function(e,t){var n=null;return function(){var o=this,r=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(o,r)}),t)}}},3496:(e,t,n)=>{"use strict";var o=n(4784);n(9987).default,n(3432).default,t.cp=o.default},3432:function(e,t,n){"use strict";var o,r=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 __)}),i=this&&this.__assign||function(){return i=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(9420),r=Object,i=TypeError;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)},8972:(e,t,n)=>{"use strict";var o=n(5728),r=n(4572),i=n(5436),s=n(1072),a=n(8148),l=r(s());o(l,{getPolyfill:s,implementation:i,shim:a}),e.exports=l},1072:(e,t,n)=>{"use strict";var o=n(5436),r=n(5728).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(r&&"gim"===/a/gim.flags){var e=i(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}},8148:(e,t,n)=>{"use strict";var o=n(5728).supportsDescriptors,r=n(1072),i=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=r(),t=l(c),n=i(t,"flags");return n&&n.get===e||s(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},9572:(e,t,n)=>{var o,r,i;i=function(){var e,t,n=document,o=n.getElementsByTagName("head")[0],r=!1,i="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(6604),r=n(5456),i=n(1188)(),s=n(872),a=o("%TypeError%"),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)&&(i?r(e,"length",t,!0,!0):r(e,"length",t)),e}},9420:(e,t,n)=>{"use strict";var o=n(5456),r=n(1188)(),i=n(3548).functionsHaveConfigurableNames(),s=TypeError;e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!i||(r?o(e,"name",t,!0,!0):o(e,"name",t)),e}},6036:(e,t,n)=>{e.exports=n(1576)},1576:(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--)r+=o[a];return i+r}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(6604),r=n(2768),i=n(7872),s=o("%TypeError%"),a=o("%WeakMap%",!0),l=o("%Map%",!0),c=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),p=r("Map.prototype.set",!0),g=r("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 "+i(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,r){a&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new a),u(e,o,r)):l?(t||(t=new l),p(t,o,r)):(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,r))}};return o}},9628: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 r=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},i=void 0===o.replacement?"-":o.replacement,s=void 0===o.trim||o.trim,a=n.normalize().split("").reduce((function(t,n){var s=r[n];return void 0===s&&(s=e[n]),void 0===s&&(s=n),s===i&&(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,i),o.lower&&(a=a.toLowerCase()),a}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},640:(e,t,n)=>{"use strict";var o=n(8216),r=SyntaxError,i="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!i)throw new r("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!==i)throw t;return{done:!0,value:void 0}}}};return o.set(t,"[[Iterator]]",e),t}},876:function(e,t,n){"use strict";var o;!function(r){if("function"!=typeof i){var i=function(e){return e};i.nonNative=!0}const s=i("plaintext"),a=i("html"),l=i("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 i.nonNative||"function"!=typeof e[i.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,r=t.state,i=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="",r=s,i+=">",n.has(g(i))?h+=i:h+=o,i="";break;case'"':case"'":u=d===u?"":u||d,i+=d;break;case"-":""===d?("--"==i.slice(-2)&&(r=s),i=""):i+=d)}return t.state=r,t.tag_buffer=i,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)}()},8812:(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,i.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),r=this.props[l[e]];o&&w(this.props,o)&&!r&&(r=this.props[o].requestChange);for(var i=arguments.length,a=Array(i>2?i-2:0),c=2;c{"use strict";t.__esModule=!0;var o,r=(o=n(8812))&&o.__esModule?o:{default:o};t.default=(0,r.default)({shouldComponentUpdate:function(){return!this._notifying}},(function(e,t,n,o,r){n&&(e._notifying=!0,n.call.apply(n,[e,o].concat(r)),e._notifying=!1),e._values[t]=o,e.unmounted||e.forceUpdate()})),e.exports=t.default},1832:(e,t,n)=>{"use strict";t.__esModule=!0,t.version=void 0,t.uncontrolledPropTypes=function(e,t,n){return{}},t.getType=function(e){return i[0]>=15||0===i[0]&&i[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,r=Array(o),i=0;i{"use strict";var o=n(6376),r=n(5308),i=n(7556),s=n(3940),a=n(4160);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:o(e)?"String":r(e)?"Number":i(e)?"Boolean":s(e)?"Symbol":a(e)?"BigInt":void 0}},8488:(e,t,n)=>{"use strict";var o=n(7040),r=n(7236),i=n(4572),s=n(2768),a=n(872),l=s("Object.prototype.toString"),c=n(3804)(),u="undefined"==typeof globalThis?n.g:globalThis,h=r(),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}},1280:e=>{"use strict";e.exports=window.React},6204:()=>{},7236:(e,t,n)=>{"use strict";var o=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="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 r(){for(var e="",t=0;t{"use strict";var o=n(2816),r=n(640);if(n(4308)()||n(1968)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():o(e)?Array.prototype[i].call(e):void 0}}else{var s=n(9600),a=n(6376),l=n(6604),c=l("%Map%",!0),u=l("%Set%",!0),h=n(2768),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(6096),b=n(5744),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 C=h("Map.prototype.@@iterator",!0)||h("Map.prototype._es6-shim iterator_",!0),x=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 r(k(e));if(C)return C(e);if(y){var t=[];return y(e,(function(e,n){d(t,[n,e])})),f(t)}}if(b(e)){if(_)return r(_(e));if(x)return x(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)}}},7232:(e,t,n)=>{"use strict";var o=n(6096),r=n(5744),i=n(7172),s=n(3864);e.exports=function(e){if(e&&"object"==typeof e){if(o(e))return"Map";if(r(e))return"Set";if(i(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.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 r=o.length-1;r>-1&&!e;)e=o[r--].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:()=>rt,hasClass:()=>lt,removeClass:()=>at,replaceClass:()=>it});var r={};n.r(r),n.d(r,{maybeDecode:()=>gt,maybeEncode:()=>pt});var i={};n.r(i),n.d(i,{getSpecificPropsFromStyles:()=>Gi,getStyle:()=>Hi,getStylesToReset:()=>Ui,getUpdatedStyles:()=>Vi,hasStyle:()=>Wi,prepareStyles:()=>ji});var s={};n.r(s),n.d(s,{get:()=>qi});var a={};n.r(a),n.d(a,{get:()=>es});var l={};n.r(l),n.d(l,{DEFAULT:()=>pg,EasingBezierEditor:()=>mg,EasingControls:()=>vg,PRESETS:()=>gg});var c={};n.r(c),n.d(c,{DEFAULT:()=>wg,PRESETS:()=>kg,SpringControls:()=>Eg,SpringEditor:()=>Sg});var u={};n.r(u),n.d(u,{get:()=>Dg});var h={};n.r(h),n.d(h,{apiFetch:()=>zg,setImageTagData:()=>Bg});var d={};n.r(d),n.d(d,{API_FETCH:()=>Wg});var p={};n.r(p),n.d(p,{getImageTagData:()=>qg});var g={};n.r(g),n.d(g,{getImageTagData:()=>Kg});var f={};n.r(f),n.d(f,{apiFetch:()=>Zg,setTemplateData:()=>Xg,setTemplates:()=>Jg});var m={};n.r(m),n.d(m,{API_FETCH:()=>Qg});var v={};n.r(v),n.d(v,{getTemplateData:()=>tf,getTemplates:()=>ef});var b={};n.r(b),n.d(b,{getTemplateData:()=>of,getTemplates:()=>nf});var y={};n.r(y),n.d(y,{apiFetch:()=>sf,setCustomCode:()=>af,updateCustomCode:()=>lf});var w={};n.r(w),n.d(w,{API_FETCH:()=>cf});var k={};n.r(k),n.d(k,{getCustomCode:()=>uf});var _={};n.r(_),n.d(_,{getCustomCode:()=>hf,updateCustomCode:()=>df});var C={};n.r(C),n.d(C,{apiFetch:()=>gf,setCustomizerData:()=>ff});var x={};n.r(x),n.d(x,{API_FETCH:()=>mf});var S={};n.r(S),n.d(S,{getCustomizerData:()=>vf});var E={};n.r(E),n.d(E,{getCustomizerData:()=>bf});var A={};n.r(A),n.d(A,{apiFetch:()=>wf,setCustomFonts:()=>kf,updateCustomFonts:()=>_f});var T={};n.r(T),n.d(T,{API_FETCH:()=>Cf});var $={};n.r($),n.d($,{getCustomFonts:()=>xf});var M={};n.r(M),n.d(M,{getCustomFonts:()=>Sf,updateCustomFonts:()=>Ef});var R={};n.r(R),n.d(R,{apiFetch:()=>Tf,setCustomTypography:()=>$f,updateCustomTypography:()=>Mf});var O={};n.r(O),n.d(O,{API_FETCH:()=>Rf});var L={};n.r(L),n.d(L,{getCustomTypography:()=>Of});var I={};n.r(I),n.d(I,{getCustomTypography:()=>Lf,updateCustomTypography:()=>If});var P={};n.r(P),n.d(P,{apiFetch:()=>Nf,setInstagramFeed:()=>Df,setInstagramProfile:()=>Ff});var N={};n.r(N),n.d(N,{API_FETCH:()=>zf});var D={};n.r(D),n.d(D,{getInstagramFeed:()=>jf,getInstagramProfile:()=>Hf});var F={};n.r(F),n.d(F,{getInstagramFeed:()=>Wf,getInstagramProfile:()=>Vf});var z={};n.r(z),n.d(z,{apiFetch:()=>Gf,setTwitterFeed:()=>qf,setTwitterProfile:()=>Kf});var B={};n.r(B),n.d(B,{API_FETCH:()=>Yf});var j={};n.r(j),n.d(j,{getTwitterFeed:()=>Jf,getTwitterProfile:()=>Xf});var H={};n.r(H),n.d(H,{getTwitterFeed:()=>Qf,getTwitterProfile:()=>em});var W={};n.r(W),n.d(W,{apiFetch:()=>nm,setTOC:()=>om});var V={};n.r(V),n.d(V,{API_FETCH:()=>rm});var U={};n.r(U),n.d(U,{getTOC:()=>sm});var G={};n.r(G),n.d(G,{getTOC:()=>am});var q={};n.r(q),n.d(q,{metadata:()=>um,name:()=>gm,settings:()=>fm});var K={};n.r(K),n.d(K,{metadata:()=>mm,name:()=>wm,settings:()=>km});var Y={};n.r(Y),n.d(Y,{metadata:()=>_m,name:()=>Sm,settings:()=>Em});var Z={};n.r(Z),n.d(Z,{metadata:()=>Am,name:()=>Lm,settings:()=>Im});var J={};n.r(J),n.d(J,{metadata:()=>Pm,name:()=>Bm,settings:()=>jm});var X={};n.r(X),n.d(X,{metadata:()=>Hm,name:()=>Km,settings:()=>Ym});var Q={};n.r(Q),n.d(Q,{metadata:()=>Zm,name:()=>Xm,settings:()=>Qm});var ee={};n.r(ee),n.d(ee,{metadata:()=>ev,name:()=>nv,settings:()=>ov});var te={};n.r(te),n.d(te,{metadata:()=>rv,name:()=>uv,settings:()=>hv});var ne={};n.r(ne),n.d(ne,{metadata:()=>dv,name:()=>vv,settings:()=>bv});var oe={};n.r(oe),n.d(oe,{metadata:()=>yv,name:()=>_v,settings:()=>Cv});var re={};n.r(re),n.d(re,{metadata:()=>xv,name:()=>Pv,settings:()=>Nv});var ie={};n.r(ie),n.d(ie,{metadata:()=>Dv,name:()=>Wv,settings:()=>Vv});var se={};n.r(se),n.d(se,{metadata:()=>Uv,name:()=>Gv,settings:()=>qv});var ae={};n.r(ae),n.d(ae,{metadata:()=>Kv,name:()=>Yv,settings:()=>Zv});var le={};n.r(le),n.d(le,{metadata:()=>Jv,name:()=>Xv,settings:()=>Qv});var ce={};n.r(ce),n.d(ce,{metadata:()=>eb,name:()=>tb,settings:()=>nb});var ue={};n.r(ue),n.d(ue,{metadata:()=>ob,name:()=>rb,settings:()=>ib});var he={};n.r(he),n.d(he,{metadata:()=>sb,name:()=>ab,settings:()=>lb});var de={};n.r(de),n.d(de,{metadata:()=>cb,name:()=>ub,settings:()=>hb});var pe={};n.r(pe),n.d(pe,{metadata:()=>db,name:()=>pb,settings:()=>gb});var ge={};n.r(ge),n.d(ge,{metadata:()=>fb,name:()=>bb,settings:()=>yb});var fe={};n.r(fe),n.d(fe,{metadata:()=>wb,name:()=>kb,settings:()=>_b});var me={};n.r(me),n.d(me,{metadata:()=>Cb,name:()=>xb,settings:()=>Sb});var ve={};n.r(ve),n.d(ve,{metadata:()=>Eb,name:()=>Ab,settings:()=>Tb});var be={};n.r(be),n.d(be,{metadata:()=>$b,name:()=>by,settings:()=>yy});var ye={};n.r(ye),n.d(ye,{metadata:()=>wy,name:()=>$y,settings:()=>My});var we={};n.r(we),n.d(we,{metadata:()=>Ry,name:()=>ow,settings:()=>rw});var ke={};n.r(ke),n.d(ke,{metadata:()=>uw,name:()=>gw,settings:()=>fw,withClasses:()=>mw});var _e={};n.r(_e),n.d(_e,{metadata:()=>vw,name:()=>_w,settings:()=>Cw});var Ce={};n.r(Ce),n.d(Ce,{metadata:()=>xw,name:()=>Rw,settings:()=>Ow});var xe={};n.r(xe),n.d(xe,{metadata:()=>Lw,name:()=>Fw,settings:()=>zw});var Se={};n.r(Se),n.d(Se,{metadata:()=>Bw,name:()=>Ww,settings:()=>Vw});var Ee={};n.r(Ee),n.d(Ee,{metadata:()=>Uw,name:()=>Gw,settings:()=>qw});var Ae={};n.r(Ae),n.d(Ae,{metadata:()=>Kw,name:()=>Xw,settings:()=>Qw});var Te={};n.r(Te),n.d(Te,{decode:()=>ok,encode:()=>sk,format:()=>ak,parse:()=>wk});var $e={};n.r($e),n.d($e,{Any:()=>_k,Cc:()=>Ck,Cf:()=>xk,P:()=>kk,Z:()=>Sk});var Me={};n.r(Me),n.d(Me,{arrayReplaceAt:()=>Jk,assign:()=>Zk,escapeHtml:()=>c_,escapeRE:()=>h_,fromCodePoint:()=>Qk,has:()=>Yk,isMdAsciiPunct:()=>f_,isPunctChar:()=>g_,isSpace:()=>d_,isString:()=>qk,isValidEntityCode:()=>Xk,isWhiteSpace:()=>p_,lib:()=>v_,normalizeReference:()=>m_,unescapeAll:()=>r_,unescapeMd:()=>o_});var Re={};n.r(Re),n.d(Re,{parseLinkDestination:()=>y_,parseLinkLabel:()=>b_,parseLinkTitle:()=>w_});var Oe={};n.r(Oe),n.d(Oe,{metadata:()=>ek,name:()=>hx,settings:()=>dx});var Le={};n.r(Le),n.d(Le,{metadata:()=>px,name:()=>mx,settings:()=>vx});var Ie={};n.r(Ie),n.d(Ie,{metadata:()=>bx,name:()=>wx,settings:()=>kx});var Pe={};n.r(Pe),n.d(Pe,{metadata:()=>Cx,name:()=>Sx,settings:()=>Ex});var Ne={};n.r(Ne),n.d(Ne,{metadata:()=>Ax,name:()=>Ix,settings:()=>Px});var De={};n.r(De),n.d(De,{metadata:()=>Nx,name:()=>Fx,settings:()=>zx});var Fe={};n.r(Fe),n.d(Fe,{metadata:()=>Bx,name:()=>qx,settings:()=>Kx});var ze={};n.r(ze),n.d(ze,{metadata:()=>Yx,name:()=>Qx,settings:()=>eS});var Be={};n.r(Be),n.d(Be,{metadata:()=>tS,name:()=>lS,settings:()=>cS});var je={};n.r(je),n.d(je,{metadata:()=>uS,name:()=>hS,settings:()=>dS});var He={};n.r(He),n.d(He,{metadata:()=>pS,name:()=>CS,settings:()=>xS});var We={};n.r(We),n.d(We,{metadata:()=>SS,name:()=>AS,settings:()=>TS});var Ve={};n.r(Ve),n.d(Ve,{name:()=>MS,settings:()=>RS});var Ue={};n.r(Ue),n.d(Ue,{name:()=>OS,settings:()=>LS});var Ge={};n.r(Ge),n.d(Ge,{name:()=>DS,settings:()=>FS});var qe={};n.r(qe),n.d(qe,{name:()=>zS,settings:()=>BS});var Ke=n(1280),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 rt(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 it(e,t,n){const o=new(ot())(e),r=new RegExp(`${t}-`);for(const e of o.values())r.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],r=o?ct(e[n]):e[n],i=o&&!Object.keys(r).length;return void 0===r||i?t:Object.assign(t,{[n]:r})}),{})}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,Ct,xt,St,Et,At,Tt,$t,Mt,Rt,Ot,Lt,It,Pt,Nt,Dt,Ft,zt,Bt,jt,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 Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt!==e))}var Ai=n(9628),Ti=n.n(Ai),$i=n(876),Mi=n.n($i);const{getBlocks:Ri}=(0,Ze.select)("core/block-editor");function Oi(e,t="none"){let n=[];return"none"===t&&(t=Ri()),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,...Oi(e,t.innerBlocks)])})),n}function Li(e,t){let n=!0;return t.forEach((t=>{t===e&&(n=!1)})),n}function Ii(e){return Ti()(Mi()(e),{replacement:"-",remove:/[*_+~()'"!?/\-—–−:@^|&#.,;%<>{}]/g,lower:!0})}function Pi(e,t){let n="",o=0;const r=Oi(t);for(;!n||!Li(n,r);)n&&(o+=1),n=`${Ii(e)}${o?`-${o}`:""}`;return n}function Ni(e){return e&&"object"==typeof e&&!Array.isArray(e)}function Di(e,...t){if(!t.length)return e;const n=t.shift();return Ni(e)&&Ni(n)&&Object.keys(n).forEach((t=>{Ni(n[t])?(e[t]||Object.assign(e,{[t]:{}}),Di(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),Di(e,...t)}function Fi(e,t=1){const n=10**t;return Math.round(e*n)/n}function zi(e){return Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{})}const Bi={...window.ghostkitVariables.media_sizes};function ji(e){return gt(e)}function Hi(e,t,n=!1,o=!1){let r,i=ji(e);return n&&(i=i?.[`media_${n}`]),o&&(i=i?.[o]),void 0!==i?.[t]&&(r=i?.[t]),r}function Wi(e,t,n=!1,o=!1){return void 0!==Hi(e,t,n,o)}function Vi(e,t,n=!1,o=!1){let r;return o&&(t={[o]:t}),n?(r={},r[`media_${n}`]=t):r=t,r=Di({media_xl:{},media_lg:{},media_md:{},media_sm:{}},gt(e),r),pt(ct(r))}function Ui(e,t=!1,n=[""]){const o={};return n.forEach((e=>{e&&(o[e]={})})),["",...t?Object.keys(Bi):[]].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 Gi(e,t,n=!1,o=[""]){const r=Ui(t,n,o),i=gt(e||{});return["",...n?Object.keys(Bi):[]].forEach((e=>{t.forEach((t=>{o.forEach((n=>{e?n?void 0!==i?.[`media_${e}`]?.[n]?.[t]&&(r[`media_${e}`][n][t]=i[`media_${e}`][n][t]):void 0!==i?.[`media_${e}`]?.[t]&&(r[`media_${e}`][t]=i[`media_${e}`][t]):n?void 0!==i?.[n]?.[t]&&(r[n][t]=i[n][t]):void 0!==i?.[t]&&(r[t]=i[t])}))}))})),pt(r)}function qi(){return{arrayMove:et,camelCaseToDash:tt,classesReplacer:o,compactObject:ct,dashCaseToTitle:ut,encodeDecode:r,getIcon:xi,getParents:Si,getSiblings:Ei,getSlug:Ii,getUniqueSlug:Pi,merge:Di,round:Fi,sortObject:zi,styles:i}}const Ki=(0,Ze.createReduxStore)("ghostkit/base/utils",{selectors:s,reducer:e=>e});(0,Ze.register)(Ki);const{ghostkitVariables:Yi}=window,Zi={...Yi.media_sizes};function Ji(){const{device:e}=(0,Ze.useSelect)((e=>{const{getDevice:t}=e("ghostkit/responsive");return{device:t()}})),{setDevice:t}=(0,Ze.useDispatch)("ghostkit/responsive");return{device:e,setDevice:t,allDevices:Zi}}const Xi=window.lodash;function Qi(e){const{attributes:t,setAttributes:n}=e,o=t?.ghostkit||{},r=o?.styles||{};function i(e,t=!1,r=!1){const i=(0,Xi.cloneDeep)(o);void 0===i?.styles&&(i.styles={});const s=Vi(i.styles,e,t,r);i.styles=s,n({ghostkit:i})}return{styles:r,getStyles:function(){return ji(r)},getStyle:function(e,t=!1,n=!1){return Hi(r,e,t,n)},hasStyle:function(e,t=!1,n=!1){return Wi(r,e,t,n)},setStyles:i,resetStyles:function(e,t=!1,n=[""]){i(Ui(e,t,n))}}}function es(){return{useResponsive:Ji,useStyles:Qi}}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 rs(e){const{name:t,children:n}=e;return(0,os.applyFilters)(t,n||"",e)}var is=n(3496),ss=(n(2256),n(8608),n(8967),n(828),n(9540),n(7424));function as(e){const{setOptions:t={},editorProps:n={},...o}=e;return(0,Ke.createElement)(is.cp,{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(7892),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:r=(()=>{})}=e,i=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)(rs,{name:"ghostkit.component.color-palette",props:e},(0,Ke.createElement)(us.ColorPalette,{colors:i,value:t,enableAlpha:n,onChange:e=>{r(e)},__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0}))}function gs(e){const{value:t,onChange:n,label:o,colorPalette:r=!0,alpha:i=!1,gradient:s=!1,afterDropdownContent:a}=e;return(0,Ke.createElement)(us.BaseControl,{className:"ghostkit-component-color-picker-wrapper"},(0,Ke.createElement)(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,Ke.createElement)(us.Button,{className:cs()("ghostkit-component-color-toggle",e?"ghostkit-component-color-toggle-active":""),onClick:n},(0,Ke.createElement)("span",{className:"ghostkit-component-color-toggle-indicator",style:{background:t||""}}),(0,Ke.createElement)("span",{className:"ghostkit-component-color-toggle-label"},o)),renderContent:()=>(0,Ke.createElement)("div",{className:"ghostkit-component-color-picker"},(0,Ke.createElement)(ps,{value:t,palette:r,alpha:i,gradient:s,onChange:e=>{n(e||"")}}),a||"")}))}const fs=window.wp.date,ms=window.wp.element,vs=window.wp.i18n,{luxon:bs}=window;function ys(e){const[t,n]=(0,ms.useState)(!1),{value:o,onChange:r,label:i,is12Hour:s=!1}=e,a=(0,fs.getSettings)(),l=a.formats.datetime||"F j, Y g:i a";return(0,Ke.createElement)(us.BaseControl,{id:i,label:i,className:"ghostkit-components-date-time-picker"},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Button,{isLink:!0,onClick:()=>n(!t)},o?`${(0,fs.dateI18n)(l,o)} ${a.timezone.abbr||a.timezone.string||`UTC${a.timezone.offset}`}`:(0,vs.__)("Select Date","ghostkit")),t?(0,Ke.createElement)(us.Popover,{className:"ghostkit-components-date-time-picker-popover",onClose:()=>n(!1)},(0,Ke.createElement)(us.DateTimePicker,{label:i,currentDate:bs.DateTime.fromISO(o).isValid?o:"",onChange:r,is12Hour:s})):null))}function ws(e){const{label:t,className:n,contentClassName:o,onClick:r,open:i,onToggle:s,children:a}=e;return(0,Ke.createElement)(us.BaseControl,{className:"ghostkit-component-dropdown-picker-wrapper"},(0,Ke.createElement)(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:i,onToggle:s,renderToggle:({isOpen:e,onToggle:n})=>(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-component-dropdown-picker-toggle",e?"ghostkit-component-dropdown-picker-toggle-active":""),onClick:t=>{r?r(n,e,t):n()}},(0,Ke.createElement)("span",{className:"ghostkit-component-dropdown-picker-toggle-label"},t)),renderContent:()=>a}))}const ks=".editor-styles-wrapper";function _s(e){const{styles:t}=e,n=(0,ms.useMemo)((()=>{const e=(0,ds.transformStyles)([{css:t}],ks);let n="";return(0,Xi.map)((0,Xi.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)}},xi("icon-pointer"),o()&&(0,Ke.createElement)(ns,null),t&&(0,Ke.createElement)("span",null,(0,vs.__)(":hover","ghostkit")))}const xs={};function Ss(e){const{value:t,onChange:n,label:o,image:r}=e;let i="";if(!r)return null;if(i=function(e){if(void 0!==xs[e])return xs[e];let t=/]*?src\s*=\s*['"]([^'"]*?)['"][^>]*?>/g.exec(e);if(t&&t[1])return xs[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)?(xs[e]=t,t):(xs[e]=!1,!1)}(r),!i)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,Ke.createElement)(us.FocalPointPicker,{label:o,url:i,value:s,onChange:e=>{n(`${parseInt(100*e.x,10)}% ${parseInt(100*e.y,10)}%`)}})}var Es=n(5112),As=n.n(Es);function Ts(e){return Ts="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},Ts(e)}function $s(e){var t=function(e,t){if("object"!=Ts(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=Ts(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ts(t)?t:String(t)}function Ms(e,t,n){return(t=$s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rs(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?js(Js,--Ys):0,qs--,10===Zs&&(qs=1,Gs--),Zs}function ta(){return Zs=Ys2||ia(Zs)>3?"":" "}function ua(e,t){for(;--t&&ta()&&!(Zs<48||Zs>102||Zs>57&&Zs<65||Zs>70&&Zs<97););return ra(e,oa()+(t<6&&32==na()&&32==ta()))}function ha(e){for(;ta();)switch(Zs){case e:return Ys;case 34:case 39:34!==e&&39!==e&&ha(Zs);break;case 40:41===e&&ha(e);break;case 92:ta()}return Ys}function da(e,t){for(;ta()&&e+Zs!==57&&(e+Zs!==84||47!==na()););return"/*"+ra(t,Ys-1)+"*"+Ns(47===e?e:ta())}function pa(e){for(;!ia(na());)ta();return ra(e,Ys)}var ga="-ms-",fa="-moz-",ma="-webkit-",va="comm",ba="rule",ya="decl",wa="@keyframes";function ka(e,t){for(var n="",o=Vs(e),r=0;r0&&Ws(C)-h&&Us(p>32?Aa(C+";",o,n,h-1):Aa(zs(C," ","")+";",o,n,h-2),l);break;case 59:C+=";";default:if(Us(_=Sa(C,t,n,c,u,r,a,y,w=[],k=[],h),i),123===b)if(0===u)xa(C,t,_,_,w,i,h,a,k);else switch(99===d&&110===js(C,3)?100:d){case 100:case 108:case 109:case 115:xa(e,_,_,o&&Us(Sa(e,_,_,0,0,r,a,y,r,w=[],h),k),r,k,h,a,o?w:k);break;default:xa(C,_,_,_,[""],k,0,a,k)}}c=u=p=0,f=v=1,y=C="",h=s;break;case 58:h=1+Ws(C),p=g;default:if(f<1)if(123==b)--f;else if(125==b&&0==f++&&125==ea())continue;switch(C+=Ns(b),b*f){case 38:v=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Ws(C)-1)*v,v=1;break;case 64:45===na()&&(C+=la(ta())),d=na(),u=h=Ws(y=C+=pa(oa())),b++;break;case 45:45===g&&2==Ws(C)&&(f=0)}}return i}function Sa(e,t,n,o,r,i,s,a,l,c,u){for(var h=r-1,d=0===r?i:[""],p=Vs(d),g=0,f=0,m=0;g0?d[v]+" "+b:zs(b,/&\f/g,d[v])))&&(l[m++]=y);return Xs(e,t,n,0===r?ba:a,l,c,u)}function Ea(e,t,n){return Xs(e,t,n,va,Ns(Zs),Hs(e,2,-2),0)}function Aa(e,t,n,o){return Xs(e,t,n,ya,Hs(e,0,o),Hs(e,o+1,-1),o)}var Ta=function(e,t,n){for(var o=0,r=0;o=r,r=na(),38===o&&12===r&&(t[n]=1),!ia(r);)ta();return ra(e,Ys)},$a=new WeakMap,Ma=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)||$a.get(n))&&!o){$a.set(e,!0);for(var r=[],i=function(e,t){return aa(function(e,t){var n=-1,o=44;do{switch(ia(o)){case 0:38===o&&12===na()&&(t[n]=1),e[n]+=Ta(Ys-1,t,n);break;case 2:e[n]+=la(o);break;case 4:if(44===o){e[++n]=58===na()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ns(o)}}while(o=ta());return e}(sa(e),t))}(t,r),s=n.props,a=0,l=0;a6)switch(js(e,t+1)){case 109:if(45!==js(e,t+4))break;case 102:return zs(e,/(.+:)(.+)-([^]+)/,"$1"+ma+"$2-$3$1"+fa+(108==js(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Bs(e,"stretch")?Oa(zs(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==js(e,t+1))break;case 6444:switch(js(e,Ws(e)-3-(~Bs(e,"!important")&&10))){case 107:return zs(e,":",":"+ma)+e;case 101:return zs(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ma+(45===js(e,14)?"inline-":"")+"box$3$1"+ma+"$2$3$1"+ga+"$2box$3")+e}break;case 5936:switch(js(e,t+11)){case 114:return ma+e+ga+zs(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ma+e+ga+zs(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ma+e+ga+zs(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ma+e+ga+e+e}return e}var La=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case ya:e.return=Oa(e.value,e.length);break;case wa:return ka([Qs(e,{value:zs(e.value,"@","@"+ma)})],o);case ba: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 ka([Qs(e,{props:[zs(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return ka([Qs(e,{props:[zs(t,/:(plac\w+)/,":"+ma+"input-$1")]}),Qs(e,{props:[zs(t,/:(plac\w+)/,":-moz-$1")]}),Qs(e,{props:[zs(t,/:(plac\w+)/,ga+"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,r,i=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,r-=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(r){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)}(r)+l;return{name:c,styles:r,next:Ua}},Ka=!!Ke.useInsertionEffect&&Ke.useInsertionEffect,Ya=Ka||function(e){return e()},Za=(Ka||Ke.useLayoutEffect,{}.hasOwnProperty),Ja=Ke.createContext("undefined"!=typeof HTMLElement?Ia({key:"css"}):null);Ja.Provider;var Xa=function(e){return(0,Ke.forwardRef)((function(t,n){var o=(0,Ke.useContext)(Ja);return e(t,o,n)}))},Qa=Ke.createContext({}),el="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tl=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;return Pa(t,n,o),Ya((function(){return function(e,t,n){Pa(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+o:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(t,n,o)})),null},nl=Xa((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[el],i=[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,i,e.className):null!=e.className&&(s=e.className+" ");var a=qa(i,void 0,Ke.useContext(Qa));s+=t.key+"-"+a.name;var l={};for(var c in e)Za.call(e,c)&&"css"!==c&&c!==el&&(l[c]=e[c]);return l.ref=n,l.className=s,Ke.createElement(Ke.Fragment,null,Ke.createElement(tl,{cache:t,serialized:a,isStringTag:"string"==typeof r}),Ke.createElement(r,l))})),ol=nl,rl=(n(4792),function(e,t){var n=arguments;if(null==t||!Za.call(t,"css"))return Ke.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=ol,r[1]=function(e,t){var n={};for(var o in t)Za.call(t,o)&&(n[o]=t[o]);return n[el]=e,n}(e,t);for(var i=2;ie.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const ul=window.ReactDOM,hl=Math.min,dl=Math.max,pl=Math.round,gl=Math.floor,fl=e=>({x:e,y:e});function ml(e){return yl(e)?(e.nodeName||"").toLowerCase():"#document"}function vl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function bl(e){var t;return null==(t=(yl(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function yl(e){return e instanceof Node||e instanceof vl(e).Node}function wl(e){return e instanceof Element||e instanceof vl(e).Element}function kl(e){return e instanceof HTMLElement||e instanceof vl(e).HTMLElement}function _l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof vl(e).ShadowRoot)}function Cl(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=xl(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function xl(e){return vl(e).getComputedStyle(e)}function Sl(e){const t=function(e){if("html"===ml(e))return e;const t=e.assignedSlot||e.parentNode||_l(e)&&e.host||bl(e);return _l(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(ml(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:kl(t)&&Cl(t)?t:Sl(t)}function El(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Sl(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=vl(r);return i?t.concat(s,s.visualViewport||[],Cl(r)?r:[],s.frameElement&&n?El(s.frameElement):[]):t.concat(r,El(r,[],n))}function Al(e){return wl(e)?e:e.contextElement}function Tl(e){const t=Al(e);if(!kl(t))return fl(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=xl(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=kl(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=pl(n)!==i||pl(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?pl(n.width):n.width)/o,a=(i?pl(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const $l=fl(0);function Ml(e){const t=vl(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$l}function Rl(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=Al(e);let s=fl(1);t&&(o?wl(o)&&(s=Tl(o)):s=Tl(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==vl(e))&&t}(i,n,o)?Ml(i):fl(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,h=r.height/s.y;if(i){const e=vl(i),t=o&&wl(o)?vl(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=Tl(n),t=n.getBoundingClientRect(),o=xl(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,h*=e.y,l+=r,c+=i,n=vl(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 Pl(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Nl(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r-1}function jl(e){return Bl(e)?window.pageYOffset:e.scrollTop}function Hl(e,t){Bl(e)?window.scrollTo(0,t):e.scrollTop=t}function Wl(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,r=jl(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;Hl(e,l),sn.bottom?Hl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r=g)return{placement:"bottom",maxHeight:t};if(x>=g&&!s)return i&&Wl(l,S,A),{placement:"bottom",maxHeight:t};if(!s&&x>=o||s&&_>=o)return i&&Wl(l,S,A),{placement:"bottom",maxHeight:s?_-y:x-y};if("auto"===r||s){var T=t,$=s?k:C;return $>=o&&(T=Math.min($-y-a,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return i&&Hl(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(k>=g)return{placement:"top",maxHeight:t};if(C>=g&&!s)return i&&Wl(l,E,A),{placement:"top",maxHeight:t};if(!s&&C>=o||s&&k>=o){var M=t;return(!s&&C>=o||s&&k>=o)&&(M=s?k-w:C-w),i&&Wl(l,E,A),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:m});d(a.maxHeight),f(a.placement),null==l||l(a.placement)}}),[o,r,i,s,n,l,m]),t({ref:c,placerProps:Os(Os({},e),{},{placement:g||oc(r),maxHeight:h})})},sc=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return Os({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},ac=sc,lc=sc,cc=["size"],uc=["innerProps","isRtl","size"],hc={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},dc=function(e){var t=e.size,n=cl(e,cc);return rl("svg",Ls({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:hc},n))},pc=function(e){return rl(dc,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"}))},gc=function(e){return rl(dc,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"}))},fc=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Os({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},mc=fc,vc=fc,bc=function(){var e=il.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_"}}}(ec||(tc=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],nc||(nc=tc.slice(0)),ec=Object.freeze(Object.defineProperties(tc,{raw:{value:Object.freeze(nc)}})))),yc=function(e){var t=e.delay,n=e.offset;return rl("span",{css:il({animation:"".concat(bc," 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"},"","")})},wc=["data"],kc=["innerRef","isDisabled","isHidden","inputClassName"],_c={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"},_c)},xc=function(e){return Os({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},_c)},Sc=function(e){var t=e.children,n=e.innerProps;return rl("div",n,t)},Ec={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(pc,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return rl("div",Ls({ref:r},zl(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"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(gc,null))},DownChevron:gc,CrossIcon:pc,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=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(i,Ls({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),rl("div",null,t))},GroupHeading:function(e){var t=Fl(e);t.data;var n=cl(t,wc);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=Fl(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=cl(o,kc);return rl("div",Ls({},zl(e,"input",{"input-container":!0}),{"data-value":n||""}),rl("input",Ls({className:t({input:!0},a),ref:r,style:xc(s),disabled:i},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=cl(e,uc);return rl("div",Ls({},zl(Os(Os({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),rl(yc,{delay:0,offset:n}),rl(yc,{delay:160,offset:!0}),rl(yc,{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,r=e.isMulti;return rl("div",Ls({},zl(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,s=e.menuPosition,a=(0,Ke.useRef)(null),l=(0,Ke.useRef)(null),c=ll((0,Ke.useState)(oc(i)),2),u=c[0],h=c[1],d=(0,Ke.useMemo)((function(){return{setPortalPlacement:h}}),[]),p=ll((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:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Al(e),u=r||i?[...c?El(c):[],...El(t)]:[];u.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const h=c&&a?function(e,t){let n,o=null;const r=bl(e);function i(){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),i();const{left:c,top:u,width:h,height:d}=e.getBoundingClientRect();if(a||t(),!h||!d)return;const p={rootMargin:-gl(u)+"px "+-gl(r.clientWidth-(c+h))+"px "+-gl(r.clientHeight-(u+d))+"px "+-gl(c)+"px",threshold:dl(0,hl(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:r.ownerDocument})}catch(e){o=new IntersectionObserver(f,p)}o.observe(e)}(!0),i}(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?Rl(e):null;return l&&function t(){const o=Rl(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=>{r&&e.removeEventListener("scroll",n),i&&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}),r),n);return rl(rc.Provider,{value:d},t?(0,ul.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=cl(e,Ql);return rl("div",Ls({},zl(Os(Os({},r),{},{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,r=cl(e,Xl);return rl("div",Ls({},zl(Os(Os({},r),{},{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,r=e.innerProps,i=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":i})),r),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:Sc,MultiValueLabel:Sc,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return rl("div",Ls({role:"button"},n),t||rl(pc,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=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":r}),{ref:i,"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,r=e.isRtl;return rl("div",Ls({},zl(e,"container",{"--is-disabled":o,"--is-rtl":r}),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,r=e.hasValue;return rl("div",Ls({},zl(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},Ac=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e,t){for(var n=0;n1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,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(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var h=a?" disabled":"",d="".concat(l?" selected":"").concat(h);return"".concat(i).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:"",".")}},Wc=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=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"],C=(0,Ke.useMemo)((function(){return Os(Os({},Hc),u||{})}),[u]),x=(0,Ke.useMemo)((function(){var e,n="";if(t&&C.onChange){var o=t.option,r=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?h(c):"",d=r||a||void 0,p=d?d.map(h):[],f=Os({isDisabled:c&&g(c,s),label:u,labels:p},t);n=C.onChange(f)}return n}),[t,C,g,s,h]),S=(0,Ke.useMemo)((function(){var e="",t=n||o,i=!!(n&&s&&s.includes(n));if(t&&C.onFocus){var a={focused:t,label:h(t),isDisabled:g(t,s),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=C.onFocus(a)}return e}),[n,o,h,g,C,r,s,c]),E=(0,Ke.useMemo)((function(){var e="";if(m&&v.length&&!w&&C.onFilter){var t=b({count:r.length});e=C.onFilter({inputValue:d,resultsMessage:t})}return e}),[r,d,m,C,v,b,w]),A="initial-input-focus"===(null==t?void 0:t.action),T=(0,Ke.useMemo)((function(){var e="";if(C.guidance){var t=o?"value":m?"menu":"input";e=C.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,C,s,y,A]),$=rl(Ke.Fragment,null,rl("span",{id:"aria-selection"},x),rl("span",{id:"aria-focused"},S),rl("span",{id:"aria-results"},E),rl("span",{id:"aria-guidance"},T));return rl(Ke.Fragment,null,rl(jc,{id:l},A&&$),rl(jc,{"aria-live":_,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!A&&$))},Vc=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Uc=new RegExp("["+Vc.map((function(e){return e.letters})).join("")+"]","g"),Gc={},qc=0;qc1?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&&(i&&i(e),a.current=!1),g&&t>f?(n&&!s.current&&n(e),p.scrollTop=h,m=!0,s.current=!0):!g&&-t>u&&(r&&!a.current&&r(e),p.scrollTop=0,m=!0,a.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,r,i]),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=!!Yl&&{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}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=(0,Ke.useRef)({}),i=(0,Ke.useRef)(null),s=(0,Ke.useCallback)((function(e){if(lu){var t=document.body,n=t&&t.style;if(o&&nu.forEach((function(e){var t=n&&n[e];r.current[e]=t})),o&&cu<1){var i=parseInt(r.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+i||0;Object.keys(ou).forEach((function(e){var t=ou[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(a,"px"))}t&&au()&&(t.addEventListener("touchmove",ru,uu),e&&(e.addEventListener("touchstart",su,uu),e.addEventListener("touchmove",iu,uu))),cu+=1}}),[o]),a=(0,Ke.useCallback)((function(e){if(lu){var t=document.body,n=t&&t.style;cu=Math.max(cu-1,0),o&&cu<1&&nu.forEach((function(e){var t=r.current[e];n&&(n[e]=t)})),t&&au()&&(t.removeEventListener("touchmove",ru,uu),e&&(e.removeEventListener("touchstart",su,uu),e.removeEventListener("touchmove",iu,uu)))}}),[o]);return(0,Ke.useEffect)((function(){if(t){var e=i.current;return s(e),function(){a(e)}}}),[t,s,a]),function(e){i.current=e}}({isEnabled:n});return rl(Ke.Fragment,null,n&&rl("div",{onClick:hu,css:du}),t((function(e){r(e),i(e)})))}var gu={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},fu=function(e){var t=e.name,n=e.onFocus;return rl("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:gu,value:"",onChange:function(){}})};function mu(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 vu(){return mu(/^Mac/i)}var bu={clearIndicator:vc,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,r=e.theme,i=r.colors,s=r.borderRadius;return Os({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:mc,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,r=n.spacing;return Os({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.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,r=o.spacing.baseUnit,i=o.colors;return Os({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return Os(Os({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Cc),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.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?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:lc,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return Os((Ms(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Ms(n,"position","absolute"),Ms(n,"width","100%"),Ms(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,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,r=n.borderRadius,i=n.colors;return Os({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return Os({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=e.isFocused;return Os({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:ac,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return Os({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return Os({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return Os({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Os({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},yu={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}},wu={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ul(),captureMenuScroll:!Ul(),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:Qc,trim:!0,matchFrom:"any"},void 0),o=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,s=n.trim,a=n.matchFrom,l=s?Xc(t):t,c=s?Xc(i(e)):i(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),r&&(l=Jc(l),c=Zc(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 ku(e,t,n,o){return{type:"option",data:t,isDisabled:$u(e,t,n),isSelected:Mu(e,t,n),label:Au(e,t),value:Tu(e,t),index:o}}function _u(e,t){return e.options.map((function(n,o){if("options"in n){var r=n.options.map((function(n,o){return ku(e,n,t,o)})).filter((function(t){return Su(e,t)}));return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=ku(e,n,t,o);return Su(e,i)?i:void 0})).filter(Zl)}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 xu(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 Su(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!Ou(e)||!i)&&Ru(e,{label:s,value:a,data:r},o)}var Eu=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Au=function(e,t){return e.getOptionLabel(t)},Tu=function(e,t){return e.getOptionValue(t)};function $u(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Mu(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Tu(e,t);return n.some((function(t){return Tu(e,t)===o}))}function Ru(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(r,e);var t,n,o=(t=r,n=Ic(),function(){var e,o=Lc(t);if(n){var r=Lc(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return Nc(this,e)});function r(e){var t;if(Tc(this,r),(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=vu()||mu(/^iPhone/i)||mu(/^iPad/i)||vu()&&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,r=o.onChange,i=o.name;n.name=i,t.ariaOnChange(e,n),r(e,n)},t.setValue=function(e,n,o){var r=t.props,i=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(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,r=n.isMulti,i=n.name,s=t.state.selectValue,a=r&&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:i});r?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,r=t.getOptionValue(e),i=o.filter((function(e){return t.getOptionValue(e)!==r})),s=Jl(n,i,i[0]||null);t.onChange(s,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Jl(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],r=n.slice(0,n.length-1),i=Jl(e,r,r[0]||null);t.onChange(i,{action:"pop-value",removedValue:o})},t.getFocusedOptionId=function(e){return Eu(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return xu(_u(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||i>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,r=n.backspaceRemovesValue,i=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(!r)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&&i&&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(),i=t.buildFocusableOptions(),s=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=i[s],t.state.focusedOptionId=Eu(n,i[s])}return t}return Mc(r,[{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&&Vl(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Vl(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,r=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[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 r=n.indexOf(o);o||(r=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(yu):Os(Os({},yu),this.props.theme):yu}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=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:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,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 $u(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Mu(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Ru(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,r=e.inputValue,i=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:i,form:s,type:"text",value:r},f)):Ke.createElement(tu,Ls({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Il,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=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:r,Remove:i},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,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;return e&&r?Ke.createElement(e,Ls({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return Ke.createElement(n,Ls({},o,{isDisabled:r,isFocused:i}))}},{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,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Ke.createElement(e,Ls({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=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,C=d.menuShouldBlockScroll,x=d.menuShouldScrollIntoView,S=d.noOptionsMessage,E=d.onMenuScrollToTop,A=d.onMenuScrollToBottom;if(!y)return null;var T,$=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,d=h===r,p=i?void 0:function(){return e.onOptionHover(r)},g=i?void 0:function(){return e.selectOption(r)},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:r,isDisabled:i,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 r=t.data,i=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:r,options:i,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 O={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:k,menuShouldScrollIntoView:x},L=Ke.createElement(ic,Ls({},u,O),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,a=o.maxHeight;return Ke.createElement(r,Ls({},u,O,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),Ke.createElement(pu,{captureEnabled:p,onTopArrive:E,onBottomArrive:A,lockEnabled:C},(function(t){return Ke.createElement(i,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}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!o)return Ke.createElement(fu,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var l=a.map((function(t){return e.getOptionValue(t)})).join(n);return Ke.createElement("input",{name:i,type:"hidden",value:l})}var c=a.length>0?a.map((function(t,n){return Ke.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):Ke.createElement("input",{name:i,type:"hidden",value:""});return Ke.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return Ke.createElement("input",{name:i,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return Ke.createElement(Wc,Ls({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:s,focusableOptions:a,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,s=i.className,a=i.id,l=i.isDisabled,c=i.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(r,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,r=t.inputIsHiddenAfterUpdate,i=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(_u(e,t))}(e,g):[],v=h?xu(_u(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:Eu(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var w=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},k=i,_=s&&a;return s&&!_&&(k={value:Jl(p,g,g[0]||null),options:g,action:"initial-input-focus"},_=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(k=null),Os(Os(Os({},f),w),{},{prevProps:e,ariaSelection:k,prevWasFocused:_})}}]),r}(Ke.Component);Iu.defaultProps=wu;var Pu=(0,Ke.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,s=void 0===i?null:i,a=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,h=e.onMenuClose,d=e.onMenuOpen,p=e.value,g=cl(e,Ac),f=ll((0,Ke.useState)(void 0!==a?a:n),2),m=f[0],v=f[1],b=ll((0,Ke.useState)(void 0!==l?l:r),2),y=b[0],w=b[1],k=ll((0,Ke.useState)(void 0!==p?p:s),2),_=k[0],C=k[1],x=(0,Ke.useCallback)((function(e,t){"function"==typeof c&&c(e,t),C(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:x,onInputChange:S,onMenuClose:A,onMenuOpen:E,value:M})}(e);return Ke.createElement(Iu,Ls({ref:t},n))})),Nu=Pu;function Du(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Fu(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 Bu(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,r=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?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=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"+i+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\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=Fu),"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 ju(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 Vu=function(){function e(t){var n=t.cellCount,o=t.cellSizeGetter,r=t.estimatedCellSize;Tc(this,e),Ms(this,"_cellSizeAndPositionData",{}),Ms(this,"_lastMeasuredIndex",-1),Ms(this,"_lastBatchedIndex",-1),Ms(this,"_cellCount",void 0),Ms(this,"_cellSizeGetter",void 0),Ms(this,"_estimatedCellSize",void 0),this._cellSizeGetter=o,this._cellCount=n,this._estimatedCellSize=r}return Mc(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 r=this._cellSizeGetter({index:o});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(o," of value ").concat(r));null===r?(this._cellSizeAndPositionData[o]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[o]={offset:n,size:r},n+=r,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,r=e.currentOffset,i=e.targetIndex;if(o<=0)return 0;var s,a=this.getSizeAndPositionOfCell(i),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,r))}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,r=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(r);n=i.offset+i.size;for(var s=r;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}(),Uu=function(){function e(t){var n=t.maxScrollSize,o=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,r=cl(t,["maxScrollSize"]);Tc(this,e),Ms(this,"_cellSizeAndPositionManager",void 0),Ms(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Vu(r),this._maxScrollSize=o}return Mc(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(),r=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(r-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,r=e.currentOffset,i=e.targetIndex;r=this._safeOffsetToOffset({containerSize:o,offset:r});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:o,currentOffset:r,targetIndex:i});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(),r=this.getTotalSize();if(o===r)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,o=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();if(o===r)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}}]),e}();function Gu(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var o=n.callback,r=n.indices,i=Object.keys(r),s=!e||i.every((function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0})),a=i.length!==Object.keys(t).length||i.some((function(e){var n=t[e],o=r[e];return Array.isArray(o)?n.join(",")!==o.join(","):n!==o}));t=r,s&&a&&o(r)}}function qu(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,o=e.previousCellsCount,r=e.previousCellSize,i=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 Ku=!("undefined"==typeof window||!window.document||!window.document.createElement);var Yu,Zu;function Ju(e){if((!Yu&&0!==Yu||e)&&Ku){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),Yu=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Yu}var Xu,Qu,eh=(Zu="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||Zu.webkitRequestAnimationFrame||Zu.mozRequestAnimationFrame||Zu.oRequestAnimationFrame||Zu.msRequestAnimationFrame||function(e){return Zu.setTimeout(e,1e3/60)},th=Zu.cancelAnimationFrame||Zu.webkitCancelAnimationFrame||Zu.mozCancelAnimationFrame||Zu.oCancelAnimationFrame||Zu.msCancelAnimationFrame||function(e){Zu.clearTimeout(e)},nh=eh,oh=th,rh=function(e){return oh(e.id)},ih=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var o={id:nh((function r(){Date.now()-n>=t?e.call():o.id=nh(r)}))};return o};function sh(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 ah(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),Mc(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,r=void 0===o?this.props.scrollToColumn:o,i=e.rowIndex,s=void 0===i?this.props.scrollToRow:i,a=ah({},this.props,{scrollToAlignment:n,scrollToColumn:r,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,r=void 0===o?0:o;if(!(r<0)){this._debounceScrollEnded();var i=this.props,s=i.autoHeight,a=i.autoWidth,l=i.height,c=i.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),r);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,r=void 0===o?0:o,i=this.props,s=i.scrollToColumn,a=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=s>=0&&(1===this.state.scrollDirectionHorizontal?n<=s:n>=s),this._recomputeScrollTopFlag=a>=0&&(1===this.state.scrollDirectionVertical?r<=a:r>=a),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,o=this.props.columnCount,r=this.props;o>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(ah({},r,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(ah({},r,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,o=e.height,r=e.scrollLeft,i=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=ah({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof r&&r>=0||"number"==typeof s&&s>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,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;i>=0&&h&&this._updateScrollLeftForScrollToColumn(),a>=0&&h&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||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,r=o.autoHeight,i=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===lh&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=g),!r&&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)):qu({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)):qu({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,r=e.className,i=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,C=w>g?m.scrollbarSize:0;C===this._horizontalScrollBarSize&&_===this._verticalScrollBarSize||(this._horizontalScrollBarSize=C,this._verticalScrollBarSize=_,this._scrollbarPresenceChanged=!0),y.overflowX=w+_<=g?"hidden":"auto",y.overflowY=k+C<=l?"hidden":"auto";var x=this._childrenToDisplay,S=0===x.length&&l>0&&g>0;return Ke.createElement("div",Ls({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Hu("ReactVirtualized__Grid",r),id:c,onScroll:this._onScroll,role:h,style:ah({},y,{},d),tabIndex:p}),x.length>0&&Ke.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:ah({width:t?"auto":w,height:k,maxWidth:w,maxHeight:k,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},a)},x),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,r=e.columnCount,i=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 C=l({direction:"horizontal",cellCount:r,overscanCellsCount:a,scrollDirection:p,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=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=C.overscanStartIndex,E=C.overscanStopIndex,A=x.overscanStartIndex,T=x.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var $=A;$<=T;$++)if(!i.has($,0)){S=0,E=r-1;break}if(!i.hasFixedWidth())for(var M=S;M<=E;M++)if(!i.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:i,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=ih(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,r=e.totalColumnsWidth,i=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:i,scrollLeft:n,scrollTop:o,scrollWidth:r})},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,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:o});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{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 r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(o,"-").concat(r);this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{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 r,i,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}),Wu({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(){r=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),Wu({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(){i=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,ah({},o,{},r,{},i)}},{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,r={scrollPositionChangeReason:lh};return"number"==typeof n&&n>=0&&(r.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,r.scrollLeft=n),"number"==typeof o&&o>=0&&(r.scrollDirectionVertical=o>t.scrollTop?1:-1,r.scrollTop=o),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof o&&o>=0&&o!==t.scrollTop?r:{}}},{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,r=e.scrollToAlignment,i=e.scrollToColumn,s=e.width,a=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),h=l.rowSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>o?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:s-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var o=n.scrollLeft,r=t._getCalculatedScrollLeft(e,n);return"number"==typeof r&&r>=0&&o!==r?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,o=e.rowCount,r=e.scrollToAlignment,i=e.scrollToRow,s=e.width,a=t.scrollTop,l=t.instanceProps;if(o>0){var c=o-1,u=i<0?c:Math.min(c,i),h=l.columnSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&h>s?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:n-d,currentOffset:a,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var o=n.scrollTop,r=t._getCalculatedScrollTop(e,n);return"number"==typeof r&&r>=0&&o!==r?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:r}):{}}}]),t}(Ke.PureComponent),Ms(Xu,"propTypes",null),Qu);Ms(ch,"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,r=e.columnStartIndex,i=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),C=r;C<=i;C++){var x=o.getSizeAndPositionOfCell(C),S=C>=m.start&&C<=m.stop&&k>=v.start&&k<=v.stop,E="".concat(k,"-").concat(C),A=void 0;w&&g[E]?A=g[E]:s&&!s.has(k,C)?A={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(A={height:_.size,left:x.offset+a,position:"absolute",top:_.offset+f,width:x.size},g[E]=A);var T={columnIndex:C,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:Ju,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,r=e.startIndex,i=e.stopIndex;return 1===o?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,r-n),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Bu(ch);const uh=ch;function hh(e){var t=e.cellCount,n=e.overscanCellsCount,o=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return n=Math.max(1,n),1===o?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,r-n),overscanStopIndex:Math.min(t-1,i+1)}}var dh,ph;function gh(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 fh,mh,vh=(ph=dh=function(e){function t(){var e,n;Tc(this,t);for(var o=arguments.length,r=new Array(o),i=0;i 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],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=n:r.appendChild(t.createTextNode(n)),o.appendChild(r)}}(i),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=i.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(r)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 yh(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 wh(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Tc(this,e),Ms(this,"_cellHeightCache",{}),Ms(this,"_cellWidthCache",{}),Ms(this,"_columnWidthCache",{}),Ms(this,"_rowHeightCache",{}),Ms(this,"_defaultHeight",void 0),Ms(this,"_defaultWidth",void 0),Ms(this,"_minHeight",void 0),Ms(this,"_minWidth",void 0),Ms(this,"_keyMapper",void 0),Ms(this,"_hasFixedHeight",void 0),Ms(this,"_hasFixedWidth",void 0),Ms(this,"_columnCount",0),Ms(this,"_rowCount",0),Ms(this,"columnWidth",(function(e){var n=e.index,o=t._keyMapper(0,n);return void 0!==t._columnWidthCache[o]?t._columnWidthCache[o]:t._defaultWidth})),Ms(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,r=n.defaultWidth,i=n.fixedHeight,s=n.fixedWidth,a=n.keyMapper,l=n.minHeight,c=n.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===s,this._minHeight=l||0,this._minWidth=c||0,this._keyMapper=a||Eh,this._defaultHeight=Math.max(this._minHeight,"number"==typeof o?o:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof r?r:100)}return Mc(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 r=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[r]=o,this._cellWidthCache[r]=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:r,cellIndex:i,height:o,scrollLeft:l,scrollTop:c,width:s});u.scrollLeft===l&&u.scrollTop===c||n._setScrollPosition(u)}})),Ms(Pc(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,o=t.cellLayoutManager,r=t.height,i=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-r+a,e.target.scrollTop));if(n.state.scrollLeft!==h||n.state.scrollTop!==d){var p=e.cancelable?"observed":$h;n.state.isScrolling||i(!0),n.setState({isScrolling:!0,scrollLeft:h,scrollPositionChangeReason:p,scrollTop:d})}n._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:d,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=Ju(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return Oc(t,e),Mc(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,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Ju(),this._scrollbarSizeMeasured=!0,this.setState({})),o>=0?this._updateScrollPositionForScrollToCell():(n>=0||r>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),s=i.height,a=i.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:r||0,totalHeight:s,totalWidth:a})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,o=n.height,r=n.scrollToAlignment,i=n.scrollToCell,s=n.width,a=this.state,l=a.scrollLeft,c=a.scrollPositionChangeReason,u=a.scrollTop;c===$h&&(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&&r===e.scrollToAlignment&&i===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,r=e.className,i=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+i+u),C=i>0&&h>0?o.cellRenderers({height:_-w,isScrolling:p,width:k-y,x:y,y:w}):[],x={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},S=v>i?this._scrollbarSize:0,E=b>h?this._scrollbarSize:0;return x.overflowX=b+S<=h?"hidden":"auto",x.overflowY=v+E<=i?"hidden":"auto",Ke.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Hu("ReactVirtualized__Collection",r),id:a,onScroll:this._onScroll,role:"grid",style:Th({},x,{},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}},C),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,r=e.totalHeight,i=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:r,scrollLeft:n,scrollTop:o,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:o}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:$h};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:$h}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:$h}}}]),t}(Ke.PureComponent);Ms(Mh,"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}),Mh.propTypes={},Bu(Mh);const Rh=Mh;var Oh=function(){function e(t){var n=t.height,o=t.width,r=t.x,i=t.y;Tc(this,e),this.height=n,this.width=o,this.x=r,this.y=i,this._indexMap={},this._indices=[]}return Mc(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;Tc(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return Mc(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,o=e.x,r=e.y,i={};return this.getSections({height:t,width:n,x:o,y:r}).forEach((function(e){return e.getCellIndices().forEach((function(e){i[e]=e}))})),Object.keys(i).map((function(e){return i[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,r=e.y,i=Math.floor(o/this._sectionSize),s=Math.floor((o+n-1)/this._sectionSize),a=Math.floor(r/this._sectionSize),l=Math.floor((r+t-1)/this._sectionSize),c=[],u=i;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,r=e.cellSize,i=e.containerSize,s=e.currentOffset,a=o,l=a-i+r;switch(n){case"start":return a;case"end":return l;case"center":return a-(i-r)/2;default:return Math.max(l,Math.min(a,s))}}var Ph=function(e){function t(e,n){var o;return Tc(this,t),(o=Nc(this,Lc(t).call(this,e,n)))._cellMetadata=[],o._lastRenderedCellIndices=[],o._cellCache=[],o._isScrollingChange=o._isScrollingChange.bind(Pc(o)),o._setCollectionViewRef=o._setCollectionViewRef.bind(Pc(o)),o}return Oc(t,e),Mc(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(Rh,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=[],r=new Lh(e.sectionSize),i=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,r=this.props,i=r.isRowLoaded,s=r.minimumBatchSize,a=r.rowCount,l=r.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,o=e.rowCount,r=e.stopIndex,i=[],s=null,a=null,l=e.startIndex;l<=r;l++)t({index:l})?null!==a&&(i.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;i.push({startIndex:s,stopIndex:a})}if(i.length)for(var h=i[0];h.stopIndex-h.startIndex+10;){var d=h.startIndex-1;if(t({index:d}))break;h.startIndex=d}return i}({isRowLoaded:i,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);Ms(Nh,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Nh.propTypes={};var Dh,Fh,zh=(Fh=Dh=function(e){function t(){var e,n;Tc(this,t);for(var o=arguments.length,r=new Array(o),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,r=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,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,r=e.width,i=Hu("ReactVirtualized__List",t);return Ke.createElement(uh,Ls({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:r,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(Ke.PureComponent),Ms(Dh,"propTypes",null),Fh);Ms(zh,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:hh,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const Bh=function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){for(var i=n+1;t<=n;){var s=t+n>>>1;r(e[s],o)>=0?(i=s,n=s-1):t=s+1}return i}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){for(var r=n+1;t<=n;){var i=t+n>>>1;e[i]>=o?(r=i,n=i-1):t=i+1}return r}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)};function jh(e,t,n,o,r){this.mid=e,this.left=t,this.right=n,this.leftPoints=o,this.rightPoints=r,this.count=(t?t.count:0)+(n?n.count:0)+o.length}var Hh=jh.prototype;function Wh(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 Vh(e,t){var n=Qh(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 Uh(e,t){var n=e.intervals([]);n.push(t),Vh(e,n)}function Gh(e,t){var n=e.intervals([]),o=n.indexOf(t);return o<0?0:(n.splice(o,1),Vh(e,n),1)}function qh(e,t,n){for(var o=0;o=0&&e[o][1]>=t;--o){var r=n(e[o]);if(r)return r}}function Yh(e,t){for(var n=0;n>1],r=[],i=[],s=[];for(n=0;n3*(t+1)?Uh(this,e):this.left.insert(e):this.left=Qh([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Uh(this,e):this.right.insert(e):this.right=Qh([e]);else{var n=Bh(this.leftPoints,e,Jh),o=Bh(this.rightPoints,e,Xh);this.leftPoints.splice(n,0,e),this.rightPoints.splice(o,0,e)}},Hh.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1)?Gh(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?Gh(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):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 r=this.left,i=this.right;n.count-=o.count,n.right=o.left,o.left=r,o.right=i}Wh(this,o),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Wh(this,this.left):Wh(this,this.right);return 1}for(r=Bh(this.leftPoints,e,Jh);rthis.mid?this.right&&(n=this.right.queryPoint(e,t))?n:Kh(this.rightPoints,e,t):Yh(this.leftPoints,t);var n},Hh.queryInterval=function(e,t,n){var o;return ethis.mid&&this.right&&(o=this.right.queryInterval(e,t,n))?o:tthis.mid?Kh(this.rightPoints,e,n):Yh(this.leftPoints,n)};var td=ed.prototype;td.insert=function(e){this.root?this.root.insert(e):this.root=new jh(e[0],null,null,[e],[e])},td.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},td.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},td.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(td,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(td,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var nd,od,rd=function(){function e(){Tc(this,e),Ms(this,"_columnSizeMap",{}),Ms(this,"_intervalTree",new ed(null)),Ms(this,"_leftMap",{})}return Mc(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=ll(e,3),r=t[0],i=(t[1],t[2]);return n(i,o._leftMap[i],r)}))}},{key:"setPosition",value:function(e,t,n,o){this._intervalTree.insert([n,n+o,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];r[t]=void 0===i?n+o:Math.max(i,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 id(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 sd(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Tc(this,e),Ms(this,"_cellMeasurerCache",void 0),Ms(this,"_columnIndexOffset",void 0),Ms(this,"_rowIndexOffset",void 0),Ms(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),Ms(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var o=n.cellMeasurerCache,r=n.columnIndexOffset,i=void 0===r?0:r,s=n.rowIndexOffset,a=void 0===s?0:s;this._cellMeasurerCache=o,this._columnIndexOffset=i,this._rowIndexOffset=a}return Mc(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 ud(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 hd(e){for(var t=1;t0?new cd({cellMeasurerCache:r,columnIndexOffset:0,rowIndexOffset:s}):r,o._deferredMeasurementCacheBottomRightGrid=i>0||s>0?new cd({cellMeasurerCache:r,columnIndexOffset:i,rowIndexOffset:s}):r,o._deferredMeasurementCacheTopRightGrid=i>0?new cd({cellMeasurerCache:r,columnIndexOffset:i,rowIndexOffset:0}):r),o}return Oc(t,e),Mc(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,r=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,r):r}},{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,r=void 0===o?0:o,i=this.props,s=i.fixedColumnCount,a=i.fixedRowCount,l=Math.max(0,n-s),c=Math.max(0,r-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:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:r}),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),r=(e.scrollTop,e.scrollToRow),i=cl(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(i),this._renderTopRightGrid(hd({},i,{onScroll:t,scrollLeft:a}))),Ke.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(hd({},i,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(hd({},i,{onScroll:t,onSectionRendered:n,scrollLeft:a,scrollToColumn:o,scrollToRow:r,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,r=0;r=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(Ke.PureComponent);Ms(dd,"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}),dd.propTypes={},Bu(dd);var pd=function(e){function t(e,n){var o;return Tc(this,t),(o=Nc(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(Pc(o)),o}return Oc(t,e),Mc(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,o=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,s=t.scrollTop,a=t.scrollWidth;return e({clientHeight:n,clientWidth:o,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:s,scrollWidth:a})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,o=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,s=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:o,scrollLeft:r,scrollTop:i,scrollWidth:s})}}]),t}(Ke.PureComponent);function gd(e){var t=e.className,n=e.columns,o=e.style;return Ke.createElement("div",{className:t,role:"row",style:o},n)}pd.propTypes={},gd.propTypes=null;const fd={ASC:"ASC",DESC:"DESC"};function md(e){var t=e.sortDirection,n=Hu("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===fd.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===fd.DESC});return Ke.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===fd.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 vd(e){var t=e.dataKey,n=e.label,o=e.sortBy,r=e.sortDirection,i=o===t,s=[Ke.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return i&&s.push(Ke.createElement(md,{key:"SortIndicator",sortDirection:r})),s}function bd(e){var t=e.className,n=e.columns,o=e.index,r=e.key,i=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(i||s||a||l||c)&&(d["aria-label"]="row",d.tabIndex=0,i&&(d.onClick=function(e){return i({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:r,role:"row",style:h}),n)}md.propTypes={},vd.propTypes=null,bd.propTypes=null;var yd=function(e){function t(){return Tc(this,t),Nc(this,Lc(t).apply(this,arguments))}return Oc(t,e),t}(Ke.Component);function wd(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 kd(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,o=e.rowIndex,r=void 0===o?0:o;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,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,ul.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,r=t.disableHeader,i=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=r?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]=kd({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:Hu("ReactVirtualized__Table",o),id:u,role:"grid",style:f},!r&&l({className:Hu("ReactVirtualized__Table__headerRow",y),columns:this._getHeaderColumns(),style:kd({height:a,overflow:"hidden",paddingRight:v,width:m},w)}),Ke.createElement(uh,Ls({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Hu("ReactVirtualized__Table__Grid",i),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:kd({},s,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,o=e.isScrolling,r=e.parent,i=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:i}),columnData:d,columnIndex:n,dataKey:p,isScrolling:o,parent:r,rowData:i,rowIndex:s}),m=this._cachedColumnStyles[n],v="string"==typeof f?f:null;return Ke.createElement("div",{"aria-colindex":n+1,"aria-describedby":g,className:Hu("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,r,i,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,C=!y&&d,x=Hu("ReactVirtualized__Table__headerColumn",c,s.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:C}),S=this._getFlexStyleForColumn(s,kd({},u,{},s.props.headerStyle)),E=w({columnData:m,dataKey:v,disableSort:y,label:_,sortBy:p,sortDirection:g});if(C||h){var A=p!==v?b:g===fd.DESC?fd.ASC:fd.DESC,T=function(e){C&&d({defaultSortDirection:b,event:e,sortBy:v,sortDirection:A}),h&&h({columnData:m,dataKey:v,event:e})};i=s.props["aria-label"]||_||v,r="none",o=0,t=T,n=function(e){"Enter"!==e.key&&" "!==e.key||T(e)}}return p===v&&(r=g===fd.ASC?"ascending":"descending"),Ke.createElement("div",{"aria-label":i,"aria-sort":r,className:x,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,r=e.key,i=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,r){return t._createColumn({column:e,columnIndex:r,isScrolling:o,parent:i,rowData:k,rowIndex:n,scrollbarWidth:b})})),C=Hu("ReactVirtualized__Table__row",y),x=kd({},s,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},w);return m({className:C,columns:_,index:n,isScrolling:o,key:r,onRowClick:c,onRowDoubleClick:u,onRowRightClick:h,onRowMouseOver:d,onRowMouseOut:p,rowData:k,style:x})}},{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=kd({},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,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:o,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(Ke.PureComponent);Ms(_d,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:hh,overscanRowCount:10,rowRenderer:bd,headerRowRenderer:gd,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),_d.propTypes={};var Cd=[],xd=null,Sd=null;function Ed(){Sd&&(Sd=null,document.body&&null!=xd&&(document.body.style.pointerEvents=xd),xd=null)}function Ad(){Ed(),Cd.forEach((function(e){return e.__resetIsScrolling()}))}function Td(e){e.currentTarget===window&&null==xd&&document.body&&(xd=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){Sd&&rh(Sd);var e=0;Cd.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),Sd=ih(Ad,e)}(),Cd.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function $d(e,t){Cd.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",Td),Cd.push(e)}function Md(e,t){(Cd=Cd.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",Td),Sd&&(rh(Sd),Ed()))}var Rd,Od,Ld=function(e){return e===window},Id=function(e){return e.getBoundingClientRect()};function Pd(e,t){if(e){if(Ld(e)){var n=window,o=n.innerHeight,r=n.innerWidth;return{height:"number"==typeof o?o:0,width:"number"==typeof r?r:0}}return Id(e)}return{height:t.serverHeight,width:t.serverWidth}}function Nd(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 Fd=function(){return"undefined"!=typeof window?window:void 0},zd=(Od=Rd=function(e){function t(){var e,n;Tc(this,t);for(var o=arguments.length,r=new Array(o),i=0;i0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,o=n.height,r=n.width,i=this._child||ul.findDOMNode(this);if(i instanceof Element&&e){var s=function(e,t){if(Ld(t)&&document.documentElement){var n=document.documentElement,o=Id(e),r=Id(n);return{top:o.top-r.top,left:o.left-r.left}}var i=Nd(t),s=Id(e),a=Id(t);return{top:s.top+i.top-a.top,left:s.left+i.left-a.left}}(i,e);this._positionFromTop=s.top,this._positionFromLeft=s.left}var a=Pd(e,this.props);o===a.height&&r===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=bh(),this.updatePosition(e),e&&($d(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),Md(this,o),$d(this,n),this._unregisterResizeListener(o),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(Md(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,r=t.scrollLeft,i=t.height,s=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:n,scrollLeft:r,scrollTop:o,width:s})}}]),t}(Ke.PureComponent),Ms(Rd,"propTypes",null),Od);Ms(zd,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Fd(),serverHeight:0,serverWidth:0});const Bd=26;function jd(e){const{children:t,maxHeight:n}=e;return t.length?(0,Ke.createElement)(kh,{disableHeight:!0},(({width:e})=>(0,Ke.createElement)(zh,{height:n,rowCount:t.length,rowHeight:Bd,rowRenderer:({index:e,key:n,style:o})=>(0,Ke.createElement)("div",{key:n,style:o},t[e]),width:e}))):null}const{Option:Hd}=Ec;function Wd(e){return(0,Ke.createElement)(Hd,{...e},e?.data?.icon||"",e.data.label)}function Vd(e){const{className:t,...n}=e,o={...e.grouped?{groupHeaderHeight:50}:{},...n},r=e?.options?.length>30;return(0,Ke.createElement)(Nu,{styles:{...As(),option(e,t){const n=As().option(e,t);return n["> svg"]={width:"24px",height:"auto",marginRight:"5px"},n}},components:{...r?{MenuList:jd}:{},Option:Wd},className:cs()("ghostkit-control-select",t),...o})}const{fonts:Ud}=window.GHOSTKIT,Gd=void 0!==Ud["google-fonts"].fonts?Ud["google-fonts"].fonts[0].name:"";function qd(){const e=[];return void 0!==Ud["google-fonts"]&&void 0!==Ud["google-fonts"].fonts&&Object.keys(Ud["google-fonts"].fonts).forEach((t=>{e.push({value:Ud["google-fonts"].fonts[t].name,label:Ud["google-fonts"].fonts[t].name})})),e}class Kd extends ms.Component{constructor(e){super(e);const{fontWeightOptions:t,styleOptions:n}=this.getFontWeightAndStyleOptions(Gd);this.state={isLoading:!0,name:Gd,weight:["400"],style:"normal",fontFamilyOptions:qd(),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!==Ud["google-fonts"]&&void 0!==Ud["google-fonts"].fonts){const n=Ud["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),r="normal"===t?o.normal:o.italic;return o.normal.length>0&&n.push({value:"normal",label:(0,vs.__)("Normal","ghostkit")}),o.italic.length>0&&n.push({value:"italic",label:(0,vs.__)("Italic","ghostkit")}),{fontWeightOptions:r,styleOptions:n}}renderEditor(){const{fontFamilyOptions:e,fontWeightOptions:t,styleOptions:n,style:o,name:r,weight:i,error:s,notice:a,isEdit:l,editKey:c}=this.state,{customFonts:u,updateFonts:h}=this.props;return(0,Ke.createElement)("div",{className:"editor-styles-wrapper"},(0,Ke.createElement)("div",{className:"ghostkit-settings-fonts-google-form"},l?null:(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Font","ghostkit"),label:(0,vs.__)("Font","ghostkit")},(0,Ke.createElement)(Vd,{value:{value:r,label:r},onChange:e=>{let t=this.getFontWeightAndStyleOptions(e.value,o);const n=[];let r=!1;0===t.fontWeightOptions.length&&(r="normal"===o?"italic":"normal",t=this.getFontWeightAndStyleOptions(e.value,r)),Object.keys(i).forEach((e=>{void 0!==t.fontWeightOptions.find((e=>e.value===i))&&n.push(i[e])})),0===n.length&&0!==t.fontWeightOptions.length&&n.push(t.fontWeightOptions[0].value),this.setState({name:e.value,style:r||o,weight:n,fontWeightOptions:t.fontWeightOptions,styleOptions:t.styleOptions})},options:e,placeholder:(0,vs.__)("--- Select ---","ghostkit")})),(0,Ke.createElement)(us.SelectControl,{multiple:!0,label:(0,vs.__)("Weight","ghostkit"),value:i,onChange:e=>{this.setState({weight:e})},options:t}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Style","ghostkit"),value:o,onChange:e=>{this.setState({style:e})},options:n}),s?(0,Ke.createElement)("div",{className:"ghostkit-settings-fonts-google-form-error"},s):null,a?(0,Ke.createElement)("div",{className:"ghostkit-settings-fonts-google-form-notice"},a):null,l?(0,Ke.createElement)(us.Button,{isPrimary:!0,onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===r&&u.google[t].style===o&&t!==c&&(e=!0)})),r&&c&&!e){h({google:{...u.google,[c]:{name:this.state.name,weight:this.state.weight,style:this.state.style}}});const e=this.getFontWeightAndStyleOptions(Gd);this.setState({name:Gd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",isEdit:!1,editKey:null,notice:(0,vs.__)("The font has been successfully edited","ghostkit")})}else this.state.name?e&&this.setState({error:(0,vs.__)("The font has already been added with style.","ghostkit")}):this.setState({error:(0,vs.__)("You should specify the `Name` to add new font.","ghostkit")})}},(0,vs.__)("Edit Font","ghostkit")):(0,Ke.createElement)(us.Button,{isPrimary:!0,onClick:()=>{let e=!1;if(Object.keys(u.google).forEach((t=>{u.google[t].name===r&&u.google[t].style===o&&(e=!0)})),r&&!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(Gd);this.setState({name:Gd,weight:["400"],style:"normal",fontWeightOptions:e.fontWeightOptions,styleOptions:e.styleOptions,error:"",notice:"",isEdit:!1})}else this.state.name?e&&this.setState({error:(0,vs.__)("The font has already been added. To edit, use the font edit button in the table.","ghostkit")}):this.setState({error:(0,vs.__)("You should specify the `Name` to add new font.","ghostkit")})}},(0,vs.__)("Add Font","ghostkit"))))}render(){const{isLoading:e,isEdit:t,editKey:n}=this.state,{customFonts:o,updateFonts:r}=this.props;return(0,Ke.createElement)("div",{className:e?"ghostkit-settings-fonts-loading":""},e?(0,Ke.createElement)(us.Spinner,null):"",t?"":this.renderEditor(),o.google&&Object.keys(o.google).length?(0,Ke.createElement)(ms.Fragment,null,(0,Ke.createElement)("br",null),(0,Ke.createElement)("table",{className:"widefat fixed striped"},(0,Ke.createElement)("thead",null,(0,Ke.createElement)("tr",null,(0,Ke.createElement)("td",null,(0,vs.__)("Font Family","ghostkit")),(0,Ke.createElement)("td",null,(0,vs.__)("Font Weights","ghostkit")),(0,Ke.createElement)("td",null,(0,vs.__)("Font Style","ghostkit")),(0,Ke.createElement)("td",null,(0,vs.__)("Actions","ghostkit")))),(0,Ke.createElement)("tbody",null,Object.keys(o.google).map((e=>(0,Ke.createElement)(ms.Fragment,{key:o.google[e].name+e},(0,Ke.createElement)("tr",null,(0,Ke.createElement)("td",null,o.google[e].name),(0,Ke.createElement)("td",null,Object.keys(o.google[e].weight).map((t=>(t=Number(t),(0,Ke.createElement)(ms.Fragment,{key:o.google[e].name+e+t},o.google[e].weight[t],Number(o.google[e].weight.length)===t+1?"":", "))))),(0,Ke.createElement)("td",null,o.google[e].style),(0,Ke.createElement)("td",null,(0,Ke.createElement)(us.Button,{isLink:!0,onClick:()=>{const t={...o.google};delete t[e],r({google:{...t}})}},(0,vs.__)("Remove","ghostkit"))," | ",(0,Ke.createElement)(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})}},(0,vs.__)("Edit","ghostkit")))),t&&n===e?(0,Ke.createElement)("tr",null,(0,Ke.createElement)("td",{colSpan:4},this.renderEditor())):null)))))):null)}}const Yd=Kd,{GHOSTKIT:Zd}=window;function Jd(e){const{icons:t,settings:n}=Zd;Object.keys(t).forEach((o=>{(void 0===n[`icon_pack_${o}`]||n[`icon_pack_${o}`])&&e(t[o])}))}function Xd(e){const{iconData:t,onClick:n,active:o}=e;return(0,Ke.createElement)(ep.Preview,{className:cs()("ghostkit-component-icon-picker-button",o?"ghostkit-component-icon-picker-button-active":""),onClick:n,data:t})}const Qd={};function ep(e){const{value:t,label:n,onChange:o,insideInspector:r}=e;return(0,Ke.createElement)(us.BaseControl,{className:"ghostkit-component-icon-picker-wrapper"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>o(pt(e)),value:gt(t),insideInspector:r,renderToggle:({isOpen:e,onToggle:o})=>(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-component-icon-picker-toggle",e?"ghostkit-component-icon-picker-toggle-active":""),onClick:o},(0,Ke.createElement)(ep.Preview,{className:"ghostkit-component-icon-picker-toggle-indicator",name:gt(t),alwaysRender:!0}),(0,Ke.createElement)("span",{className:"ghostkit-component-icon-picker-toggle-label"},n))}))}function tp(e){const{value:t,options:n,itemsPerRow:o=2,onChange:r,label:i}=e;return(0,Ke.createElement)(us.BaseControl,{id:i,label:i,className:cs()("ghostkit-component-image-picker",`ghostkit-component-image-picker-${o}`)},n.map((e=>(0,Ke.createElement)("button",{key:`image-pircker-${e.value}`,onClick:()=>{r(e.value)},className:cs()("ghostkit-component-image-picker-item",t===e.value?"ghostkit-component-image-picker-item-active":"",e.className)},e.image&&"string"==typeof e.image?(0,Ke.createElement)("img",{src:e.image,alt:e.label||e.value}):null,e.image&&"string"!=typeof e.image?e.image:"",e.label?(0,Ke.createElement)("span",null,e.label):""))))}function np(e){const{onClick:t,isActive:n}=e;return(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("!important","ghostkit")},(0,Ke.createElement)(us.Button,{className:cs()("ghostkit-control-important-toggle",n&&"is-active"),onClick:()=>{t(!n)}},"!"))}ep.Dropdown=function(e){const t=(0,ms.useRef)(),{onChange:n,value:o,label:r,className:i,renderToggle:s,insideInspector:a}=e,[l,c]=(0,ms.useState)(""),[u,h]=(0,ms.useState)(Qd),[d,p]=(0,ms.useState)(!1);(0,ms.useEffect)((()=>{t.current=new Sh({defaultHeight:65,fixedWidth:!0})}),[]),(0,ms.useEffect)((()=>{t.current&&t.current.clearAll()}));const g=(0,Ke.createElement)(us.Dropdown,{className:i,contentClassName:"ghostkit-component-icon-picker-content",renderToggle:s,focusOnMount:!1,renderContent:()=>function(){const e=[{key:"form",render:(0,Ke.createElement)(ms.Fragment,{key:"form"},(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Search Icon","ghostkit"),value:gt(l),onChange:e=>c(pt(e)),placeholder:(0,vs.__)("Type to Search…","ghostkit"),autoComplete:"off",autoFocus:!0}),(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker-input-output"},d?(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Icon Output","ghostkit"),value:o,onChange:e=>{n(e)},placeholder:(0,vs.__)("Icon Output","ghostkit"),autoComplete:"off"}):(0,Ke.createElement)(us.Button,{isSmall:!0,isSecondary:!0,onClick:()=>p(!0),style:{marginRight:5}},(0,vs.__)("Customize Icon","ghostkit")),(0,Ke.createElement)(us.Button,{isSmall:!0,isSecondary:!0,disabled:!o,onClick:()=>n("")},(0,vs.__)("Reset","ghostkit"))))}];Jd((t=>{const r=void 0===u[t.name]||u[t.name],i=l.toLowerCase(),s=t.icons.filter((e=>!(i&&!(i&&e.keys.indexOf(i.toLowerCase())>-1)))).map((e=>{const t=function(e){let t="";return e.keys&&(t=ut(e.keys.split(",")[0])),t}(e),r=(0,Ke.createElement)(Xd,{active:gt(e.svg)===gt(o),iconData:e,onClick:()=>{n(gt(e.svg))}});return t?(0,Ke.createElement)(us.Tooltip,{key:gt(e.svg),text:t},(0,Ke.createElement)("div",null,r)):r}));if(!s.length)return;if(e.push({key:`title-${t.name}`,render:(0,Ke.createElement)("div",{className:cs()("components-panel__body ghostkit-component-icon-picker-list-panel-toggle",r?"is-opened":"")},(0,Ke.createElement)("h2",{className:"components-panel__body-title"},(0,Ke.createElement)(us.Button,{className:"components-panel__body-toggle",onClick:()=>{h({...u,[t.name]:!r})},"aria-expanded":r},(0,Ke.createElement)("span",{"aria-hidden":"true"},r?(0,Ke.createElement)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})),(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):(0,Ke.createElement)(us.SVG,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{fill:"none",d:"M0,0h24v24H0V0z"})),(0,Ke.createElement)(us.G,null,(0,Ke.createElement)(us.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t.name)))}),!r)return;let a=[];s.forEach(((t,n)=>{a.push(t),3!==a.length&&s.length!==n+1||(e.push({key:"icons",render:(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker-list"},a)}),a=[])}))})),1===e.length&&e.push({key:"icons",render:(0,vs.__)("No icons found.","ghostkit")});const r=(0,Ke.createElement)(kh,{key:"autosizer-"+(d?"1":"0")},(({width:n,height:o})=>(0,Ke.createElement)(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:r,parent:i,key:s}=n;return(0,Ke.createElement)(xh,{cache:t?.current,columnIndex:0,key:s,rowIndex:o,parent:i},(()=>(0,Ke.createElement)("div",{style:r},e[o].render||"")))}})));return(0,Ke.createElement)(ms.Fragment,null,(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker-sizer"}),(0,Ke.createElement)("div",{className:"ghostkit-component-icon-picker"},r))}(),...a?{popoverProps:{placement:"left-start",offset:36,shift:!0}}:{}});return r?(0,Ke.createElement)(us.BaseControl,{id:r,label:r,className:i},g):g},ep.Preview=function(e){const{onClick:t,className:n,alwaysRender:o=!1}=e;let{data:r,name:i}=e;!r&&i&&Jd((e=>{e.icons.forEach((e=>{!r&&e.svg&&(e.svg===i||e.fallback&&e.fallback===i&&e.svg)&&(e.svg?r=e:i=e.class)}))}));let s="";return r&&r.svg?s=r.svg:(i||r&&r.class)&&(s=i||r.class),s||o?(0,Ke.createElement)(ep.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},ep.Render=function(e){const{tag:t="span",name:n,alwaysRender:o=!1,...r}=e,i=t;let s="";const a=gt(n);return a&&/^`),s||o?(0,Ke.createElement)(i,{dangerouslySetInnerHTML:{__html:s},...r}):null};const op={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 ip(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 sp(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 ap(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 lp(e){for(var t=1;t0,r=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);op.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[i,s]=t._movement,[a,l]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(i)>=a&&u[0]),!1===c[1]&&(c[1]=Math.abs(s)>=l&&u[1])):(!1===c[0]&&(c[0]=Math.abs(i)>=a&&Math.sign(i)*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]?i-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=yp(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,r]){const[[i,s],[a,l]]=e;return[ip(t,i,s,o),ip(n,a,l,r)]}(t._bounds,t.offset,w),t.delta=op.sub(t.offset,d),this.computeMovement(),p&&(!t.last||r>32)){t.delta=op.sub(t.offset,d);const e=t.delta.map(Math.abs);op.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&r>0&&(t.velocity=[e[0]/r,e[1]/r],t.timeDelta=r)}}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(lp(lp(lp({},t),e),{},{[this.aliasKey]:e.values}));void 0!==o&&(e.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Sp extends xp{constructor(...e){super(...e),sp(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=op.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=op.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[fp(e)]:n.axisThreshold;t.axis=function([e,t],n){const o=Math.abs(e),r=Math.abs(t);return o>r&&o>n?"x":r>o&&r>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 Ep=e=>e,Ap={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>lp(lp({},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 op.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?op.toVector(e):void 0,transform(e,t,n){const o=e||n.shared.transform;return this.hasCustomTransform=!!o,o||Ep},threshold:e=>op.toVector(e,0)},Tp=lp(lp({},Ap),{},{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=>Tp.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:r=1/0}=e;return[[t,n],[o,r]]}}),$p={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]},Mp="undefined"!=typeof window&&window.document&&window.document.createElement;function Rp(){return Mp&&"ontouchstart"in window}const Op={isBrowser:Mp,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:Rp(),touchscreen:Rp()||Mp&&window.navigator.maxTouchPoints>1,pointer:Mp&&"onpointerdown"in window,pointerLock:Mp&&"exitPointerLock"in window.document},Lp={mouse:0,touch:0,pen:8},Ip=lp(lp({},Tp),{},{device(e,t,{pointer:{touch:n=!1,lock:o=!1,mouse:r=!1}={}}){return this.pointerLock=o&&Op.pointerLock,Op.touch&&n?"touch":this.pointerLock?"mouse":Op.pointer&&!r?"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:r=!0}={}}){return this.pointerButtons=o,this.keys=r,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:o=3,axis:r}){const i=op.toVector(e,n?o:r?1:0);return this.filterTaps=n,this.tapsThreshold=o,i},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(op.toVector(e)),distance:this.transform(op.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?lp(lp({},Lp),e):Lp,keyboardDisplacement:(e=10)=>e});lp(lp({},Ap),{},{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 r=e=>{const t=Cp(yp(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},i=e=>{const t=Cp(yp(o,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof o?[r(),i()]:e=>[r(e),i(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,op.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),lp(lp({},Tp),{},{mouseOnly:(e=!0)=>e}),lp(lp({},Tp),{},{mouseOnly:(e=!0)=>e});const Pp=new Map,Np=new Map,Dp={key:"drag",engine:class extends Sp{constructor(...e){super(...e),sp(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=Tp.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=vp(e),n._pointerActive=!0,this.computeValues(bp(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==fp(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=vp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;const r=bp(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=op.sub(r,t._values),this.computeValues(r)),op.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=vp(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[r,i]=t._distance;if(t.tap=r<=n.tapsThreshold&&i<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,o]=t._delta,[r,i]=t._movement,[s,a]=n.swipe.velocity,[l,c]=n.swipe.distance,u=n.swipe.duration;if(t.elapsedTimes&&Math.abs(r)>l&&(t.swipe[0]=Math.sign(e)),u>a&&Math.abs(i)>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=$p[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,op.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in $p&&(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 Fp={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 Bp(e={},t){const n={};for(const[o,r]of Object.entries(t))switch(typeof r){case"function":n[o]=r.call(n,e[o],o,e);break;case"object":n[o]=Bp(e[o],r);break;case"boolean":r&&(n[o]=e[o])}return n}class jp{constructor(e,t){sp(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,o,r){const i=this._listeners,s=function(e,t=""){const n=cp[e];return e+(n&&n[t]||t)}(t,n),a=lp(lp({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),r);e.addEventListener(s,o,a);const l=()=>{e.removeEventListener(s,o,a),i.delete(l)};return i.add(l),l}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class Hp{constructor(){sp(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 Wp{constructor(e){var t,n;sp(this,"gestures",new Set),sp(this,"_targetEventStore",new jp(this)),sp(this,"gestureEventStores",{}),sp(this,"gestureTimeoutStores",{}),sp(this,"handlers",{}),sp(this,"config",{}),sp(this,"pointerIds",new Set),sp(this,"touchIds",new Set),sp(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),t=this,(n=e).drag&&Vp(t,"drag"),n.wheel&&Vp(t,"wheel"),n.scroll&&Vp(t,"scroll"),n.move&&Vp(t,"move"),n.pinch&&Vp(t,"pinch"),n.hover&&Vp(t,"hover")}setEventIds(e){return gp(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:r,eventOptions:i,window:s,enabled:a,transform:l}=o,c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(o,zp);if(n.shared=Bp({target:r,eventOptions:i,window:s,enabled:a,transform:l},Fp),t){const e=Np.get(t);n[t]=Bp(lp({shared:n.shared},c),e)}else for(const e in c){const t=Np.get(e);t&&(n[e]=Bp(lp({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 r=this.config[t],i=Up(n,r.eventOptions,!!o);r.enabled&&new(Pp.get(t))(this,e,t).bind(i)}const r=Up(n,t.eventOptions,!!o);for(const t in this.nativeHandlers)r(t,"",(n=>this.nativeHandlers[t](lp(lp({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=_p(...n[e]);if(!o)return n;for(const e in n){const{device:t,capture:r,passive:i}=pp(e);this._targetEventStore.add(o,t,"",n[e],{capture:r,passive:i})}}}}function Vp(e,t){e.gestures.add(t),e.gestureEventStores[t]=new jp(e,t),e.gestureTimeoutStores[t]=new Hp}const Up=(e,t,n)=>(o,r,i,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=cp[e],r=o&&o[t]||t;return"on"+up(e)+up(r)+(function(e=!1,t){return e&&!hp.includes(t)}(n,r)?"Capture":"")}(o,r,u);n&&h&&(d+="Passive"),e[d]=e[d]||[],e[d].push(i)};function Gp(e,t){var n;return n=Dp,Pp.set(n.key,n.engine),Np.set(n.key,n.resolver),function(e,t={},n,o){const r=Ye().useMemo((()=>new Wp(e)),[]);if(r.applyHandlers(e,o),r.applyConfig(t,n),Ye().useEffect(r.effect.bind(r)),Ye().useEffect((()=>r.clean.bind(r)),[]),void 0===t.target)return r.bind.bind(r)}({drag:e},t||{},"drag")}const qp=["px","%","rem","em","vh","vw","vmin","vmax","ex","cm","mm","in","pt","pc","ch"],Kp=e=>e.toString().includes(".")?e.toString().split(".").pop().length:0;function Yp(e){const{label:t,help:n,icon:o,placeholder:r,value:i,step:s,defaultUnit:a,expandOnFocus:l,autoComplete:c,className:u,onChange:h}=e,d=(0,ms.useRef)(),[p,g]=(0,ms.useState)(!1);function f(e,t){let n=e;s&&(n*=s),t&&(n*=10);const o=function(){let e=parseFloat(i),t="";if(i!==`${e}`){const n=(i||"").match(new RegExp(`${e}(${qp.join("|")})`,"i"));n&&n[1]&&(t=n[1])}return Number.isNaN(e)&&(e=0,void 0!==a&&(t=a)),{num:e,unit:t,full:i}}();if(void 0!==o.full&&`${o.num}${o.unit}`!==o.full)return;n=o.num+n;const r=Kp(n);r>10&&(n=function(e,t){const n=Math.pow(10,t||0);return Math.round(e*n)/n}(n,r-1)),h(n+o.unit)}const m=Gp((e=>{const{event:t,dragging:n,_direction:o,shiftKey:r}=e;n&&(t.stopPropagation(),f(-1*o[1],r))}),{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,Ke.createElement)("div",{className:cs()(v,p&&l&&i&&i.length>=l&&"ghostkit-component-input-drag-expand",u)},o,(0,Ke.createElement)(us.TextControl,{...m(),ref:d,label:t,help:n,placeholder:r,value:i||"",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}))}function Zp(e){const{checkActive:t=(()=>!1)}=e,[n,o]=(0,ms.useState)(!1),{allDevices:r,device:i,setDevice:s}=Ji();(0,ms.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=[xi("tabs-mobile"),xi("tabs-tablet"),xi("tabs-laptop"),xi("tabs-desktop"),xi("tabs-tv")];let c=l[l.length-1],u="0",h=!1;return[...Object.keys(r),""].forEach(((e,n)=>{e===i&&(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,vs.sprintf)((0,vs.__)("Devices with screen width <= %s","ghostkit"),`${r[e]}px`):(0,vs.__)("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===i&&"is-active"),onClick:()=>{s(e.name),o(!1)}},e.title)))))}const Jp=()=>{};function Xp(e){const{className:t,children:n,...o}=e;return(0,Ke.createElement)(us.BaseControl,{className:cs()("ghostkit-component-input-group",t),...o},(0,Ke.createElement)("div",{className:"ghostkit-component-input-group-wrapper"},n))}function Qp(e){if(e.children)return(0,Ke.createElement)(Xp,{...e});const{label:t,inputs:n,hasValue:o=Jp,getValue:r=Jp,onChange:i=Jp,withResponsive:s,withState:a,withImportant:l,expandOnFocus:c,className:u,...h}=e,[d,p]=(0,ms.useState)(!1),{device:g}=Ji();return(0,Ke.createElement)(us.BaseControl,{id:n[0].name,className:cs()("ghostkit-component-input-group",u),label:(0,Ke.createElement)(Ke.Fragment,null,t,s&&(0,Ke.createElement)(Zp,{checkActive:e=>n.some((t=>o(t.name,e,d)))}),a&&(0,Ke.createElement)(Cs,{isHover:d,onChange:()=>{p(!d)},checkActive:()=>n.some((e=>o(e.name,g,!0)))})),...h},(0,Ke.createElement)("div",{className:"ghostkit-component-input-group-wrapper"},n.map((e=>{let t=r(e.name,g,d),n=!1;return l&&(n=/ !important$/.test(t),n&&(t=t.replace(/ !important$/,""))),(0,Ke.createElement)("div",{key:e.name,className:"ghostkit-component-input-group-item"},(0,Ke.createElement)(Yp,{id:e.name,help:e.label,value:t,onChange:t=>{t=t?`${t}${n?" !important":""}`:void 0,i(e.name,t,g,d)},expandOnFocus:c,autoComplete:"off"}),l&&void 0!==t&&(0,Ke.createElement)(np,{onClick:n=>{if(t){const o=`${t}${n?" !important":""}`;i(e.name,o,g,d)}},isActive:n}))}))))}const eg=us.__experimentalUnitControl;function tg(e){const{attributes:t,hasAspectRatio:n=!0,hasSizeSelectors:o=!0,hasOriginalOption:r=!0,onChangeAspectRatio:i,onChangeWidth:s,onChangeHeight:a,onChangeResolution:l}=e,{aspectRatio:c,width:u,height:h,resolution:d}=t,p=[];r&&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,ms.useState)(!1);return(0,ms.useEffect)((()=>{m(!(!u||!h)&&"custom")}),[]),(0,Ke.createElement)(Ke.Fragment,null,n&&(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Aspect Ratio","ghostkit"),value:f||c,onChange:e=>{m(!1);const{label:t}=p.find((t=>t.value===e));i(e,t),u&&h&&a("")},options:p}),o&&(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("div",{style:{display:"flex",gap:10}},(0,Ke.createElement)(eg,{value:u,placeholder:(0,vs.__)("Auto","ghostkit"),label:(0,vs.__)("Width","ghostkit"),onChange:e=>{s(parseFloat(e)?e:""),m(!(!e||!h)&&"custom")}}),(0,Ke.createElement)(eg,{value:h,placeholder:(0,vs.__)("Auto","ghostkit"),label:(0,vs.__)("Height","ghostkit"),onChange:e=>{a(parseFloat(e)?e:""),m(!(!u||!e)&&"custom")}})),!d&&(0,Ke.createElement)("div",{style:{marginTop:"-22px"}})),d&&g?.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:d,onChange:l,options:g.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null)}function ng(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 og(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[r,i]=(0,ms.useState)(parseFloat(o.min)||0),[s,a]=(0,ms.useState)(parseFloat(o.max)||100);return(0,ms.useEffect)((()=>{e&&o.value&&o.values&&a(o.value)}),[o.value]),e||t?(0,Ke.createElement)(us.BaseControl,{id:n,label:n,className:"ghostkit-component-range-control"},(0,Ke.createElement)(us.RangeControl,{...o,min:r,max:s,withInputField:!1}),(0,Ke.createElement)(us.TextControl,{type:"number",value:o.value,min:r,max:s,step:o.step,onChange:n=>{const i=""===n?void 0:parseFloat(n);!e&&ns?o.onChange(s):o.onChange(i)}})):(0,Ke.createElement)(us.RangeControl,{...o,label:n,min:r,max:s})}function ig(e){const[t,n]=(0,ms.useState)(-1),{onRemove:o,show:r,style:i,tooltipText:s=(0,vs.__)("Remove Block?","ghostkit"),tooltipRemoveText:a=(0,vs.__)("Remove","ghostkit"),tooltipCancelText:l=(0,vs.__)("Cancel","ghostkit")}=e;return r?(0,Ke.createElement)(us.Button,{className:"ghostkit-component-remove-button",onClick:()=>{-1===t&&n(0)},style:i},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,xi("icon-trash")):null}function sg(e){const{children:t}=e,n=e?.active||e?.filledTabs||{},{allDevices:o,device:r,setDevice:i}=Ji(),s=[],a=[xi("tabs-mobile"),xi("tabs-tablet"),xi("tabs-laptop"),xi("tabs-desktop"),xi("tabs-tv")];return[...Object.keys(o),""].forEach(((e,t)=>{s.unshift({name:e,title:(0,Ke.createElement)(us.Tooltip,{text:e?(0,vs.sprintf)((0,vs.__)("Devices with screen width <= %s","ghostkit"),`${o[e]}px`):(0,vs.__)("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===r&&"is-active"),onClick:()=>{i(e.name)}},e.title)))),t({name:r}))}function ag(e){const{label:t,value:n,options:o,onChange:r,isBlock:i,isAdaptiveWidth:s,isDeselectable:a}=e;return us.__experimentalToggleGroupControl&&us.__experimentalToggleGroupControlOption?(0,Ke.createElement)(us.BaseControl,{id:t,label:t,className:cs()("ghostkit-control-toggle-group",e.className)},(0,Ke.createElement)(us.__experimentalToggleGroupControl,{value:n,onChange:r,isBlock:i,isAdaptiveWidth:s,isDeselectable:a,hideLabelFromVision:!0},o.map((e=>e.icon?(0,Ke.createElement)(us.__experimentalToggleGroupControlOptionIcon,{key:e.value,value:e.value,icon:e.icon,label:e.label,disabled:e.disabled}):(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{key:e.value,value:e.value,label:e.label,disabled:e.disabled}))))):(0,Ke.createElement)(us.BaseControl,{id:t,label:t},(0,Ke.createElement)(us.ButtonGroup,{className:"ghostkit-control-toggle-group"},o.map((e=>(0,Ke.createElement)(us.Button,{key:e.value,isSmall:!0,isPrimary:n===e.value,isPressed:n===e.value,disabled:e.disabled,onClick:()=>{r(e.value)}},e.label)))))}var lg=n(8428);const cg=window.wp.compose,{Motion:{animate:ug,spring:hg}}=window;function dg(e){const{label:t,options:n}=e,o=(0,ms.useRef)(),r=(0,ms.useRef)(),i=(0,ms.useRef)();function s(){i?.current&&i.current.stop(),r.current&&(i.current=ug(r.current,{x:0},{duration:0}))}function a(e){s(),setTimeout((()=>{if(o.current&&r.current){const t={};"easing"===e?.type?(t.easing=e.easing,t.duration=e.duration):"spring"===e?.type&&(t.easing=hg({stiffness:e.stiffness,damping:e.damping,mass:e.mass}));const n=window.getComputedStyle(o.current);let s=o.current.clientWidth;s-=r.current.clientWidth,s-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),i.current=ug(r.current,{x:`${s}px`},t)}}),1)}const l=(0,ms.useCallback)((0,cg.useDebounce)(a,1e3),[]);return(0,ms.useEffect)((()=>{s(),l(n)}),[o,r,n,l]),(0,Ke.createElement)(us.BaseControl,{id:t,label:t,className:"ghostkit-component-transition-preview-wrapper"},(0,Ke.createElement)(us.Button,{className:"ghostkit-component-transition-preview",ref:o,onClick:e=>{e.preventDefault(),a(n)}},(0,Ke.createElement)("span",{ref:r})))}const pg={easing:[.42,0,.58,1],delay:0,duration:.9},gg={linear:{label:(0,vs.__)("Linear","ghostkit"),easing:[0,0,1,1],delay:0,duration:.9},"ease-in":{label:(0,vs.__)("Ease In","ghostkit"),easing:[.42,0,1,1],delay:0,duration:.9},"ease-out":{label:(0,vs.__)("Ease Out","ghostkit"),easing:[0,0,.58,1],delay:0,duration:.9},"ease-in-out":{label:(0,vs.__)("Ease In Out","ghostkit"),easing:[.42,0,.58,1],delay:0,duration:.9},"ease-in-back":{label:(0,vs.__)("Ease In Back","ghostkit"),easing:[.36,0,.66,-.56],delay:0,duration:.9},"ease-out-back":{label:(0,vs.__)("Ease Out Back","ghostkit"),easing:[.34,1.56,.64,1],delay:0,duration:.9},"ease-in-out-back":{label:(0,vs.__)("Ease In Out Back","ghostkit"),easing:[.68,-.6,.32,1.6],delay:0,duration:.9}},fg=us.__stableNumberControl||us.__experimentalNumberControl;function mg(e){const{value:t,onChange:n,variant:o="",backgroundColor:r}=e;let i={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&&(i={...i,readOnly:!0,width:20,height:20,padding:[3,3,3,3],curveColor:"#fff",curveWidth:1.5}),(0,Ke.createElement)("div",{className:cs()("ghostkit-component-bezier-editor",o&&`ghostkit-component-bezier-editor-${o}`),style:r?{backgroundColor:r}:{}},(0,Ke.createElement)(lg.c,{...i}))}function vg(e){const{value:t,onChange:n,enableDelayControl:o=!0}=e,[r,i]=(0,ms.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=pg.easing),(0,ms.useEffect)((()=>{let e="custom";Object.keys(gg).forEach((t=>{const n=gg[t].easing;JSON.stringify(a)===JSON.stringify(n)&&(e=t)})),i(e)}),[r,a]);const l=[..."custom"===r?[{value:"custom",label:(0,vs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(gg).map((e=>({value:e,label:gg[e].label})))],c={value:r,label:r};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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Vd,{value:c,onChange:({value:e})=>{gg?.[e]?.easing&&s({easing:gg[e].easing})},options:l,isSearchable:!1}),(0,Ke.createElement)(mg,{value:a,onChange:e=>{s({easing:e.map((e=>Fi(e,2)))})}}),(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Bezier","ghostkit"),label:(0,vs.__)("Bezier","ghostkit"),className:"ghostkit-component-easing-controls-bezier"},(0,Ke.createElement)(fg,{value:a[0],onChange:e=>s({easing:[Fi(parseFloat(e),2),a[1],a[2],a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,Ke.createElement)(fg,{value:a[1],onChange:e=>s({easing:[a[0],Fi(parseFloat(e),2),a[2],a[3]]}),onPaste:e=>u(e),min:-5,max:5,step:.01}),(0,Ke.createElement)(fg,{value:a[2],onChange:e=>s({easing:[a[0],a[1],Fi(parseFloat(e),2),a[3]]}),onPaste:e=>u(e),min:0,max:1,step:.01}),(0,Ke.createElement)(fg,{value:a[3],onChange:e=>s({easing:[a[0],a[1],a[2],Fi(parseFloat(e),2)]}),onPaste:e=>u(e),min:-5,max:5,step:.01})),(0,Ke.createElement)(fg,{label:(0,vs.__)("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,Ke.createElement)(fg,{label:(0,vs.__)("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,Ke.createElement)(dg,{label:(0,vs.__)("Preview","ghostkit"),options:{type:"easing",duration:t?.duration||0,easing:a}}))}const bg={fade:{label:(0,vs.__)("Fade In","ghostkit"),icon:xi("sr-fade"),data:{opacity:0}},zoom:{label:(0,vs.__)("Zoom In","ghostkit"),icon:xi("sr-zoom"),data:{scale:.9}},"zoom-up":{label:(0,vs.__)("Zoom In From Bottom","ghostkit"),icon:xi("sr-zoom-from-bottom"),data:{y:50,scale:.9}},"zoom-left":{label:(0,vs.__)("Zoom In From Left","ghostkit"),icon:xi("sr-zoom-from-left"),data:{x:-50,scale:.9}},"zoom-right":{label:(0,vs.__)("Zoom In From Right","ghostkit"),icon:xi("sr-zoom-from-right"),data:{x:50,scale:.9}}};function yg(e){const{label:t,value:n,onChange:o}=e,[r,i]=(0,ms.useState)();(0,ms.useEffect)((()=>{let e="custom";const t={...n||{}};t?.transition&&delete t.transition,Object.keys(bg).forEach((n=>{const o={...bg[n].data};o?.transition&&delete o.transition,JSON.stringify(t)===JSON.stringify(o)&&(e=n)})),i(e)}),[r,n]);const s=[..."custom"===r?[{value:"custom",label:(0,vs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(bg).map((e=>({value:e,label:bg[e].label,icon:bg[e].icon})))],a={value:r,label:r};return a.value&&s.forEach((e=>{a.value===e.value&&(a.label=e.label)})),(0,Ke.createElement)(Vd,{label:t,value:a,onChange:e=>{bg?.[e.value]?.data&&o(bg[e.value].data)},options:s,isSearchable:!1})}const wg={stiffness:300,damping:35,mass:2,delay:0},kg={default:{label:(0,vs.__)("Default","ghostkit"),stiffness:300,damping:35,mass:2,delay:0},gentle:{label:(0,vs.__)("Gentle","ghostkit"),stiffness:100,damping:14,mass:1,delay:0},wobbly:{label:(0,vs.__)("Wobbly","ghostkit"),stiffness:200,damping:10,mass:1,delay:0},slow:{label:(0,vs.__)("Slow","ghostkit"),stiffness:8,damping:4,mass:1,delay:0},molasses:{label:(0,vs.__)("Molasses","ghostkit"),stiffness:10,damping:20,mass:4,delay:0}},_g=us.__stableNumberControl||us.__experimentalNumberControl,Cg=us.__stableGrid||us.__experimentalGrid,{Motion:{spring:xg}}=window;function Sg(e){const{value:t,variant:n="",backgroundColor:o}=e,[r,i]=(0,ms.useState)(""),[s,a]=(0,ms.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,ms.useEffect)((()=>{const e=xg({stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass}).createAnimation([0,l.framesLength]),n=l.width-2*l.padding,o=l.height-2*l.padding,r=e.keyframes.map(((t,r)=>{const i=(l.framesLength-t)/l.framesLength;return[Fi(r/e.keyframes.length*n,4)+l.padding,Fi(i*o/2,4)+o/2+l.padding]}));let s=`M${l.padding}`;for(let e=0,t=r.length;e{let e="custom";Object.keys(kg).forEach((n=>{t?.stiffness===kg[n].stiffness&&t?.damping===kg[n].damping&&t?.mass===kg[n].mass&&(e=n)})),i(e)}),[r,t]);const a=[..."custom"===r?[{value:"custom",label:(0,vs.__)("-- Presets --","ghostkit")}]:[],...Object.keys(kg).map((e=>({value:e,label:kg[e].label})))],l={value:r,label:r};return l.value&&a.forEach((e=>{l.value===e.value&&(l.label=e.label)})),(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Vd,{value:l,onChange:({value:e})=>{kg?.[e]?.stiffness&&s({stiffness:kg[e].stiffness,damping:kg[e].damping,mass:kg[e].mass})},options:a,isSearchable:!1}),(0,Ke.createElement)(Sg,{value:t}),(0,Ke.createElement)(Cg,{columns:3},(0,Ke.createElement)(_g,{label:(0,vs.__)("Stiffness","ghostkit"),value:t?.stiffness,onChange:e=>s({stiffness:parseFloat(e)}),min:1,max:1e3,step:1}),(0,Ke.createElement)(_g,{label:(0,vs.__)("Damping","ghostkit"),value:t?.damping,onChange:e=>s({damping:parseFloat(e)}),min:0,max:100,step:.1}),(0,Ke.createElement)(_g,{label:(0,vs.__)("Mass","ghostkit"),value:t?.mass,onChange:e=>s({mass:parseFloat(e)}),min:0,max:10,step:.05})),o&&(0,Ke.createElement)(_g,{label:(0,vs.__)("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,Ke.createElement)(dg,{label:(0,vs.__)("Preview","ghostkit"),options:{type:"spring",stiffness:t?.stiffness,damping:t?.damping,mass:t?.mass}}))}function Ag(e){const{label:t,value:n,onChange:o,enableEasing:r=!0,enableSpring:i=!0,enableDelayControl:s=!0,allowReset:a=!1}=e,[l,c]=(0,ms.useState)(!1);let u=n?.easing;u&&4===u.length||(u=pg.easing);let h="";const d=a&&n&&(0,Ke.createElement)("span",{className:"ghostkit-component-transition-selector-reset",onClick:e=>{e.preventDefault(),e.stopPropagation(),c(!1),o(void 0)},onKeyDown:()=>{},role:"button",tabIndex:0},(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(mg,{variant:"preview",value:u}),(0,vs.__)("Easing","ghostkit"),d):"spring"===n?.type?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Sg,{variant:"preview",value:n}),(0,vs.__)("Spring","ghostkit"),d):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Sg,{variant:"preview",value:{type:"spring",stiffness:930,damping:40,mass:6,delay:0},backgroundColor:"#c3c3c3"}),(0,vs.__)("Add…","ghostkit")),!(!r&&!i)&&(0,Ke.createElement)(us.BaseControl,{id:t,label:t},(0,Ke.createElement)(ws,{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",...wg};delete e.label,o(e)}}},r&&i&&(0,Ke.createElement)(ag,{value:n?.type||"spring",options:[{label:(0,vs.__)("Easing","ghostkit"),value:"easing"},{label:(0,vs.__)("Spring","ghostkit"),value:"spring"}],onChange:e=>{const t="easing"===e?{type:"easing",...pg}:{type:"spring",...wg};delete t.label,o(t)},isBlock:!0}),i&&"easing"!==n?.type&&(0,Ke.createElement)(Eg,{value:n,onChange:e=>{o(e)},enableDelayControl:s}),r&&"easing"===n?.type&&(0,Ke.createElement)(vg,{value:n,onChange:e=>{o(e)},enableDelayControl:s})))}const{GHOSTKIT:Tg}=window,{version:$g}=window.ghostkitVariables;function Mg(e){return""===e?(0,vs.__)("Default Site Font","ghostkit"):e}function Rg(e){let t="";switch(e){case"":t=(0,vs.__)("Default","ghostkit");break;case"100":t=(0,vs.__)("Thin","ghostkit");break;case"100i":t=(0,vs.__)("Thin Italic","ghostkit");break;case"200":t=(0,vs.__)("Extra Light","ghostkit");break;case"200i":t=(0,vs.__)("Extra Light Italic","ghostkit");break;case"300":t=(0,vs.__)("Light","ghostkit");break;case"300i":t=(0,vs.__)("Light Italic","ghostkit");break;case"400":t=(0,vs.__)("Regular","ghostkit");break;case"400i":t=(0,vs.__)("Regular Italic","ghostkit");break;case"500":t=(0,vs.__)("Medium","ghostkit");break;case"500i":t=(0,vs.__)("Medium Italic","ghostkit");break;case"600":t=(0,vs.__)("Semi Bold","ghostkit");break;case"600i":t=(0,vs.__)("Semi Bold Italic","ghostkit");break;case"700":t=(0,vs.__)("Bold","ghostkit");break;case"700i":t=(0,vs.__)("Bold Italic","ghostkit");break;case"800":t=(0,vs.__)("Extra Bold","ghostkit");break;case"800i":t=(0,vs.__)("Extra Bold Italic","ghostkit");break;case"900":t=(0,vs.__)("Black","ghostkit");break;case"900i":t=(0,vs.__)("Black Italic","ghostkit")}return t}function Og(e,t){const{fonts:n}=Tg,o=[];return""!==e&&""!==t&&void 0!==e&&void 0!==t&&void 0!==n[t]&&Object.keys(n[t].fonts).forEach((r=>{n[t].fonts[r].name===e&&Object.keys(n[t].fonts[r].widths).forEach((e=>{const i=n[t].fonts[r].widths[e];o.push({value:i,label:Rg(i)})}))})),o}class Lg extends ms.Component{render(){let{fontFamilyCategory:e}=this.props;e="default"===e?"google-fonts":e;const{onChange:t,placeholders:n,label:o,fontFamily:r,fontWeight:i,fontSize:s,lineHeight:a,letterSpacing:l,childOf:c,fontWeights:u=Og(Mg(r),e)}=this.props,h=`icon-typography-${e}`,d=(0,os.applyFilters)("ghostkit.typography.allow.fonts","adobe-fonts"!==e&&"custom-fonts"!==e,e),p={value:r,label:Mg(r),fontFamilyCategory:e},g={value:i,label:Rg(i)},f=void 0===s?"":s,m=function(e="google-fonts"){const{fonts:t}=Tg,n=[];return Object.keys(t).forEach((o=>{Object.keys(t[o].fonts).forEach((r=>{const i=t[o].fonts[r];let s=i.name;"default"===o&&(s=""),e!==o&&"default"!==o||n.push({value:s,label:i.label||i.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:xi(h,!1),label:(0,vs.__)("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:xi("icon-typography-google-fonts",!1),onClick:()=>{t({fontFamilyCategory:"google-fonts",fontFamily:"",fontWeight:""}),e()}},(0,vs.__)("Google Fonts","ghostkit")),(0,Ke.createElement)(us.MenuItem,{icon:xi("icon-typography-adobe-fonts",!1),onClick:()=>{t({fontFamilyCategory:"adobe-fonts",fontFamily:"",fontWeight:""}),e()}},(0,vs.__)("Adobe Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,vs.__)("PRO","ghostkit"))),(0,Ke.createElement)(us.MenuItem,{icon:xi("icon-typography-custom-fonts",!1),onClick:()=>{t({fontFamilyCategory:"custom-fonts",fontFamily:"",fontWeight:""}),e()}},(0,vs.__)("Custom Fonts","ghostkit"),(0,Ke.createElement)("span",{className:"ghostkit-typography-badge-pro"},(0,vs.__)("PRO","ghostkit")))))):null,(0,Ke.createElement)(rs,{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,vs.__)("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=${$g}`},"https://www.ghostkit.io/pricing/")):null,"custom-fonts"===e?(0,Ke.createElement)("div",{className:"ghostkit-typography-information-control ghostkit-typography-font-control"},(0,vs.__)("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=${$g}`},"https://www.ghostkit.io/pricing/")):null),void 0!==r&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-font-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Font Family","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Vd,{value:p,onChange:n=>{t({fontFamily:n&&n.value?n.value:"",fontWeight:n&&n.value?"400":"",fontFamilyCategory:e})},options:m,placeholder:(0,vs.__)("--- Select Font Family ---","ghostkit"),className:"ghostkit-typography-font-selector",menuPosition:"fixed"})))):null,void 0!==i&&d?(0,Ke.createElement)("div",{className:"ghostkit-typography-weight-control"},(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Font Weight","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Vd,{value:g,onChange:e=>{t({fontWeight:e&&e.value?e.value:""})},options:u,placeholder:(0,vs.__)("--- 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,vs.__)("Font Size","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Yp,{value:f,placeholder:n["font-size"],onChange:e=>{t({fontSize:e})},autoComplete:"off",icon:xi("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,vs.__)("Line Height","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Yp,{value:a,placeholder:n["line-height"],onChange:e=>{t({lineHeight:e})},autoComplete:"off",icon:xi("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,vs.__)("Letter Spacing","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(Yp,{value:l,placeholder:n["letter-spacing"],onChange:e=>{t({letterSpacing:e})},autoComplete:"off",icon:xi("icon-typography-letter-spacing"),defaultUnit:"em",step:.01})))):null))}}const Ig=window.wp.keycodes,Pg="noreferrer noopener";function Ng(e){const[t,n]=(0,ms.useState)(!1),{rel:o,target:r,url:i,ariaLabel:s,toolbarSettings:a=!0,inspectorSettings:l=!0,blockControlsGroup:c="block",isSelected:u}=e;function h(t){const n={rel:o,target:r,url:i,ariaLabel:s,...t};if(r!==n.target){let e=n.rel;n.target&&!n.rel?e=Pg:n.target||n.rel!==Pg||(e=void 0),n.rel=e}e.onChange(n)}function d(e){n(void 0!==e?e:!t)}function p(){return(0,Ke.createElement)(ds.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:i,opensInNewTab:"_blank"===r},onChange:({url:e="",opensInNewTab:t})=>{h({url:e,target:t?"_blank":""})},onRemove:()=>{h({url:"",target:"",rel:""}),d(!1)}})}return(0,Ke.createElement)(Ke.Fragment,null,a?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,{group:c},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{name:"link",icon:(0,Ke.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("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,vs.__)("Link"),shortcut:Ig.displayShortcut.primary("k"),onClick:()=>d()}))),u&&(0,Ke.createElement)(us.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[Ig.rawShortcut.primary("k")]:d}}),t?(0,Ke.createElement)(us.Popover,{position:"bottom center",onClose:()=>d(!1)},p()):null):null,l?(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Link Settings"),initialOpen:!1,className:"ghostkit-components-url-picker-inspector"},p(),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Link Rel"),value:o||"",onChange:e=>{h({rel:e})}}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Accessible Label"),value:s||"",onChange:e=>{h({ariaLabel:e})}}))):null)}function Dg(){return{ActiveIndicator:ns,ApplyFilters:rs,CodeEditor:as,ColorIndicator:hs,ColorPalette:ps,ColorPicker:gs,DateTimePicker:ys,DropdownPicker:ws,EditorStyles:_s,ElementStateToggle:Cs,FocalPointPicker:Ss,GoogleFonts:Yd,IconPicker:ep,ImagePicker:tp,ImportantToggle:np,InputDrag:Yp,InputGroup:Qp,MediaSizeSelector:tg,Modal:ng,Notice:og,RangeControl:rg,RemoveButton:ig,ResponsiveTabPanel:sg,ResponsiveToggle:Zp,Select:Vd,ToggleGroup:ag,transitionEasingControls:l,TransitionPresetsControl:yg,TransitionPreview:dg,TransitionSelector:Ag,transitionSpringControls:c,Typography:Lg,URLPicker:Ng}}const Fg=(0,Ze.createReduxStore)("ghostkit/base/components",{selectors:u,reducer:e=>e});function zg(e){return{type:"API_FETCH",request:e}}function Bg(e,t){return{type:"SET_IMAGE_TAG_DATA",query:e,image:t}}(0,Ze.register)(Fg);const jg=window.wp.apiFetch;var Hg=n.n(jg);function Wg({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}var Vg=n(7392),Ug=n.n(Vg);function Gg({id:e,...t}){const n=Ug().stringify(t,{encode:!1});return`/ghostkit/v1/get_attachment_image/${e}${n?`?${n}`:""}`}function*qg(e){const t=Gg(e);return Bg(t,yield zg({path:t}))}function Kg(e,t){const n=Gg(t);return e.images[n]}const Yg=(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 Zg(e){return{type:"API_FETCH",request:e}}function Jg(e){return{type:"SET_TEMPLATES",templates:e}}function Xg(e){return{type:"SET_TEMPLATE_DATA",data:e}}function Qg({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Yg);function*ef(){return Jg(yield Zg({path:"/ghostkit/v1/get_templates/"}))}function*tf(e){const t=`/ghostkit/v1/get_template_data/?id=${e}`,n=yield Zg({path:t});return n.id||(n.id=e),Xg(n)}function nf(e){return e.templates}function of(e,t){return e.templatesData[t]}const rf=(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 sf(e){return{type:"API_FETCH",request:e}}function af(e){return{type:"SET_CUSTOM_CODE",data:e}}function lf(e){return{type:"UPDATE_CUSTOM_CODE",data:e}}function cf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(rf);function*uf(){return af(yield sf({path:"/ghostkit/v1/get_custom_code/"}))}function hf(e){return e.data}function df(e){return e.data}const pf=(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,Xi.merge)(e.data,t.data)}:{data:t.data}:e},selectors:_,actions:y,controls:w,resolvers:k});function gf(e){return{type:"API_FETCH",request:e}}function ff(e,t){return{type:"SET_CUSTOMIZER_DATA",query:e,data:t}}function mf({request:e}){return Hg()(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)}))}(),Hg()(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)(pf);function*vf(){const e="/ghostkit/v1/get_customizer/";return ff(e,yield gf({path:e}))}function bf(e){return e.data}const yf=(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:C,controls:x,resolvers:S});function wf(e){return{type:"API_FETCH",request:e}}function kf(e){return{type:"SET_CUSTOM_FONTS",data:e}}function _f(e){return{type:"UPDATE_CUSTOM_FONTS",data:e}}function Cf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(yf);function*xf(){return kf(yield wf({path:"/ghostkit/v1/get_custom_fonts/"}))}function Sf(e){return e.data}function Ef(e){return e.data}const Af=(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,Xi.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 Tf(e){return{type:"API_FETCH",request:e}}function $f(e){return{type:"SET_CUSTOM_TYPOGRAPHY",data:e}}function Mf(e){return{type:"UPDATE_CUSTOM_TYPOGRAPHY",data:e}}function Rf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Af);function*Of(){return $f(yield Tf({path:"/ghostkit/v1/get_custom_typography/"}))}function Lf(e){return e.data}function If(e){return e.data}const Pf=(0,Ze.createReduxStore)("ghostkit/plugins/typography",{reducer:function(e={data:!1},t={}){return"SET_CUSTOM_TYPOGRAPHY"===t.type&&t.data?e.data?{data:(0,Xi.merge)(e.data,t.data)}:{data:t.data}:e},selectors:I,actions:R,controls:O,resolvers:L});function Nf(e){return{type:"API_FETCH",request:e}}function Df(e,t){return{type:"SET_INSTAGRAM_FEED",query:e,feed:t}}function Ff(e,t){return{type:"SET_INSTAGRAM_PROFILE",query:e,profile:t}}function zf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Pf);function Bf(e,t){const n=Ug().stringify(t,{encode:!1});return`/ghostkit/v1/get_instagram_${e}/${n?`?${n}`:""}`}function*jf(e){const t=Bf("feed",e);return Df(t,yield Nf({path:t}))}function*Hf(e){const t=Bf("profile",e);return Ff(t,yield Nf({path:t}))}function Wf(e,t){const n=Bf("feed",t);return e.feeds[n]}function Vf(e,t){const n=Bf("profile",t);return e.profiles[n]}const Uf=(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:F,actions:P,controls:N,resolvers:D});function Gf(e){return{type:"API_FETCH",request:e}}function qf(e,t){return{type:"SET_TWITTER_FEED",query:e,feed:t}}function Kf(e,t){return{type:"SET_TWITTER_PROFILE",query:e,profile:t}}function Yf({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(Uf);function Zf(e,t){const n=Ug().stringify(t,{encode:!1});return`/ghostkit/v1/get_twitter_${e}/${n?`?${n}`:""}`}function*Jf(e){const t=Zf("feed",e);return qf(t,yield Gf({path:t}))}function*Xf(e){const t=Zf("profile",e);return Kf(t,yield Gf({path:t}))}function Qf(e,t){const n=Zf("feed",t);return e.feeds[n]}function em(e,t){const n=Zf("profile",t);return e.profiles[n]}const tm=(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:z,controls:B,resolvers:j});function nm(e){return{type:"API_FETCH",request:e}}function om(e,t){return{type:"SET_TOC",query:e,toc:t}}function rm({request:e}){return Hg()(e).then((e=>!!(e&&e.success&&e.response)&&e.response))}(0,Ze.register)(tm);function im(e){const t=Ug().stringify(e,{encode:!0});return"/ghostkit/v1/get_table_of_contents/"+(t?`?${t}`:"")}function*sm(e){const t=im(e);return om(t,yield nm({path:t}))}function am(e,t){const n=im(t);return e.toc[n]}const lm=(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)(lm);const cm=window.wp.blocks,um=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"}}'),hm="ghostkit/accordion-item",{name:dm}=um,pm={from:[{type:"block",blocks:["ghostkit/tabs-v2"],transform(e,t){const{tabsData:n,tabActive:o}=e;return(0,cm.createBlock)("ghostkit/accordion",{itemsCount:t.length},t.map(((e,t)=>(0,cm.createBlock)("ghostkit/accordion-item",{heading:n[t]?n[t].title:(0,vs.__)("Accordion Item","ghostkit"),active:!!n[t]&&n[t].slug===o},e.innerBlocks))))}}]},{name:gm}=um,fm={icon:xi("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:r=""}=e;const{itemsCount:i,collapseOne:s,collapseTitleTag:a}=t,{isSelectedBlockInRoot:l,count:c}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,hasSelectedInnerBlock:n,getBlockCount:r}=e("core/block-editor");return{isSelectedBlockInRoot:t(o)||n(o,!0),count:r(o)}}),[o]);(0,ms.useEffect)((()=>{c!==i&&n({itemsCount:c})}),[c,i,n]);const{insertBlock:u}=(0,Ze.useDispatch)("core/block-editor");r=cs()(r,"ghostkit-accordion"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const h=(0,ds.useBlockProps)(),d=(0,ds.useInnerBlocksProps)({className:r},{allowedBlocks:[hm],template:[[hm],[hm]]});return(0,Ke.createElement)("div",{...h},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Collapse one item only","ghostkit"),checked:!!s,onChange:e=>n({collapseOne:e})}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Collapse Title HTML Element","ghostkit"),value:a,options:[{value:"div",label:(0,vs.__)("Default (
    )","ghostkit")},{value:"h1",label:(0,vs.__)("

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

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

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

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

    ","ghostkit")},{value:"h6",label:(0,vs.__)("
    ","ghostkit")}],onChange:e=>n({collapseTitleTag:e})}))),(0,Ke.createElement)("div",{...d}),l?(0,Ke.createElement)("div",{className:"ghostkit-accordion-add-item"},(0,Ke.createElement)(us.Button,{isSecondary:!0,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:()=>{u((0,cm.createBlock)(hm),void 0,o)}},(0,vs.__)("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:dm,...e});const r=ds.useBlockProps.save({className:o}),i=ds.useInnerBlocksProps.save(r);return(0,Ke.createElement)("div",{...i})},transforms:pm},mm=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:vm}=mm,bm=[{...mm,save:function(e){const{attributes:t}=e,{heading:n,active:o,slug:r,titleTag:i}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:vm,...e});const a=i||"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:`#${r}`},(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}))}},{...mm,save:class extends ms.Component{render(){const{attributes:e}=this.props,{heading:t,active:n,slug:o}=e;let r=cs()("ghostkit-accordion-item",n&&"ghostkit-accordion-item-active");return r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:vm,...this.props}),(0,Ke.createElement)("div",{className:r},(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:ym}=mm,{name:wm}=mm,km={icon:xi("block-accordion-item",!0),edit:function(e){const{attributes:t,setAttributes:n,context:o,clientId:r}=e,{heading:i,slug:s,active:a,titleTag:l}=t,c=(0,ms.useRef)(),u=o["ghostkit/collapseTitleTag"]||"div";(0,ms.useEffect)((()=>{if(c.current){const e=Pi(`accordion ${i}`,r);n({slug:e})}else c.current=!0}),[i,s]),(0,ms.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(r).length>0}}),[r]),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:xi("block-accordion-collapse"),label:(0,vs.__)("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,vs.__)("Write label…","ghostkit"),value:i,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:r,titleTag:i}=t;let s=cs()("ghostkit-accordion-item",o&&"ghostkit-accordion-item-active");s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:ym,...e});const a=i||"div",l=ds.useBlockProps.save({className:s,"data-accordion":r}),c=ds.useInnerBlocksProps.save({id:`${r}-content`,className:"ghostkit-accordion-item-content",role:"region","aria-labelledby":`${r}-button`});return(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(a,{className:"ghostkit-accordion-item-heading"},(0,Ke.createElement)("button",{type:"button",id:`${r}-button`,"aria-expanded":o?"true":"false","aria-controls":`${r}-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:bm},_m=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}=_m,xm={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,cm.createBlock)("ghostkit/alert",{iconSize:e.numberSize,color:e.numberColor,hoverColor:e.hoverNumberColor},t)},{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,cm.createBlock)("ghostkit/alert",{iconSize:e.iconSize,color:e.iconColor,hoverColor:e.hoverIconColor},t)}]},{name:Sm}=_m,Em={icon:xi("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:r,hoverColor:i,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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:"info",label:(0,vs.__)("Type","ghostkit"),controls:[{title:(0,vs.__)("Primary","ghostkit"),icon:"editor-help",isActive:"#2E77C3"===r,onClick:()=>n({color:"#2E77C3"})},{title:(0,vs.__)("Success","ghostkit"),icon:"marker",isActive:"#22CF6E"===r,onClick:()=>n({color:"#22CF6E"})},{title:(0,vs.__)("Danger","ghostkit"),icon:"dismiss",isActive:"#DC3232"===r,onClick:()=>n({color:"#DC3232"})},{title:(0,vs.__)("Warning","ghostkit"),icon:"warning",isActive:"#E47F3B"===r,onClick:()=>n({color:"#E47F3B"})},{title:(0,vs.__)("Info","ghostkit"),icon:"info",isActive:"#2DC7E8"===r,onClick:()=>n({color:"#2DC7E8"})}]}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(rg,{label:(0,vs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:20,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0}):null),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Dismiss button","ghostkit"),checked:!!l,onChange:e=>n({hideButton:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:r})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:o?i:r,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0}))})))),(0,Ke.createElement)("div",{...u},s?(0,Ke.createElement)("div",{className:"ghostkit-alert-icon"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,(0,Ke.createElement)("div",{...h}),l?(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))},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 r=ds.useBlockProps.save({className:o}),i=ds.useInnerBlocksProps.save({className:"ghostkit-alert-content"});return(0,Ke.createElement)("div",{...r},t?(0,Ke.createElement)(ep.Render,{name:t,tag:"div",className:"ghostkit-alert-icon"}):null,(0,Ke.createElement)("div",{...i}),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:xm},Am=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"}}}'),Tm={no:0,sm:15,md:30,lg:45};function $m(e){const{gap:t,gapCustom:n,gapVerticalCustom:o,allowVerticalGap:r,onChange:i}=e;return(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Gap","ghostkit"),label:(0,vs.__)("Gap","ghostkit"),className:"ghostkit-components-gap-settings"},(0,Ke.createElement)(ag,{value:t,options:[{label:(0,vs.__)("None","ghostkit"),value:"no"},{label:(0,vs.__)("S","ghostkit"),value:"sm"},{label:(0,vs.__)("M","ghostkit"),value:"md"},{label:(0,vs.__)("L","ghostkit"),value:"lg"},{label:(0,Ke.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("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!==Tm[t]&&(n.gapCustom=Tm[t]),"custom"!==e&&(n.gapVerticalCustom=void 0),i(n)},isBlock:!0}),"custom"===t?(0,Ke.createElement)("div",{className:"ghostkit-components-gap-settings-custom"},(0,Ke.createElement)(us.TextControl,{type:"number",help:r?(0,vs.__)("Horizontal","ghostkit"):"",value:n,onChange:e=>i({gapCustom:""===e?void 0:parseFloat(e)}),min:0}),r?(0,Ke.createElement)(us.TextControl,{type:"number",help:(0,vs.__)("Vertical","ghostkit"),placeholder:n,value:o,onChange:e=>i({gapVerticalCustom:""===e?void 0:parseFloat(e)}),min:0}):null):null)}const Mm="ghostkit/button-single",{name:Rm}=Am,Om={from:[{type:"block",blocks:["core/button"],transform:e=>(0,cm.createBlock)("ghostkit/button",{align:e.align,count:1},[(0,cm.createBlock)("ghostkit/button-single",{url:e.url,text:e.text})])}]},{name:Lm}=Am,Im={icon:xi("block-buttons",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/button/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,r={"--gkt-button__gap":void 0,"--gkt-button__gap-vertical":void 0};if("custom"===t){if(void 0!==n){const e=n?"px":"%";r["--gkt-button__gap"]=`${n}${e}`}if(void 0!==o){const e=o?"px":"%";r["--gkt-button__gap-vertical"]=`${o}${e}`}}return r}},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:r=""}=e;const{align:i,gap:s,gapCustom:a,gapVerticalCustom:l,count:c}=t,{block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,isBlockSelected:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{block:t(o),isSelectedBlockInRoot:n(o)||r(o,!0)}}),[]),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,ms.useEffect)((()=>{u&&u.innerBlocks&&c!==u.innerBlocks.length&&n({count:u.innerBlocks.length})}),[u,u?.innerBlocks?.length,c,n]),r=cs()("ghostkit-button-wrapper",!!s&&`ghostkit-button-wrapper-gap-${s}`,!(!i||"none"===i)&&`ghostkit-button-wrapper-align-${i}`,r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const p=(0,ds.useBlockProps)({className:r}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-button-wrapper-inner"},{allowedBlocks:[Mm],template:[[Mm]],orientation:"horizontal",directInsert:!0,templateInsertUpdatesSelection:!0,renderAppender:h?()=>(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Add Button","ghostkit")},(0,Ke.createElement)(us.Button,{className:"block-list-appender__toggle block-editor-button-block-appender",icon:(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,Ke.createElement)("path",{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),onClick:()=>{d((0,cm.createBlock)(Mm),void 0,o)}})):void 0});return(0,Ke.createElement)("div",{...p},(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"]})),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:s,gapCustom:a,gapVerticalCustom:l,onChange:e=>{n(e)},allowVerticalGap:!0}),(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Align","ghostkit"),label:(0,vs.__)("Align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1}))))),(0,Ke.createElement)("div",{...f},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:Rm,...e});const r=ds.useBlockProps.save({className:o}),{children:i,...s}=ds.useInnerBlocksProps.save({className:"ghostkit-button-wrapper-inner"});return(0,Ke.createElement)("div",{...r},(0,Ke.createElement)("div",{...s},i))},transforms:Om},Pm=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:Nm}=Pm,Dm=[{...Pm,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:r,hideText:i,url:s,target:a,rel:l,size:c,focusOutlineWeight:u,focusOutlineColor:h}=e.attributes;let d=cs()("ghostkit-button",c&&`ghostkit-button-${c}`,i&&"ghostkit-button-icon-only");u&&h&&(d=cs()(d,"ghostkit-button-with-outline")),d=(0,os.applyFilters)("ghostkit.blocks.className",d,{name:Nm,...e});const p=[];i||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)(ep.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===r?"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)}}],Fm=[{label:"XS",value:"xs"},{label:"S",value:"sm"},{label:"M",value:"md"},{label:"L",value:"lg"},{label:"XL",value:"xl"}],{name:zm}=Pm,{name:Bm}=Pm,jm={icon:xi("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:r,text:i,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:C}=t;let{className:x=""}=t;const[S,E]=(0,ms.useState)("normal");(0,ms.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)),x=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",x),y&&w&&(x=cs()(x,"ghostkit-button-with-outline")),x=(0,os.applyFilters)("ghostkit.editor.className",x,e);const M=[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}];y&&w&&M.push({name:"focus",title:(0,vs.__)("Focus","ghostkit"),className:"ghostkit-control-tabs-tab"});const R=(0,ds.useBlockProps)({className:x});return(0,Ke.createElement)("div",{...R},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)("div",{className:"blocks-size__main"},(0,Ke.createElement)(ag,{value:p,options:Fm,onChange:e=>{n({size:e})}}))),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Corner Radius","ghostkit"),value:m,min:0,max:50,onChange:e=>n({borderRadius:e}),allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Border Size","ghostkit"),value:v,min:0,max:6,onChange:e=>n({borderWeight:e}),allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Focus Outline Size","ghostkit"),value:y,min:0,max:6,onChange:e=>n({focusOutlineWeight:e}),allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Icon Only","ghostkit"),checked:!!l,onChange:e=>n({hideText:e})}):null,s&&!l?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Icon Position","ghostkit"),value:a,options:[{value:"left",label:(0,vs.__)("Left","ghostkit")},{value:"right",label:(0,vs.__)("Right","ghostkit")}],onChange:e=>n({iconPosition:e})}):null),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:g}),(0,Ke.createElement)(hs,{colorValue:f}),v?(0,Ke.createElement)(hs,{colorValue:b}):null,y&&w?(0,Ke.createElement)(hs,{colorValue:w}):null),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:M,onSelect:e=>{E(e)}},(t=>{const o="hover"===t.name;return"focus"===t.name?(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"focusOutlineColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Outline","ghostkit"),value:w,onChange:e=>n({focusOutlineColor:e}),alpha:!0})):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Background","ghostkit"),value:o?k:g,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})),(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverTextColor":"textColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Text","ghostkit"),value:o?_:f,onChange:e=>n(o?{hoverTextColor:e}:{textColor:e}),alpha:!0})),v?(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverBorderColor":"borderColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Border","ghostkit"),value:o?C:b,onChange:e=>n(o?{hoverBorderColor:e}:{borderColor:e}),alpha:!0})):null)})))),r&&"a"!==r?null:(0,Ke.createElement)(Ng,{url:c,rel:d,ariaLabel:u,target:h,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,Ke.createElement)("div",{className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===a?"right":"left")},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,l?null:(0,Ke.createElement)(ds.RichText,{placeholder:(0,vs.__)("Write text…","ghostkit"),value:i,onChange:e=>n({text:e}),isSelected:o,withoutInteractiveFormatting:!0}))},save:function(e){const{tagName:t,text:n,icon:o,iconPosition:r,hideText:i,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}`,i&&"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=[];i||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)(ep.Render,{name:o,tag:"span",className:"ghostkit-button-icon ghostkit-button-icon-"+("right"===r?"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},Hm=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}}}'),Wm=us.NumberControl||us.__experimentalNumberControl,Vm="ghostkit/carousel-slide";var Um=n(2084),Gm=n.n(Um);const{name:qm}=Hm,{name:Km}=Hm,Ym={icon:xi("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:r=""}=e;const{effect:i,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:C}=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return{getBlocks:t.getBlocks,slidesCount:t.getBlockCount(o),block:t.getBlock(o)}})),{removeBlock:x,replaceInnerBlocks:S}=(0,Ze.useDispatch)("core/block-editor");r=cs()(r,"ghostkit-carousel",p&&"ghostkit-carousel-fade-edges"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const E=(0,ds.useBlockProps)({className:r}),A=(0,ds.useInnerBlocksProps)({className:"ghostkit-carousel-items"},{template:[[Vm],[Vm],[Vm]],allowedBlocks:[Vm],templateLock:!1,orientation:"horizontal"});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Settings","ghostkit")},(0,Ke.createElement)(rg,{label:(0,vs.__)("Slides","ghostkit"),value:_,onChange:e=>{if(e<1)x(C.clientId);else if(e>_){const t=e-_,n=[...k(C.clientId)];for(let e=1;e<=t;e+=1)n.push((0,cm.createBlock)(Vm,{size:3}));S(C.clientId,n,!1)}else if(e<_){const t=[...k(C.clientId)];t.splice(e,_-e),S(C.clientId,t,!1)}},min:2,max:20,allowCustomMax:!0}),"fade"!==i?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Slides per view","ghostkit"),value:c,onChange:e=>n({slidesPerView:e}),min:1,max:8,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Gap","ghostkit"),value:w,onChange:e=>n({gap:e}),min:0,max:60,allowCustomMax:!0})):null,(0,Ke.createElement)(ag,{label:(0,vs.__)("Effect","ghostkit"),value:i,options:[{value:"slide",label:(0,vs.__)("Slide","ghostkit")},{value:"coverflow",label:(0,vs.__)("Coverflow","ghostkit")},{value:"fade",label:(0,vs.__)("Fade","ghostkit")}],onChange:e=>{n({effect:e})},isBlock:!0}),(0,Ke.createElement)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Speed (seconds)","ghostkit"),suffix:"s ",value:s,onChange:e=>n({speed:e}),min:0,max:10,step:.1,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Autoplay (seconds)","ghostkit"),value:a,onChange:e=>n({autoplay:e}),min:0,max:20,step:.3,allowCustomMax:!0}),a?(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Pause autoplay on mouse over","ghostkit"),checked:!!l,onChange:e=>n({autoplayHoverPause:e})}):null,(0,Ke.createElement)("div",{style:{borderTop:"1px solid #E0E0E0",marginBottom:"16px"}}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Centered Slides","ghostkit"),checked:!!u,onChange:e=>n({centeredSlides:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Loop","ghostkit"),checked:!!h,onChange:e=>n({loop:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Free Scroll","ghostkit"),checked:!!d,onChange:e=>n({freeScroll:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Fade Edges","ghostkit"),checked:!!p,onChange:e=>n({fadeEdges:e})}),p&&(0,Ke.createElement)(Wm,{label:(0,vs.__)("Fade Edges Size","ghostkit"),suffix:"% ",value:g,onChange:e=>n({fadeEdgesSize:parseFloat(e)}),labelPosition:"edge",__unstableInputWidth:"100px",disableUnits:!0,min:0,max:50})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Arrow","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show","ghostkit"),checked:!!f,onChange:e=>n({showArrows:e})}),f?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Prev icon","ghostkit"),value:m,onChange:e=>n({arrowPrevIcon:e}),insideInspector:!0}),(0,Ke.createElement)(ep,{label:(0,vs.__)("Next icon","ghostkit"),value:v,onChange:e=>n({arrowNextIcon:e}),insideInspector:!0})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Bullets","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show","ghostkit"),checked:!!b,onChange:e=>n({showBullets:e})}),b?(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Dynamic","ghostkit"),checked:!!y,onChange:e=>n({dynamicBullets:e})}):null)),(0,Ke.createElement)("div",{...E},(0,Ke.createElement)("div",{className:"block-editor-inner-blocks"},(0,Ke.createElement)("div",{...A}))),(0,Ke.createElement)(_s,{styles:`\n [data-block="${e.clientId}"] > .ghostkit-carousel {\n --gkt-carousel-gap: ${w}px;\n --gkt-carousel-slides-per-view: ${"fade"===i?1:c};\n }\n `}))},save:function(e){const{effect:t,speed:n,autoplay:o,autoplayHoverPause:r,slidesPerView:i,centeredSlides:s,loop:a,freeScroll:l,fadeEdges:c,showArrows:u,arrowPrevIcon:h,arrowNextIcon:d,showBullets:p,dynamicBullets:g,gap:f}=e.attributes;let m=Gm()("ghostkit-carousel",c&&"ghostkit-carousel-fade-edges");m=(0,os.applyFilters)("ghostkit.blocks.className",m,{name:qm,...e});const v={"data-effect":t,"data-speed":n,"data-autoplay":o,"data-autoplay-hover-pause":o&&r?"true":null,"data-slides-per-view":i,"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)(ep.Render,{name:h,tag:"div",className:"ghostkit-carousel-arrow-prev-icon"}):null,d?(0,Ke.createElement)(ep.Render,{name:d,tag:"div",className:"ghostkit-carousel-arrow-next-icon"}):null)}},Zm=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:Jm}=Zm,{name:Xm}=Zm,Qm={icon:xi("block-carousel-slide",!0),edit:function(e){const{attributes:t,clientId:n}=e;let{className:o}=t;const r=(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 i=(0,ds.useBlockProps)({className:o}),s=(0,ds.useInnerBlocksProps)(i,{renderAppender:r?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:Jm,...e});const n=ds.useBlockProps.save({className:t}),o=ds.useInnerBlocksProps.save(n);return(0,Ke.createElement)("div",{...o})}},ev=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:tv}=ev,{name:nv}=ev,ov={icon:xi("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,vs.__)("Added","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,vs.__)("Fixed","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}},{name:"core/list-item",attributes:{content:`${(0,vs.__)("Improved","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}}]}]},edit:function(e){const{attributes:t,setAttributes:n}=e;let{className:o=""}=e;const{version:r,date:i}=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,vs.__)("Added","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,vs.__)("Fixed","ghostkit")}${(0,vs.__)("Something","ghostkit")}`}],["core/list-item",{content:`${(0,vs.__)("Improved","ghostkit")}${(0,vs.__)("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,vs.__)("1.0.0","ghostkit"),value:r,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:i,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:tv,...e});const r=ds.useBlockProps.save({className:o}),i=ds.useInnerBlocksProps.save({className:"ghostkit-changelog-more"});return(0,Ke.createElement)("div",{...r},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",{...i}))}},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"}}}'),iv=(()=>{const e=1,t=2,n=4,o=8,r=16,i=32,s=64,a=128,l=a|s|r|o|n|t,c=a|s|i|r|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 C(e,t,n,o,r,i){return e[n]>=0&&(t+=e[n],delete e[n]),1+(t/=r)<=1?0:e[o]>=0?(e[o]=+(e[o]+t).toFixed(i),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 x(l,c,k,_,x,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&i)||_>=v?(l.days+=l.weeks*f,delete l.weeks):l.weeks&&(_+=1),!(c&r)||_>=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=C(e,0,"milliseconds","seconds",u,t);if(n&&(n=C(e,n,"seconds","minutes",h,t),n&&(n=C(e,n,"minutes","hours",d,t),n&&(n=C(e,n,"hours","days",p,t),n&&(n=C(e,n,"days","weeks",f,t),n&&(n=C(e,n,"weeks","months",w(e.refMonth)/f,t),n&&(n=C(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,_,x,S)}finally{delete l.refMonth}return l}function S(e,t,n,o){const r=n.length>0?n.length:NaN;o=o>0?o<20?Math.round(o):20:0;let i=null;e instanceof Date||(null!==e&&Number.isFinite(e)?e=new Date(+e):("object"==typeof i&&(i=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)),i&&(e=k(i,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 x(new _,e,t,a,r,o)}return S.MILLISECONDS=e,S.SECONDS=t,S.MINUTES=n,S.HOURS=o,S.DAYS=r,S.WEEKS=i,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,vs._n)("Year","Years",e,"ghostkit");break;case"months":t=(0,vs._n)("Month","Months",e,"ghostkit");break;case"weeks":t=(0,vs._n)("Week","Weeks",e,"ghostkit");break;case"days":t=(0,vs._n)("Day","Days",e,"ghostkit");break;case"hours":t=(0,vs._n)("Hour","Hours",e,"ghostkit");break;case"minutes":t=(0,vs._n)("Minute","Minutes",e,"ghostkit");break;case"seconds":t=(0,vs._n)("Second","Seconds",e,"ghostkit")}return{number:e=`${e<10?"0":""}${e}`,label:t}},S})(),sv="yyyy-LL-dd'T'HH:mm:ss",{GHOSTKIT:av,luxon:lv}=window,{name:cv}=rv,{name:uv}=rv,hv={icon:xi("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:r,units:i,unitsAlign:s,numberFontSize:a,labelFontSize:l,numberColor:c,labelColor:u}=t;let{className:h=""}=e;function d(e,t){const n=lv.DateTime.fromISO(e).toFormat(sv),o=new Date(lv.DateTime.now().setZone(av.timezone).toFormat(sv)),r=iv(new Date(n),o,t,0);return{formattedDate:n,delay:iv.getDelay(t),...r}}const[p,g]=(0,ms.useState)(!!r&&d(r,i)),f=(0,ms.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!==r&&n({date:o.formattedDate})}(0,ms.useEffect)((()=>{if(r)v(r,i);else{const e=new Date,t=new Date;t.setDate(e.getDate()+1),v(lv.DateTime.fromJSDate(t).toFormat(sv),i)}}),[]),(0,ms.useEffect)((()=>{clearInterval(f.current),p&&(f.current=setInterval((()=>{if(!r||!i||!i.length)return;const e=d(r,i);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,vs.__)("This countdown has been ended already!","ghostkit")}]],templateLock:!1});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ys,{label:(0,vs.__)("End Date","ghostkit"),value:r,onChange:e=>v(e,i)}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Display Units","ghostkit"),value:i,onChange:e=>{n({units:e}),v(r,e)},multiple:!0,options:[{label:(0,vs.__)("Years","ghostkit"),value:"years"},{label:(0,vs.__)("Months","ghostkit"),value:"months"},{label:(0,vs.__)("Weeks","ghostkit"),value:"weeks"},{label:(0,vs.__)("Days","ghostkit"),value:"days"},{label:(0,vs.__)("Hours","ghostkit"),value:"hours"},{label:(0,vs.__)("Minutes","ghostkit"),value:"minutes"},{label:(0,vs.__)("Seconds","ghostkit"),value:"seconds"}]})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Number Font Size","ghostkit"),value:a,onChange:e=>n({numberFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Label Font Size","ghostkit"),value:l,onChange:e=>n({labelFontSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Number Color","ghostkit"),value:c,onChange:e=>n({numberColor:e}),alpha:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Label Color","ghostkit"),value:u,onChange:e=>n({labelColor:e}),alpha:!0}))),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Units Align Left","ghostkit"),onClick:()=>n({unitsAlign:"left"}),isActive:"left"===s}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Units Align Center","ghostkit"),onClick:()=>n({unitsAlign:"center"}),isActive:"center"===s}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Units Align Right","ghostkit"),onClick:()=>n({unitsAlign:"right"}),isActive:"right"===s}))),(0,Ke.createElement)("div",{...b},i.map((e=>{let t=!1;if(p&&void 0!==p[e]){const n=p.value>=0;t=iv.formatUnit(n?0:p[e],e)}return(0,Ke.createElement)("div",{key:e,className:cs()("ghostkit-countdown-unit",`ghostkit-countdown-unit-${e}`)},(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-number"},t?t.number:"00"),(0,Ke.createElement)("span",{className:"ghostkit-countdown-unit-label"},t?t.label:e))}))),m?(0,Ke.createElement)("div",{className:"ghostkit-countdown-expire-action"},(0,Ke.createElement)("div",{className:"ghostkit-countdown-expire-action-label"},(0,vs.__)("Display content after expiration:","ghostkit")),(0,Ke.createElement)("div",{...y})):null)},save:function(e){const{attributes:t}=e,{date:n,units:o,unitsAlign:r}=t;let i=cs()("ghostkit-countdown",r&&`ghostkit-countdown-units-align-${r}`);i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:cv,...e});const s=ds.useBlockProps.save({className:i,"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}))}},dv=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:pv}=dv,gv=[{...dv,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 ms.Component{render(){const{number:e,animateInViewport:t,numberPosition:n,showContent:o,url:r,target:i,rel:s}=this.props.attributes;let{animateInViewportFrom:a}=this.props.attributes;a=parseFloat(a);let l=cs()("ghostkit-counter-box",r&&"ghostkit-counter-box-with-link");l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:pv,...this.props});const c=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${n||"left"}`);return(0,Ke.createElement)("div",{className:l},r?(0,Ke.createElement)("a",{className:"ghostkit-counter-box-link",href:r,target:i||!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:fv}=dv,mv={from:[{type:"block",blocks:["ghostkit/icon-box"],transform:(e,t)=>(0,cm.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,cm.createBlock)("ghostkit/counter-box",{numberSize:e.iconSize,numberColor:e.color,hoverNumberColor:e.hoverColor},t)}]},{name:vv}=dv,bv={icon:xi("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:r}=e;let{className:i=""}=e;const s=(0,Ze.useSelect)((e=>{const t=e("core/block-editor");return!!t&&t.getBlockOrder(r).length>0}),[r]),{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;i=cs()("ghostkit-counter-box",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,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:i}),_=(0,ds.useInnerBlocksProps)({className:"ghostkit-counter-box-content"},{renderAppender:s?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),C=(0,vs.__)("Number Position","ghostkit");return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Number Size","ghostkit"),value:d,onChange:e=>n({numberSize:e}),beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0}),(0,Ke.createElement)(us.BaseControl,{id:C,label:C},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:C},(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u})))),"top"===u?(0,Ke.createElement)(ag,{label:(0,vs.__)("Number Alignment","ghostkit"),value:h||"center",options:[{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Start","ghostkit"),value:"left"},{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-horizontal-end"),label:(0,vs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({numberAlign:e})}}):null),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Content","ghostkit"),checked:!!p,onChange:e=>n({showContent:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Animate in viewport","ghostkit"),checked:!!l,onChange:e=>n({animateInViewport:e})}),l?(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Animate from","ghostkit"),type:"number",value:c,onChange:e=>n({animateInViewportFrom:parseInt(e,10)})}):null),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:g})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverNumberColor":"numberColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:o?f:g,onChange:e=>n(o?{hoverNumberColor:e}:{numberColor:e}),alpha:!0,gradient:!0}))})))),(0,Ke.createElement)(Ng,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({numberPosition:"top"}),isActive:"top"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({numberPosition:"left"}),isActive:"left"===u}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({numberPosition:"right"}),isActive:"right"===u}))),(0,Ke.createElement)("div",{...k},(0,Ke.createElement)("div",{className:w},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-counter-box-number-wrap",placeholder:(0,vs.__)("Write number…","ghostkit"),value:a,onChange:e=>n({number:e}),withoutInteractiveFormatting:!0})),p?(0,Ke.createElement)("div",{..._}):null))},save:function(e){const{attributes:t}=e,{number:n,animateInViewport:o,numberPosition:r,numberAlign:i,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:fv,...e});const p=cs()("ghostkit-counter-box-number",`ghostkit-counter-box-number-align-${r||"left"}`,"top"===r?`ghostkit-counter-box-number-top-align-${i||"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:mv,deprecated:gv},yv=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:wv}=yv,kv={from:[{type:"block",blocks:["core/separator"],transform:()=>(0,cm.createBlock)("ghostkit/divider")}],to:[{type:"block",blocks:["core/separator"],transform:()=>(0,cm.createBlock)("core/separator")}]},{name:_v}=yv,Cv={icon:xi("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:r,size:i,icon:s,iconSize:a,color:l,iconColor:c,hoverColor:u,hoverIconColor:h}=t;o=cs()("ghostkit-divider",`ghostkit-divider-type-${r}`,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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:xi("border-solid"),label:(0,vs.__)("Type","ghostkit"),controls:[{label:(0,vs.__)("Line","ghostkit"),icon:xi("border-solid"),isActive:"solid"===r,onClick:()=>n({type:"solid"})},{label:(0,vs.__)("Dashed","ghostkit"),icon:xi("border-dashed"),isActive:"dashed"===r,onClick:()=>n({type:"dashed"})},{label:(0,vs.__)("Dotted","ghostkit"),icon:xi("border-dotted"),isActive:"dotted"===r,onClick:()=>n({type:"dotted"})},{label:(0,vs.__)("Double","ghostkit"),icon:xi("border-double"),isActive:"double"===r,onClick:()=>n({type:"double"})}]}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Type","ghostkit"),value:r,options:[{value:"solid",label:(0,vs.__)("Line","ghostkit")},{value:"dashed",label:(0,vs.__)("Dashed","ghostkit")},{value:"dotted",label:(0,vs.__)("Dotted","ghostkit")},{value:"double",label:(0,vs.__)("Double","ghostkit")}],onChange:e=>n({type:e})}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Size","ghostkit"),value:i,onChange:e=>n({size:e}),min:1,max:7,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(rg,{label:(0,vs.__)("Icon Size","ghostkit"),value:a,onChange:e=>n({iconSize:e}),min:10,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0}):null),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:l}),s?(0,Ke.createElement)(hs,{colorValue:c}):null),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Divider","ghostkit"),value:o?u:l,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0})),s?(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Icon","ghostkit"),value:o?h:c,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0})):null)})))),(0,Ke.createElement)("div",{...d},s?(0,Ke.createElement)("div",{className:"ghostkit-divider-icon"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.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:wv,...e});const r=ds.useBlockProps.save({className:o});return(0,Ke.createElement)("div",{...r},t?(0,Ke.createElement)(ep.Render,{name:t,tag:"div",className:"ghostkit-divider-icon"}):null)},transforms:kv},xv=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 Sv(e,t,n){var o,r=n||{},i=r.noTrailing,s=void 0!==i&&i,a=r.noLeading,l=void 0!==a&&a,c=r.debounceMode,u=void 0===c?void 0:c,h=!1,d=0;function p(){o&&clearTimeout(o)}function g(){for(var n=arguments.length,r=new Array(n),i=0;ie?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 Ev(e,t,n){var o=(n||{}).atBegin;return Sv(e,t,{debounceMode:!1!==(void 0!==o&&o)})}const{GHOSTKIT:Av}=window,Tv=!Av.googleReCaptchaAPISiteKey||!Av.googleReCaptchaAPISecretKey,$v=Ev(1500,((e,t)=>{Hg()({path:"/ghostkit/v1/update_google_recaptcha_keys",method:"POST",data:{site_key:e,secret_key:t}})}));function Mv(){const[e,t]=(0,ms.useState)(Av.googleReCaptchaAPISiteKey),[n,o]=(0,ms.useState)(Av.googleReCaptchaAPISecretKey);return(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Google reCAPTCHA","ghostkit"),initialOpen:Tv},(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Site Key","ghostkit"),value:e,onChange:e=>{t(e),$v(e,n)}}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Secret Key","ghostkit"),value:n,onChange:t=>{o(t),$v(e,t)}}),(0,Ke.createElement)("p",null,(0,vs.__)("Protect your form from spam using Google reCAPTCHA v3.","ghostkit")),(0,Ke.createElement)("p",null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.google.com/recaptcha/about/"},(0,vs.__)("Generate Keys","ghostkit"))))}const Rv=[["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,vs.__)("Subject","ghostkit"),required:!0}],["ghostkit/form-field-textarea",{slug:"field_message",label:(0,vs.__)("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,r=0;for(;void 0!==t[e.type][n]&&o>0;)r+=1,o-=1,n=`field_${e.type}_${r}`;return n}const{name:Pv}=xv,Nv={icon:xi("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,vs.__)("First","ghostkit"),descriptionLast:(0,vs.__)("Last","ghostkit")}},{name:"ghostkit/form-field-textarea",attributes:{label:(0,vs.__)("Message","ghostkit"),placeholder:(0,vs.__)("Write your message here…","ghostkit")}},{name:"ghostkit/form-submit-button"}]},edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:r=""}=e;const{mailAllow:i,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:r}=e("core/block-editor");return{allFieldsData:Lv(t(o)),isSelectedBlockInRoot:n(o)||r(o,!0)}}),[o]),{updateBlockAttributes:m}=(0,Ze.useDispatch)("core/block-editor"),v=Sv(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,ms.useEffect)((()=>{v()})),r=cs()(r,"ghostkit-form"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const b=(0,ds.useBlockProps)({className:r}),{children:y,...w}=(0,ds.useInnerBlocksProps)(b,{template:Rv,allowedBlocks:Ov,renderAppender:()=>null});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Mail","ghostkit")},i?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Send To Email Address","ghostkit"),value:s,onChange:e=>n({mailTo:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Subject","ghostkit"),value:a,onChange:e=>n({mailSubject:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("From","ghostkit"),value:l,onChange:e=>n({mailFrom:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Reply To","ghostkit"),value:c,onChange:e=>n({mailReplyTo:e})}),(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Message","ghostkit"),value:u,onChange:e=>n({mailMessage:e})})):null,(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Send Email","ghostkit"),label:(0,vs.__)("Send Email","ghostkit"),help:(0,vs.__)("In case if you don't want to receive email messages from this form, you may disable sending emails functionality.")},(0,Ke.createElement)(us.ToggleControl,{Label:(0,vs.__)("Yes","ghostkit"),checked:!!i,onChange:()=>n({mailAllow:!i})}))),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Confirmation","ghostkit")},(0,Ke.createElement)(ag,{label:(0,vs.__)("Type","ghostkit"),value:h,options:[{label:(0,vs.__)("Message","ghostkit"),value:"message"},{label:(0,vs.__)("Redirect","ghostkit"),value:"redirect"}],onChange:e=>{n({confirmationType:e})},isDeselectable:!0}),h&&"message"!==h?null:(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Message","ghostkit"),value:d,onChange:e=>n({confirmationMessage:e})}),"redirect"===h?(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Redirect URL","ghostkit"),value:p,onChange:e=>n({confirmationRedirect:e})}):null),(0,Ke.createElement)(Mv,null)),(0,Ke.createElement)("div",{...w},y,g?(0,Ke.createElement)(ds.InnerBlocks.ButtonBlockAppender,null):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 Fv(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 r=e[o];void 0!==r&&("slug"===o&&(o="id"),-1!==t.indexOf(o)&&("boolean"==typeof r&&(r=!!r&&o),"default"===o&&(o="value"),!1!==r&&(n[o]=r)))})),n}function zv(e){const{attributes:t,setAttributes:n,hideLabelCustom:o,hideDescriptionCustom:r,requiredCustom:i,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,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Hide Label","ghostkit"),checked:d,onChange:()=>n({hideLabel:!d})}),b=r||(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Hide Description","ghostkit"),checked:p,onChange:()=>n({hideDescription:!p})});return(0,Ke.createElement)(Ke.Fragment,null,l||(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Slug","ghostkit"),help:(0,vs.__)("Slug is used in form field [name] attribute.","ghostkit"),value:c,onChange:()=>{},readOnly:!0}),s||(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Placeholder","ghostkit"),value:f,onChange:e=>n({placeholder:e})}),a||(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Default","ghostkit"),value:m,onChange:e=>n({default:e})}),i||(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Required","ghostkit"),checked:g,onChange:()=>n({required:!g})}),u?v:"",h?b:"")}function Bv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{description:r,hideDescription:i}=t;return r||o?i&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:r,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({description:e})}):null}function jv(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{label:r,hideLabel:i}=t;return r||o?i&&!o?null:(0,Ke.createElement)("label",{className:"ghostkit-form-field-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"span",value:r,placeholder:(0,vs.__)("Write label…","ghostkit"),onChange:e=>n({label:e})}),t.required?(0,Ke.createElement)("span",{className:"required"},"*"):""):null}function Hv(e){const{options:t,onChange:n,multiple:o}=e;return(0,Ke.createElement)("div",{className:"ghostkit-field-options"},t.map(((e,r)=>{const i=`option-${r}`;return(0,Ke.createElement)("div",{className:"ghostkit-field-options-item",key:i},(0,Ke.createElement)("input",{type:o?"checkbox":"radio",checked:e.selected,onClick:()=>{const i=[...t];i[r].selected=!e.selected,o||i.forEach(((e,t)=>{r!==t&&(i[t].selected=!1)})),n(i)}}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Write label…","ghostkit"),value:e.value,onChange:e=>{const o=[...t];o[r].value=e,o[r].label=e,n(o)}}),(0,Ke.createElement)(us.Button,{onClick:()=>{if(t.length>1){const e=[...t];e.splice(r,1),n(e)}},className:"components-icon-button"},(0,Ke.createElement)("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"},(0,Ke.createElement)("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"}))))})),(0,Ke.createElement)(us.Button,{onClick:()=>{n([...t,{value:"",label:"",selected:!1}])},className:"components-icon-button"},(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"}))," ",(0,vs.__)("Add Option","ghostkit")))}const{name:Wv}=Dv,Vv={icon:xi("block-form-field-checkbox",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:r,inline:i}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-checkbox",i&&"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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Inline","ghostkit"),checked:i,onChange:()=>n({inline:!i})}))),(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(jv,{...e}),o?(0,Ke.createElement)(Hv,{options:s,onChange:e=>n({options:e}),multiple:!0}):(0,Ke.createElement)("div",{className:"ghostkit-form-field-checkbox-items"},s.map(((e,n)=>{const o=`${r}-item-${n}`;return(0,Ke.createElement)("label",{key:o,htmlFor:o,className:"ghostkit-form-field-checkbox-item"},(0,Ke.createElement)("input",{type:"checkbox",checked:e.selected,onChange:()=>{},...Fv(t)}),e.label)}))),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},Uv=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:Gv}=Uv,qv={icon:xi("block-form-field-date",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:r,default:i}=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,Ke.createElement)(us.TextControl,{type:"date",label:(0,vs.__)("Default","ghostkit"),value:i,onChange:e=>n({default:e}),max:r,min:o}),l=(0,ds.useBlockProps)({className:s});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:a})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Date Settings","ghostkit")},(0,Ke.createElement)(us.TextControl,{type:"date",label:(0,vs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),max:r}),(0,Ke.createElement)(us.TextControl,{type:"date",label:(0,vs.__)("Max","ghostkit"),value:r,onChange:e=>n({max:e}),min:o}))),(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"date",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},Kv=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:Yv}=Kv,Zv={icon:xi("block-form-field-email",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,emailConfirmation:r,descriptionConfirmation:i,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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Email Confirmation","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Yes","ghostkit"),checked:r,onChange:()=>{n(r?{emailConfirmation:!r}:{emailConfirmation:!r,description:o||(0,vs.__)("Email","ghostkit"),descriptionConfirmation:i||(0,vs.__)("Confirm Email","ghostkit")})}}),r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderConfirmation:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Default","ghostkit"),value:a,onChange:e=>n({defaultConfirmation:e})})):null)),(0,Ke.createElement)("div",{...c},(0,Ke.createElement)(jv,{...e}),r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-row"},(0,Ke.createElement)("div",{className:"ghostkit-form-field-email-primary"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})),(0,Ke.createElement)("div",{className:"ghostkit-form-field-email-confirm"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv({slug:t.slug?`${t.slug}-confirmation`:null,placeholder:t.placeholderConfirmation,default:t.defaultConfirmation,required:t.required})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:i,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionConfirmation:e})}))):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e}))))},save:function(){return null}},Jv=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:Xv}=Jv,Qv={icon:xi("block-form-field-hidden",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=e;let{className:r=""}=e;r=cs()("ghostkit-form-field ghostkit-form-field-hidden",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const i=(0,ds.useBlockProps)({className:r});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Value","ghostkit"),value:o,onChange:e=>n({default:e})}))),(0,Ke.createElement)("div",{...i},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"text",...Fv(t)})))},save:function(){return null}},eb=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:tb}=eb,nb={icon:xi("block-form-field-name",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{description:o,nameFields:r,descriptionLast:i,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"===r||"first-last"===r?"ghostkit-form-field-name-with-last":"","first-middle-last"===r?"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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Name Fields","ghostkit")},(0,Ke.createElement)(us.SelectControl,{options:[{label:"First",value:"first"},{label:"First Last",value:"first-last"},{label:"First Middle Last",value:"first-middle-last"}],value:r,onChange:e=>{n("first-last"===e?{nameFields:e,description:o||(0,vs.__)("First","ghostkit"),descriptionLast:i||(0,vs.__)("Last","ghostkit")}:"first-middle-last"===e?{nameFields:e,description:o||(0,vs.__)("First","ghostkit"),descriptionLast:i||(0,vs.__)("Last","ghostkit"),descriptionMiddle:l||(0,vs.__)("Middle","ghostkit")}:{nameFields:e})}}),"first-middle-last"===r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Middle Placeholder","ghostkit"),value:c,onChange:e=>n({placeholderMiddle:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Middle Default","ghostkit"),value:u,onChange:e=>n({defaultMiddle:e})})):null,"first-middle-last"===r||"first-last"===r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Last Placeholder","ghostkit"),value:s,onChange:e=>n({placeholderLast:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Last Default","ghostkit"),value:a,onChange:e=>n({defaultLast:e})})):null)),(0,Ke.createElement)("div",{...d},(0,Ke.createElement)(jv,{...e}),"first-middle-last"===r||"first-last"===r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-row"},(0,Ke.createElement)("div",{className:"ghostkit-form-field-name-first"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})),"first-middle-last"===r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-name-middle"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv({slug:t.slug?`${t.slug}-middle`:null,placeholder:t.placeholderMiddle,default:t.defaultMiddle,required:t.required})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:l,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionMiddle:e})})):null,"first-middle-last"===r||"first-last"===r?(0,Ke.createElement)("div",{className:"ghostkit-form-field-name-last"},(0,Ke.createElement)(us.TextControl,{type:"email",...Fv({slug:t.slug?`${t.slug}-last`:null,placeholder:t.placeholderLast,default:t.defaultLast,required:t.required})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"small",className:"ghostkit-form-field-description",value:i,placeholder:(0,vs.__)("Write description…","ghostkit"),onChange:e=>n({descriptionLast:e})})):null):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{type:"email",...Fv(t)}),(0,Ke.createElement)(Bv,{...e}))))},save:function(){return null}},ob=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}=ob,ib={icon:xi("block-form-field-number",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{min:o,max:r,step:i,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,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Default","ghostkit"),value:s,onChange:e=>n({default:e}),step:i,max:r,min:o}),c=(0,ds.useBlockProps)({className:a});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:l})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Number Settings","ghostkit")},(0,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Min","ghostkit"),value:o,onChange:e=>n({min:e}),step:i,max:r}),(0,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Max","ghostkit"),value:r,onChange:e=>n({max:e}),step:i,min:o}),(0,Ke.createElement)(us.TextControl,{type:"number",label:(0,vs.__)("Step","ghostkit"),value:i,onChange:e=>n({step:e})}))),(0,Ke.createElement)("div",{...c},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"number",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},sb=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:ab}=sb,lb={icon:xi("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e}))),(0,Ke.createElement)("div",{...o},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"tel",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},cb=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:ub}=cb,hb={icon:xi("block-form-field-radio",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{slug:r,inline:i}=t;let{options:s}=t,{className:a=""}=e;a=cs()("ghostkit-form-field ghostkit-form-field-radio",i&&"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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Inline","ghostkit"),checked:i,onChange:()=>n({inline:!i})}))),(0,Ke.createElement)("div",{...c},(0,Ke.createElement)(jv,{...e}),o?(0,Ke.createElement)(Hv,{options:s,onChange:e=>n({options:e})}):(0,Ke.createElement)("div",{className:"ghostkit-form-field-radio-items"},s.map(((e,n)=>{const o=`${r}-item-${n}`;return(0,Ke.createElement)("label",{key:o,htmlFor:o,className:"ghostkit-form-field-radio-item"},(0,Ke.createElement)("input",{type:"radio",checked:l===e.value,onChange:()=>{},...Fv(t)}),e.label)}))),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},db=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:pb}=db,gb={icon:xi("block-form-field-select",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{multiple:r}=t;let{options:i}=t,{className:s=""}=e;s=cs()("ghostkit-form-field ghostkit-form-field-select",s),s=(0,os.applyFilters)("ghostkit.editor.className",s,e),i&&i.length||(i=[{label:"",value:"",selected:!1}]);let a=r?[]:"";i.forEach((e=>{r&&e.selected?a.push(e.value):r||a||!e.selected||(a=e.value)}));const l=(0,ds.useBlockProps)({className:s});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:" ",placeholderCustom:" "}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Multiple","ghostkit"),checked:r,onChange:()=>{if(r){const e=[...i];let t=!1;e.forEach(((n,o)=>{n.selected&&(t&&(e[o].selected=!1),t=!0)})),n({multiple:!r,options:e})}else n({multiple:!r})}}))),(0,Ke.createElement)("div",{...l},(0,Ke.createElement)(jv,{...e}),o?(0,Ke.createElement)(Hv,{options:i,multiple:r,onChange:e=>n({options:e})}):(0,Ke.createElement)(us.SelectControl,{...Fv(t),value:a,options:(()=>{if(!r){let e=!0;if(Object.keys(i).forEach((t=>{t.selected&&(e=!1)})),e)return[{label:(0,vs.__)("--- Select ---","ghostkit"),value:"",selected:!0},...i]}return i})()}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},fb=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 mb(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,...mb(e)])})),t}const{name:vb}=fb,{name:bb}=fb,yb={icon:xi("block-buttons",!0),edit:function(e){const{attributes:t,setAttributes:n,clientId:o}=e;let{className:r=""}=e;const{align:i}=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=Sv(200,function(){(mb(a)||[]).forEach((e=>{e.attributes.tagName&&"button"===e.attributes.tagName||s(e.clientId,{tagName:"button"})}))}.bind(this));(0,ms.useEffect)((()=>{l()})),r=cs()("ghostkit-form-submit-button",!(!i||"none"===i)&&`ghostkit-form-submit-button-align-${i}`,r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const c=(0,ds.useBlockProps)({className:r}),u=(0,ds.useInnerBlocksProps)(c,{template:[["ghostkit/button-single",{text:(0,vs.__)("Submit","ghostkit"),tagName:"button",focusOutlineWeight:2}]],allowedBlocks:["ghostkit/button-single"],templateLock:"all"});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"]})),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Align","ghostkit"),label:(0,vs.__)("Align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(ds.BlockAlignmentToolbar,{value:i,onChange:e=>n({align:e}),controls:["left","center","right"],isCollapsed:!1}))))),(0,Ke.createElement)("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:vb,...e});const o=ds.useBlockProps.save({className:n}),r=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...r})}},wb=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:kb}=wb,_b={icon:xi("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e}))),(0,Ke.createElement)("div",{...o},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{...Fv(t)}),(0,Ke.createElement)(Bv,{...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:xb}=Cb,Sb={icon:xi("block-form-field-textarea",!0),edit:function(e){const{attributes:t,setAttributes:n}=e,{default:o}=t;let{className:r=""}=e;r=cs()("ghostkit-form-field ghostkit-form-field-textarea",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const i=(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Default","ghostkit"),value:o,onChange:e=>n({default:e})}),s=(0,ds.useBlockProps)({className:r});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e,defaultCustom:i}))),(0,Ke.createElement)("div",{...s},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextareaControl,{...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},Eb=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:Ab}=Eb,Tb={icon:xi("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(zv,{...e}))),(0,Ke.createElement)("div",{...o},(0,Ke.createElement)(jv,{...e}),(0,Ke.createElement)(us.TextControl,{type:"url",...Fv(t)}),(0,Ke.createElement)(Bv,{...e})))},save:function(){return null}},$b=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"}}}'),Mb={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Rb;const Ob=new Uint8Array(16);function Lb(){if(!Rb&&(Rb="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Rb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Rb(Ob)}const Ib=[];for(let e=0;e<256;++e)Ib.push((e+256).toString(16).slice(1));const Pb=function(e,t,n){if(Mb.randomUUID&&!t&&!e)return Mb.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 Nb={ENABLED:"undefined"!=typeof window&&"undefined"!=typeof location&&-1!==location.search.indexOf("giphy-debug"),LEVEL:0,PREFIX:"GiphyJS",debug:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=0&&console.debug(Nb.PREFIX,...e)},info:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=1&&console.info(Nb.PREFIX,...e)},warn:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=2&&console.warn(Nb.PREFIX,...e)},error:(...e)=>{Nb.ENABLED&&Nb.LEVEL<=3&&console.error(Nb.PREFIX,...e)}},Db="",Fb=()=>{if(!Db){try{Db=sessionStorage.getItem("giphyPingbackId")}catch(e){}if(!Db){const e=(new Date).getTime().toString(16);try{Db=`${e}${Pb().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 Bb,jb,Hb,Wb=()=>zb._GIPHY_SDK_HEADERS_,Vb=(e,t)=>{var n;return null==(n=Wb())?void 0:n.set(e,t)},Ub=Object.defineProperty,Gb=Object.defineProperties,qb=Object.getOwnPropertyDescriptors,Kb=Object.getOwnPropertyNames,Yb=Object.getOwnPropertySymbols,Zb=Object.prototype.hasOwnProperty,Jb=Object.prototype.propertyIsEnumerable,Xb=(e,t,n)=>t in e?Ub(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qb=(e,t)=>{for(var n in t||(t={}))Zb.call(t,n)&&Xb(e,n,t[n]);if(Yb)for(var n of Yb(t))Jb.call(t,n)&&Xb(e,n,t[n]);return e},ey=(e,t)=>Gb(e,qb(t)),ty=(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')})),ny=(Bb={"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.3.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":"*",qs:"^6.9.4"},devDependencies:{"@types/qs":"^6.9.4","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 jb||(0,Bb[Kb(Bb)[0]])((jb={exports:{}}).exports,jb),jb.exports}),oy=["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"],iy=e=>t=>e[t]=!!e[t],sy=e=>"string"==typeof e?e:e.text,ay=e=>{const t=Qb({},e);t.id=String(t.id),t.tags=(t.tags||[]).map(sy),oy.forEach(iy(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=Qb({},n);ry.forEach(iy(e)),t.user=e}return t},ly=e=>(e.data=ay(e.data),e),cy=e=>(e.data=e.data.map((e=>ay(e))),e),uy=(("undefined"!=typeof window?window:global)||{}).GIPHY_API_URL||"https://api.giphy.com/v1/",hy=class extends Error{constructor(e,t,n=0,o=""){super(e),this.url=t,this.status=n,this.statusText=o}},dy=e=>e,py={},gy=function(e,t={}){const{apiVersion:n=1,noCache:o=!1,normalizer:r=dy}=t,i=uy.replace(/\/v\d+\/$/,`/v${n}/`);if((()=>{const e=Date.now();Object.keys(py).forEach((t=>{const n=py[t].isError?6e3:6e4;e-py[t].ts>=n&&delete py[t]}))})(),!py[e]||o){const t=`${i}${e}`,n=()=>{return n=this,o=null,i=function*(){var n;let o;try{const i=yield fetch(t,{method:"get"});if(i.ok){const e=yield i.json();if(null==(n=e.meta)?void 0:n.response_id)return r(e);throw{message:"synthetic response"}}{let n="Error fetching";try{const e=yield i.json();e.message&&(n=e.message)}catch(e){}py[e]&&(py[e].isError=!0),o=new hy(`@giphy/js-fetch-api: ${n}`,t,i.status,i.statusText)}}catch(n){o=new hy(n.message,t),py[e]&&(py[e].isError=!0)}throw o},new Promise(((e,t)=>{var r=e=>{try{a(i.next(e))}catch(e){t(e)}},s=e=>{try{a(i.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((i=i.apply(n,o)).next())}));var n,o,i};py[e]={request:n(),ts:Date.now()}}return py[e].request},fy=e=>e&&e.type?e.type:"gifs";if(void 0!==ty){const{version:e}=ny();(null==(Hb=Wb())?void 0:Hb.get("X-GIPHY-SDK-NAME"))||(Vb("X-GIPHY-SDK-NAME","FetchAPI"),Vb("X-GIPHY-SDK-VERSION",e))}const my=new class{constructor(e,t={}){this.getQS=(e={})=>Vg.stringify(Qb(ey(Qb({},e),{api_key:this.apiKey,pingback_id:Fb()}),this.qsParams)),this.apiKey=e,this.qsParams=t}categories(e){return gy(`gifs/categories?${this.getQS(e)}`)}gif(e,t){const n=(null==t?void 0:t.internal)?"internal/":"";return gy(`${n}gifs/${e}?${this.getQS()}`,{normalizer:ly})}gifs(e,t){return Array.isArray(e)?gy(`gifs?${this.getQS({ids:e.join(",")})}`,{normalizer:cy}):gy(`gifs/categories/${e}/${t}?${this.getQS()}`,{normalizer:cy})}emoji(e){return gy(`emoji?${this.getQS(e)}`,{normalizer:cy})}emojiDefaultVariations(e){return gy(`emoji?${this.getQS(e)}`,{apiVersion:2,normalizer:cy})}emojiVariations(e){return gy(`emoji/${e}/variations?${this.getQS()}`,{apiVersion:2,normalizer:cy})}animate(e,t={}){const n=this.getQS(ey(Qb({},t),{m:e}));return gy(`text/animate?${n}`,{normalizer:cy})}search(e,t={}){const n=t.channel?`@${t.channel} ${e}`:e;let o;"text"===t.type&&(o=!0);const r=this.getQS(ey(Qb({rating:"pg-13"},t),{q:n,excludeDynamicResults:o}));return gy(`${fy(t)}/search?${r}`,{normalizer:cy})}subcategories(e,t){return gy(`gifs/categories/${e}?${this.getQS(t)}`)}trending(e={}){return gy(`${fy(e)}/trending?${this.getQS(Qb({rating:"pg-13"},e))}`,{normalizer:cy})}random(e){return gy(`${fy(e)}/random?${this.getQS(Qb({rating:"pg-13"},e))}`,{noCache:!0,normalizer:ly})}related(e,t={}){const{type:n="gifs"}=t;return gy(`${n}/related?${this.getQS(Qb({gif_id:e,rating:"pg-13"},t))}`,{normalizer:cy})}channels(e,t={}){return gy(`channels/search?${this.getQS(Qb({q:e,rating:"pg-13"},t))}`)}}("Qm6AupESs2abqy7fSeHNQ892EWSS28r8");function vy(e,t){const n=e.split(t);return n[n.length-1]}const{name:by}=$b,yy={icon:xi("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:r}=e;const{caption:i,url:s,srcset:a,alt:l,width:c,height:u,searchText:h}=t,[d,p]=(0,ms.useState)(null),[g,f]=(0,ms.useState)(!1);function m(e){e.preventDefault(),function(){f(!0);const e=function(){let e=null;-1!==h.indexOf("//giphy.com/gifs")&&(e=vy(vy(h,"/"),"-")),-1!==h.indexOf("//i.giphy.com")&&(e=vy(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?my.gifs([e.id]):my.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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("form",{className:"ghostkit-gif-input-container",onSubmit:m},(0,Ke.createElement)(us.TextControl,{className:"ghostkit-gif-input",placeholder:(0,vs.__)("Enter search terms, e.g. cat…","ghostkit"),onChange:e=>o({searchText:e}),value:h}),(0,Ke.createElement)(us.Button,{isSecondary:!0,onClick:e=>{m(e)}},(0,vs.__)("Search","ghostkit"))),g&&(0,Ke.createElement)(us.Spinner,null),!g&&d&&d.length>1&&(0,Ke.createElement)("div",{className:"ghostkit-gif-thumbnails-container"},d.map((e=>{const t={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,Ke.createElement)("button",{className:"ghostkit-gif-thumbnail-container",key:e.id,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}," ")}))));r=cs()("ghostkit-gif",r);const b=(0,ds.useBlockProps)({className:r});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{className:"components-panel__body-gif-branding"},(0,Ke.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},(0,Ke.createElement)("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,Ke.createElement)("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,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Image settings","ghostkit")},v,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:l,onChange:e=>o({alt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null),(0,Ke.createElement)("figure",{...b},s?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("img",{src:s,srcSet:a,alt:l,width:c,height:u}),(!ds.RichText.isEmpty(i)||n)&&!!s&&(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-gif-caption",onChange:e=>o({caption:e}),placeholder:(0,vs.__)("Write caption…","jetpack"),tagName:"figcaption",value:i})):(0,Ke.createElement)(us.Placeholder,{className:"ghostkit-gif-placeholder",icon:xi("block-gif"),label:(0,vs.__)("GIF","ghostkit"),instructions:(0,vs.__)("Search for a term or paste a Giphy URL","ghostkit")},v)))},save:function(e){const{url:t,srcset:n,alt:o,width:r,height:i,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:r,height:i}),ds.RichText.isEmpty(s)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-gif-caption",tagName:"figcaption",value:s}))}},wy=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 ky(e,t,n,o=(()=>{})){const{currentDoc:r}=function(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}(n),i=r.getElementsByTagName("head")[0],s=document.getElementById(t);if(s)if(r.getElementById(t))o();else{if("js"===e){const e=r.createElement("script");e.id=t,e.type="text/javascript",e.src=s.src,e.onload=o,i.appendChild(e)}if("css"===e){const e=r.createElement("link");e.id=t,e.rel="stylesheet",e.href=s.href,i.appendChild(e)}}}const _y=window.jQuery;var Cy=n.n(_y);const xy={};function Sy(e){const{url:t,label:n,value:o,onChange:r,isToolbar:i,className:s}=e,[a,l]=(0,ms.useState)([""]);function c(e){a.toString()!==e.toString()&&l(e)}return(0,ms.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(xy[e])return xy[e].then((e=>{c([""].concat(e.files))}),(()=>{c([""])})),!1;xy[e]=Cy().Deferred()},success(t){xy[e]&&xy[e].resolve(t),c([""].concat(t.files))},error(){c([""])}}))})),i?(0,Ke.createElement)(us.DropdownMenu,{icon:"media-default",label:n,controls:a.map((e=>({title:e||(0,vs.__)("Show all files","ghostkit"),isActive:e===o,onClick:()=>r(e)}))),className:s}):(0,Ke.createElement)(us.SelectControl,{label:n,value:o,options:a.map((e=>({value:e,label:e||(0,vs.__)("Show all files","ghostkit")}))),onChange:r,className:s})}const{gistSimple:Ey}=window,{name:Ay}=wy,Ty={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,cm.createBlock)("ghostkit/gist",{url:e.textContent.trim()})}]},{name:$y}=wy,My={icon:xi("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:Ty,edit:function(e){const{attributes:t,setAttributes:n}=e,{url:o,file:r,caption:i,showFooter:s,showLineNumbers:a}=t,[l,c]=(0,ms.useState)(t.url),u=(0,ms.useRef)(),h=(0,ms.useRef)(),d=(0,ms.useRef)();let{className:p=""}=e;function g(e,t=1e3){c(e),clearTimeout(d.current),d.current=setTimeout((()=>{n({url:e})}),t)}(0,ms.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===Ey)return void console.warn((0,vs.__)("Gist Simple plugin is not defined.","ghostkit"));const t=e+r+i+(s?1:0)+(a?1:0);t!==h?.current&&(h.current=t,setTimeout((()=>{u.current.GistSimple&&u.current.GistSimple.destroy(),Ey(u.current,{id:e,file:r,caption:i,showFooter:s,showLineNumbers:a})}),0))}()})),(0,ms.useEffect)((()=>{u?.current&&ky("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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("URL","ghostkit"),type:"url",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)}}),(0,Ke.createElement)(Sy,{label:(0,vs.__)("File","ghostkit"),url:o,value:r,onChange:e=>n({file:e})})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Caption","ghostkit"),value:i,onChange:e=>n({caption:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show footer","ghostkit"),checked:!!s,onChange:e=>n({showFooter:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show line numbers","ghostkit"),checked:!!a,onChange:e=>n({showLineNumbers:e})}))),(0,Ke.createElement)("div",{...f},o?null:(0,Ke.createElement)(us.Placeholder,{icon:xi("block-gist"),label:(0,vs.__)("Gist URL","ghostkit"),className:p},(0,Ke.createElement)(us.TextControl,{placeholder:"https://gist.github.com/...",value:l,onChange:e=>g(e),onKeyDown:e=>{13===e.keyCode&&g(l,0)}}),(0,Ke.createElement)(us.ExternalLink,{href:"https://gist.github.com/"},(0,vs.__)("Visit GitHub Gist Site","ghostkit"))),o?(0,Ke.createElement)("div",{ref:u,className:p,"data-url":o,"data-file":r,"data-caption":i,"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:r,showLineNumbers:i}=e.attributes;let s="ghostkit-gist";s=(0,os.applyFilters)("ghostkit.blocks.className",s,{name:Ay,...e});const a=ds.useBlockProps.save({className:s,"data-url":t,"data-file":n,"data-caption":o,"data-show-footer":r?"true":"false","data-show-line-numbers":i?"true":"false"});return(0,Ke.createElement)("div",{...a})}},Ry=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${r}
    `),i&&(e+=i),p=new window.google.maps.InfoWindow({content:e}),d.addListener("click",(()=>{p.open(t,d)}))}return{marker:d,infoWindow:p}}function Hy(e){const{apiUrl:t,options:n,markers:o,onChangeMarkers:r}=e,[i,s]=(0,ms.useState)(null),a=(0,ms.useRef)(null),l=(0,ms.useRef)(null);return(0,ms.useEffect)((()=>{a.current&&(i?i.setOptions(n):function(e,t,n){const{markers:o,apiUrl:r=`${By}&key=${zy}`,onZoomChange:i,onCenterChange:s,...a}=t;Dy()(r,(()=>{Fy.trigger(e,"prepare.googleMaps.gkt",{options:t});const r=new window.google.maps.Map(e,a),l=e.getAttribute("data-gesture-handling");r&&"cooperative"===l&&r.setOptions({gestureHandling:l,scrollwheel:t.scrollwheel?null:t.scrollwheel}),o&&o.length&&o.forEach((e=>{jy({map:r,lat:e.lat,lng:e.lng,title:e.title,description:e.infoWindowText,iconURL:e.iconUrl,iconWidth:e.iconWidth,iconHeight:e.iconHeight})})),i&&r.addListener("zoom_changed",(()=>{i(r.getZoom())})),s&&r.addListener("center_changed",(()=>{s(r.getCenter())})),Fy.trigger(e,"prepared.googleMaps.gkt",{options:t,instance:r}),n&&n(r)}))}(a.current,{apiUrl:t,...n},(e=>{s(e)})))}),[t,i,n]),(0,ms.useEffect)((()=>{i&&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}=jy({map:i,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(),i=e.latLng.lng(),s=Object.assign([],o);s[t].lat=n,s[t].lng=i,r(s)}))})))}),[t,i,n,o,r]),(0,Ke.createElement)("div",{ref:a,className:"ghostkit-google-maps-wrap",style:{minHeight:"100%"}})}const Wy=n.p+"images/style-bright.b03a3ba1.png",Vy=n.p+"images/style-custom.69181fd3.png",Uy=n.p+"images/style-dark.9fb1c8ca.png",Gy=n.p+"images/style-default.d929fa91.png",qy=n.p+"images/style-light.49c19432.png",Ky=n.p+"images/style-pale-dawn.2dd7ae39.png",Yy=[{value:"default",label:(0,vs.__)("Default","ghostkit"),image:Gy,json:[]},{value:"bright",label:(0,vs.__)("Bright","ghostkit"),image:Wy,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,vs.__)("Light","ghostkit"),image:qy,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,vs.__)("Dark","ghostkit"),image:Uy,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,vs.__)("Pale Dawn","ghostkit"),image:Ky,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,vs.__)("Custom","ghostkit"),image:Vy}];function Zy(e){const{label:t,placeholder:n,className:o,onChange:r}=e,i=(0,ms.useRef)(null),[s,a]=(0,ms.useState)("");return(0,ms.useEffect)((()=>{if(!i?.current||!window?.google?.maps?.places)return;const e=new window.google.maps.places.SearchBox(i.current);e.addListener("places_changed",(()=>{const t=e.getPlaces();r&&(r(t),t&&t[0]&&a(t[0].formatted_address))}))}),[i,r]),(0,Ke.createElement)("div",{className:o},(0,Ke.createElement)(us.TextControl,{ref:i,label:t,placeholder:n,value:s,onChange:e=>{a(e)}}))}const{GHOSTKIT:Jy}=window,Xy=`${Jy.googleMapsAPIUrl}&libraries=geometry,drawing,places`;let Qy=!1;function ew(e){let t=[];try{t=JSON.parse(gt(e))}catch(e){return[]}return t}function tw(e){const{googleMapURL:t,title:n,address:o,addresses:r,lat:i,lng:s,iconImageURL:a,iconImageCustomWidth:l,infoWindowText:c,onChange:u}=e,h=a?(0,Ke.createElement)("img",{src:a,width:l,alt:""}):(0,Ke.createElement)("img",{src:"https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi3_hdpi.png",width:"27",alt:""});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Title","ghostkit"),value:n,onChange:e=>{u({title:e})}}),(0,Ke.createElement)(Zy,{googleMapURL:t,label:(0,vs.__)("Address","ghostkit"),value:o||r[i+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,Ke.createElement)("div",{className:"ghostkit-google-maps-marker-options-content-icon"},h,(0,Ke.createElement)(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,Ke.createElement)(us.Button,{variant:"secondary",onClick:e},(0,vs.__)("Change Icon","ghostkit"))})),l?(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Button,{className:"ghostkit-google-maps-icon-reset",isSmall:!0,onClick:()=>{u({iconImageID:"",iconImageURL:"",iconImageCustomWidth:"",iconImageWidth:"",iconImageHeight:""})}},(0,vs.__)("Reset Icon to Default","ghostkit"))):null,l?(0,Ke.createElement)("div",null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Marker Width","ghostkit"),value:l,onChange:e=>u({iconImageCustomWidth:e}),min:10,max:100})):null,(0,Ke.createElement)(us.BaseControl,{label:(0,vs.__)("Info Window Text","ghostkit"),className:"ghostkit-google-maps-marker-options-content-info-window-text",id:"ghostkit-google-maps-marker-content-info-window-text"},(0,Ke.createElement)(ds.RichText,{value:c,multiline:!0,placeholder:(0,vs.__)("Write text…","ghostkit"),onChange:e=>{u({infoWindowText:e})},onRemove:()=>{u({infoWindowText:""})}})))}const{name:nw}=Ry,{name:ow}=Ry,rw={icon:xi("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:r}=e;let{className:i=""}=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,ms.useState)(t.apiKey),[C,x]=(0,ms.useState)(Jy.googleMapsAPIKey),[S,E]=(0,ms.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,ms.useEffect)((()=>{(Qy||window.google&&window.google.maps&&window.google.maps.Geocoder)&&(Qy=new window.google.maps.Geocoder),Qy&&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]):Qy.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=Ev(600,(e=>{Jy.googleMapsAPIKey=e,_(e)})),$=Ev(3e3,(e=>{Hg()({path:"/ghostkit/v1/update_google_maps_api_key",method:"POST",data:{key:e}})}));function M(){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(tp,{value:gt(y),options:Yy,onChange:e=>{let t=w;"default"===e?t="":"custom"!==e&&Yy.forEach((n=>{e===n.value&&(t=JSON.stringify(n.json))})),n({style:e,styleCustom:pt(t)})}}),"custom"===y?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextareaControl,{placeholder:(0,vs.__)("Enter Style JSON","ghostkit"),value:gt(w),onChange:e=>n({styleCustom:pt(e)})}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("You can use custom styles presets from the","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"https://snazzymaps.com/"},(0,vs.__)("Snazzy Maps","ghostkit")),"."))):null)}function R(){return(0,Ke.createElement)(Hy,{key:k+v.length,apiUrl:`${Xy}&key=${pt(C)}`,markers:v,onChangeMarkers:e=>{n({markers:e})},options:{styles:w?ew(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:Ev(500,(e=>n({zoom:e}))),onCenterChange:Ev(500,(e=>n({lat:e.lat(),lng:e.lng()})))}})}i=cs()("ghostkit-google-maps",i),b&&(i=cs()(i,"ghostkit-google-maps-fullheight")),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const O=(0,ds.useBlockProps)({className:i});return(0,Ke.createElement)(Ke.Fragment,null,C?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-fullheight"),title:(0,vs.__)("Full Height","ghostkit"),onClick:()=>n({fullHeight:!b}),isActive:b})),(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-marker"),title:(0,vs.__)("Add Marker","ghostkit"),onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})}}),(0,Ke.createElement)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,Ke.createElement)(us.Button,{label:(0,vs.__)("Style","ghostkit"),icon:xi("icon-map"),className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,Ke.createElement)("div",{style:{minWidth:260}},M())}))):null,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Styles","ghostkit")},M())),(0,Ke.createElement)(ds.InspectorControls,null,C?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:b?(0,vs.__)("Minimal Height","ghostkit"):(0,vs.__)("Height","ghostkit"),value:s,onChange:e=>n({height:e}),min:100,max:800,allowCustomMin:!0,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Zoom","ghostkit"),value:a,onChange:e=>n({zoom:e}),min:1,max:18,allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Markers","ghostkit")},v&&v.length>0?(0,Ke.createElement)("ul",{className:"ghostkit-google-maps-markers"},v.map(((e,t)=>(0,Ke.createElement)(ws,{key:t,label:e.title||(0,vs.__)("Marker","ghostkit"),contentClassName:"ghostkit-component-google-maps-markers"},(0,Ke.createElement)(tw,{index:t,googleMapURL:`${Xy}&key=${pt(C)}`,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,Ke.createElement)(us.Button,{onClick:()=>{const e=Object.assign([],v);e.splice(t,1),n({markers:e})},className:"ghostkit-google-maps-marker-remove"},(0,vs.__)("Remove Marker","ghostkit")))))):null,(0,Ke.createElement)(us.Button,{isSecondary:!0,onClick:()=>{n({markers:[...v,{lat:l,lng:c}]})}},(0,vs.__)("+ Add Marker","ghostkit"))),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Options","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Zoom Buttons","ghostkit"),checked:!!u,onChange:e=>n({showZoomButtons:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Map Type Buttons","ghostkit"),checked:!!h,onChange:e=>n({showMapTypeButtons:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Street View Button","ghostkit"),checked:!!d,onChange:e=>n({showStreetViewButton:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Fullscreen Button","ghostkit"),checked:!!p,onChange:e=>n({showFullscreenButton:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Scroll Wheel","ghostkit"),checked:!!g,onChange:e=>n({optionScrollWheel:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Draggable","ghostkit"),checked:!!f,onChange:e=>n({optionDraggable:e})}),g||f?(0,Ke.createElement)(us.ToggleControl,{label:g&&f?(0,vs.__)("Better Scroll & Draggable","ghostkit"):g?(0,vs.__)("Better Scroll","ghostkit"):f?(0,vs.__)("Better Draggable","ghostkit"):"",help:g&&f?(0,vs.__)("Scroll with pressed Ctrl or ⌘ key to zoom. Draggable with two fingers.","ghostkit"):g?(0,vs.__)("Scroll with pressed Ctrl or ⌘ key to zoom.","ghostkit"):f?(0,vs.__)("Draggable with two fingers.","ghostkit"):"",checked:"cooperative"===m,onChange:()=>{n({gestureHandling:"greedy"===m?"cooperative":"greedy"})}}):null)):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("API Key","ghostkit"),initialOpen:!C},(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Enter API Key","ghostkit"),value:C,onChange:e=>{x(e),T(e),$(e)}}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("A valid API key is required to use Google Maps. How to get API key","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,vs.__)("read here","ghostkit")),".")),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("This key will be used in all Google Maps blocks on your site.","ghostkit"))))),(0,Ke.createElement)("div",{...O},C?(0,Ke.createElement)(Ke.Fragment,null,b?R():(0,Ke.createElement)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:s},style:{minHeight:s},minHeight:"100",enable:{bottom:!0},onResizeStart:()=>{r(!1)},onResizeStop:(e,t,o,i)=>{n({height:parseInt(s+i.height,10)}),r(!0)}},R()),o?(0,Ke.createElement)("div",{className:"ghostkit-google-maps-search"},(0,Ke.createElement)(Zy,{googleMapURL:`${Xy}&key=${pt(C)}`,label:(0,vs.__)("Center Map","ghostkit"),placeholder:(0,vs.__)("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,Ke.createElement)("div",{className:"ghostkit-google-maps-search-note"},(0,Ke.createElement)("p",null,(0,Ke.createElement)("small",null,(0,vs.__)("You can also drag the map to change the center coordinates.","ghostkit"))))):null):(0,Ke.createElement)("div",{className:"ghostkit-google-maps-placeholder",style:{minHeight:s}},(0,Ke.createElement)(Py,null),(0,Ke.createElement)("div",{className:"ghostkit-google-maps-placeholder-key"},(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,(0,vs.__)("Google Maps API Key Required","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("small",null,(0,vs.__)("Add an API key in block settings.","ghostkit")))))))},save:function(e){const{height:t,zoom:n,lat:o,lng:r,showZoomButtons:i,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:nw,...e});const m={className:f,style:{minHeight:t},"data-lat":o,"data-lng":r,"data-zoom":n,"data-show-zoom-buttons":i?"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 r=`marker-${t}`;return(0,Ke.createElement)("div",{key:r,className:"ghostkit-google-maps-marker",...o})})):"")}},iw={};function sw(e){if(iw[e])return iw[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}))}>`)),iw[e]=t,t}function aw(e){const{attributes:t,setAttributes:n}=e,{awb_color:o,awb_type:r,awb_image:i,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(!i)return!1;const t={id:i,size:l,attr:{class:"jarallax-img"}};return"pattern"===c&&(t.div_tag=!0),{fetchedImageTag:e("ghostkit/base/images").getImageTagData(t)}}));return(0,ms.useEffect)((()=>{d&&pt(d)!==s&&h({imageTag:pt(d)})})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Background","ghostkit"),initialOpen:!1},(0,Ke.createElement)(ag,{value:"video"===r||"yt_vm_video"===r?"yt_vm_video":r,options:[{label:(0,vs.__)("Color","ghostkit"),value:"color"},{label:(0,vs.__)("Image","ghostkit"),value:"image"},{label:(0,vs.__)("Video","ghostkit"),value:"yt_vm_video"}],onChange:e=>{h({type:e})}}),"image"===r?(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Image","ghostkit"),initialOpen:"image"===r},i&&s?null:(0,Ke.createElement)(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:i,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select image","ghostkit"))}),i&&s?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(Ss,{value:u,image:sw(s),onChange:e=>h({imageBackgroundPosition:e})}),a?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("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})}):null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Background size","ghostkit"),value:c,options:[{label:(0,vs.__)("Cover","ghostkit"),value:"cover"},{label:(0,vs.__)("Contain","ghostkit"),value:"contain"},{label:(0,vs.__)("Pattern","ghostkit"),value:"pattern"}],onChange:e=>h({imageBackgroundSize:e})}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{h({image:"",imageTag:"",imageSizes:""}),e.preventDefault()}},(0,vs.__)("Remove image","ghostkit"))):null):null,"color"===r?(0,Ke.createElement)(gs,{label:(0,vs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0}):(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Overlay","ghostkit"),(0,Ke.createElement)(hs,{colorValue:o})),initialOpen:"color"===r},(0,Ke.createElement)(gs,{label:(0,vs.__)("Background Color","ghostkit"),value:o,onChange:e=>h({color:e}),alpha:!0})),(0,Ke.createElement)("p",null,(0,vs.__)("Install AWB plugin to set video backgrounds and images with parallax support.","ghostkit")),(0,Ke.createElement)(us.ExternalLink,{className:"components-button is-button is-secondary is-small",href:"https://wordpress.org/plugins/advanced-backgrounds/"},(0,vs.__)("Install","ghostkit")))}function lw(e,t){if((0,cm.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageTag:o}=t.attributes;let r=!1;return"color"===n&&e&&(r=!0),"image"===n&&(e||o)&&(r=!0),r?(0,Ke.createElement)("div",{className:"awb-gutenberg-preview-block"},e?(0,Ke.createElement)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&o?(0,Ke.createElement)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:sw(o)}}):null):null}return e}function cw(e,t){if((0,cm.hasBlockSupport)(t.name,"awb",!1)){const{awb_color:e,awb_type:n,awb_imageBackgroundSize:o,awb_imageBackgroundPosition:r}=t.attributes;let{awb_imageTag:i}=t.attributes,s=!1;if("color"===n&&e&&(s=!0),"image"===n&&(e||i)&&(s=!0),s){const t={"data-awb-type":n};return"image"===n&&(o&&(t["data-awb-image-background-size"]=o),r&&(t["data-awb-image-background-position"]=r)),"image"===n&&i&&(i=sw(i)),(0,Ke.createElement)("div",{className:"nk-awb"},(0,Ke.createElement)("div",{className:"nk-awb-wrap",...t},e?(0,Ke.createElement)("div",{className:"nk-awb-overlay",style:{"background-color":e}}):null,"image"===n&&i?(0,Ke.createElement)("div",{className:"nk-awb-inner",dangerouslySetInnerHTML:{__html:i}}):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,cm.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,cm.hasBlockSupport)(t.props.name,"awb",!1)?(0,Ke.createElement)(aw,{...t.props}):e})),(0,os.addFilter)("ghostkit.editor.grid.background","ghostkit/grid/awb/addEditorBackground",lw),(0,os.addFilter)("ghostkit.editor.grid-column.background","ghostkit/grid-column/awb/addEditorBackground",lw),(0,os.addFilter)("ghostkit.blocks.grid.background","ghostkit/grid/addSaveBackground",cw),(0,os.addFilter)("ghostkit.blocks.grid-column.background","ghostkit/grid-column/addSaveBackground",cw);const uw=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 hw(e){const{awb_image:t,awb_imageBackgroundSize:n,awb_imageBackgroundPosition:o}=e,r={"> .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&&(r["> .nk-awb .jarallax-img"]["object-fit"]=n),o&&(r["> .nk-awb .jarallax-img"]["object-position"]=o)):(n&&(r["> .nk-awb .jarallax-img"]["background-repeat"]="repeat"),n&&(r["> .nk-awb .jarallax-img"]["background-position"]=o))),r}const{name:dw}=uw,pw={from:[{type:"block",blocks:["core/columns"],transform:(e,t)=>(0,cm.createBlock)("ghostkit/grid",{columns:e.columns},t.map((e=>(0,cm.createBlock)("ghostkit/grid-column",{},e.innerBlocks))))}]},{name:gw}=uw,fw={icon:xi("block-grid",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/advanced-columns/",customStylesCallback(e){const{gap:t,gapCustom:n,gapVerticalCustom:o}=e,r={"--gkt-grid__gap":void 0,"--gkt-grid__gap-vertical":void 0,...hw(e)};if("custom"===t){if(void 0!==n&&""!==n){const e=n?"px":"%";r["--gkt-grid__gap"]=`${n}${e}`}if(void 0!==o&&""!==o){const e=o?"px":"%";r["--gkt-grid__gap-vertical"]=`${o}${e}`}}return r},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:r,gapCustom:i,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}let g=cs()("ghostkit-grid",`ghostkit-grid-gap-${r}`,!!a&&`ghostkit-grid-align-items-${a}`,!!l&&`ghostkit-grid-justify-content-${l}`);const f=(0,os.applyFilters)("ghostkit.editor.grid.background","",e);f&&(g=cs()(g,"ghostkit-grid-with-bg")),g=(0,os.applyFilters)("ghostkit.editor.className",g,e);const m=(0,ds.useBlockProps)({className:g}),{children:v,...b}=(0,ds.useInnerBlocksProps)(m,{allowedBlocks:["ghostkit/grid-column"],orientation:"horizontal",renderAppender:!1});return(0,Ke.createElement)("div",{...b},d>0?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-top"),title:(0,vs.__)("Content Vertical Start","ghostkit"),onClick:()=>o({verticalAlign:""}),isActive:""===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-center"),title:(0,vs.__)("Content Vertical Center","ghostkit"),onClick:()=>o({verticalAlign:"center"}),isActive:"center"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-bottom"),title:(0,vs.__)("Content Vertical End","ghostkit"),onClick:()=>o({verticalAlign:"end"}),isActive:"end"===a}))):null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"columns",props:e},(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("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,cm.createBlock)("ghostkit/grid-column",{size:3}));u(t,o,!1)}else if(e0?(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ag,{label:(0,vs.__)("Vertical alignment","ghostkit"),value:a,options:[{icon:xi("icon-vertical-top"),label:(0,vs.__)("Top","ghostkit"),value:""},{icon:xi("icon-vertical-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-vertical-bottom"),label:(0,vs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({verticalAlign:e})},isDeselectable:!0,isAdaptiveWidth:!0}),(0,Ke.createElement)(ag,{label:(0,vs.__)("Horizontal alignment","ghostkit"),value:l,options:[{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Start","ghostkit"),value:""},{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-horizontal-end"),label:(0,vs.__)("End","ghostkit"),value:"end"},{icon:xi("icon-horizontal-around"),label:(0,vs.__)("Around","ghostkit"),value:"around"},{icon:xi("icon-horizontal-between"),label:(0,vs.__)("Space Between","ghostkit"),value:"between"}],onChange:e=>{o({horizontalAlign:e})},isDeselectable:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:r,gapCustom:i,gapVerticalCustom:s,onChange:e=>{o(e)},allowVerticalGap:!0}))):null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)("div",{className:"ghostkit-background-controls"},(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"background",props:e}))),d>0?(0,Ke.createElement)(Ke.Fragment,null,f,(0,Ke.createElement)("div",{className:"ghostkit-grid-inner"},v)):(0,Ke.createElement)((function(){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,Ke.createElement)(us.Placeholder,{icon:xi("block-grid"),label:(0,vs.__)("Advanced Columns","ghostkit"),instructions:(0,vs.__)("Select one layout to get started.","ghostkit"),className:"ghostkit-select-layout"},(0,Ke.createElement)("div",{className:"ghostkit-grid-layout-preview"},n.map((e=>{const n=p(e);return(0,Ke.createElement)(us.Button,{key:`layout-${e}`,className:"ghostkit-grid-layout-preview-btn ghostkit-grid",onClick:()=>function(e){const n=p(e),o=[];n.forEach((e=>{o.push((0,cm.createBlock)("ghostkit/grid-column",e))})),u(t,o,!1)}(e)},n.map(((t,n)=>{const o=`layout-${e}-col-${n}`;return(0,Ke.createElement)("div",{key:o,className:cs()("ghostkit-col",`ghostkit-col-${t.size}`)})})))}))),o)}),null))},save:function(e){const{verticalAlign:t,horizontalAlign:n,gap:o}=e.attributes;let r=cs()("ghostkit-grid",`ghostkit-grid-gap-${o}`,!!t&&`ghostkit-grid-align-items-${t}`,!!n&&`ghostkit-grid-justify-content-${n}`);const i=(0,os.applyFilters)("ghostkit.blocks.grid.background","",{name:dw,...e});i&&(r=cs()(r,"ghostkit-grid-with-bg")),r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:dw,...e});const s=ds.useBlockProps.save({className:r}),{children:a,...l}=ds.useInnerBlocksProps.save(s);return(0,Ke.createElement)("div",{...l},i,(0,Ke.createElement)("div",{className:"ghostkit-grid-inner"},a))},transforms:pw},mw=(0,cg.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",mw);const vw=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 bw(e){const{attributes:t}=e;let n="ghostkit-col";return Object.keys(t).forEach((e=>{if(t[e]){let o=e.split("_")[0],r=e.split("_")[1];if(r||(r=o,o=""),r&&("size"===r||"order"===r||"verticalAlign"===r)){switch(o=o&&`-${o}`,r){case"size":r="";break;case"order":r=`-${r}`;break;case"verticalAlign":r="-align-self"}n=cs()(n,`ghostkit-col${r}${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 yw=function(){const e=[{label:(0,vs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,vs.__)("Auto","ghostkit"),value:"auto"},{label:(0,vs.__)("Grow","ghostkit"),value:"grow"}];for(let t=1;t<=12;t+=1)e.push({label:(0,vs.sprintf)(1===t?(0,vs.__)("%d Column (%s)","ghostkit"):(0,vs.__)("%d Columns (%s)","ghostkit"),t,Math.round(100*t/12*100)/100+"%"),value:t});return e},ww=function(e=12){const t=[{label:(0,vs.__)("Inherit from larger","ghostkit"),value:""},{label:(0,vs.__)("Auto","ghostkit"),value:"auto"},{label:(0,vs.__)("First","ghostkit"),value:"first"}];for(let n=1;n<=e;n+=1)t.push({label:n,value:n});return t.push({label:(0,vs.__)("Last","ghostkit"),value:"last"}),t},{name:kw}=vw,{name:_w}=vw,Cw={icon:xi("block-grid-column",!0),ghostkit:{customStylesCallback(e){const{stickyContent:t,stickyContentOffset:n}=e,o={"--gkt-grid--column-sticky__offset":void 0,...hw(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:r,stickyContentOffset:i}=n,{device:s}=Ji(),{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,bw(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,Ke.createElement)("div",{...c},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"columnSettings",props:e},(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Size","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!n[`${e}_size`]})),value:n[h],onChange:e=>{o({[h]:e})},options:yw()}),(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Order","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!n[`${e}_order`]})),value:n[d],onChange:e=>{o({[d]:e})},options:ww()}),(0,Ke.createElement)(ag,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Vertical Alignment","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!n[`${e}_verticalAlign`]})),value:n[p],options:[{icon:xi("icon-vertical-top"),label:(0,vs.__)("Top","ghostkit"),value:""},{icon:xi("icon-vertical-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-vertical-bottom"),label:(0,vs.__)("Bottom","ghostkit"),value:"end"}],onChange:e=>{o({[p]:e})},isDeselectable:!0}))),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ag,{label:(0,vs.__)("Sticky Content","ghostkit"),value:r,options:[{label:(0,vs.__)("Top","ghostkit"),value:"top"},{label:(0,vs.__)("Bottom","ghostkit"),value:"bottom"}],onChange:e=>{o({stickyContent:e})},isDeselectable:!0}),r?(0,Ke.createElement)(rg,{label:(0,vs.__)("Sticky Offset","ghostkit"),value:i,onChange:e=>o({stickyContentOffset:e}),allowCustomMax:!0}):null),(0,Ke.createElement)("div",{className:"ghostkit-background-controls"},(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"background",props:e}))),l,(0,Ke.createElement)("div",{...u}))},save:function(e){let t=bw(e);const n=(0,os.applyFilters)("ghostkit.blocks.grid-column.background","",{name:kw,...e});n&&(t=cs()(t,"ghostkit-col-with-bg"));const o=ds.useBlockProps.save({className:t}),r=ds.useInnerBlocksProps.save({className:"ghostkit-col-content"});return(0,Ke.createElement)("div",{...o},n,(0,Ke.createElement)("div",{...r}))}},xw=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 Sw(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{url:r,rel:i,ariaLabel:s,target:a}=t;return(0,Ke.createElement)(Ng,{url:r,rel:i,ariaLabel:s,target:a,onChange:e=>n(e),isSelected:o,toolbarSettings:!0,inspectorSettings:!0})}function Ew({attributes:e,setAttributes:t,isSelected:n}){const{justify:o,flipH:r,flipV:i}=e,s=xi("icon-horizontal-start"),a=xi("icon-horizontal-center"),l=xi("icon-horizontal-end"),c=[{title:(0,vs.__)("Justify Icon Start","ghostkit"),icon:s,isActive:"start"===o,onClick:()=>t({justify:"start"})},{title:(0,vs.__)("Justify Icon Center","ghostkit"),icon:a,isActive:"center"===o,onClick:()=>t({justify:"center"})},{title:(0,vs.__)("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,vs.__)("Justify Icon","ghostkit"),controls:c}))),(0,Ke.createElement)(Sw,{attributes:e,setAttributes:t,isSelected:n}),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-horizontal"),title:(0,vs.__)("Flip Horizontal","ghostkit"),onClick:()=>t({flipH:!r}),isActive:r}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-vertical"),title:(0,vs.__)("Flip Vertical","ghostkit"),onClick:()=>t({flipV:!i}),isActive:i}))))}function Aw(e){const{attributes:t,setAttributes:n,clientId:o}=e,{color:r,backgroundColor:i,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:r,label:(0,vs.__)("Icon","ghostkit"),onColorChange:e=>{n({color:e})},isShownByDefault:!0,resetAllFilter:()=>({color:void 0})},{colorValue:i,gradientValue:s,label:(0,vs.__)("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 Tw({attributes:e,setAttributes:t}){const{icon:n,width:o}=e;return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:n,onChange:e=>t({icon:e}),insideInspector:!0}),(0,Ke.createElement)(us.__experimentalUnitControl,{label:(0,vs.__)("Width","ghostkit"),placeholder:(0,vs.__)("Auto","ghostkit"),value:o,onChange:e=>t({width:e}),labelPosition:"edge",__unstableInputWidth:"70px",min:0})))}const{name:$w}=xw;function Mw({attributes:e}){const{icon:t,url:n,target:o,ariaLabel:r,rel:i}=e,s=n?"a":"div",a={};return"a"===s&&(a.href=n,a.target=o||null,a.rel=i||null,a.ariaLabel=r||null),(0,Ke.createElement)(ep.Render,{...a,name:t,tag:s,className:"ghostkit-icon-inner"})}const{name:Rw}=xw,Ow={icon:xi("block-icon",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/icon/",customStylesCallback(e){const{justify:t,width:n,color:o,backgroundColor:r,backgroundGradient:i}=e,s={"--gkt-icon__color":o||void 0,"--gkt-icon__background":r||i||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:r}=e,{flipV:i,flipH:s}=t;let{className:a=""}=e;a=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":i,"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)(Tw,{attributes:t,setAttributes:n}),(0,Ke.createElement)(Aw,{attributes:t,setAttributes:n,clientId:r}),(0,Ke.createElement)(Ew,{attributes:t,setAttributes:n,isSelected:o}),(0,Ke.createElement)("span",{...l},(0,Ke.createElement)(ep.Preview,{tag:"div",name:t.icon,className:"ghostkit-icon-inner"})))},save:function(e){const{attributes:t}=e,{flipV:n,flipH:o}=t;let r=cs()("ghostkit-icon",{"ghostkit-icon-flip-vertical":n,"ghostkit-icon-flip-horizontal":o});r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:$w,...e});const i=ds.useBlockProps.save({className:r});return(0,Ke.createElement)("div",{...i},(0,Ke.createElement)(Mw,{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,Pw=[{...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 ms.Component{render(){const{icon:e,iconPosition:t,showContent:n,url:o,target:r,rel:i}=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:r||!1,rel:i||!1},(0,Ke.createElement)("span",null)):null,e?(0,Ke.createElement)(ep.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:Nw}=Lw,Dw={from:[{type:"block",blocks:["ghostkit/counter-box"],transform:(e,t)=>(0,cm.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,cm.createBlock)("ghostkit/icon-box",{icon:e.icon,iconSize:e.iconSize,iconColor:e.color,hoverIconColor:e.hoverColor},t)}]},{name:Fw}=Lw,zw={icon:xi("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:r}=e;let{className:i=""}=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(r).length>0}),[r]);i=cs()("ghostkit-icon-box",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,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:i}),w=(0,ds.useInnerBlocksProps)({className:"ghostkit-icon-box-content"},{renderAppender:v?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1}),k=(0,vs.__)("Icon Position","ghostkit");return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0}),s?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Icon Size","ghostkit"),value:c,onChange:e=>n({iconSize:e}),min:20,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",allowCustomMin:!0,allowCustomMax:!0}),(0,Ke.createElement)(us.BaseControl,{id:k,label:k},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:k},(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a})))),"top"===a?(0,Ke.createElement)(ag,{label:(0,vs.__)("Icon Alignment","ghostkit"),value:l||"center",options:[{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Start","ghostkit"),value:"left"},{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Center","ghostkit"),value:"center"},{icon:xi("icon-horizontal-end"),label:(0,vs.__)("End","ghostkit"),value:"right"}],onChange:e=>{n({iconAlign:e})}}):null):null),!u||s?(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Content","ghostkit"),checked:!!u,onChange:e=>n({showContent:e})})):null,(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:h})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverIconColor":"iconColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Icon","ghostkit"),value:o?d:h,onChange:e=>n(o?{hoverIconColor:e}:{iconColor:e}),alpha:!0,gradient:!0}))})))),(0,Ke.createElement)(Ng,{url:p,rel:m,ariaLabel:g,target:f,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),s?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:"align-center",title:(0,vs.__)("Top","ghostkit"),onClick:()=>n({iconPosition:"top"}),isActive:"top"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-left",title:(0,vs.__)("Left","ghostkit"),onClick:()=>n({iconPosition:"left"}),isActive:"left"===a}),(0,Ke.createElement)(us.ToolbarButton,{icon:"align-right",title:(0,vs.__)("Right","ghostkit"),onClick:()=>n({iconPosition:"right"}),isActive:"right"===a}))):null,(0,Ke.createElement)("div",{...y},s?(0,Ke.createElement)("div",{className:b},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,u?(0,Ke.createElement)("div",{...w}):null))},save:function(e){const{icon:t,iconPosition:n,iconAlign:o,showContent:r,url:i,ariaLabel:s,target:a,rel:l}=e.attributes;let c=cs()("ghostkit-icon-box",i&&"ghostkit-icon-box-with-link");c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Nw,...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},i?(0,Ke.createElement)("a",{className:"ghostkit-icon-box-link",href:i,target:a||null,rel:l||null,"aria-label":s||null},(0,Ke.createElement)("span",null)):null,t?(0,Ke.createElement)(ep.Render,{name:t,tag:"div",className:u}):null,r?(0,Ke.createElement)("div",{...d}):null)},transforms:Dw,deprecated:Pw},Bw=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"}}}'),jw=["image"],Hw="large",{name:Ww}=Bw,Vw={icon:xi("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:r}=e;const{position:i,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:C,afterSizeSlug:x,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,Ke.createElement)("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,O=(e="before",n={},r=!1)=>{const i={[`${e}SizeSlug`]:r=r||t[`${e}SizeSlug`]||Hw,[`${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[r];!s&&n.media_details&&n.media_details.sizes&&n.media_details.sizes[r]&&(s=n.media_details.sizes[r]),s&&(s.url&&(i[`${e}Url`]=s.url),s.source_url&&(i[`${e}Url`]=s.source_url),s.width&&(i[`${e}Width`]=s.width),s.height&&(i[`${e}Height`]=s.height)),o(i)},L=xi("vertical"===s?"icon-horizontal-start":"icon-vertical-top"),I=xi("vertical"===s?"icon-horizontal-center":"icon-vertical-center"),P=xi("vertical"===s?"icon-horizontal-end":"icon-vertical-bottom");r=cs()("ghostkit-image-compare","vertical"===s&&"ghostkit-image-compare-vertical",!(!c||!d)&&`ghostkit-image-compare-labels-align-${d}`,r);const N=(0,ds.useBlockProps)({className:r}),D="vertical"===s?(0,vs.__)("Horizontal Align","ghostkit"):(0,vs.__)("Vertical Align","ghostkit");return(0,Ke.createElement)(Ke.Fragment,null,g&&w?(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-vertical"),title:(0,vs.__)("Vertical","ghostkit"),onClick:()=>o({direction:"vertical"===s?"":"vertical"}),isActive:"vertical"===s}))):null,(0,Ke.createElement)(ds.InspectorControls,null,g&&w?(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("General","ghostkit")},(0,Ke.createElement)(rg,{label:(0,vs.__)("Start Position","ghostkit"),value:i,min:0,max:100,onChange:e=>o({position:e})}),(0,Ke.createElement)(us.__experimentalToggleGroupControl,{label:(0,vs.__)("Direction","ghostkit"),onChange:e=>o({direction:e}),value:s||"",isBlock:!0},(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,vs.__)("Horizontal","ghostkit")}),(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"vertical",label:(0,vs.__)("Vertical","ghostkit")})),(0,Ke.createElement)(us.__experimentalToggleGroupControl,{label:(0,vs.__)("Trigger","ghostkit"),onChange:e=>o({trigger:e}),value:a||"",isBlock:!0},(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"",label:(0,vs.__)("Click","ghostkit")}),(0,Ke.createElement)(us.__experimentalToggleGroupControlOption,{value:"hover",label:(0,vs.__)("Hover","ghostkit")}))):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Labels","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Labels","ghostkit"),checked:!!c,onChange:e=>o({showLabels:e})}),c&&(0,Ke.createElement)(us.BaseControl,{id:D,label:D},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:"vertical"===s?(0,vs.__)("Horizontal Align","ghostkit"):(0,vs.__)("Vertical Align","ghostkit")},(0,Ke.createElement)(us.ToolbarButton,{icon:L,title:(0,vs.__)("Start","ghostkit"),onClick:()=>o({labelAlign:"start"}),isActive:"start"===d}),(0,Ke.createElement)(us.ToolbarButton,{icon:I,title:(0,vs.__)("Center","ghostkit"),onClick:()=>o({labelAlign:"center"}),isActive:"center"===d}),(0,Ke.createElement)(us.ToolbarButton,{icon:P,title:(0,vs.__)("End","ghostkit"),onClick:()=>o({labelAlign:"end"}),isActive:"end"===d}))))),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Before Image Settings","ghostkit")},p?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select Image","ghostkit"))}),p?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("before",e)},allowedTypes:["image"],value:p,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:g,alt:f,width:m,height:v})))}),(0,Ke.createElement)("div",{style:{marginTop:-20}}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{o({beforeId:"",beforeUrl:"",beforeAlt:"",beforeWidth:"",beforeHeight:""}),e.preventDefault()},className:"button button-secondary"},(0,vs.__)("Remove Image","ghostkit")),(0,Ke.createElement)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:b||Hw,onChange:e=>{O("before",T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:f,onChange:e=>o({beforeAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("After Image Settings","ghostkit")},y?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select Image","ghostkit"))}),y?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{O("after",e)},allowedTypes:["image"],value:y,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:w,alt:k,width:_,height:C})))}),(0,Ke.createElement)("div",{style:{marginTop:-20}}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{o({afterId:"",afterUrl:"",afterAlt:"",afterWidth:"",afterHeight:""}),e.preventDefault()},className:"button button-secondary"},(0,vs.__)("Remove Image","ghostkit")),(0,Ke.createElement)("div",{style:{marginBottom:13}}),A&&A.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:x||Hw,onChange:e=>{O("after",$,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:k,onChange:e=>o({afterAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null)),(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Color","ghostkit")},(0,Ke.createElement)(gs,{label:(0,vs.__)("Divider","ghostkit"),value:S,onChange:e=>o({colorDivider:e}),alpha:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Divider Icon","ghostkit"),value:E,onChange:e=>o({colorDividerIcon:e}),alpha:!0}))),g&&w?(0,Ke.createElement)("figure",{...N},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-images"},(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-before"},R("before"),!c||ds.RichText.isEmpty(u)&&!n?null:(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-before-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelBeforeText:e}),value:u,placeholder:(0,vs.__)("Before label…","ghostkit")}))),(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-after"},R("after"),!c||ds.RichText.isEmpty(h)&&!n?null:(0,Ke.createElement)("div",{className:"ghostkit-image-compare-image-label ghostkit-image-compare-image-after-label"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>o({labelAfterText:e}),value:h,placeholder:(0,vs.__)("After label…","ghostkit")}))),(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(l)||n)&&(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,className:"ghostkit-image-compare-caption",onChange:e=>o({caption:e}),placeholder:(0,vs.__)("Write caption…","jetpack"),tagName:"figcaption",value:l})):(0,Ke.createElement)("div",{...N},(0,Ke.createElement)(us.Placeholder,{className:"ghostkit-image-compare-placeholder",icon:xi("block-image-compare"),label:(0,vs.__)("Image Compare","ghostkit"),instructions:(0,vs.__)("Select images to compare","ghostkit")},R("before")?(0,Ke.createElement)("div",{className:"components-placeholder"},R("before")):(0,Ke.createElement)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,vs.__)("Image Before","ghostkit"),name:(0,vs.__)("image","ghostkit")},onSelect:e=>{O("before",e)},accept:"image/*",allowedTypes:jw,disableMaxUploadErrorMessages:!0,onError:M}),R("after")?(0,Ke.createElement)("div",{className:"components-placeholder"},R("after")):(0,Ke.createElement)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,vs.__)("Image After","ghostkit"),name:(0,vs.__)("image","ghostkit")},value:!!w&&{src:w},onSelect:e=>{O("after",e)},accept:"image/*",allowedTypes:jw,disableMaxUploadErrorMessages:!0,onError:M}))))},save:function(e){const{attributes:t}=e,{direction:n,trigger:o,caption:r,showLabels:i,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}`,!(!i||!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}),i&&!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}),i&&!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(r)?null:(0,Ke.createElement)(ds.RichText.Content,{className:"ghostkit-image-compare-caption",tagName:"figcaption",value:r}))}},Uw=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":{"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:Gw}=Uw,qw={icon:xi("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:r,count:i,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=>!!r&&{instagramFeed:e("ghostkit/blocks/instagram").getInstagramFeed({access_token:r,count:i}),instagramProfile:e("ghostkit/blocks/instagram").getInstagramProfile({access_token:r})})),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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,r?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Photos Number","ghostkit"),value:i,onChange:e=>t({count:e}),min:1,max:20,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Columns","ghostkit"),value:s,onChange:e=>t({columns:e}),min:1,max:8,allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:a,gapCustom:l,onChange:e=>{t(e)}})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Profile Info","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Profile Info","ghostkit"),checked:!!n.showProfile,onChange:e=>t({showProfile:e})}),n.showProfile?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Avatar","ghostkit"),checked:!!c,onChange:e=>t({showProfileAvatar:e})}),c?(0,Ke.createElement)(rg,{label:(0,vs.__)("Avatar Size","ghostkit"),value:u,onChange:e=>t({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0}):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Name","ghostkit"),checked:!!h,onChange:e=>t({showProfileName:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Stats","ghostkit"),checked:!!d,onChange:e=>t({showProfileStats:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show BIO","ghostkit"),checked:!!p,onChange:e=>t({showProfileBio:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Website","ghostkit"),checked:!!g,onChange:e=>t({showProfileWebsite:e})})):null)):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("API Data","ghostkit"),initialOpen:!r},(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Access Token","ghostkit"),value:r,onChange:e=>t({accessToken:e})}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("A valid Access Token is required to use Instagram feed. How to get token","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"http://instagram.pixelunion.net/"},"http://instagram.pixelunion.net/"))))),(0,Ke.createElement)("div",{...b},r&&v&&m&&m.data?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile"},c&&m.data.profile_picture?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-avatar"},(0,Ke.createElement)("img",{src:m.data.profile_picture,alt:m.data.full_name,width:u,height:u})):null,(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-side"},h&&m.data.username?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-name"},m.data.username):null,d&&m.data.counts?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-stats"},(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,m.data.counts.media)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Posts","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,m.data.counts.followed_by)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Followers","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,m.data.counts.follows)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Following","ghostkit")))):null,p&&m.data.bio?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-bio"},(0,Ke.createElement)("h2",null,m.data.full_name),(0,Ke.createElement)("div",null,m.data.bio)):null,g&&m.data.website?(0,Ke.createElement)("div",{className:"ghostkit-instagram-profile-website"},(0,Ke.createElement)("a",{href:m.data.website},m.data.website)):null)):null,r&&f&&f.data?(0,Ke.createElement)("div",{className:"ghostkit-instagram-items"},f.data.map(((e,t)=>{const n=`instagram-item-${t}`;return(0,Ke.createElement)("div",{className:"ghostkit-instagram-item",key:n},(0,Ke.createElement)("span",null,(0,Ke.createElement)("img",{src:e.images.standard_resolution.url,width:e.images.standard_resolution.width,height:e.images.standard_resolution.height,alt:e.caption||""})))}))):null,!r||f&&f.data?null:(0,Ke.createElement)("div",{className:"ghostkit-instagram-spinner"},(0,Ke.createElement)(us.Spinner,null)),r?null:(0,Ke.createElement)(us.Placeholder,{icon:xi("block-instagram"),label:(0,vs.__)("Instagram","ghostkit"),instructions:(0,vs.__)("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}},Kw=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 Yw(e){const{url:t,trigger:n,speed:o,loop:r,direction:i,isSelected:s,onLoad:a=(()=>{})}=e,l=(0,ms.useRef)(null);return(0,ms.useEffect)((()=>{const e=l.current;function t(e){a(e)}return e.addEventListener("load",t),ky("js","lottie-player-js",e),()=>{e.removeEventListener("load",t)}}),[l]),(0,Ke.createElement)("lottie-player",{key:`lottie-${n}-${o}-${r}-${i}`,ref:l,src:t,direction:i,background:"transparent",mode:"normal",..."scroll"!==n?{speed:o}:{},..."scroll"!==n&&r?{loop:"loop"}:{},...!n||s?{autoplay:"autoplay"}:{},..."hover"===n?{hover:"hover"}:{},style:{width:"100%",height:"auto"}})}const Zw=us.UnitControl||us.__experimentalUnitControl,{name:Jw}=Kw,{name:Xw}=Kw,Qw={icon:xi("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:r=""}=e;const{fileUrl:i,fileWidth:s,fileHeight:a,trigger:l,loop:c,direction:u,speed:h,width:d}=t,[p,g]=(0,ms.useState)(d.endsWith("%"));r=cs()("ghostkit-lottie",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const f=(0,ds.useBlockProps)({className:r,"data-trigger":l,style:s&&a?{"--gkt-lottie__ar":`${s} / ${a}`,"--gkt-lottie__width":d}:{}});return(0,Ke.createElement)(Ke.Fragment,null,i?(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Play Animation On","ghostkit"),value:l,options:[{label:(0,vs.__)("Page Load","ghostkit"),value:""},{label:(0,vs.__)("Viewport","ghostkit"),value:"viewport"},{label:(0,vs.__)("Hover","ghostkit"),value:"hover"},{label:(0,vs.__)("Click","ghostkit"),value:"click"},{label:(0,vs.__)("Scroll","ghostkit"),value:"scroll"}],onChange:e=>n({trigger:e})}),"scroll"!==l?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Speed","otter-blocks"),value:h,onChange:e=>n({speed:e}),step:.1,min:0,max:10}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Loop","ghostkit"),checked:!!c,onChange:()=>n({loop:!c})})):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Reverse","ghostkit"),checked:-1===u,onChange:()=>{n({direction:1===u?-1:1})}}),(0,Ke.createElement)(Zw,{label:(0,vs.__)("Width","ghostkit"),value:d,onChange:e=>n({width:e}),onUnitChange:e=>g("%"===e),labelPosition:"edge",__unstableInputWidth:"70px",units:[{value:"px",label:"px"},{value:"%",label:"%"}],min:0,max:p?100:1/0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Lottie File","ghostkit"),value:i,disabled:!0}),(0,Ke.createElement)(us.Button,{isSecondary:!0,onClick:()=>{n({fileId:void 0,fileUrl:void 0,fileWidth:void 0,fileHeight:void 0})}},(0,vs.__)("Clear","ghostkit")))):null,(0,Ke.createElement)("div",{...f},i?(0,Ke.createElement)(Yw,{url:i,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,Ke.createElement)(ds.MediaPlaceholder,{icon:"format-image",labels:{title:(0,vs.__)("Lottie JSON","ghostkit"),name:(0,vs.__)("lottie","ghostkit"),instructions:(0,vs.__)("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:r,loop:i,direction:s,speed:a,width:l}=e.attributes;let c="ghostkit-lottie";c=(0,os.applyFilters)("ghostkit.blocks.className",c,{name:Jw,...e});const u=ds.useBlockProps.save({className:c,"data-trigger":r,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"!==r?{speed:a}:{},..."scroll"!==r&&i?{loop:"loop"}:{},...r?{}:{autoplay:"autoplay"},..."hover"===r?{hover:"hover"}:{},style:{width:"100%",height:"auto"}}))}},ek=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"}}}'),tk={};function nk(e,t){"string"!=typeof t&&(t=nk.defaultChars);const n=function(e){let t=tk[e];if(t)return t;t=tk[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&i)&&o+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),o+=9;continue}}t+="�"}}return t}))}nk.defaultChars=";/?:@&=+$,#",nk.componentChars="";const ok=nk,rk={};function ik(e,t,n){"string"!=typeof t&&(n=t,t=ik.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){r+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[t])}return r}ik.defaultChars=";/?:@&=+$,-_.!~*'()#",ik.componentChars="-_.!~*'()";const sk=ik;function ak(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 lk(){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 ck=/^([a-z0-9.+-]+:)/i,uk=/:[0-9]*$/,hk=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,dk=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),pk=["'"].concat(dk),gk=["%","/","?",";","#"].concat(pk),fk=["/","?","#"],mk=/^[+a-z0-9A-Z_-]{0,63}$/,vk=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,bk={javascript:!0,"javascript:":!0},yk={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};lk.prototype.parse=function(e,t){let n,o,r,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=hk.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=ck.exec(i);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,i=i.substr(s.length)),(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===i.substr(0,2),!r||s&&bk[s]||(i=i.substr(2),this.slashes=!0)),!bk[s]&&(r||s&&!yk[s])){let e,t,n=-1;for(let e=0;e127?o+="x":o+=n[e];if(!o.match(mk)){const o=e.slice(0,t),r=e.slice(t+1),s=n.match(vk);s&&(o.push(s[1]),r.unshift(s[2])),r.length&&(i=r.join(".")+i),this.hostname=o.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");-1!==a&&(this.hash=i.substr(a),i=i.slice(0,a));const l=i.indexOf("?");return-1!==l&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),yk[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},lk.prototype.parseHost=function(e){let t=uk.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 wk=function(e,t){if(e&&e instanceof lk)return e;const n=new lk;return n.parse(e,t),n},kk=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,_k=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ck=/[\0-\x1F\x7F-\x9F]/,xk=/[\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]/,Sk=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ek=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)))),Ak=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Tk;const $k=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]]),Mk=null!==(Tk=String.fromCodePoint)&&void 0!==Tk?Tk: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 Rk,Ok,Lk,Ik,Pk;function Nk(e){return e>=Rk.ZERO&&e<=Rk.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"}(Rk||(Rk={})),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={})),(Pk=Ik||(Ik={}))[Pk.Legacy=0]="Legacy",Pk[Pk.Strict=1]="Strict",Pk[Pk.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)===Rk.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))===Rk.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 r=n-t;this.result=this.result*Math.pow(o,r)+parseInt(e.substr(t,r),o),this.consumed+=r}}stateNumericHex(e,t){const n=t;for(;t=Rk.UPPER_A&&o<=Rk.UPPER_F||o>=Rk.LOWER_A&&o<=Rk.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,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=$k.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==Rk.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let o=n[this.treeIndex],r=(o&Ok.VALUE_LENGTH)>>14;for(;t=Rk.UPPER_A&&e<=Rk.UPPER_Z||e>=Rk.LOWER_A&&e<=Rk.LOWER_Z||Nk(e)}(i)))?0:this.emitNotTerminatedNamedEntity();if(o=n[this.treeIndex],r=(o&Ok.VALUE_LENGTH)>>14,0!==r){if(s===Rk.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Ik.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var i;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 Fk(e){let t="";const n=new Dk(e,(e=>t+=Mk(e)));return function(e,o){let r=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(r,i),n.startEntity(o);const s=n.write(e,i+1);if(s<0){r=i+n.end();break}r=i+s,i=0===s?r+1:r}const s=t+e.slice(r);return t="",s}}function zk(e,t,n,o){const r=(t&Ok.BRANCH_LENGTH)>>7,i=t&Ok.JUMP_TABLE;if(0===r)return 0!==i&&o===i?n:-1;if(i){const t=o-i;return t<0||t>=r?-1:e[n+t]-1}let s=n,a=s+r-1;for(;s<=a;){const t=s+a>>>1,n=e[t];if(no))return e[t+r];a=t-1}}return-1}const Bk=Fk(Ek);function jk(e,t=Ik.Legacy){return Bk(e,t)}function Hk(e){for(let t=1;t'"]/g,Wk),Vk(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Vk(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(Uk||(Uk={})),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"}(Gk||(Gk={}));const Kk=Object.prototype.hasOwnProperty;function Yk(e,t){return Kk.call(e,t)}function Zk(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 Jk(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Xk(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 Qk(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const e_=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,t_=new RegExp(e_.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),n_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function o_(e){return e.indexOf("\\")<0?e:e.replace(e_,"$1")}function r_(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(t_,(function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&n_.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Xk(n)?Qk(n):e}const n=jk(e);return n!==e?n:e}(e,n)}))}const i_=/[&<>"]/,s_=/[&<>"]/g,a_={"&":"&","<":"<",">":">",'"':"""};function l_(e){return a_[e]}function c_(e){return i_.test(e)?e.replace(s_,l_):e}const u_=/[.?*+^$[\]\\(){}|-]/g;function h_(e){return e.replace(u_,"\\$&")}function d_(e){switch(e){case 9:case 32:return!0}return!1}function p_(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 g_(e){return kk.test(e)}function f_(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 m_(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const v_={mdurl:Te,ucmicro:$e};function b_(e,t,n){let o,r,i,s;const a=e.posMax,l=e.pos;for(e.pos=t+1,o=1;e.pos32))return i;if(41===o){if(0===s)break;s--}r++}return t===r||0!==s||(i.str=r_(e.slice(t,r)),i.pos=r,i.ok=!0),i}function w_(e,t,n){let o,r,i=0,s=t;const a={ok:!1,pos:0,lines:0,str:""};if(s>=n)return a;if(r=e.charCodeAt(s),34!==r&&39!==r&&40!==r)return a;for(s++,40===r&&(r=41);s"+c_(i.content)+""},k_.code_block=function(e,t,n,o,r){const i=e[t];return""+c_(e[t].content)+"\n"},k_.fence=function(e,t,n,o,r){const i=e[t],s=i.info?r_(i.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(i.content,l,c)||c_(i.content),0===a.indexOf("${a}\n`}return`
    ${a}
    \n`},k_.image=function(e,t,n,o,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)},k_.hardbreak=function(e,t,n){return n.xhtmlOut?"
    \n":"
    \n"},k_.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},k_.text=function(e,t){return c_(e[t].content)},k_.html_block=function(e,t){return e[t].content},k_.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":">",r},C_.prototype.renderInline=function(e,t,n){let o="";const r=this.rules;for(let i=0,s=e.length;i=0&&(n=this.attrs[t][1]),n},A_.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_=A_;function $_(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}$_.prototype.Token=T_;const M_=$_,R_=/\r\n?|\n/g,O_=/\0/g;function L_(e){return/^<\/a\s*>/i.test(e)}const I_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,P_=/\((c|tm|r)\)/i,N_=/\((c|tm|r)\)/gi,D_={c:"©",r:"®",tm:"™"};function F_(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(N_,F_)),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}function B_(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 j_=/['"]/,H_=/['"]/g;function W_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function V_(e,t){let n;const o=[];for(let r=0;r=0&&!(o[n].level<=s);n--);if(o.length=n+1,"text"!==i.type)continue;let a=i.content,l=0,c=a.length;e:for(;l=0)g=a.charCodeAt(u.index-1);else for(n=r-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=r[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&i>0&&i--,L_(a.content)&&i++),!(i>0)&&"text"===a.type&&e.md.linkify.test(a.content)){const n=a.content;let i=e.md.linkify.match(n);const l=[];let c=a.level,u=0;i.length>0&&0===i[0].index&&s>0&&"text_special"===r[s-1].type&&(i=i.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",r]],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=i[t].lastIndex}if(u=0;t--)"inline"===e.tokens[t].type&&(P_.test(e.tokens[t].content)&&z_(e.tokens[t].children),I_.test(e.tokens[t].content)&&B_(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&&j_.test(e.tokens[t].content)&&V_(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const o=e.tokens,r=o.length;for(let e=0;e0&&this.level++,this.tokens.push(o),o},K_.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},K_.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!d_(this.src.charCodeAt(--e)))return e+1;return e},K_.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},K_.prototype.getLines=function(e,t,n,o){if(e>=t)return"";const r=new Array(t-e);for(let i=0,s=e;sn?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},K_.prototype.Token=T_;const Y_=K_;function Z_(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function J_(e){const t=[],n=e.length;let o=0,r=e.charCodeAt(o),i=!1,s=0,a="";for(;o=o)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=o)return-1;if(i=e.src.charCodeAt(r++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",tC="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",nC=new RegExp("^(?:"+eC+"|"+tC+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),oC=new RegExp("^(?:"+eC+"|"+tC+")"),rC=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(oC.source+"\\s*$"),/^$/,!1]],iC=[["table",function(e,t,n,o){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(124!==s&&45!==s&&58!==s)return!1;if(i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a&&!d_(a))return!1;if(45===s&&d_(a))return!1;for(;i=4)return!1;c=J_(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=J_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),r===t+2&&(e.push("tbody_open","tbody",1).map=f=[t+2,0]),e.push("tr_open","tr",1).map=[r,r+1];for(let t=0;t=4))break;o++,r=o}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}],["fence",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(r+3>i)return!1;const s=e.src.charCodeAt(r);if(126!==s&&96!==s)return!1;let a=r;r=e.skipChars(r,s);let l=r-a;if(l<3)return!1;const c=e.src.slice(a,r),u=e.src.slice(r,i);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(o)return!0;let h=t,d=!1;for(;!(h++,h>=n||(r=a=e.bMarks[h]+e.tShift[h],i=e.eMarks[h],r=4||(r=e.skipChars(r,s),r-a=4)return!1;if(62!==e.src.charCodeAt(r))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=i)break;if(62===e.src.charCodeAt(r++)&&!t){let t,n,o=e.sCount[p]+1;32===e.src.charCodeAt(r)?(r++,o++,n=!1,t=!0):9===e.src.charCodeAt(r)?(t=!0,(e.bsCount[p]+o)%4==3?(r++,o++,n=!1):n=!0):t=!1;let s=o;for(a.push(e.bMarks[p]),e.bMarks[p]=r;r=i,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]=r-e.bMarks[p];continue}if(g)break;let o=!1;for(let t=0,r=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 i=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(i++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;i=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(p=!0),(d=Q_(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=X_(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=r?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>=r&&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 C=!1;for(let t=0,o=b.length;t=4)return!1;if(91!==e.src.charCodeAt(i))return!1;for(;++i3)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(r))return!1;let s=e.src.slice(r,i),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(r);if(35!==s||r>=i)return!1;let a=1;for(s=e.src.charCodeAt(++r);35===s&&r6||rr&&d_(e.src.charCodeAt(l-1))&&(i=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(r,i).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 r=e.parentType;e.parentType="paragraph";let i,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===i?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let r=0,i=o.length;r3)continue;if(e.sCount[i]<0)continue;let t=!1;for(let r=0,s=o.length;r=n))&&!(e.sCount[s]=i){e.line=n;break}const t=e.line;let l=!1;for(let i=0;i=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=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o},lC.prototype.scanDelims=function(e,t){let n,o,r=!0,i=!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){dC[e.charCodeAt(0)]=1}));const gC={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(126!==o)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const s=String.fromCharCode(o);if(i<2)return!1;let a;i%2&&(a=e.push("text","",0),a.content=s,i--);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 r=t[o.end],i=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===r.token+1,s=String.fromCharCode(o.marker),a=e.tokens[o.token];a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?s+s:s,a.content="";const l=e.tokens[r.token];l.type=i?"strong_close":"em_close",l.tag=i?"strong":"em",l.nesting=-1,l.markup=i?s+s:s,l.content="",i&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}const mC={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 r=e.scanDelims(e.pos,42===o);for(let t=0;t\x00-\x20]*)$/,yC=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,wC=/^&([a-z][a-z0-9]{1,31});/i;function kC(e){const t={},n=e.length;if(!n)return;let o=0,r=-2;const i=[];for(let s=0;sa;l-=i[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?i[l-1]+1:0;i[s]=s-l+o,i[l]=o,n.open=!1,t.end=s,t.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const _C=[["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(hC);if(!o)return!1;const r=o[1],i=e.md.linkify.matchAtStart(e.src.slice(n-r.length));if(!i)return!1;let s=i.url;if(s.length<=r.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,-r.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-r.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const o=e.pending.length-1,r=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 r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&t<=57343&&(i+=e.src[n+1],n++)}const s="\\"+i;if(!t){const t=e.push("text_special","",0);r<256&&0!==dC[r]?t.content=i: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 r=e.posMax;for(;n=h)return!1;if(l=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(s=e.md.normalizeLink(r.str),e.md.validateLink(s)?g=r.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)),i=e.env.references[m_(o)],!i)return e.pos=u,!1;s=i.href,a=i.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,r,i,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(i=g+1,i=d)return!1;for(c=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?i=a.pos:u=""),c=i;i=d||41!==e.src.charCodeAt(i))return e.pos=h,!1;i++}else{if(void 0===e.env.references)return!1;if(i=0?r=e.src.slice(c,i++):i=g+1):i=g+1,r||(r=e.src.slice(p,g)),s=e.env.references[m_(r)],!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),r=[["src",u],["alt",""]];n.attrs=r,n.children=t,n.content=o,l&&r.push(["title",l])}return e.pos=i,e.posMax=d,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const o=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const i=e.src.slice(o+1,n);if(bC.test(i)){const n=e.md.normalizeLink(i);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(i);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=i.length+2,!0}if(vC.test(i)){const n=e.md.normalizeLink("mailto:"+i);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(i);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=i.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 r=e.src.charCodeAt(o+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const i=e.src.slice(o).match(nC);if(!i)return!1;if(!t){const t=e.push("html_inline","",0);t.content=i[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+=i[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(yC);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=Xk(t)?Qk(t):Qk(65533),n.markup=o[0],n.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(wC);if(o){const n=jk(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}]],CC=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;kC(e.delimiters);for(let e=0;e0&&o++,"text"===r[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++,i[t]=e.pos},xC.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,o=e.posMax,r=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()},xC.prototype.parse=function(e,t,n,o){const r=new this.State(e,t,n,o);this.tokenize(r);const i=this.ruler2.getRules(""),s=i.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}}},OC="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]",LC="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function IC(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=_k.source,t.src_Cc=Ck.source,t.src_Z=Sk.source,t.src_P=kk.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(OC),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 r=[];function i(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]"===AC(n))return"[object RegExp]"!==AC(n.validate)?TC(n.validate)?o.validate=n.validate:i(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(TC(n.normalize)?o.normalize=n.normalize:n.normalize?i(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===AC(e)}(n)?i(t,n):r.push(t)})),r.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($C).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 PC(e,t){const n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function NC(e,t){const n=new PC(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function DC(e,t){if(!(this instanceof DC))return new DC(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||MC.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=EC({},MC,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=EC({},RC,e),this.__compiled__={},this.__tlds__=LC,this.__tlds_replaced__=!1,this.re={},IC(this)}DC.prototype.add=function(e,t){return this.__schemas__[e]=t,IC(this),this},DC.prototype.set=function(e){return this.__opts__=EC(this.__opts__,e),this},DC.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,o,r,i,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(r=this.testSchemaAt(e,t[2],a.lastIndex),r){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;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))&&(i=o.index+o[1].length,s=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s))),this.__index__>=0},DC.prototype.pretest=function(e){return this.re.pretest.test(e)},DC.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},DC.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(NC(this,n)),n=this.__last_index__);let o=n?e.slice(n):e;for(;this.test(o);)t.push(NC(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},DC.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,NC(this,0)):null},DC.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(),IC(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,IC(this),this)},DC.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},DC.prototype.onCompile=function(){};const FC=DC,zC=2147483647,BC=36,jC=/^xn--/,HC=/[^\0-\x7F]/,WC=/[\x2E\u3002\uFF0E\uFF61]/g,VC={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},UC=Math.floor,GC=String.fromCharCode;function qC(e){throw new RangeError(VC[e])}function KC(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]);const r=function(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}((e=e.replace(WC,".")).split("."),t).join(".");return o+r}function YC(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&n>1,e+=UC(e/t);e>455;o+=BC)e=UC(e/35);return UC(o+36*e/(e+38))},XC=function(e){const t=[],n=e.length;let o=0,r=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&qC("not-basic"),t.push(e.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&qC("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:BC;s>=BC&&qC("invalid-input"),s>UC((zC-o)/t)&&qC("overflow"),o+=s*t;const c=r<=i?1:r>=i+26?26:r-i;if(sUC(zC/u)&&qC("overflow"),t*=u}const c=t.length+1;i=JC(o-s,c,0==s),UC(o/c)>zC-r&&qC("overflow"),r+=UC(o/c),o%=c,t.splice(o++,0,r)}var a;return String.fromCodePoint(...t)},QC=function(e){const t=[],n=(e=YC(e)).length;let o=128,r=0,i=72;for(const n of e)n<128&&t.push(GC(n));const s=t.length;let a=s;for(s&&t.push("-");a=o&&tUC((zC-r)/l)&&qC("overflow"),r+=(n-o)*l,o=n;for(const n of e)if(nzC&&qC("overflow"),n===o){let e=r;for(let n=BC;;n+=BC){const o=n<=i?1:n>=i+26?26:n-i;if(eString.fromCodePoint(...e)},decode:XC,encode:QC,toASCII:function(e){return KC(e,(function(e){return HC.test(e)?"xn--"+QC(e):e}))},toUnicode:function(e){return KC(e,(function(e){return jC.test(e)?XC(e.slice(4).toLowerCase()):e}))}},tx={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"]}}}},nx=/^(vbscript|javascript|file|data):/,ox=/^data:image\/(gif|png|jpeg|webp);/;function rx(e){const t=e.trim().toLowerCase();return!nx.test(t)||ox.test(t)}const ix=["http:","https:","mailto:"];function sx(e){const t=wk(e,!0);if(t.hostname&&(!t.protocol||ix.indexOf(t.protocol)>=0))try{t.hostname=ex.toASCII(t.hostname)}catch(e){}return sk(ak(t))}function ax(e){const t=wk(e,!0);if(t.hostname&&(!t.protocol||ix.indexOf(t.protocol)>=0))try{t.hostname=ex.toUnicode(t.hostname)}catch(e){}return ok(ak(t),ok.defaultChars+"%")}function lx(e,t){if(!(this instanceof lx))return new lx(e,t);t||qk(e)||(t=e||{},e="default"),this.inline=new SC,this.block=new aC,this.core=new q_,this.renderer=new x_,this.linkify=new FC,this.validateLink=rx,this.normalizeLink=sx,this.normalizeLinkText=ax,this.utils=Me,this.helpers=Zk({},Re),this.options={},this.configure(e),t&&this.set(t)}lx.prototype.set=function(e){return Zk(this.options,e),this},lx.prototype.configure=function(e){const t=this;if(qk(e)){const t=e;if(!(e=tx[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},lx.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},lx.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},lx.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},lx.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},lx.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},lx.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},lx.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const cx=new lx;function ux(e){const{content:t,...n}=e;return(0,Ke.createElement)(ms.RawHTML,{onClick:e=>{"A"===e.target.nodeName&&(window.confirm((0,vs.__)("Are you sure you wish to leave this page?","ghostkit"))||e.preventDefault())},...n},t&&t.length?cx.render(t):"")}const{name:hx}=ek,dx={icon:xi("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:r}=t;let{className:i}=e;const[s,a]=(0,ms.useState)("editor"),l=(0,ms.useRef)();(0,ms.useEffect)((()=>{o||"preview"!==s||a("editor")}),[o,s]),(0,ms.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");i=cs()("ghostkit-markdown",i);const h=(0,ds.useBlockProps)({className:i});return o||r&&""!==r.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,vs.__)("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,vs.__)("Preview","ghostkit"))))),"preview"!==s&&o?(0,Ke.createElement)(ds.PlainText,{onChange:e=>{n({content:e})},onKeyDown:e=>{8===e.keyCode&&""===r&&(u(c),e.preventDefault())},"aria-label":(0,vs.__)("Markdown","ghostkit"),ref:l,value:r}):(0,Ke.createElement)(ux,{content:r})):(0,Ke.createElement)("div",{...h},(0,Ke.createElement)("p",null,(0,vs.__)("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 r=ds.useBlockProps.save({className:o});return(0,Ke.createElement)(ux,{content:n,...r})}},px=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"}}}'),gx="ghostkit/pricing-table-item",{name:fx}=px,{name:mx}=px,vx={icon:xi("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:r=""}=e;const{count:i,gap:s,gapCustom:a,verticalAlign:l,horizontalAlign:c}=t,{itemsCount:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{isBlockSelected:t,getBlockCount:n,hasSelectedInnerBlock:r}=e("core/block-editor");return{itemsCount:n(o),isSelectedBlockInRoot:t(o)||r(o,!0)}})),{insertBlock:d}=(0,Ze.useDispatch)("core/block-editor");(0,ms.useEffect)((()=>{i!==u&&n({count:u})}),[i,u,n]),r=cs()(r,"ghostkit-pricing-table",`ghostkit-pricing-table-gap-${s}`,!!i&&`ghostkit-pricing-table-items-${i}`,!!l&&`ghostkit-pricing-table-align-vertical-${l}`,!!c&&`ghostkit-pricing-table-align-horizontal-${c}`),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const p=(0,ds.useBlockProps)({className:r}),{children:g,...f}=(0,ds.useInnerBlocksProps)({className:"ghostkit-pricing-table-inner"},{template:[[gx],[gx]],allowedBlocks:[gx],orientation:"horizontal",renderAppender:!1});return(0,Ke.createElement)("div",{...p},(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e})})),(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-top"),title:(0,vs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-center"),title:(0,vs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-bottom"),title:(0,vs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Vertical align","ghostkit"),label:(0,vs.__)("Vertical align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(us.Toolbar,{label:(0,vs.__)("Vertical align","ghostkit")},(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-top"),title:(0,vs.__)("ItemsVertical Start","ghostkit"),onClick:()=>n({verticalAlign:""}),isActive:""===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-center"),title:(0,vs.__)("ItemsVertical Center","ghostkit"),onClick:()=>n({verticalAlign:"center"}),isActive:"center"===l}),(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-vertical-bottom"),title:(0,vs.__)("ItemsVertical End","ghostkit"),onClick:()=>n({verticalAlign:"end"}),isActive:"end"===l})))),(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Horizontal align","ghostkit"),label:(0,vs.__)("Horizontal align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(ds.AlignmentToolbar,{value:c,onChange:e=>n({horizontalAlign:e}),isCollapsed:!1})))),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)($m,{gap:s,gapCustom:a,onChange:e=>{n(e)}}))),(0,Ke.createElement)("div",{...f},g,h&&i<6?(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-add-item"},(0,Ke.createElement)(us.Button,{isSecondary:!0,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:()=>{d((0,cm.createBlock)("ghostkit/pricing-table-item"),void 0,o)}},(0,vs.__)("Add Pricing Table","ghostkit"))):null))},save:function(e){const{count:t,gap:n,verticalAlign:o,horizontalAlign:r}=e.attributes;let i=cs()("ghostkit-pricing-table",`ghostkit-pricing-table-gap-${n}`,!!t&&`ghostkit-pricing-table-items-${t}`,!!o&&`ghostkit-pricing-table-align-vertical-${o}`,!!r&&`ghostkit-pricing-table-align-horizontal-${r}`);i=(0,os.applyFilters)("ghostkit.blocks.className",i,{name:fx,...e});const s=ds.useBlockProps.save({className:i}),a=ds.useInnerBlocksProps.save({className:"ghostkit-pricing-table-inner"});return(0,Ke.createElement)("div",{...s},(0,Ke.createElement)("div",{...a}))}},bx=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:yx}=bx,{name:wx}=bx,kx={icon:xi("block-pricing-table",!0),edit:function(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{popularText:r,title:i,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,Ke.createElement)("div",{...w},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.BaseControl,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Popular Badge","ghostkit"),checked:!!h,onChange:e=>n({showPopular:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Title","ghostkit"),checked:!!d,onChange:e=>n({showTitle:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Price","ghostkit"),checked:!!p,onChange:e=>n({showPrice:e})}),p?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Price Currency","ghostkit"),checked:!!g,onChange:e=>n({showPriceCurrency:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Price Repeat","ghostkit"),checked:!!f,onChange:e=>n({showPriceRepeat:e})})):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Description","ghostkit"),checked:!!m,onChange:e=>n({showDescription:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Features","ghostkit"),checked:!!v,onChange:e=>n({showFeatures:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Button","ghostkit"),checked:!!b,onChange:e=>n({showButton:e})})))),(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item"},d?(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"h3",className:"ghostkit-pricing-table-item-title",onChange:e=>n({title:e}),value:i,placeholder:(0,vs.__)("Plan","ghostkit"),withoutInteractiveFormatting:!0}):null,p?(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price"},!g||ds.RichText.isEmpty(a)&&!o?null:(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price-currency"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceCurrency:e}),value:a,placeholder:(0,vs.__)("$","ghostkit"),withoutInteractiveFormatting:!0})),(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price-amount"},(0,Ke.createElement)(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,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-price-repeat"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({priceRepeat:e}),value:l,placeholder:(0,vs.__)("/mo","ghostkit"),withoutInteractiveFormatting:!0}))):null,!m||ds.RichText.isEmpty(c)&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-pricing-table-item-description",onChange:e=>n({description:e}),value:c,placeholder:(0,vs.__)("Description","ghostkit"),withoutInteractiveFormatting:!0}),!v||ds.RichText.isEmpty(u)&&!o?null:(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"ul",multiline:"li",className:"ghostkit-pricing-table-item-features",onChange:e=>n({features:e}),value:u,placeholder:(0,vs.__)("Add features","ghostkit")}),b?(0,Ke.createElement)("div",{...k}):null,!h||ds.RichText.isEmpty(r)&&!o?null:(0,Ke.createElement)("div",{className:"ghostkit-pricing-table-item-popular-badge"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",onChange:e=>n({popularText:e}),value:r,placeholder:(0,vs.__)("Popular","ghostkit"),withoutInteractiveFormatting:!0}))))},save:function(e){const{popularText:t,title:n,price:o,description:r,priceCurrency:i,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:yx,...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(i)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"span",className:"ghostkit-pricing-table-item-price-currency",value:i}):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(r)?(0,Ke.createElement)(ds.RichText.Content,{tagName:"div",className:"ghostkit-pricing-table-item-description",value:r}):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))}},Cx=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:xx}=Cx,{name:Sx}=Cx,Ex={icon:xi("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:r}=e;let{className:i=""}=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;i=cs()("ghostkit-progress",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const y=(0,ds.useBlockProps)({className:i});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,vs.__)("Height","ghostkit"),value:a||"",onChange:e=>n({height:e}),min:1,allowCustomMax:!0}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Percent","ghostkit"),value:l||"",onChange:e=>n({percent:e}),min:0,max:100}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Corner Radius","ghostkit"),value:c,min:0,max:10,onChange:e=>n({borderRadius:e}),allowCustomMax:!0})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Count","ghostkit"),checked:!!d,onChange:e=>n({showCount:e})}),d?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Count Prefix","ghostkit"),value:p,onChange:e=>n({countPrefix:e})}),(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Count Suffix","ghostkit"),value:g,onChange:e=>n({countSuffix:e})})):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Striped","ghostkit"),checked:!!u,onChange:e=>n({striped:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Animate in viewport","ghostkit"),checked:!!h,onChange:e=>n({animateInViewport:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Colors","ghostkit"),(0,Ke.createElement)(hs,{colorValue:f}),(0,Ke.createElement)(hs,{colorValue:m})),initialOpen:!1},(0,Ke.createElement)(us.TabPanel,{className:"ghostkit-control-tabs ghostkit-control-tabs-wide",tabs:[{name:"normal",title:(0,vs.__)("Normal","ghostkit"),className:"ghostkit-control-tabs-tab"},{name:"hover",title:(0,vs.__)("Hover","ghostkit"),className:"ghostkit-control-tabs-tab"}]},(t=>{const o="hover"===t.name;return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverColor":"color",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Bar","ghostkit"),value:o?v:f,onChange:e=>n(o?{hoverColor:e}:{color:e}),alpha:!0,gradient:!0})),(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:o?"hoverBackgroundColor":"backgroundColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Background","ghostkit"),value:o?b:m,onChange:e=>n(o?{hoverBackgroundColor:e}:{backgroundColor:e}),alpha:!0,gradient:!0})))})))),(0,Ke.createElement)("div",{...y},!ds.RichText.isEmpty(s)||o?(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-progress-caption",placeholder:(0,vs.__)("Write caption…","ghostkit"),value:s,onChange:e=>n({caption:e})}):null,d?(0,Ke.createElement)("div",{className:"ghostkit-progress-bar-count",style:{width:`${l}%`}},(0,Ke.createElement)("div",null,p,l,g)):null,(0,Ke.createElement)(us.ResizableBox,{className:cs()({"is-selected":o}),size:{width:"100%",height:a},minWidth:"0%",maxWidth:"100%",minHeight:"1",enable:{bottom:!0},onResizeStart:()=>{r(!1)},onResizeStop:(e,t,o,i)=>{n({height:parseInt(a+i.height,10)}),r(!0)}},(0,Ke.createElement)("div",{className:cs()({"ghostkit-progress-wrap":!0,"ghostkit-progress-bar-striped":u})},(0,Ke.createElement)(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:()=>{r(!1)},onResizeStop:(e,t,o,i)=>{n({percent:Math.min(100,Math.max(0,l+parseInt(100*i.width/o.parentNode.getBoundingClientRect().width,10)))}),r(!0)}})))))},save:function(e){const{caption:t,percent:n,striped:o,showCount:r,countPrefix:i,countSuffix:s,animateInViewport:a}=e.attributes;let l="ghostkit-progress";l=(0,os.applyFilters)("ghostkit.blocks.className",l,{name:xx,...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})),r?(0,Ke.createElement)("div",{className:"ghostkit-progress-bar-count",style:{width:`${n}%`}},(0,Ke.createElement)("div",null,(0,Ke.createElement)("span",null,i),(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"})))}},Ax=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 Tx(e){const{title:t,children:n}=e,[o,r]=(0,ms.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:()=>{r(!o)}},xi("icon-arrow-right")),!o&&n&&(0,Ke.createElement)("div",null,n)))}Tx.Button=function(e){const{children:t}=e;return(0,Ke.createElement)("a",{className:"ghostkit-pro-component-note-button",...e},t)};const{GHOSTKIT:$x}=window,{version:Mx}=window.ghostkitVariables,{shapes:Rx}=$x;function Ox(e){let t={allow_flip_vertical:!0,allow_flip_horizontal:!0},n=!1;return Object.keys(Rx).forEach((o=>{const r=Rx[o];Object.keys(r.shapes).forEach((o=>{const i=r.shapes[o];i.svg&&i.svg===gt(e)&&!n&&(t=i,n=!0)}))})),t}const{name:Lx}=Ax,{name:Ix}=Ax,Px={icon:xi("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],r=n.split("_")[1];r||(r=o,o=""),!r||"height"!==r&&"width"!==r||("height"===r&&o?t[`media_${o}`].svg.height=`${e[n]}px`:"height"===r?t.svg.height=`${e[n]}px`:"width"===r&&o?t[`media_${o}`].svg.width=`${e[n]}%`:"width"===r&&(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:r,flipHorizontal:i,color:s}=t;let{className:a=""}=e;const{device:l}=Ji();function c(){return(0,Ke.createElement)("div",{className:"ghostkit-shape-divider-control-styles"},Object.keys(Rx).map((e=>{const t=Rx[e],a=[];return Object.keys(t.shapes).forEach((n=>{const o=t.shapes[n];a.push({label:o.label,value:o.svg,image:(0,Ke.createElement)("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,Ke.createElement)("div",{key:e},(0,Ke.createElement)("h3",null,t.name),(0,Ke.createElement)(tp,{value:gt(o),options:a,onChange:e=>{const t=Ox(e);n({svg:pt(e),flipVertical:!!t.allow_flip_vertical&&r,flipHorizontal:!!t.allow_flip_horizontal&&i})}}),(0,Ke.createElement)(Tx,{title:(0,vs.__)("Pro Shapes","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Additional 30 shapes available in the Ghost Kit Pro plugin only","ghostkit")),(0,Ke.createElement)(Tx.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=${Mx}`},(0,vs.__)("Read More","ghostkit"))))})))}(0,ms.useEffect)((()=>{if(!o){const e={};Object.keys(Rx).forEach((t=>{const n=Rx[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=Ox(o);a=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":u.allow_flip_vertical&&r,"ghostkit-shape-divider-flip-horizontal":u.allow_flip_horizontal&&i},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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.BlockControls,null,(0,Ke.createElement)(us.ToolbarGroup,null,u.allow_flip_vertical?(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-vertical"),title:(0,vs.__)("Vertical Flip","ghostkit"),onClick:()=>n({flipVertical:!r}),isActive:r}):null,u.allow_flip_horizontal?(0,Ke.createElement)(us.ToolbarButton,{icon:xi("icon-flip-horizontal"),title:(0,vs.__)("Horizontal Flip","ghostkit"),onClick:()=>n({flipHorizontal:!i}),isActive:i}):null,(0,Ke.createElement)(us.Dropdown,{renderToggle:({onToggle:e})=>(0,Ke.createElement)(us.ToolbarButton,{label:(0,vs.__)("Shapes","ghostkit"),icon:"edit",className:"components-toolbar__control",onClick:e}),renderContent:()=>(0,Ke.createElement)("div",{style:{minWidth:260}},c())}))),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Style","ghostkit")},c()),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Size","ghostkit")},(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Height","ghostkit"),(0,Ke.createElement)(Zp,{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}),(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Width","ghostkit"),(0,Ke.createElement)(Zp,{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})),(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:s,onChange:e=>n({color:e}),alpha:!0}))),(0,Ke.createElement)("div",{...h}))},save:function(e){const{svg:t,flipVertical:n,flipHorizontal:o}=e.attributes;let r=cs()("ghostkit-shape-divider",{"ghostkit-shape-divider-flip-vertical":n,"ghostkit-shape-divider-flip-horizontal":o});r=(0,os.applyFilters)("ghostkit.blocks.className",r,{name:Lx,...e});const i=ds.useBlockProps.save({className:r,dangerouslySetInnerHTML:{__html:gt(t)}});return(0,Ke.createElement)("div",{...i})}},Nx=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 Dx(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,...Dx(e.innerBlocks,t)])})),n}const{name:Fx}=Nx,zx={icon:xi("block-table-of-contents",!0),ghostkit:{previewUrl:"https://www.ghostkit.io/docs/blocks/table-of-contents/"},edit:function(e){const t=(0,ms.useRef)();let{className:n}=e;const{setAttributes:o,attributes:r,isSelected:i}=e,{title:s,allowedHeaders:a,listStyle:l}=r,{headings:c,tocHTML:u}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor"),n=Dx(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,Ke.createElement)("div",{...h},(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Allowed Headers","ghostkit"),value:a,options:[{value:1,label:(0,vs.__)("Heading 1","ghostkit")},{value:2,label:(0,vs.__)("Heading 2","ghostkit")},{value:3,label:(0,vs.__)("Heading 3","ghostkit")},{value:4,label:(0,vs.__)("Heading 4","ghostkit")},{value:5,label:(0,vs.__)("Heading 5","ghostkit")},{value:6,label:(0,vs.__)("Heading 6","ghostkit")}],onChange:e=>{o({allowedHeaders:e.map((e=>parseInt(e,10)))})},multiple:!0}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("List Style","ghostkit"),value:l,options:[{value:"ol",label:(0,vs.__)("Numbered List","ghostkit")},{value:"ul",label:(0,vs.__)("Dotted List","ghostkit")},{value:"ol-styled",label:(0,vs.__)("Numbered List Styled","ghostkit")},{value:"ul-styled",label:(0,vs.__)("Dotted List Styled","ghostkit")}],onChange:e=>o({listStyle:e})}))),c&&c.length?(0,Ke.createElement)(Ke.Fragment,null,!ds.RichText.isEmpty(s)||i?(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"h5",className:"ghostkit-toc-title",placeholder:(0,vs.__)("Write title…","ghostkit"),format:"string",value:s,onChange:e=>o({title:e})}):null,u?null:(0,Ke.createElement)("div",{className:cs()("ghostkit-toc-spinner",!u&&!t.current&&"ghostkit-toc-spinner-relative")},(0,Ke.createElement)(us.Spinner,null)),u||t.current?(0,Ke.createElement)(us.Disabled,null,(0,Ke.createElement)("div",{className:"ghostkit-toc-list block-library-list"},(0,Ke.createElement)(ms.RawHTML,null,u||t.current))):null):(0,Ke.createElement)(us.Placeholder,{icon:xi("block-table-of-contents"),label:(0,vs.__)("Table of Contents","ghostkit"),instructions:(0,vs.__)("Start adding Heading blocks to create a table of contents. Headings with HTML anchors will be linked here.","ghostkit")}))},save:function(){return null}},Bx=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:jx}=Bx,Hx=[{...Bx,save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:r,tabsData:i=[]}=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:jx,...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-${r}`)},i.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 Wx({attributes:e,setAttributes:t}){const{buttonsAlign:n,buttonsVerticalAlign:o}=e,r={start:{icon:xi("icon-horizontal-start"),label:(0,vs.__)("Buttons Justify Start","ghostkit")},center:{icon:xi("icon-horizontal-center"),label:(0,vs.__)("Buttons Justify Center","ghostkit")},end:{icon:xi("icon-horizontal-end"),label:(0,vs.__)("Buttons Justify End","ghostkit")},stretch:{icon:xi("icon-horizontal-stretch"),label:(0,vs.__)("Buttons Justify Stretch","ghostkit")}};o&&(r.start.icon=xi("icon-vertical-top"),r.start.label=(0,vs.__)("Buttons Vertical Start","ghostkit"),r.center.icon=xi("icon-vertical-center"),r.center.label=(0,vs.__)("Buttons Vertical Center","ghostkit"),r.end.icon=xi("icon-vertical-bottom"),r.end.label=(0,vs.__)("Buttons Vertical End","ghostkit"),r.stretch=void 0);const i=[];Object.entries(r).forEach((e=>{e[1]&&i.push({title:e[1].label,icon:e[1].icon,isActive:n===e[0],onClick:()=>t({buttonsAlign:e[0]})})}));const s=o?(0,vs.__)("Buttons Vertical Align","ghostkit"):(0,vs.__)("Buttons Justify Align","ghostkit");return(0,Ke.createElement)(ds.BlockControls,{group:"block"},(0,Ke.createElement)(us.ToolbarGroup,null,(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:r[n].icon,label:s,controls:i})))}function Vx({attributes:e,setAttributes:t}){const{trigger:n,buttonsAlign:o,buttonsVerticalAlign:r}=e;return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Select Tab Trigger","ghostkit"),value:n,options:[{value:"",label:(0,vs.__)("Click","ghostkit")},{value:"hover",label:(0,vs.__)("Hover","ghostkit")}],onChange:e=>{t({trigger:e})}}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Vertical Tabs","ghostkit"),checked:!!r,onChange:e=>{t({buttonsVerticalAlign:e}),e&&"stretch"===o&&t({buttonsAlign:"start"})}})))}const{name:Ux}=Bx,Gx={from:[{type:"block",blocks:["ghostkit/accordion"],transform(e,t){const n=[];let o="";return t.forEach((e=>{const t=Pi(`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,cm.createBlock)("ghostkit/tabs-v2",{tabsData:n,tabActive:o},n.map(((e,n)=>(0,cm.createBlock)("ghostkit/tabs-tab-v2",{slug:e.slug},t[n]?t[n].innerBlocks:""))))}}]},{name:qx}=Bx,Kx={icon:xi("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:r=""}=e;const{tabActive:i,buttonsVerticalAlign:s,buttonsAlign:a,tabsData:l=[]}=t,{getBlocks:c,block:u,isSelectedBlockInRoot:h}=(0,Ze.useSelect)((e=>{const{getBlock:t,getBlocks:n,isBlockSelected:r,hasSelectedInnerBlock:i}=e("core/block-editor");return{getBlocks:n,block:t(o),isSelectedBlockInRoot:r(o)||i(o,!0)}})),{updateBlockAttributes:d,removeBlock:p,replaceInnerBlocks:g}=(0,Ze.useDispatch)("core/block-editor");r=cs()(r,"ghostkit-tabs",s&&"ghostkit-tabs-buttons-vertical"),r=(0,os.applyFilters)("ghostkit.editor.className",r,e);const f=(0,ds.useBlockProps)({className:r}),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)(Wx,{attributes:t,setAttributes:n}),(0,Ke.createElement)(Vx,{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:r}=e,s=i===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,vs.__)("Tab label","ghostkit"),value:r,onFocus:()=>n({tabActive:o}),onChange:e=>{((e,t)=>{const o=u.innerBlocks;if(o[t]){const r=Pi(`tab ${e}`,o[t].clientId),i=l.map(((n,o)=>t===o?{...n,title:e,slug:r}:n));n({tabActive:r,tabsData:i}),d(o[t].clientId,{slug:r})}})(e,t)},withoutInteractiveFormatting:!0}),(0,Ke.createElement)(ig,{show:h,tooltipText:(0,vs.__)("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,vs.__)("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 r=(0,cm.createBlock)("ghostkit/tabs-tab-v2",{slug:`tab-${t}`,title:`Tab ${t}`});let i=c(o);i=[...i,r],g(o,i,!1),n({tabsData:e})}})):null),(0,Ke.createElement)("div",{...m})))},save:function(e){const{tabActive:t,trigger:n,buttonsVerticalAlign:o,buttonsAlign:r,tabsData:i=[]}=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:Ux,...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-${r}`),role:"tablist","aria-orientation":o?"vertical":"horizontal"},i.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:Gx,deprecated:Hx},Yx=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:Zx}=Yx,Jx=[{...Yx,save:function(e){const{slug:t}=e.attributes;let n="ghostkit-tab";n=(0,os.applyFilters)("ghostkit.blocks.className",n,{name:Zx,...e});const o=ds.useBlockProps.save({className:n,"data-tab":t}),r=ds.useInnerBlocksProps.save(o);return(0,Ke.createElement)("div",{...r})}}],{name:Xx}=Yx,{name:Qx}=Yx,eS={icon:xi("block-tab",!0),edit:function(e){const{clientId:t,attributes:n,setAttributes:o,context:r}=e,{slug:i,active:s,anchor:a}=n,{"ghostkit/tabActive":l}=r;let{className:c=""}=e;(0,ms.useEffect)((()=>{l!==i||s?l!==i&&s&&o({active:!1}):o({active:!0})}),[s,o,i,l]),(0,ms.useEffect)((()=>{a!==`${i}-content`&&o({anchor:`${i}-content`})}),[i,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===i&&"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":i,"data-tab":i}),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:Xx,...e});const r=ds.useBlockProps.save({className:o,tabIndex:0,role:"tabpanel","aria-labelledby":`${t}-button`,"data-tab":t}),i=ds.useInnerBlocksProps.save(r);return(0,Ke.createElement)("div",{...i})},deprecated:Jx},tS=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:nS}=tS,oS=[{...tS,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 ms.Component{render(){const{attributes:e}=this.props,{photoId:t,photoUrl:n,photoAlt:o,photoWidth:r,photoHeight:i,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:nS,...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)(ep.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:r,height:i})):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)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c}),(0,Ke.createElement)(ep.Render,{name:c})))):null)}}}],rS="thumbnail",{name:iS}=tS,sS=window.wp.richText,aS={from:[{type:"block",blocks:["core/quote","core/pullquote"],transform(e){const t=(0,sS.split)((0,sS.create)({html:e.value,multilineTag:"p"}),sS.__UNSTABLE_LINE_SEPARATOR);return(0,cm.createBlock)("ghostkit/testimonial",{source:e.citation||""},t.map((e=>(0,cm.createBlock)("core/paragraph",{content:(0,sS.toHTMLString)({value:e})}))))}}]},{name:lS}=tS,cS={icon:xi("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:r}=e;let{className:i=""}=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:i}=e("core");return{hasChildBlocks:!!n&&n.getBlockOrder(r).length>0,editorSettings:n.getSettings(),photoImage:t.photoId&&o?i(t.photoId):null}})),C=(e,o=!1)=>{o=o||t.photoSizeSlug||rS;const r={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 i=e.sizes&&e.sizes[o];!i&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[o]&&(i=e.media_details.sizes[o]),i&&(i.url&&(r.photoUrl=i.url),i.source_url&&(r.photoUrl=i.source_url),i.width&&(r.photoWidth=i.width),i.height&&(r.photoHeight=i.height)),n(r)};i=cs()("ghostkit-testimonial",i),i=(0,os.applyFilters)("ghostkit.editor.className",i,e);const x=(0,ds.useBlockProps)({className:i}),S=(0,ds.useInnerBlocksProps)({},{renderAppender:w?void 0:ds.InnerBlocks.ButtonBlockAppender,templateLock:!1});return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:s,onChange:e=>n({icon:e}),insideInspector:!0})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Photo","ghostkit")},l?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,isPrimary:!0},(0,vs.__)("Select Image","ghostkit"))}),l?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:c,alt:u,width:h,height:d})))}),(0,Ke.createElement)("div",{style:{marginTop:-20}}),(0,Ke.createElement)(us.Button,{isLink:!0,onClick:e=>{n({photoId:"",photoUrl:"",photoAlt:"",photoWidth:"",photoHeight:""}),e.preventDefault()},className:"button button-secondary"},(0,vs.__)("Remove Image","ghostkit")),(0,Ke.createElement)("div",{style:{marginBottom:13}}),k&&k.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:p||rS,onChange:e=>{C(_,e)},options:k.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:u,onChange:e=>n({photoAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Stars","ghostkit")},(0,Ke.createElement)(rg,{value:g,min:0,max:5,step:.5,beforeIcon:"star-filled",allowReset:!0,onChange:e=>n({stars:e})}),"number"==typeof g?(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:f,onChange:e=>n({starsIcon:e}),insideInspector:!0}):null)),(0,Ke.createElement)(Ng,{url:m,rel:y,ariaLabel:v,target:b,onChange:e=>{n(e)},isSelected:o,toolbarSettings:!0,inspectorSettings:!0}),(0,Ke.createElement)("div",{...x},s?(0,Ke.createElement)("div",{className:"ghostkit-testimonial-icon"},(0,Ke.createElement)(ep.Dropdown,{onChange:e=>n({icon:e}),value:s,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:s})})):null,(0,Ke.createElement)("div",{className:"ghostkit-testimonial-content"},(0,Ke.createElement)("div",{...S})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-photo"},l?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e},(0,Ke.createElement)("span",{className:"dashicons dashicons-format-image"}))}),l?(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{C(e)},allowedTypes:["image"],value:l,render:({open:e})=>(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:c,alt:u,width:h,height:d}))}):null),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-meta"},(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-name",placeholder:(0,vs.__)("Write name…","ghostkit"),value:t.name,onChange:e=>n({name:e})}),(0,Ke.createElement)(ds.RichText,{inlineToolbar:!0,tagName:"div",className:"ghostkit-testimonial-source",placeholder:(0,vs.__)("Write source…","ghostkit"),value:a,onChange:e=>n({source:e})})),"number"==typeof g&&f?(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*g/5+"%"}},(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f}),(0,Ke.createElement)(ep.Preview,{name:f})))):null))},save:function(e){const{attributes:t}=e,{photoId:n,photoUrl:o,photoAlt:r,photoWidth:i,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:iS,...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)(ep.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:r,className:n?`wp-image-${n}`:null,width:i,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)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u})),(0,Ke.createElement)("div",{className:"ghostkit-testimonial-stars-back"},(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u}),(0,Ke.createElement)(ep.Render,{name:u})))):null)},transforms:aS,deprecated:oS},uS=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":{"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:hS}=uS,dS={icon:xi("block-twitter",!0),ghostkit:{},edit:function e(t){const{setAttributes:n,attributes:o}=t;let{className:r}=t;const{consumerKey:i,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:C,showProfileStats:x,showProfileDescription:S,showProfileWebsite:E,showProfileLocation:A}=o,{twitterFeed:T,twitterProfile:$}=(0,Ze.useSelect)((e=>{if(!(i&&s&&a&&l&&c))return!1;const t={consumer_key:i,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);r=cs()("ghostkit-twitter",r),r=(0,os.applyFilters)("ghostkit.editor.className",r,t);const M=i&&s&&a&&l&&c;return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.InspectorControls,null,M?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Username","ghostkit"),value:c,onChange:e=>n({userName:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Feed","ghostkit")},(0,Ke.createElement)(rg,{label:(0,vs.__)("Tweets Number","ghostkit"),value:u,onChange:e=>n({count:e}),min:1,max:20}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Replies","ghostkit"),checked:!!h,onChange:e=>n({showReplies:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Retweets","ghostkit"),checked:!!d,onChange:e=>n({showRetweets:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Avatar","ghostkit"),checked:!!p,onChange:e=>n({showFeedAvatar:e})}),p?(0,Ke.createElement)(rg,{label:(0,vs.__)("Avatar Size","ghostkit"),value:g,onChange:e=>n({feedAvatarSize:e}),min:10,max:100,allowCustomMin:!0,allowCustomMax:!0}):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Name","ghostkit"),checked:!!f,onChange:e=>n({showFeedName:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Date","ghostkit"),checked:!!m,onChange:e=>n({showFeedDate:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Actions","ghostkit"),checked:!!y,onChange:e=>n({showFeedActions:e})}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Text Mode","ghostkit"),value:v,options:[{value:"",label:(0,vs.__)("Short","ghostkit")},{value:"full",label:(0,vs.__)("Full","ghostkit")}],onChange:e=>n({feedTextMode:e})}),(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Convert Text Links","ghostkit"),value:b,options:[{value:"links_media",label:(0,vs.__)("Links + Media","ghostkit")},{value:"links",label:(0,vs.__)("Links","ghostkit")},{value:"no",label:(0,vs.__)("No Convert","ghostkit")}],onChange:e=>n({feedTextConvertLinks:e})})),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Profile","ghostkit")},(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Profile","ghostkit"),checked:!!w,onChange:e=>n({showProfile:e})}),w?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Avatar","ghostkit"),checked:!!k,onChange:e=>n({showProfileAvatar:e})}),k?(0,Ke.createElement)(rg,{label:(0,vs.__)("Avatar Size","ghostkit"),value:_,onChange:e=>n({profileAvatarSize:e}),min:30,max:150,allowCustomMin:!0,allowCustomMax:!0}):null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Name","ghostkit"),checked:!!C,onChange:e=>n({showProfileName:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Stats","ghostkit"),checked:!!x,onChange:e=>n({showProfileStats:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Description","ghostkit"),checked:!!S,onChange:e=>n({showProfileDescription:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Website","ghostkit"),checked:!!E,onChange:e=>n({showProfileWebsite:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Show Location","ghostkit"),checked:!!A,onChange:e=>n({showProfileLocation:e})})):null)):null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("API Data","ghostkit"),initialOpen:!M},(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Consumer Key","ghostkit"),value:i,onChange:e=>n({consumerKey:e})}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Consumer Secret","ghostkit"),value:s,onChange:e=>n({consumerSecret:e})}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Access Token","ghostkit"),value:a,onChange:e=>n({accessToken:e})}),(0,Ke.createElement)(us.TextControl,{placeholder:(0,vs.__)("Access Token Secret","ghostkit"),value:l,onChange:e=>n({accessTokenSecret:e})}),(0,Ke.createElement)("p",null,(0,Ke.createElement)("em",null,(0,vs.__)("A valid API data is required to use Twitter feed. How to get it","ghostkit")," ",(0,Ke.createElement)(us.ExternalLink,{href:"http://www.gabfirethemes.com/create-twitter-api-key/"},"http://www.gabfirethemes.com/create-twitter-api-key/"))))),(0,Ke.createElement)("div",{className:r},M&&w&&$?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile"},k&&$.profile_images_https?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-avatar"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`},(0,Ke.createElement)("img",{src:$.profile_images_https.original,alt:$.fullName,width:_,height:_}))):null,(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-side"},C&&$.name?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-name"},(0,Ke.createElement)("h2",{className:"ghostkit-twitter-profile-fullname"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`},$.name),$.verified?(0,Ke.createElement)("span",{className:"ghostkit-twitter-profile-verified"},(0,vs.__)("Verified account","ghostkit")):null),(0,Ke.createElement)("h3",{className:"ghostkit-twitter-profile-username"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${$.screen_name}/`},"@",$.screen_name))):null,x?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-stats"},(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,$.statuses_count_short)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Tweets","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,$.friends_count_short)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Following","ghostkit"))),(0,Ke.createElement)("div",null,(0,Ke.createElement)("strong",null,$.followers_count_short)," ",(0,Ke.createElement)("span",null,(0,vs.__)("Followers","ghostkit")))):null,S&&$.description_entitled?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-description",dangerouslySetInnerHTML:{__html:$.description_entitled}}):null,E&&$.url_entitled?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-website",dangerouslySetInnerHTML:{__html:` ${$.url_entitled}`}}):null,A&&$.location?(0,Ke.createElement)("div",{className:"ghostkit-twitter-profile-location",dangerouslySetInnerHTML:{__html:` ${$.location}`}}):null)):null,M&&T?(0,Ke.createElement)("div",{className:"ghostkit-twitter-items"},T.map(((e,t)=>{const n=e;let o=!1;e.retweeted_status&&(e=e.retweeted_status,o=!0);const r=`twitter-item-${t}`;return(0,Ke.createElement)("div",{className:"ghostkit-twitter-item",key:r},p?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-avatar"},o&&(0,Ke.createElement)("br",null),(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`},(0,Ke.createElement)("img",{src:e.user.profile_images_https.bigger,alt:e.user.screen_name,width:g,height:g}))):null,(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-content"},o?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-retweeted"},(0,Ke.createElement)("span",{className:"ghostkit-twitter-item-retweeted-icon",dangerouslySetInnerHTML:{__html:''}}),(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${n.user.screen_name}/`},(0,Ke.createElement)("strong",null,n.user.name)),(0,vs.__)("Retweeted","ghostkit")):null,f||m?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-meta"},f?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-meta-name"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/`},(0,Ke.createElement)("strong",null,e.user.name)," ",e.user.verified?(0,Ke.createElement)("span",{className:"ghostkit-twitter-item-meta-name-verified"},(0,vs.__)("Verified account","ghostkit")):null," ",(0,Ke.createElement)("span",null,"@",e.user.screen_name))):null,m?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-meta-date"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`},e.date_formatted)):null):null,"links_media"===b?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled}}):null,"links"===b?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text_entitled_no_media}}):null,"links_media"!==b&&"links"!==b?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-text",dangerouslySetInnerHTML:{__html:e.text}}):null,y?(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-actions"},(0,Ke.createElement)("div",{className:"ghostkit-twitter-item-actions-retweet"},(0,Ke.createElement)("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,Ke.createElement)("div",{className:"ghostkit-twitter-item-actions-like"},(0,Ke.createElement)(us.ExternalLink,{href:`https://twitter.com/${e.user.screen_name}/status/${e.id_str}`},(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:"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,Ke.createElement)("span",null,e.favorite_count_short):null))):null))}))):null,M&&!T?(0,Ke.createElement)("div",{className:"ghostkit-twitter-spinner"},(0,Ke.createElement)(us.Spinner,null)):null,M?null:(0,Ke.createElement)(us.Placeholder,{icon:xi("block-twitter"),label:(0,vs.__)("Twitter","ghostkit"),instructions:(0,vs.__)("A valid API data is required to use Twitter feed. You can fill it in the block settings in Inspector.","ghostkit"),className:r})))},save:function(){return null}},pS=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 gS(e){const{attributes:t,setAttributes:n,clientId:o}=e,{type:r,clickAction:i,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"===r&&"plain"===i&&!f,v="video"===r&&"fullscreen"===i,b="fullscreen"===i;return g&&m||g&&v||g&&"yt_vm_video"===r&&b?(0,Ke.createElement)(ds.InspectorControls,{group:"color"},m&&(0,Ke.createElement)(ds.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:s,gradientValue:a,label:(0,vs.__)("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,vs.__)("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,vs.__)("Fullscreen Background","ghostkit"),onColorChange:e=>{n({fullscreenBackgroundColor:e})},onGradientChange:e=>{n({fullscreenBackgroundGradient:e})},isShownByDefault:!0,resetAllFilter:()=>({fullscreenBackgroundColor:void 0})}],panelId:o,...p})):null}function fS({nameAttributes:e,setAttributes:t,children:n=(0,vs.__)("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 mS="full";function vS(e){const{attributes:t,setAttributes:n,isSelected:o}=e,{type:r,video:i,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:C,fullscreenBackgroundColor:x,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||_||mS;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 r=e.sizes&&e.sizes[t];!r&&e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]&&(r=e.media_details.sizes[t]),r&&(r.url&&(o.posterUrl=r.url),r.source_url&&(o.posterUrl=r.source_url),r.width&&(o.posterWidth=r.width),r.height&&(o.posterHeight=r.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,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(ag,{value:r,options:[{label:(0,vs.__)("YouTube / Vimeo","ghostkit"),value:"yt_vm_video"},{label:(0,vs.__)("Self Hosted","ghostkit"),value:"video"}],onChange:e=>n({type:e}),isBlock:!0}),"yt_vm_video"===r&&(0,Ke.createElement)(us.TextControl,{label:(0,vs.__)("Video URL","ghostkit"),type:"url",value:i,onChange:e=>n({video:e})}),"video"===r&&(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Select Video","ghostkit"),label:(0,vs.__)("Select Video","ghostkit")},(0,Ke.createElement)("div",{style:{display:"flex",gap:"10px"}},!s&&(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{R(e,["videoMp4","videoMp4Id"])},allowedTypes:["video/mp4","video/m4v"],value:s,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("MP4","ghostkit"))}),!a&&(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{R(e,["videoOgv","videoOgvId"])},allowedTypes:["video/ogg","video/ogv"],value:a,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("OGV","ghostkit"))}),!l&&(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{R(e,["videoWebm","videoWebmId"])},allowedTypes:["video/webm"],value:l,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("WEBM","ghostkit"))}))),"video"===r&&(s||a||l)?(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Preview","ghostkit"),label:(0,vs.__)("Preview","ghostkit")},(0,Ke.createElement)("video",{controls:!0,style:{aspectRatio:"16/9",backgroundColor:g}},s?(0,Ke.createElement)("source",{src:s,type:"video/mp4"}):null,a?(0,Ke.createElement)("source",{src:a,type:"video/ogg"}):null,l?(0,Ke.createElement)("source",{src:l,type:"video/webm"}):null),(0,Ke.createElement)("span",null,s?.substring(s.lastIndexOf("/")+1),a?.substring(a.lastIndexOf("/")+1),l?.substring(l.lastIndexOf("/")+1)),(0,Ke.createElement)(fS,{nameAttributes:["videoWebm","videoWebmId","videoOgv","videoOgvId","videoMp4","videoMp4Id"],setAttributes:n}),(0,Ke.createElement)("div",{style:{marginBottom:"-8px"}})):null),(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Settings","ghostkit")},(0,Ke.createElement)(tg,{attributes:{aspectRatio:c},hasOriginalOption:!1,hasSizeSelectors:!1,onChangeAspectRatio:e=>n({videoAspectRatio:e})}),(0,Ke.createElement)(rg,{label:(0,vs.__)("Volume","ghostkit"),value:u,min:0,max:100,onChange:e=>n({videoVolume:e})}),(0,Ke.createElement)(ep,{label:(0,vs.__)("Play Icon","ghostkit"),value:f,onChange:e=>n({iconPlay:e}),insideInspector:!0}),(0,Ke.createElement)(ep,{label:(0,vs.__)("Loading Icon","ghostkit"),value:m,onChange:e=>n({iconLoading:e}),insideInspector:!0}),lt(E,"is-style-icon-only")?(0,Ke.createElement)(us.BaseControl,{id:(0,vs.__)("Icon Align","ghostkit"),label:(0,vs.__)("Icon Align","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(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,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Click Action","ghostkit")},(0,Ke.createElement)(ag,{value:C,options:[{label:(0,vs.__)("Plain","ghostkit"),value:"plain",disabled:lt(E,"is-style-icon-only")},{label:(0,vs.__)("Fullscreen","ghostkit"),value:"fullscreen"}],onChange:e=>n({clickAction:e}),isBlock:!0}),"fullscreen"===C?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(rs,{name:"ghostkit.editor.controls",attribute:"fullscreenBackgroundColor",props:e},(0,Ke.createElement)(gs,{label:(0,vs.__)("Fullscreen Background","ghostkit"),value:x,onChange:e=>n({fullscreenBackgroundColor:e}),alpha:!0})),(0,Ke.createElement)(ep,{label:(0,vs.__)("Fullscreen Close Icon","ghostkit"),value:S,onChange:e=>n({fullscreenActionCloseIcon:e}),insideInspector:!0})):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Autoplay","ghostkit"),help:(0,vs.__)("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})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Autopause","ghostkit"),help:(0,vs.__)("Automatically pause video when block out of the viewport.","ghostkit"),checked:!!d,onChange:e=>n({videoAutopause:e})}),(0,Ke.createElement)(us.ToggleControl,{label:(0,vs.__)("Loop","ghostkit"),checked:!!p,onChange:e=>n({videoLoop:e})}))),lt(E,"is-style-icon-only")?null:(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Poster Image","ghostkit")},v?null:(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,Ke.createElement)(us.Button,{onClick:e,variant:"primary"},(0,vs.__)("Select Image","ghostkit"))}),v?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.MediaUpload,{onSelect:e=>{$(e)},allowedTypes:["image"],value:v,render:({open:e})=>(0,Ke.createElement)(us.BaseControl,{help:(0,vs.__)("Click the image to edit or update","ghostkit")},(0,Ke.createElement)("a",{href:"#",onClick:e,className:"ghostkit-gutenberg-media-upload",style:{display:"block"}},(0,Ke.createElement)("img",{src:b,alt:y,width:w,height:k})))}),(0,Ke.createElement)(us.TextareaControl,{label:(0,vs.__)("Alt text (alternative text)"),value:y,onChange:e=>n({posterAlt:e}),help:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,vs.__)("Describe the purpose of the image","ghostkit")),(0,vs.__)("Leave empty if the image is purely decorative.","ghostkit"))}),A?.imageSizes?(0,Ke.createElement)(us.SelectControl,{label:(0,vs.__)("Resolution","ghostkit"),help:(0,vs.__)("Select the size of the source image.","ghostkit"),value:_||mS,onChange:e=>{$(T,e)},options:A.imageSizes.map((e=>({value:e.slug,label:e.name})))}):null,(0,Ke.createElement)("div",{style:{marginTop:"-10px"}}),(0,Ke.createElement)(fS,{nameAttributes:["posterId","posterUrl","posterAlt","posterWidth","posterHeight"],setAttributes:n})):null))}const bS={};let yS;const{name:wS}=pS;function kS(e){let t="16-9";const{video:n,videoAspectRatio:o}=e;let{className:r}=e;return"21:9"===o?t="21-9":"4:3"===o?t="4-3":"3:2"===o&&(t="3-2"),t&&(r=`wp-embed-aspect-${t} wp-has-aspect-ratio ${r}`),{url:n,className:r}}const _S={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,cm.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,r={type:"video",videoVolume:o?0:100};return/\.ogv$|\.ogg$/.test(n)?(r.videoOgv=n,r.videoOgvId=t):/\.webm$/.test(n)?(r.videoWebm=n,r.videoWebmId=t):(r.videoMp4=n,r.videoMp4Id=t),(0,cm.createBlock)("ghostkit/video",r)}}],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,cm.createBlock)("core-embed/youtube",kS(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,cm.createBlock)("core-embed/vimeo",kS(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,cm.createBlock)("core/video",{id:e.videoMp4Id||e.videoOgvId||e.videoWebmId,src:e.videoMp4||e.videoOgv||e.videoWebm,muted:0===e.videoVolume})}]},{name:CS}=pS,xS={icon:xi("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,vs.__)("Plain","ghostkit"),isDefault:!0},{name:"icon-only",label:(0,vs.__)("Icon Only","ghostkit")}],edit:function(e){const{attributes:t,setAttributes:n,isSelected:o,clientId:r}=e,{type:i,video:s,videoPosterPreview:a,videoAspectRatio:l,iconPlay:c,posterId:u,posterUrl:h,posterAlt:d,posterWidth:p,posterHeight:g,clickAction:f,className:m}=t;(0,ms.useEffect)((()=>{!u&&"yt_vm_video"===i&&s&&function(e,t){bS[e]?t(bS[e]):void 0!==window.VideoWorker?(clearTimeout(yS),yS=setTimeout((()=>{const n=new window.VideoWorker(e);n.isValid()?n.getImageURL((n=>{bS[e]=n,t(n)})):t("")}),500)):t("")}(s,(e=>{e!==a&&n({videoPosterPreview:e})}))})),(0,ms.useEffect)((()=>{"plain"===f&&m&<(m,"is-style-icon-only")&&n({clickAction:"fullscreen"})}),[f,m]),(0,ms.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)(gS,{attributes:t,setAttributes:n,clientId:r}),(0,Ke.createElement)(vS,{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"!==i||!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)(ep.Dropdown,{onChange:e=>n({iconPlay:e}),value:c,renderToggle:({onToggle:e})=>(0,Ke.createElement)(ep.Preview,{onClick:e,name:c})})):null))},save:function(e){const{attributes:t}=e,{type:n,video:o,videoMp4:r,videoOgv:i,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:C,fullscreenBackgroundGradient:x,className:S}=t,E={className:"ghostkit-video"};E.className=(0,os.applyFilters)("ghostkit.blocks.className",E.className,{name:wS,...e}),E["data-video-type"]=n,E["data-video"]="","video"===n?(r&&(E["data-video"]+=`mp4:${r}`),i&&(E["data-video"]+=`${E["data-video"].length?",":""}ogv:${i}`),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"]=C,E["data-fullscreen-background-gradient"]=x):(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)(ep.Render,{name:d,tag:"div",className:"ghostkit-video-play-icon"}):null,p?(0,Ke.createElement)(ep.Render,{name:p,tag:"div",className:"ghostkit-video-loading-icon"}):null,"fullscreen"===y&&w?(0,Ke.createElement)(ep.Render,{name:w,tag:"div",className:"ghostkit-video-fullscreen-close-icon"}):null)},transforms:_S},SS=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:ES}=window,{name:AS}=SS,TS={icon:xi("block-widgetized-area",!0),ghostkit:{},edit:function(e){const{setAttributes:t,attributes:n}=e;let{className:o}=e;const{id:r}=n;o=cs()("ghostkit-widgetized-area",o);const i=(0,ds.useBlockProps)({className:o});return(0,Ke.createElement)("div",{...i},(0,Ke.createElement)(us.Placeholder,{icon:xi("block-widgetized-area"),label:(0,vs.__)("Widgetized Area","ghostkit")},(0,Ke.createElement)(us.SelectControl,{value:r,onChange:e=>t({id:e}),options:(()=>{const e=[{label:(0,vs.__)("--- Select Sidebar ---","ghostkit"),value:""}];return ES.sidebars&&Object.keys(ES.sidebars).forEach((t=>{e.push({label:ES.sidebars[t].name,value:ES.sidebars[t].id})})),e})()})))},save:function(){return null}};function $S(e){const{children:t,contentRef:n,settings:o}=e,r=(0,ds.useCachedTruthy)((0,sS.useAnchor)({editableContentElement:n.current,settings:o}));return(0,Ke.createElement)(us.Popover,{className:"ghostkit-format-badge-popover ghostkit-component-color-picker__dropdown-content",anchor:r},t)}document.addEventListener("DOMContentLoaded",(()=>{[ke,_e,Pe,Z,J,oe,Ne,Y,Ce,xe,Se,te,ne,q,K,Fe,ze,He,X,Q,Le,Ie,Be,De,je,Ee,Ae,Oe,we,ye,ee,We,be,re,fe,ae,ce,ve,he,ue,se,me,pe,ie,de,le,ge].forEach((({name:e,settings:t})=>{(0,cm.registerBlockType)(e,t)}))}));const MS="ghostkit/badge",RS={title:(0,vs.__)("Badge","ghostkit"),tagName:"span",className:"ghostkit-badge",attributes:{style:"style"},edit:function(e){const{isActive:t,value:n,contentRef:o,onChange:r}=e,[i,s]=(0,ms.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 i=e?sS.applyFormat:sS.toggleFormat;r(i(n,{type:MS,attributes:o}))}(0,ms.useEffect)((()=>{!t&&i&&s(!1)}),[t,i]);let l={};return t&&(l=function(){const{attributes:e}=(0,sS.getActiveFormat)(n,MS);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:xi("icon-badge"),title:(0,vs.__)("Badge","ghostkit"),onClick:()=>{t||a(),s(!i)},isActive:t}),t&&i?(0,Ke.createElement)($S,{value:n,name:MS,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,vs.__)("Text","ghostkit"),value:l?.color||"",onChange:e=>{a(l?.background||"",e)},alpha:!0}):(0,Ke.createElement)(ps,{label:(0,vs.__)("Background","ghostkit"),value:l?.background||"",onChange:e=>{a(e,l?.color||"")},alpha:!0,gradient:!0})))):null)}},OS="ghostkit/mark",LS={title:(0,vs.__)("Highlight","ghostkit"),tagName:"mark",className:"ghostkit-highlight",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function r(){n((0,sS.toggleFormat)(t,{type:OS}))}return o?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"m",onUse:()=>r()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"m",shortcutType:"access",title:(0,vs.__)("Highlight","ghostkit"),icon:xi("icon-felt-pen"),onClick:()=>r(),isActive:o})):null}};var IS=n(1104);const PS=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 NS(e,t){return Math.floor(Math.random()*(t-e)+e)}const DS="ghostkit/lorem-ipsum",FS={title:(0,vs.__)("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 r=n.lastIndexOf("lorem",t),i=t,s=i-r;if(-1===r)return e;if(s<7||s>9)return e;const a=n.substring(r,i).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.Yf({words:PS}).generateWords(e);const r=function(e){if(e.length<2)return e;const t=(e=e.slice()).length,n=/,$/;let o=0;o=t>3&&t<=6?NS(0,1):t>6&&t<=12?NS(0,2):NS(1,4);for(let r,i=0;i5});return(0,sS.insert)(e,c,r,i)},edit:null},zS="ghostkit/uppercase",BS={title:(0,vs.__)("Uppercase","ghostkit"),tagName:"span",className:"ghostkit-text-uppercase",edit:function(e){const{value:t,onChange:n,isActive:o}=e;function r(){n((0,sS.toggleFormat)(t,{type:zS}))}return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(ds.RichTextShortcut,{type:"access",character:"u",onUse:()=>r()}),(0,Ke.createElement)(ds.RichTextToolbarButton,{shortcutCharacter:"u",shortcutType:"access",title:(0,vs.__)("Uppercase","ghostkit"),icon:xi("icon-text-uppercase"),onClick:()=>r(),isActive:o}))}};function jS(e){if("object"==typeof e){const t=(0,Xi.cloneDeep)(e),n={};return Object.keys(t).forEach((e=>{n[tt(e)]=jS(t[e])})),n}return e}function HS(e){const{attributes:t}=e,{ghostkitId:n,ghostkitClassname:o,ghostkitStyles:r,ghostkitCustomCSS:i,ghostkitPosition:s,ghostkitSpacings:a,ghostkitFrame:l}=t,c={};if(n||o||r||i||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,Xi.cloneDeep)(t?.ghostkit||{});n&&!e?.id&&(e.id=n),i&&!e?.styles?.custom&&(void 0===e?.styles&&(e.styles={}),e.styles.custom=i),r&&Object.keys(r).length&&(void 0===e?.styles&&(e.styles={}),Object.keys(r).forEach((t=>{e.styles=(0,Xi.merge)(e.styles,r[t])}))),e.styles&&(e.styles=jS(e.styles)),c.ghostkit=e}return c}function WS(e){const{setAttributes:t}=e;return(0,ms.useEffect)((()=>{setTimeout((()=>{let n={};const o=function(e){const{name:t,attributes:n}=e,{ghostkitSR:o}=n,r={};if(((0,cm.hasBlockSupport)(t,["ghostkit","effects","reveal"])||!0===(0,cm.getBlockSupport)(t,["ghostkit","effects"]))&&o){const e={effect:"",direction:"",distance:50,scale:.9,duration:900,delay:0},t=o.split(";");let i=t[0];if(i){let n=i.split("-");2===n.length?(i=n[0],n=n[1]):n="",e.effect=i,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,r=t.split("-");if(2===r.length)switch(t=r[0],r=r[1],r){case"up":r="bottom";break;case"down":r="top";break;case"right":r="right";break;case"left":r="left"}else r="center",n=0;"zoom"===t&&(o=.9);const i={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&&(i[t[0]]=t[1])})),i.distance&&r)switch(r){case"bottom":i.y=parseFloat(i.distance);break;case"top":i.y=-parseFloat(i.distance);break;case"right":i.x=parseFloat(i.distance);break;case"left":i.x=-parseFloat(i.distance)}return delete i.distance,i.scale=parseFloat(i.scale),i.duration=parseFloat(i.duration)/1e3,i.delay=parseFloat(i.delay)/1e3,i}(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,r.ghostkit=s}r.ghostkitSR=void 0}return r}(e),r=HS(e);o&&(n=(0,Xi.merge)(n,o)),r&&(n=(0,Xi.merge)(n,r)),Object.keys(n).length&&t(n)}),0)}),[]),null}[qe,Ve,Ge,Ue].forEach((({name:e,settings:t})=>{(0,sS.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 VS=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(WS,{...t}))}),"withInspectorControl");(0,os.addFilter)("editor.BlockEdit","ghostkit/deprecated/extensions",VS),(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:US}=window.GHOSTKIT,{version:GS}=window.ghostkitVariables;function qS(){return(0,Ke.createElement)(Tx,{title:(0,vs.__)("Attributes","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Adding custom attributes to block available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Tx.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=${GS}`},(0,vs.__)("Read More","ghostkit")))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/attributes/inspector",(function(e,{props:t}){const{name:n}=t;return(0,cm.hasBlockSupport)(n,["ghostkit","attributes"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"advanced"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.attributes.controls",props:t}))):e})),(0,os.addFilter)("ghostkit.extension.attributes.controls","ghostkit/extension/attributes/controls",((e,{props:t})=>US?e:(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(qS,{...t}))));var KS=n(4772),YS=n.n(KS),ZS=n(6036);const JS=["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 XS(e={},t="",n=!0){const o={};let r="";return Object.keys(e).forEach((i=>{if(null!==e[i]&&"object"==typeof e[i])if(/^media_/.test(i))r+=`${r?" ":""}@media #{ghostkitvar:${i}} { ${XS(e[i],t,n)} }`;else if(/^@supports/.test(i))r+=`${r?" ":""}${i} { ${XS(e[i],t,n)} }`;else{let o=t;o=o?-1!==i.indexOf("&")?i.replace(/&/g,o):`${o} ${i}`:i,r+=(r?" ":"")+XS(e[i],o,n)}else if(void 0!==e[i]&&!1!==e[i]){n&&(t=(t=t.replace(/>/g,">")).replace(/{r="custom"===e?`${o[e]}${r?` ${r}`:""}`:`${e} {${o[e]} }${r?` ${r}`:""}`})),r}function QS(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=QS(e[n]);o&&Object.keys(o).length&&(t[n]=o)}})),t}function eE(e=!1){let t=[];return e?(e.forEach((e=>{t.push(e),e.innerBlocks&&e.innerBlocks.length&&(t=[...t,...eE(e.innerBlocks)])})),t):t}function tE(e){const{setAttributes:t,attributes:n,clientId:o,name:r}=e,{ghostkit:i,className:s}=n,a=(0,cm.getBlockSupport)(r,["ghostkit","styles","customSelector"]),{allBlocks:l,blockSettings:c}=(0,Ze.useSelect)((e=>{const{getBlocks:t}=e("core/block-editor");return{allBlocks:t(),blockSettings:(0,cm.getBlockType)(r)}}),[r]),u=(0,ms.useCallback)((e=>{let t=i?.id;if(!t||e){const n={};if(e&&eE(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||"",r=10;for(;!e||void 0!==n[e]&&n[e]!==o&&r>0;)e=ZS.unique(o),r-=1;e&&void 0===n[e]&&(n[e]=o),e!==t&&(t=e)}}return t||!1}),[i,l,o]),h=(0,ms.useCallback)((o=>{const r={},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=i?.styles&&Object.keys(i.styles).length;let d=!l&&!h;if(l||h){let e=(0,Xi.cloneDeep)(i?.styles||{});l&&(e=Di(e,pt(a))),e&&(e=QS(e));const t=Object.keys(e).length&&u(o);if(t){if(t!==i?.id&&(r.ghostkit||(r.ghostkit=(0,Xi.cloneDeep)(i||{})),r.ghostkit.id=t),!lt(s,`ghostkit-custom-${t}`)){const e=it(s,"ghostkit-custom",t);e!==s&&(r.className=e)}YS()(i?.styles,e)||(r.ghostkit||(r.ghostkit=(0,Xi.cloneDeep)(i||{})),r.ghostkit.styles=e)}else d=!0}if(d){const e=it(s,"ghostkit-custom","");e!==s&&(r.className=e||void 0),(i?.styles||i?.id)&&(r.ghostkit||(r.ghostkit=(0,Xi.cloneDeep)(i||{})),r?.ghostkit?.styles&&delete r.ghostkit.styles,r?.ghostkit?.id&&delete r.ghostkit.id),r?.ghostkit&&!Object.keys(r.ghostkit).length&&(r.ghostkit=void 0)}Object.keys(r).length&&t(r)}),[c,n,i,e,s,t]),d=Sv(60,h),p=(0,ms.useRef)(!1);(0,ms.useEffect)((()=>{p.current?d():(p.current=!0,h(!0))}),[n]);let g="";if(i?.id){if(i?.styles&&Object.keys(i?.styles).length){let e=`.ghostkit-custom-${i?.id}`;a&&(e=a.replace("&",e)),g+=(g?" ":"")+XS(gt({[e]:i?.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)(_s,{styles:window.GHOSTKIT.replaceVars(g)}):null}const nE=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(tE,{...t}))}),"withNewAttrs");(0,os.addFilter)("editor.BlockEdit","ghostkit/styles/additional-attributes",nE);const oE={x:0,y:0,opacity:1,scale:1,rotate:0,transition:{type:"spring",...wg}},rE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,iE=us.__stableNumberControl||us.__experimentalNumberControl,sE=us.__stableGrid||us.__experimentalGrid,{version:aE}=window.ghostkitVariables;function lE(e){const{attributes:t,setAttributes:n,clientId:o}=e,r=t?.ghostkit?.effects?.reveal;function i(e,n){return void 0===t?.ghostkit?.effects?.reveal?.[e]?n:t.ghostkit.effects.reveal[e]}function s(e,o=!1){const r=(0,Xi.cloneDeep)(t?.ghostkit||{});void 0===r?.effects&&(r.effects={}),(o||void 0===r?.effects?.reveal)&&(r.effects.reveal?.transition?r.effects.reveal={transition:r.effects.reveal.transition}:r.effects.reveal={}),Object.keys(e).forEach((t=>{r.effects.reveal[t]=e[t]})),n({ghostkit:r})}return(0,Ke.createElement)(rE,{label:(0,vs.__)("Reveal","ghostkit"),hasValue:()=>!!r,onSelect:()=>{if(void 0===t?.ghostkit?.effects?.reveal){const e=(0,Xi.cloneDeep)(t?.ghostkit||{});e.effects={...e.effects,reveal:{opacity:0}},n({ghostkit:e})}},onDeselect:()=>{if(void 0!==t?.ghostkit?.effects?.reveal){const e=(0,Xi.cloneDeep)(t?.ghostkit||{});delete e?.effects?.reveal,n({ghostkit:e})}},isShownByDefault:!1},(0,Ke.createElement)(ws,{label:(0,vs.__)("Reveal","ghostkit"),contentClassName:"ghostkit-component-effects-reveal"},(0,Ke.createElement)(_s,{styles:`\n [data-block="${o}"] {\n transform: translateX(${i("x",oE.x)}px) translateY(${i("y",oE.y)}px) scale(${i("scale",oE.scale)}) rotate(${i("rotate",oE.rotate)}deg);\n opacity: ${Math.max(.1,i("opacity",oE.opacity))};\n }\n `}),(0,Ke.createElement)(yg,{value:r,onChange:e=>{s(e,!0)}}),(0,Ke.createElement)(sE,{columns:2},(0,Ke.createElement)(iE,{label:(0,vs.__)("X","ghostkit"),value:i("x"),placeholder:oE.x,onChange:e=>{s({x:""===e?void 0:parseFloat(e)})},suffix:"px ",style:{flex:1}}),(0,Ke.createElement)(iE,{label:(0,vs.__)("Y","ghostkit"),value:i("y"),placeholder:oE.y,onChange:e=>s({y:""===e?void 0:parseFloat(e)}),suffix:"px ",style:{flex:1}})),(0,Ke.createElement)(sE,{columns:3},(0,Ke.createElement)(iE,{label:(0,vs.__)("Opacity","ghostkit"),value:i("opacity"),placeholder:oE.opacity,onChange:e=>s({opacity:""===e?void 0:parseFloat(e)}),min:0,max:1,step:.01,style:{flex:1}}),(0,Ke.createElement)(iE,{label:(0,vs.__)("Scale","ghostkit"),value:i("scale"),placeholder:oE.scale,onChange:e=>s({scale:""===e?void 0:parseFloat(e)}),min:0,max:10,step:.01,style:{flex:1}}),(0,Ke.createElement)(iE,{label:(0,vs.__)("Rotate","ghostkit"),value:i("rotate"),placeholder:oE.rotate,onChange:e=>s({rotate:""===e?void 0:parseFloat(e)}),suffix:"deg ",style:{flex:1}})),(0,Ke.createElement)(Ag,{label:(0,vs.__)("Transition","ghostkit"),value:i("transition",oE.transition),onChange:e=>s({transition:e})}),(0,Ke.createElement)(Tx,{title:(0,vs.__)("Pro Settings","ghostkit"),collapsed:!0},(0,Ke.createElement)("p",null,(0,vs.__)("Advanced reveal settings are available in the Ghost Kit Pro plugin only:","ghostkit")),(0,Ke.createElement)("ul",null,(0,Ke.createElement)("li",null,(0,vs.__)("3D Rotation","ghostkit")),(0,Ke.createElement)("li",null,(0,vs.__)("Custom Viewport","ghostkit")),(0,Ke.createElement)("li",null,(0,vs.__)("Replay Animation","ghostkit"))),(0,Ke.createElement)(Tx.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=${aE}`},(0,vs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/reveal",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","effects","reveal"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(lE,{...t})):e));const cE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:uE}=window.GHOSTKIT,{version:hE}=window.ghostkitVariables,dE={mouseHover:{label:(0,vs.__)("Mouse Hover","ghostkit")},mousePress:{label:(0,vs.__)("Mouse Press","ghostkit")},mouseMove:{label:(0,vs.__)("Mouse Move","ghostkit")},scroll:{label:(0,vs.__)("Scroll","ghostkit")},loop:{label:(0,vs.__)("Loop","ghostkit")}};function pE(){const[e,t]=(0,ms.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)(Tx,{title:(0,vs.__)("Advanced Effects","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Advanced effects are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Tx.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=${hE}`},(0,vs.__)("Read More","ghostkit")))),Object.keys(dE).map((e=>(0,Ke.createElement)(cE,{key:e,label:dE[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.effects.tools","ghostkit/extension/effects/pro",((e,{props:t})=>uE?e:Object.keys(dE).some((e=>(0,cm.hasBlockSupport)(t.name,["ghostkit","effects",e])))||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(pE,{...t})):e));const gE=us.__stableToolsPanel||us.__experimentalToolsPanel;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/effects/inspector",(function(e,{props:t}){const{name:n,attributes:o,setAttributes:r}=t;return(0,cm.hasBlockSupport)(n,["ghostkit","effects"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(gE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-sr")),(0,Ke.createElement)("span",null,(0,vs.__)("Effects","ghostkit"))),resetAll:()=>{const e={...o?.ghostkit||{}};void 0!==e?.effects&&(delete e?.effects,r({ghostkit:e}))}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-effects"},(0,Ke.createElement)(rs,{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:r}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","effects"]))return e;const i=o?.ghostkit?.effects;return i?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.BlockControls,{group:"other"},(0,Ke.createElement)(us.ToolbarDropdownMenu,{icon:xi("extension-sr"),label:(0,vs.__)("Effects","ghostkit"),menuProps:{style:{width:"260px"}},popoverProps:{focusOnMount:!1}},(()=>(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.MenuGroup,null,(0,vs.__)('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,vs.__)("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,r({ghostkit:e}))}},(0,vs.__)("Reset All","ghostkit")))))))):e}));const fE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function mE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("position",e)})),(0,Ke.createElement)(fE,{label:(0,vs.__)("Position","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("position")||o({position:"default"})},onDeselect:()=>{r(["position"],!0)},isShownByDefault:!1},["absolute","fixed"].includes(t("position",i))?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(og,{status:"info",isDismissible:!1},(0,vs.__)("Please note! Custom positioning is not considered best practice for responsive web design and should not be used too frequently.","ghostkit")),(0,Ke.createElement)("br",null)):null,(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Position","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("position",e)})),value:t("position",i),onChange:e=>{o({position:e||void 0},i)},options:[{value:"",label:(0,vs.__)("Default","ghostkit")},{value:"absolute",label:(0,vs.__)("Absolute","ghostkit")},{value:"fixed",label:(0,vs.__)("Fixed","ghostkit")},{value:"relative",label:(0,vs.__)("Relative","ghostkit")},{value:"sticky",label:(0,vs.__)("Sticky","ghostkit")}]}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/position",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","position"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(mE,{...t})):e));const vE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,bE=[{name:"top",label:(0,vs.__)("Top","ghostkit")},{name:"right",label:(0,vs.__)("Right","ghostkit")},{name:"bottom",label:(0,vs.__)("Bottom","ghostkit")},{name:"left",label:(0,vs.__)("left","ghostkit")}];function yE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{bE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(vE,{label:(0,vs.__)("Distance","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(bE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Distance","ghostkit"),inputs:bE,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,cm.hasBlockSupport)(t.name,["ghostkit","position","distance"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(yE,{...t})):e));const wE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,kE=us.__stableUnitControl||us.__experimentalUnitControl;function _E(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("width",e)})),(0,Ke.createElement)(wE,{label:(0,vs.__)("Width","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{r(["width"],!0)},isShownByDefault:!1},(0,Ke.createElement)(kE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Width","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("width",e)})),value:t("width",i),onChange:e=>{o({width:e},i)},labelPosition:"edge",__unstableInputWidth:"70px",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}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/width",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","width"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(_E,{...t})):e));const CE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,xE=us.__stableUnitControl||us.__experimentalUnitControl;function SE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("height",e)})),(0,Ke.createElement)(CE,{label:(0,vs.__)("Height","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{r(["height"],!0)},isShownByDefault:!1},(0,Ke.createElement)(xE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Height","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("height",e)})),value:t("height",i),onChange:e=>{o({height:e},i)},labelPosition:"edge",__unstableInputWidth:"70px",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}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/height",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","height"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(SE,{...t})):e));const EE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,AE=[{name:"min-width",label:(0,vs.__)("Min","ghostkit")},{name:"max-width",label:(0,vs.__)("Max","ghostkit")}];function TE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{AE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(EE,{label:(0,vs.__)("Min Max Width","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(AE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Min Max Width","ghostkit"),inputs:AE,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,cm.hasBlockSupport)(t.name,["ghostkit","position","minMaxWidth"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(TE,{...t})):e));const $E=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,ME=[{name:"min-height",label:(0,vs.__)("Min","ghostkit")},{name:"max-height",label:(0,vs.__)("Max","ghostkit")}];function RE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{ME.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)($E,{label:(0,vs.__)("Min Max Height","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(ME.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Min Max Height","ghostkit"),inputs:ME,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,cm.hasBlockSupport)(t.name,["ghostkit","position","minMaxHeight"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(RE,{...t})):e));const OE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,LE=us.__stableNumberControl||us.__experimentalNumberControl;function IE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("z-index",e)})),(0,Ke.createElement)(OE,{label:(0,vs.__)("zIndex","ghostkit"),hasValue:()=>!!a,onDeselect:()=>{r(["z-index"],!0)},isShownByDefault:!1},(0,Ke.createElement)(LE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("zIndex","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("z-index",e)})),value:t("z-index",i),onChange:e=>{o({"z-index":e},i)},labelPosition:"edge",__unstableInputWidth:"70px"}))}(0,os.addFilter)("ghostkit.extension.position.tools","ghostkit/extension/position/tools/zIndex",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","position","zIndex"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","position"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(IE,{...t})):e));const PE={effects:{label:(0,vs.__)("Effects","ghostkit"),attributes:["effects"]},position:{label:(0,vs.__)("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,vs.__)("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,vs.__)("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,vs.__)("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,vs.__)("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:[""]}},NE=us.__stableToolsPanel||us.__experimentalToolsPanel,DE=PE.position.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/position/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","position"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(NE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-position")),(0,Ke.createElement)("span",null,(0,vs.__)("Position","ghostkit"))),resetAll:()=>{o(DE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-position"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.position.tools",props:t})))))}),12);const FE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,zE=[{name:"padding-top",label:(0,vs.__)("Top","ghostkit")},{name:"padding-right",label:(0,vs.__)("Right","ghostkit")},{name:"padding-bottom",label:(0,vs.__)("Bottom","ghostkit")},{name:"padding-left",label:(0,vs.__)("left","ghostkit")}];function BE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{zE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(FE,{label:(0,vs.__)("Padding","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(zE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("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,cm.hasBlockSupport)(t.name,["ghostkit","spacings","padding"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(BE,{...t})):e));const jE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,HE=[{name:"margin-top",label:(0,vs.__)("Top","ghostkit")},{name:"margin-right",label:(0,vs.__)("Right","ghostkit")},{name:"margin-bottom",label:(0,vs.__)("Bottom","ghostkit")},{name:"margin-left",label:(0,vs.__)("left","ghostkit")}];function WE(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{HE.forEach((t=>{s=s||n(t.name,e)}))})),(0,Ke.createElement)(jE,{label:(0,vs.__)("Margin","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(HE.map((e=>e.name)),!0)},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Margin","ghostkit"),inputs:HE,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,cm.hasBlockSupport)(t.name,["ghostkit","spacings","margin"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","spacings"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(WE,{...t})):e));const VE=us.__stableToolsPanel||us.__experimentalToolsPanel,UE=PE.spacings.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/spacings/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","spacings"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(VE,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-spacings")),(0,Ke.createElement)("span",null,(0,vs.__)("Spacings","ghostkit"))),resetAll:()=>{o(UE,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-spacings"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.spacings.tools",props:t})))))}),13);const GE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,qE="&:hover",KE=["border-style","border-width","border-color"],YE=[{value:"solid",label:(0,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M5 11.25H19V12.75H5V11.25Z",fill:"currentColor"}))},{value:"dashed",label:(0,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("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,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("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,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M5 9.25H19V10.75H5V9.25Z",fill:"currentColor"}),(0,Ke.createElement)("path",{d:"M5 13H19V14.5H5V13Z",fill:"currentColor"}))}];function ZE(e){const[t,n]=(0,ms.useState)(!1),{getStyle:o,hasStyle:r,setStyles:i,resetStyles:s}=Qi(e),{device:a,allDevices:l}=Ji();let c=!1;["",...Object.keys(l)].forEach((e=>{KE.forEach((t=>{c=c||r(t,e)||r(t,e,qE)}))}));const u=o("border-style",a,t&&qE),h=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Border","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>r("border-style",e,t&&qE)}),(0,Ke.createElement)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>r("border-style",a,qE)}));return(0,Ke.createElement)(GE,{label:(0,vs.__)("Border","ghostkit"),hasValue:()=>!!c,onSelect:()=>{i({"border-style":"solid","border-width":"1px","border-color":"#000"})},onDeselect:()=>{s(KE,!0,["","&:hover"])},isShownByDefault:!1},(0,Ke.createElement)(us.BaseControl,{id:h,label:h},(0,Ke.createElement)("div",{className:"ghostkit-control-border-row"},(0,Ke.createElement)(gs,{value:gt(o("border-color",a,t&&qE)),onChange:e=>i({"border-color":e},a,t&&qE),alpha:!0}),(0,Ke.createElement)(ag,{value:u,options:YE,onChange:e=>{i({"border-style":"none"===e?"":e},a,t&&qE)},isBlock:!0}),(0,Ke.createElement)(Yp,{value:o("border-width",a,t&&qE),placeholder:(0,vs.__)("Width","ghostkit"),onChange:e=>i({"border-width":e},a,t&&qE),autoComplete:"off"}))))}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/border",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","frame","border"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ZE,{...t})):e));const JE=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,XE="&:hover",QE=[{name:"border-top-left-radius",label:(0,vs.__)("TL","ghostkit")},{name:"border-top-right-radius",label:(0,vs.__)("TR","ghostkit")},{name:"border-bottom-right-radius",label:(0,vs.__)("BR","ghostkit")},{name:"border-bottom-left-radius",label:(0,vs.__)("BL","ghostkit")}];function eA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{QE.forEach((t=>{s=s||n(t.name,e)||n(t.name,e,XE)}))})),(0,Ke.createElement)(JE,{label:(0,vs.__)("Border Radius","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{r(QE.map((e=>e.name)),!0,["","&:hover"])},isShownByDefault:!1},(0,Ke.createElement)(Qp,{label:(0,vs.__)("Border Radius","ghostkit"),inputs:QE,hasValue:(e,t,o)=>n(e,t,o&&XE),getValue:(e,n,o)=>t(e,n,o&&XE),onChange:(e,t,n,r)=>o({[e]:t},n,r&&XE),expandOnFocus:6,withResponsive:!0,withState:!0}))}(0,os.addFilter)("ghostkit.extension.frame.tools","ghostkit/extension/frame/tools/borderRadius",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","frame","borderRadius"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(eA,{...t})):e));const tA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,nA="&:hover";function oA(e){return"string"==typeof e&&"0"!==e&&/^[0-9.-]*$/.test(e)&&(e+="px"),e}function rA(e){const[t,n]=(0,ms.useState)(!1),{getStyle:o,hasStyle:r,setStyles:i,resetStyles:s}=Qi(e),{device:a,allDevices:l}=Ji(),[c,u]=(0,ms.useState)(),[h,d]=(0,ms.useState)(),[p,g]=(0,ms.useState)(),[f,m]=(0,ms.useState)(),[v,b]=(0,ms.useState)();(0,ms.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&&nA));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,ms.useEffect)((()=>{void 0!==c||void 0!==h||void 0!==p||void 0!==f||void 0!==v?i({"box-shadow":`${oA(c||0)} ${oA(h||0)} ${oA(p||0)} ${oA(f||0)} ${v||"#000"}`},a,t&&nA):o("box-shadow",a,t&&nA)&&i({"box-shadow":void 0},a,t&&nA)}),[c,h,p,f,v]);let y=!1;["",...Object.keys(l)].forEach((e=>{y=y||r("box-shadow",e)||r("box-shadow",e,nA)}));const w=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Shadow","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>r("box-shadow",e,t&&nA)}),(0,Ke.createElement)(Cs,{isHover:t,onChange:()=>{n(!t)},checkActive:()=>r("box-shadow",a,nA)}));return(0,Ke.createElement)(tA,{label:(0,vs.__)("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},(0,Ke.createElement)(us.BaseControl,{id:w,label:w},(0,Ke.createElement)("div",{className:"ghostkit-control-box-shadow"},(0,Ke.createElement)(us.Tooltip,{text:(0,vs.__)("Color","ghostkit")},(0,Ke.createElement)("div",null,(0,Ke.createElement)(gs,{value:v,onChange:e=>{b(e)},alpha:!0}))),(0,Ke.createElement)(Qp,null,(0,Ke.createElement)(Yp,{help:(0,vs.__)("X","ghostkit"),value:c,onChange:e=>{u(e||0)},autoComplete:"off"}),(0,Ke.createElement)(Yp,{help:(0,vs.__)("Y","ghostkit"),value:h,onChange:e=>{d(e||0)},autoComplete:"off"}),(0,Ke.createElement)(Yp,{help:(0,vs.__)("Blur","ghostkit"),value:p,onChange:e=>{g(e||0)},autoComplete:"off"}),(0,Ke.createElement)(Yp,{help:(0,vs.__)("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,cm.hasBlockSupport)(t.name,["ghostkit","frame","shadow"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","frame"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(rA,{...t})):e));const iA=us.__stableToolsPanel||us.__experimentalToolsPanel,sA=PE.frame.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/frame/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","frame"]))return e;const{resetStyles:o}=Qi(t);return(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(iA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-frame")),(0,Ke.createElement)("span",null,(0,vs.__)("Frame","ghostkit"))),resetAll:()=>{o(sA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-frame"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.frame.tools",props:t})))))}),14);const aA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:lA}=window.GHOSTKIT,{version:cA}=window.ghostkitVariables,uA={translate:{label:(0,vs.__)("Translate","ghostkit")},scale:{label:(0,vs.__)("Scale","ghostkit")},rotate:{label:(0,vs.__)("Rotate","ghostkit")},skew:{label:(0,vs.__)("Skew","ghostkit")},perspective:{label:(0,vs.__)("Perspective","ghostkit")},origin:{label:(0,vs.__)("Origin","ghostkit")}};function hA(){const[e,t]=(0,ms.useState)(!1);return(0,Ke.createElement)(Ke.Fragment,null,e&&(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)(Tx,{title:(0,vs.__)("Pro Transformations","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Adding transformations for normal and hover state are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Tx.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=${cA}`},(0,vs.__)("Read More","ghostkit")))),Object.keys(uA).map((e=>(0,Ke.createElement)(aA,{key:e,label:uA[e].label,hasValue:()=>!1,onDeselect:()=>{},onSelect:()=>{t(!0)},isShownByDefault:!1}))))}(0,os.addFilter)("ghostkit.extension.transform.tools","ghostkit/extension/transform/pro",((e,{props:t})=>lA?e:(0,cm.hasBlockSupport)(t.name,["ghostkit","transform"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(hA,{...t})):e));const dA=us.__stableToolsPanel||us.__experimentalToolsPanel,pA=PE.transform.styles,gA=(e,t)=>{let n=!1;return"object"==typeof e&&(t in e?n=!0:Object.keys(e).forEach((o=>{n=n||gA(e[o],t)}))),n};function fA(e){const{setAttributes:t,attributes:n}=e,{getStyles:o}=Qi(e);let r=!1;const i=o();function s(){let{className:o}=n;const i=(0,os.applyFilters)("ghostkit.extension.transform.allowClassName",r,e),s=lt(o,"ghostkit-has-transform");i&&!s?(o=st(o,"ghostkit-has-transform"),t({className:o})):!i&&s&&(o=at(o,"ghostkit-has-transform"),t({className:o}))}pA.forEach((e=>{r=r||gA(i,e)}));const a=Sv(60,s),l=(0,ms.useRef)(!1);return(0,ms.useEffect)((()=>{l.current?a():(l.current=!0,s())}),[n]),null}const mA=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(fA,{...t}))}),"withNewAttrs");(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/transform/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","transform"]))return e;const{resetStyles:o}=Qi(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"},xi("extension-transform")),(0,Ke.createElement)("span",null,(0,vs.__)("Transform","ghostkit"))),resetAll:()=>{o(pA,!0,["","&:hover"])}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-transform"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.transform.tools",props:t})))))}),15),(0,os.addFilter)("editor.BlockEdit","ghostkit/extension/transform/classname",mA);const vA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function bA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("opacity",e)})),(0,Ke.createElement)(vA,{label:(0,vs.__)("Opacity","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("opacity")||o({opacity:1})},onDeselect:()=>{r(["opacity"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.RangeControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Opacity","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("opacity",e)})),value:t("opacity",i),placeholder:1,onChange:e=>o({opacity:""===e?void 0:parseFloat(e)},i),min:0,max:1,step:.01,style:{flex:1}}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/opacity",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","opacity"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(bA,{...t})):e));const yA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,wA=us.__stableGrid||us.__experimentalGrid;function kA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;["",...Object.keys(s)].forEach((e=>{a=a||n("overflow-x",e)||n("overflow-y",e)}));const l=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Overflow","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("overflow-x",e)||n("overflow-y",e)}));return(0,Ke.createElement)(yA,{label:(0,vs.__)("Overflow","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("overflow-x")&&n("overflow-y")||o({"overflow-x":"hidden","overflow-y":"hidden"})},onDeselect:()=>{r(["overflow-x","overflow-y"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.BaseControl,{id:l,label:l},(0,Ke.createElement)(wA,{columns:2},(0,Ke.createElement)(us.SelectControl,{help:(0,vs.__)("X","ghostkit"),value:t("overflow-x",i),onChange:e=>{o({"overflow-x":e},i)},options:[{value:"hidden",label:(0,vs.__)("Hidden","ghostkit")},{value:"visible",label:(0,vs.__)("Visible","ghostkit")},{value:"clip",label:(0,vs.__)("Clip","ghostkit")},{value:"scroll",label:(0,vs.__)("Scroll","ghostkit")},{value:"auto",label:(0,vs.__)("Auto","ghostkit")}]}),(0,Ke.createElement)(us.SelectControl,{help:(0,vs.__)("Y","ghostkit"),value:t("overflow-y",i),onChange:e=>{o({"overflow-y":e},i)},options:[{value:"hidden",label:(0,vs.__)("Hidden","ghostkit")},{value:"visible",label:(0,vs.__)("Visible","ghostkit")},{value:"clip",label:(0,vs.__)("Clip","ghostkit")},{value:"scroll",label:(0,vs.__)("Scroll","ghostkit")},{value:"auto",label:(0,vs.__)("Auto","ghostkit")}]}))))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/overflow",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","overflow"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(kA,{...t})):e));const _A=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function CA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("cursor",e)})),(0,Ke.createElement)(_A,{label:(0,vs.__)("Cursor","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("cursor")||o({cursor:"default"})},onDeselect:()=>{r(["cursor"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Cursor","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("cursor",e)})),value:t("cursor",i),onChange:e=>{o({cursor:e},i)},options:[{value:"default",label:(0,vs.__)("Default","ghostkit")},{value:"pointer",label:(0,vs.__)("Pointer","ghostkit")},{value:"not-allowed",label:(0,vs.__)("Not Allowed","ghostkit")},{value:"progress",label:(0,vs.__)("Progress","ghostkit")},{value:"move",label:(0,vs.__)("Move","ghostkit")},{value:"grab",label:(0,vs.__)("Grab","ghostkit")},{value:"grabbing",label:(0,vs.__)("Grabbing","ghostkit")},{value:"zoom-in",label:(0,vs.__)("Zoom In","ghostkit")},{value:"zoom-out",label:(0,vs.__)("Zoom Out","ghostkit")},{value:"copy",label:(0,vs.__)("Copy","ghostkit")},{value:"no-drop",label:(0,vs.__)("No Drop","ghostkit")},{value:"context-menu",label:(0,vs.__)("Context Menu","ghostkit")},{value:"help",label:(0,vs.__)("Help","ghostkit")},{value:"wait",label:(0,vs.__)("Wait","ghostkit")},{value:"cell",label:(0,vs.__)("Cell","ghostkit")},{value:"crosshair",label:(0,vs.__)("Crosshair","ghostkit")},{value:"alias",label:(0,vs.__)("Alias","ghostkit")},{value:"text",label:(0,vs.__)("Text","ghostkit")},{value:"vertical-text",label:(0,vs.__)("Vertical Text","ghostkit")},{value:"copy",label:(0,vs.__)("Copy","ghostkit")},{value:"nw-resize",label:(0,vs.__)("NW Resize","ghostkit")},{value:"n-resize",label:(0,vs.__)("N Resize","ghostkit")},{value:"e-resize",label:(0,vs.__)("E Resize","ghostkit")},{value:"se-resize",label:(0,vs.__)("SE Resize","ghostkit")},{value:"s-resize",label:(0,vs.__)("S Resize","ghostkit")},{value:"sw-resize",label:(0,vs.__)("SW Resize","ghostkit")},{value:"w-resize",label:(0,vs.__)("W Resize","ghostkit")},{value:"ew-resize",label:(0,vs.__)("EW Resize","ghostkit")},{value:"ns-resize",label:(0,vs.__)("NS Resize","ghostkit")},{value:"nwse-resize",label:(0,vs.__)("NWSE Resize","ghostkit")},{value:"nesw-resize",label:(0,vs.__)("NESW Resize","ghostkit")},{value:"col-resize",label:(0,vs.__)("Col Resize","ghostkit")},{value:"row-resize",label:(0,vs.__)("Row Resize","ghostkit")},{value:"none",label:(0,vs.__)("None","ghostkit")}]}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/cursor",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","cursor"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(CA,{...t})):e));const xA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem;function SA(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("user-select",e)})),(0,Ke.createElement)(xA,{label:(0,vs.__)("User Select","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("user-select")||o({"user-select":"none"})},onDeselect:()=>{r(["user-select"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("User Select","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("user-select",e)})),value:t("user-select",i),onChange:e=>{o({"user-select":e},i)},options:[{value:"none",label:(0,vs.__)("None","ghostkit")},{value:"auto",label:(0,vs.__)("Auto","ghostkit")}]}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/userSelect",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","userSelect"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(SA,{...t})):e));const EA={"inset(0 round 20px)":(0,vs.__)("Round","ghostkit"),"circle(50% at 50% 50%)":(0,vs.__)("Circle","ghostkit"),"polygon(50% 0%, 0% 100%, 100% 100%)":(0,vs.__)("Triangle","ghostkit"),"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)":(0,vs.__)("Rhombus","ghostkit"),"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)":(0,vs.__)("Pentagon","ghostkit"),"polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)":(0,vs.__)("Hexagon","ghostkit"),"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)":(0,vs.__)("Heptagon","ghostkit"),"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)":(0,vs.__)("Octagon","ghostkit"),"polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%)":(0,vs.__)("Bevel","ghostkit"),"polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)":(0,vs.__)("Star","ghostkit"),"polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%)":(0,vs.__)("Frame","ghostkit")},AA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,TA=[{value:"",label:(0,vs.__)("Custom","ghostkit")},...Object.keys(EA).map((e=>({value:e,label:EA[e]})))];function $A(e){const{getStyle:t,hasStyle:n,setStyles:o,resetStyles:r}=Qi(e),{device:i,allDevices:s}=Ji();let a=!1;return["",...Object.keys(s)].forEach((e=>{a=a||n("clip-path",e)})),(0,Ke.createElement)(AA,{label:(0,vs.__)("Clip Path","ghostkit"),hasValue:()=>!!a,onSelect:()=>{n("clip-path")||o({"clip-path":TA[1].value})},onDeselect:()=>{r(["clip-path"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.SelectControl,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Clip Path","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>n("clip-path",e)})),value:t("clip-path",i),onChange:e=>{o({"clip-path":e},i)},options:TA}),(0,Ke.createElement)("br",null),(0,Ke.createElement)(us.TextareaControl,{value:t("clip-path",i),onChange:e=>{o({"clip-path":e},i)}}))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/clipPath",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","clipPath"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)($A,{...t})):e));const MA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,{pro:RA}=window.GHOSTKIT,{version:OA}=window.ghostkitVariables;function LA(){return(0,Ke.createElement)(MA,{label:(0,vs.__)("Transition","ghostkit"),hasValue:()=>!1,onSelect:()=>{},onDeselect:()=>{},isShownByDefault:!1},(0,Ke.createElement)("div",{style:{gridColumn:"1 / -1"}},(0,Ke.createElement)(Tx,{title:(0,vs.__)("Transition","ghostkit")},(0,Ke.createElement)("p",null,(0,vs.__)("Transition and transform configurations are available in the Ghost Kit Pro plugin only.","ghostkit")),(0,Ke.createElement)(Tx.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,vs.__)("Read More","ghostkit")))))}(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/transition",((e,{props:t})=>RA?e:(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","transition"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(LA,{...t})):e));const IA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,PA="selector {\n\n}";function NA(e){const[t,n]=(0,ms.useState)(PA),{getStyle:o,hasStyle:r,setStyles:i,resetStyles:s}=Qi(e),{device:a,allDevices:l}=Ji();let c=!1;["",...Object.keys(l)].forEach((e=>{c=c||r("custom",e)}));const u=(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Custom","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>r("custom",e)}));return(0,Ke.createElement)(IA,{label:(0,vs.__)("Custom","ghostkit"),hasValue:()=>!!c,onSelect:()=>{r("custom")||i({custom:""})},onDeselect:()=>{s(["custom"],!0)},isShownByDefault:!1},(0,Ke.createElement)(us.BaseControl,{id:u,label:u},(0,Ke.createElement)(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,Ke.createElement)(us.Button,{className:cs()("ghostkit-extension-customCSS-custom__dropdown-content-toggle",e?"ghostkit-extension-customCSS-custom__dropdown-content-toggle-active":""),onClick:()=>{n()}},(0,Ke.createElement)("span",null,(0,vs.__)("Edit CSS","ghostkit")),(0,Ke.createElement)(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,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(us.BaseControl,{id:u,label:u}),(0,Ke.createElement)(as,{mode:"css",onChange:e=>{e!==PA&&i({custom:e},a),t&&n("")},value:o("custom",a)||t,maxLines:20,minLines:5,height:"300px",editorProps:{id:"gkt-custom-css-editor"}}),(0,Ke.createElement)("p",{style:{marginBottom:20}}),(0,Ke.createElement)("details",null,(0,Ke.createElement)("summary",{label:(0,vs.__)("Examples to use selector","ghostkit"),dangerouslySetInnerHTML:{__html:(0,vs.__)("Use %s rule to change block styles.","ghostkit").replace("%s","selector")}}),(0,Ke.createElement)("p",null,(0,vs.__)("Example:","ghostkit")),(0,Ke.createElement)("pre",{className:"ghostkit-control-pre-custom-css"},"selector {\n background-color: #2F1747;\n}\n\nselector p {\n color: #2F1747;\n}")))})))}(0,ss.addCompleter)({getCompletions(e,t,n,o,r){"gkt-custom-css-editor"===e.id&&r(null,[{caption:"selector",value:"selector",meta:(0,vs.__)("Block Selector","ghostkit")}])},identifierRegexps:[/selector/]}),(0,os.addFilter)("ghostkit.extension.customCSS.tools","ghostkit/extension/customCSS/tools/custom",((e,{props:t})=>(0,cm.hasBlockSupport)(t.name,["ghostkit","customCSS","custom"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","customCSS"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(NA,{...t})):e));const DA=us.__stableToolsPanel||us.__experimentalToolsPanel,FA=PE.customCSS.styles;(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/customCSS/inspector",(function(e,{props:t}){const{name:n}=t;if(!(0,cm.hasBlockSupport)(n,["ghostkit","customCSS"]))return e;const{resetStyles:o}=Qi(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"},xi("extension-custom-css")),(0,Ke.createElement)("span",null,(0,vs.__)("Custom CSS","ghostkit"))),resetAll:()=>{o(FA,!0)}},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-custom-css"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.customCSS.tools",props:t})))))}),16);const zA=us.__stableToolsPanelItem||us.__experimentalToolsPanelItem,BA=function(e=""){return[{label:e?(0,vs.__)("Inherit","ghostkit"):(0,vs.__)("Default","ghostkit"),value:""},{label:(0,vs.__)("Show","ghostkit"),value:"block"},{label:(0,vs.__)("Hide","ghostkit"),value:"none"}]};function jA(e,t){if(!t){if(lt(e,"ghostkit-d-none"))return"none";if(lt(e,"ghostkit-d-block"))return"block"}return rt(e,`ghostkit-d-${t}`,!0)}function HA(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:r,allDevices:i}=Ji();let s=!1;return["",...Object.keys(i)].forEach((e=>{s=s||jA(o,e)})),(0,Ke.createElement)(zA,{label:(0,vs.__)("Screen Size","ghostkit"),hasValue:()=>!!s,onDeselect:()=>{let e=o;["",...Object.keys(i)].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)(ag,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Screen Size","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>lt(o,`ghostkit-d-${e}-none`)||lt(o,`ghostkit-d-${e}-block`)})),value:jA(o,r),options:BA(r).map((e=>({value:e.value,label:e.label}))),onChange:e=>{!function(e,t){let r=o;e?r=it(r,`ghostkit-d-${e}`,t):(r=at(r,"ghostkit-d-none"),r=at(r,"ghostkit-d-block"),t&&(r=st(r,`ghostkit-d-${t}`))),n({className:r})}(r,e)},isBlock:!0}))}(0,os.addFilter)("ghostkit.extension.display.tools","ghostkit/extension/display/tools/screenSize",((e,{props:t})=>{const n=(0,cm.hasBlockSupport)(t.name,["ghostkit","display","screenSize"])||!0===(0,cm.getBlockSupport)(t.name,["ghostkit","display"]),o=(0,cm.hasBlockSupport)(t.name,"customClassName",!0);return n&&o?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(HA,{...t})):e}));const WA=us.__stableToolsPanel||us.__experimentalToolsPanel;function VA(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=VA(e.innerBlocks)))})),t}function UA(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,...UA(e.innerBlocks)])})),t}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/display/inspector",(function(e,{props:t}){const{name:n}=t;return(0,cm.hasBlockSupport)(n,["ghostkit","display"])?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.InspectorControls,{group:"styles"},(0,Ke.createElement)(WA,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)("span",{className:"ghostkit-ext-icon"},xi("extension-display")),(0,Ke.createElement)("span",null,(0,vs.__)("Display Conditions","ghostkit")))},(0,Ke.createElement)("div",{className:"ghostkit-tools-panel-display"},(0,Ke.createElement)(rs,{name:"ghostkit.extension.display.tools",props:t}))))):e}),17);let GA="";const qA=Ev(300,(function(){if(!VA())return;const e=UA();if(GA&&GA===JSON.stringify(e))return;const t={};e.forEach((e=>{let{anchor:n}=e.attributes;const{content:o}=e.attributes;o&&!n&&(n=Ii(o),e.attributes.anchor=n),n&&(void 0!==t[n]?(t[n]+=1,n+=`-${t[n]}`,e.attributes.anchor=n):t[n]=1)})),GA=JSON.stringify(e)}));wp.blockEditor.__experimentalBlockPatternSetup||wp.blockEditor.BlockPatternSetup||wp.blockEditor.blockPatternSetup||(0,Ze.subscribe)((()=>{qA()}));const KA=window.wp.plugins,{GHOSTKIT:YA}=window;(0,KA.registerPlugin)("gkt-toolbar-templates",{render:function(){const{insertBlocks:e}=(0,Ze.useDispatch)("core/block-editor");if(!YA.allowTemplates)return null;function t(){return(0,Ke.createElement)(us.ToolbarButton,{className:"components-button components-icon-button","aria-label":(0,vs.__)("Add Template","ghostkit"),onClick:()=>{e((0,cm.createBlock)("ghostkit/grid",{isTemplatesModalOnly:!0}))}},xi("plugin-templates"),(0,vs.__)("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,ms.render)((0,Ke.createElement)(t,null),n)}})),null}});const ZA=window.wp.notices;function JA(e,t,n=""){if(!n)return{ghostkit:(0,Xi.cloneDeep)(e?.attributes?.ghostkit||{})};const o={};return(0,cm.hasBlockSupport)(e.name,["ghostkit",n])&&(0,cm.hasBlockSupport)(t.name,["ghostkit",n])&&(o.ghostkit=(0,Xi.cloneDeep)(t?.attributes?.ghostkit||{}),PE[n]?.styles&&(o?.ghostkit?.styles||(o.ghostkit.styles={}),o.ghostkit.styles=Di(o.ghostkit.styles,Gi(e?.attributes?.ghostkit?.styles||{},PE[n].styles,PE[n].responsive,PE[n].selectors)),o.ghostkit.styles=ct(o.ghostkit.styles)),PE[n]?.attributes&&PE[n].attributes.forEach((t=>{o.ghostkit[t]=e?.attributes?.ghostkit?.[t]||void 0}))),o}function XA(e,t,n,o=""){for(let r=0;r(0,cm.serialize)(e)),t);return(0,Ke.createElement)(us.MenuItem,{ref:o},n)}function eT(e,t){return e.every((e=>!!e&&(0,cm.hasBlockSupport)(e.name,t)))}(0,os.addFilter)("ghostkit.editor.extensions","ghostkit/extension/copy-paste",(function(e,{props:t}){const{name:n,clientId:o}=t,r=(0,cm.hasBlockSupport)(n,["ghostkit"]),{createSuccessNotice:i}=(0,Ze.useDispatch)(ZA.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:r}=(0,Ze.useDispatch)(ZA.store);return(0,ms.useCallback)((async(i,s)=>{let a="";try{if(!window.navigator.clipboard)return void r((0,vs.__)("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 r((0,vs.__)("Unable to paste extensions. Please allow browser clipboard permissions before continuing.","ghostkit"),{type:"snackbar"})}if(!a||!function(e){try{const t=(0,cm.parse)(e,{__unstableSkipMigrationLogs:!0,__unstableSkipAutop:!0});return 1!==t.length||"core/freeform"!==t[0].name}catch(e){return!1}}(a))return void o((0,vs.__)("Unable to paste extensions. Block extensions couldn't be found within the copied content.","ghostkit"),{type:"snackbar"});const l=(0,cm.parse)(a);if(1===l.length?e.batch((()=>{XA(i,i.map((()=>l[0])),t,s)})):e.batch((()=>{XA(i,l,t,s)})),1===i.length){const e=(0,cm.getBlockType)(i[0].name)?.title;n((0,vs.sprintf)( // Translators: Name of the block being pasted, e.g. "Paragraph". // Translators: Name of the block being pasted, e.g. "Paragraph". (0,vs.__)("Pasted extensions to %s."),e),{type:"snackbar"})}else n((0,vs.sprintf)( // Translators: The number of the blocks. // Translators: The number of the blocks. -(0,vs.__)("Pasted extensions to %d blocks."),i.length),{type:"snackbar"})}),[e.batch,t,n,o,r])}();return r?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.BlockSettingsMenuControls,null,(e=>{if(e.firstBlockClientId!==o)return null;const t=s(e.selectedClientIds);return XA(t,"ghostkit")?(0,Ke.createElement)(us.MenuGroup,{className:"ghostkit-block-actions-copy-paste",label:(0,vs.__)("Ghost Kit","ghostkit")},(0,Ke.createElement)(JA,{blocks:t,onCopy:()=>{i((0,vs.sprintf)( +(0,vs.__)("Pasted extensions to %d blocks."),i.length),{type:"snackbar"})}),[e.batch,t,n,o,r])}();return r?(0,Ke.createElement)(Ke.Fragment,null,e,(0,Ke.createElement)(ds.BlockSettingsMenuControls,null,(e=>{if(e.firstBlockClientId!==o)return null;const t=s(e.selectedClientIds);return eT(t,"ghostkit")?(0,Ke.createElement)(us.MenuGroup,{className:"ghostkit-block-actions-copy-paste",label:(0,vs.__)("Ghost Kit","ghostkit")},(0,Ke.createElement)(QA,{blocks:t,onCopy:()=>{i((0,vs.sprintf)( // Translators: %d: Number of blocks being copied. // Translators: %d: Number of blocks being copied. -(0,vs._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",t.length),t.length),{type:"snackbar"})}},(0,vs.__)("Copy extensions","ghostkit")),(0,Ke.createElement)(us.Dropdown,{className:"ghostkit-block-actions-dropdown-paste",popoverProps:{placement:"right-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:t})=>(0,Ke.createElement)(us.MenuItem,{onClick:t,"aria-expanded":e,icon:(0,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M11.6 6.5L16 12L11.6 17.5L10.4 16.6L14 12L10.4 7.5L11.6 6.5Z",fill:"black"}))},(0,vs.__)("Paste extensions","ghostkit")),renderContent:()=>(0,Ke.createElement)(us.MenuGroup,{className:"ghostkit-block-actions-dropdown-paste-menu"},(0,Ke.createElement)(us.MenuItem,{onClick:()=>{a(t)}},(0,vs.__)("Paste All","ghostkit")),Object.keys(LE).map((e=>XA(t,["ghostkit",e])?(0,Ke.createElement)(us.MenuItem,{key:e,onClick:()=>{a(t,e)}},LE[e].label):null)))})):null}))):e}));const QA=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,cm.hasBlockSupport)(t.name,["ghostkit"])?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(rs,{name:"ghostkit.editor.extensions",props:t})):(0,Ke.createElement)(e,{...t})}),"withGhostKitExtensions");(0,os.addFilter)("editor.BlockEdit","ghostkit/extensions",QA),(0,os.addFilter)("blocks.registerBlockType","ghostkit/extensions/additional-attributes",(function(e){return e.attributes&&!e.attributes.ghostkit&&(e.attributes.ghostkit={type:"object"}),e}));const eT=6;function tT(e,t){if(!t)for(let t=1;eT>=t;t+=1)if(lt(e,`ghostkit-paragraph-columns-${t}`))return`${t}`;return rt(e,`ghostkit-paragraph-columns-${t}`,!0)}function nT(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:r}=Ji();return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Columns Count","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!tT(o,e)})),value:parseInt(tT(o,r),10),onChange:e=>function(e,t){let r=o;if(e)r=it(r,`ghostkit-paragraph-columns-${e}`,t);else{for(let e=1;eT>=e;e+=1)r=at(r,`ghostkit-paragraph-columns-${e}`);t&&(r=st(r,`ghostkit-paragraph-columns-${t}`))}n({className:r})}(r,e),min:1,max:eT})))}const oT=(0,cg.createHigherOrderComponent)((e=>function(t){const{name:n}=t;return"core/paragraph"!==n?(0,Ke.createElement)(e,{...t}):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(nT,{...t}))}),"withInspectorControl");(0,os.addFilter)("editor.BlockEdit","ghostkit/core-paragraph/additional-attributes",oT,9),(0,cm.registerBlockStyle)("core/list",{name:"styled",label:(0,vs.__)("Styled","ghostkit")}),(0,cm.registerBlockStyle)("core/list",{name:"icon",label:(0,vs.__)("Icon","ghostkit")}),(0,cm.registerBlockStyle)("core/list",{name:"none",label:(0,vs.__)("None","ghostkit")});const rT=6;function iT(e,t){if(!t)for(let t=1;rT>=t;t+=1)if(lt(e,`ghostkit-list-columns-${t}`))return`${t}`;return rt(e,`ghostkit-list-columns-${t}`,!0)}function sT(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:r}=Ji();return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Columns Count","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!iT(o,e)})),value:parseInt(iT(o,r),10)||null,onChange:e=>{!function(e){let t=o;if(r)t=it(t,`ghostkit-list-columns-${r}`,e);else{for(let e=1;rT>=e;e+=1)t=at(t,`ghostkit-list-columns-${e}`);e&&(t=st(t,`ghostkit-list-columns-${e}`))}n({className:t})}(e)},min:1,max:rT})))}function aT(e){const{attributes:t,clientId:n}=e,{start:o,reversed:r}=t,{itemsCount:i}=(0,Ze.useSelect)((e=>{const{getBlockCount:t}=e("core/block-editor");return{itemsCount:t(n)}}),[n]);let s="";return r?s+=`counter-reset: li ${(o||i)+1}`:o&&(s+="counter-reset: li "+(o-1)),s?(0,Ke.createElement)(_s,{styles:`[data-block="${n}"].wp-block { ${s} }`}):null}const lT=(0,cg.createHigherOrderComponent)((e=>function(t){const{setAttributes:n,attributes:o}=t,{ghostkitListIcon:r,ghostkitListIconColor:i,className:s}=o;return"core/list"!==t.name?(0,Ke.createElement)(e,{...t}):lt(s,"is-style-icon")?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(sT,{...t}),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Icon Settings","ghostkit"),initialOpen:!0},(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:r,onChange:e=>n({ghostkitListIcon:e}),insideInspector:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:i,onChange:e=>n({ghostkitListIconColor:e}),alpha:!0})))):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(sT,{...t}),(0,Ke.createElement)(aT,{...t}))}),"withInspectorControl");(0,os.addFilter)("blocks.registerBlockType","ghostkit/core-list/additional-attributes",(function(e,t){return"core/list"===t&&(e.attributes.ghostkitListIcon||(e.attributes.ghostkitListIcon={type:"string"}),e.attributes.ghostkitListIconColor||(e.attributes.ghostkitListIconColor={type:"string"})),e})),(0,os.addFilter)("editor.BlockEdit","ghostkit/core-list/additional-attributes",lT,9),(0,os.addFilter)("ghostkit.blocks.customStyles","ghostkit/core-list/editor-custom-styles",(function(e,t){const n={};return"core/list"===t.name&<(t.attributes.className,"is-style-icon")?(t.attributes.ghostkitListIcon&&(n["--gkt-icon-lists--decoration"]=`url('data:image/svg+xml;utf8,${t.attributes.ghostkitListIcon}')`),t.attributes.ghostkitListIconColor&&(n["--gkt-icon-lists--decoration__color"]=t.attributes.ghostkitListIconColor),(t.attributes.ghostkitListIcon||t.attributes.ghostkitListIconColor)&&(e=(0,Xi.merge)(e,n)),e):e})),(0,cm.registerBlockStyle)("core/heading",{name:"numbered",label:(0,vs.__)("Numbered","ghostkit")});const{GHOSTKIT:cT,_wpLoadBlockEditor:uT,_wpLoadGutenbergEditor:hT}=window;let dT=null;void 0!==uT?dT=uT:void 0!==hT&&(dT=hT),Cy()((()=>{dT&&cT&&dT.then((()=>{cT.disabledBlocks&&Object.keys(cT.disabledBlocks).forEach((e=>{cT.disabledBlocks[e]&&(0,cm.unregisterBlockType)(e)}))}))})),(0,cm.updateCategory)("ghostkit",{icon:(0,Ke.createElement)(Ar,null)})})()})(); \ No newline at end of file +(0,vs._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",t.length),t.length),{type:"snackbar"})}},(0,vs.__)("Copy extensions","ghostkit")),(0,Ke.createElement)(us.Dropdown,{className:"ghostkit-block-actions-dropdown-paste",popoverProps:{placement:"right-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:t})=>(0,Ke.createElement)(us.MenuItem,{onClick:t,"aria-expanded":e,icon:(0,Ke.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,Ke.createElement)("path",{d:"M11.6 6.5L16 12L11.6 17.5L10.4 16.6L14 12L10.4 7.5L11.6 6.5Z",fill:"black"}))},(0,vs.__)("Paste extensions","ghostkit")),renderContent:()=>(0,Ke.createElement)(us.MenuGroup,{className:"ghostkit-block-actions-dropdown-paste-menu"},(0,Ke.createElement)(us.MenuItem,{onClick:()=>{a(t)}},(0,vs.__)("Paste All","ghostkit")),Object.keys(PE).map((e=>eT(t,["ghostkit",e])?(0,Ke.createElement)(us.MenuItem,{key:e,onClick:()=>{a(t,e)}},PE[e].label):null)))})):null}))):e}));const tT=(0,cg.createHigherOrderComponent)((e=>function(t){return(0,cm.hasBlockSupport)(t.name,["ghostkit"])?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(rs,{name:"ghostkit.editor.extensions",props:t})):(0,Ke.createElement)(e,{...t})}),"withGhostKitExtensions");(0,os.addFilter)("editor.BlockEdit","ghostkit/extensions",tT),(0,os.addFilter)("blocks.registerBlockType","ghostkit/extensions/additional-attributes",(function(e){return e.attributes&&!e.attributes.ghostkit&&(e.attributes.ghostkit={type:"object"}),e}));const nT=6;function oT(e,t){if(!t)for(let t=1;nT>=t;t+=1)if(lt(e,`ghostkit-paragraph-columns-${t}`))return`${t}`;return rt(e,`ghostkit-paragraph-columns-${t}`,!0)}function rT(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:r}=Ji();return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Columns Count","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!oT(o,e)})),value:parseInt(oT(o,r),10),onChange:e=>function(e,t){let r=o;if(e)r=it(r,`ghostkit-paragraph-columns-${e}`,t);else{for(let e=1;nT>=e;e+=1)r=at(r,`ghostkit-paragraph-columns-${e}`);t&&(r=st(r,`ghostkit-paragraph-columns-${t}`))}n({className:r})}(r,e),min:1,max:nT})))}const iT=(0,cg.createHigherOrderComponent)((e=>function(t){const{name:n}=t;return"core/paragraph"!==n?(0,Ke.createElement)(e,{...t}):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(rT,{...t}))}),"withInspectorControl");(0,os.addFilter)("editor.BlockEdit","ghostkit/core-paragraph/additional-attributes",iT,9),(0,cm.registerBlockStyle)("core/list",{name:"styled",label:(0,vs.__)("Styled","ghostkit")}),(0,cm.registerBlockStyle)("core/list",{name:"icon",label:(0,vs.__)("Icon","ghostkit")}),(0,cm.registerBlockStyle)("core/list",{name:"none",label:(0,vs.__)("None","ghostkit")});const sT=6;function aT(e,t){if(!t)for(let t=1;sT>=t;t+=1)if(lt(e,`ghostkit-list-columns-${t}`))return`${t}`;return rt(e,`ghostkit-list-columns-${t}`,!0)}function lT(e){const{attributes:t,setAttributes:n}=e,{className:o}=t,{device:r}=Ji();return(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,null,(0,Ke.createElement)(rg,{label:(0,Ke.createElement)(Ke.Fragment,null,(0,vs.__)("Columns Count","ghostkit"),(0,Ke.createElement)(Zp,{checkActive:e=>!!aT(o,e)})),value:parseInt(aT(o,r),10)||null,onChange:e=>{!function(e){let t=o;if(r)t=it(t,`ghostkit-list-columns-${r}`,e);else{for(let e=1;sT>=e;e+=1)t=at(t,`ghostkit-list-columns-${e}`);e&&(t=st(t,`ghostkit-list-columns-${e}`))}n({className:t})}(e)},min:1,max:sT})))}function cT(e){const{attributes:t,clientId:n}=e,{start:o,reversed:r}=t,{itemsCount:i}=(0,Ze.useSelect)((e=>{const{getBlockCount:t}=e("core/block-editor");return{itemsCount:t(n)}}),[n]);let s="";return r?s+=`counter-reset: li ${(o||i)+1}`:o&&(s+="counter-reset: li "+(o-1)),s?(0,Ke.createElement)(_s,{styles:`[data-block="${n}"].wp-block { ${s} }`}):null}const uT=(0,cg.createHigherOrderComponent)((e=>function(t){const{setAttributes:n,attributes:o}=t,{ghostkitListIcon:r,ghostkitListIconColor:i,className:s}=o;return"core/list"!==t.name?(0,Ke.createElement)(e,{...t}):lt(s,"is-style-icon")?(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(lT,{...t}),(0,Ke.createElement)(ds.InspectorControls,null,(0,Ke.createElement)(us.PanelBody,{title:(0,vs.__)("Icon Settings","ghostkit"),initialOpen:!0},(0,Ke.createElement)(ep,{label:(0,vs.__)("Icon","ghostkit"),value:r,onChange:e=>n({ghostkitListIcon:e}),insideInspector:!0}),(0,Ke.createElement)(gs,{label:(0,vs.__)("Color","ghostkit"),value:i,onChange:e=>n({ghostkitListIconColor:e}),alpha:!0})))):(0,Ke.createElement)(Ke.Fragment,null,(0,Ke.createElement)(e,{...t}),(0,Ke.createElement)(lT,{...t}),(0,Ke.createElement)(cT,{...t}))}),"withInspectorControl");(0,os.addFilter)("blocks.registerBlockType","ghostkit/core-list/additional-attributes",(function(e,t){return"core/list"===t&&(e.attributes.ghostkitListIcon||(e.attributes.ghostkitListIcon={type:"string"}),e.attributes.ghostkitListIconColor||(e.attributes.ghostkitListIconColor={type:"string"})),e})),(0,os.addFilter)("editor.BlockEdit","ghostkit/core-list/additional-attributes",uT,9),(0,os.addFilter)("ghostkit.blocks.customStyles","ghostkit/core-list/editor-custom-styles",(function(e,t){const n={};return"core/list"===t.name&<(t.attributes.className,"is-style-icon")?(t.attributes.ghostkitListIcon&&(n["--gkt-icon-lists--decoration"]=`url('data:image/svg+xml;utf8,${t.attributes.ghostkitListIcon}')`),t.attributes.ghostkitListIconColor&&(n["--gkt-icon-lists--decoration__color"]=t.attributes.ghostkitListIconColor),(t.attributes.ghostkitListIcon||t.attributes.ghostkitListIconColor)&&(e=(0,Xi.merge)(e,n)),e):e})),(0,cm.registerBlockStyle)("core/heading",{name:"numbered",label:(0,vs.__)("Numbered","ghostkit")});const{GHOSTKIT:hT,_wpLoadBlockEditor:dT,_wpLoadGutenbergEditor:pT}=window;let gT=null;void 0!==dT?gT=dT:void 0!==pT&&(gT=pT),Cy()((()=>{gT&&hT&&gT.then((()=>{hT.disabledBlocks&&Object.keys(hT.disabledBlocks).forEach((e=>{hT.disabledBlocks[e]&&(0,cm.unregisterBlockType)(e)}))}))})),(0,cm.updateCategory)("ghostkit",{icon:(0,Ke.createElement)(Ar,null)})})()})(); \ No newline at end of file diff --git a/class-ghost-kit.php b/class-ghost-kit.php index ec8344ca..626f3dbf 100644 --- a/class-ghost-kit.php +++ b/class-ghost-kit.php @@ -2,7 +2,7 @@ /** * Plugin Name: Ghost Kit * Description: Page Builder Blocks and Extensions for Gutenberg - * Version: 3.3.2 + * Version: 3.3.3 * Author: Ghost Kit Team * Author URI: https://www.ghostkit.io/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=byline * License: GPLv2 or later @@ -17,7 +17,7 @@ } if ( ! defined( 'GHOSTKIT_VERSION' ) ) { - define( 'GHOSTKIT_VERSION', '3.3.2' ); + define( 'GHOSTKIT_VERSION', '3.3.3' ); } if ( ! class_exists( 'GhostKit' ) ) : diff --git a/languages/ghostkit.pot b/languages/ghostkit.pot index ef8852c1..cf215557 100644 --- a/languages/ghostkit.pot +++ b/languages/ghostkit.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPLv2 or later. msgid "" msgstr "" -"Project-Id-Version: Ghost Kit 3.3.2\n" +"Project-Id-Version: Ghost Kit 3.3.3\n" "Report-Msgid-Bugs-To: https://github.com/nk-o/ghostkit/issues\n" "Last-Translator: nK\n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-07-31T08:00:17+00:00\n" +"POT-Creation-Date: 2024-09-07T11:10:48+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" @@ -735,7 +735,7 @@ msgstr "" #: gutenberg/blocks/alert/edit.js:180 #: gutenberg/blocks/counter-box/edit.js:234 -#: gutenberg/blocks/grid/awb-fallback.js:181 +#: gutenberg/blocks/grid/awb-fallback.js:182 #: gutenberg/blocks/image-compare/edit.js:543 #: gutenberg/blocks/shape-divider/edit.js:316 #: gutenberg/extend/frame/shadow/index.js:186 @@ -793,7 +793,7 @@ msgid "Outline" msgstr "" #: gutenberg/blocks/button-single/edit.js:289 -#: gutenberg/blocks/grid/awb-fallback.js:172 +#: gutenberg/blocks/grid/awb-fallback.js:173 #: gutenberg/blocks/icon/edit/color-controls.js:33 #: gutenberg/blocks/progress/edit.js:181 #: gutenberg/formats/badge/index.js:144 @@ -1145,7 +1145,7 @@ msgstr "" #: gutenberg/blocks/divider/edit.js:124 #: gutenberg/blocks/grid-column/edit.js:165 -#: gutenberg/blocks/grid/awb-fallback.js:232 +#: gutenberg/blocks/grid/awb-fallback.js:233 #: gutenberg/blocks/shape-divider/edit.js:253 msgid "Size" msgstr "" @@ -1684,53 +1684,53 @@ msgstr "" msgid "Sticky Offset" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:185 -#: gutenberg/blocks/grid/awb-fallback.js:200 +#: gutenberg/blocks/grid/awb-fallback.js:186 +#: gutenberg/blocks/grid/awb-fallback.js:201 msgid "Image" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:189 +#: gutenberg/blocks/grid/awb-fallback.js:190 msgid "Video" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:213 +#: gutenberg/blocks/grid/awb-fallback.js:214 msgid "Select image" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:250 +#: gutenberg/blocks/grid/awb-fallback.js:251 msgid "Background size" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:254 +#: gutenberg/blocks/grid/awb-fallback.js:255 msgid "Cover" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:258 +#: gutenberg/blocks/grid/awb-fallback.js:259 msgid "Contain" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:262 +#: gutenberg/blocks/grid/awb-fallback.js:263 msgid "Pattern" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:281 +#: gutenberg/blocks/grid/awb-fallback.js:282 msgid "Remove image" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:290 -#: gutenberg/blocks/grid/awb-fallback.js:306 +#: gutenberg/blocks/grid/awb-fallback.js:291 +#: gutenberg/blocks/grid/awb-fallback.js:307 msgid "Background Color" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:299 +#: gutenberg/blocks/grid/awb-fallback.js:300 msgid "Overlay" msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:315 +#: gutenberg/blocks/grid/awb-fallback.js:316 msgid "Install AWB plugin to set video backgrounds and images with parallax support." msgstr "" -#: gutenberg/blocks/grid/awb-fallback.js:324 +#: gutenberg/blocks/grid/awb-fallback.js:325 msgid "Install" msgstr "" diff --git a/package-lock.json b/package-lock.json index 616a507a..cfac58f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ghostkit", - "version": "3.3.0", + "version": "3.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ghostkit", - "version": "3.3.0", + "version": "3.3.3", "hasInstallScript": true, "license": "GPL-2.0", "dependencies": { @@ -8016,9 +8016,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001584", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001584.tgz", - "integrity": "sha512-LOz7CCQ9M1G7OjJOF9/mzmqmj3jE/7VOmrfw6Mgs0E8cjOsbRXQJHsPBfmBOXDskXKrHLyyW3n7kpDW/4BsfpQ==", + "version": "1.0.30001658", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001658.tgz", + "integrity": "sha512-N2YVqWbJELVdrnsW5p+apoQyYt51aBMSsBZki1XZEfeBCexcM/sf4xiAHcXQBkuOwJBXtWF7aW1sYX6tKebPHw==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index 971b60c3..50f49b16 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ghostkit", "title": "Ghost Kit", - "version": "3.3.2", + "version": "3.3.3", "description": "Page Builder Blocks and Extensions for Gutenberg", "license": "GPL-2.0", "author": "nK ", diff --git a/readme.txt b/readme.txt index 14b28711..92edc022 100644 --- a/readme.txt +++ b/readme.txt @@ -4,9 +4,9 @@ * Tags: gutenberg, blocks, gutenberg blocks, wordpress blocks, builder * Donate link: https://www.ghostkit.io/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=donate * Requires at least: 6.2 -* Tested up to: 6.5 +* Tested up to: 6.6 * Requires PHP: 7.2 -* Stable tag: 3.3.2 +* Stable tag: 3.3.3 * License: GPLv2 or later * License URI: @@ -272,6 +272,17 @@ The plugin documentation provides a comprehensive source of information on block ## Changelog ## += 3.3.3 - Sep 7, 2024 = + +* added escaping to imageTag attribute in the Grid block to prevent xss vulnerability + += 3.3.2 - Jul 31, 2024 = + +* migrate Pro plugin from Paddle to LemonSqueezy +* fixed customizer plugin selector settings rendering +* fixed Color Palette plugin saving custom colors, displaying default color picker dropdown +* fixed deprecated Templates modal loading + = 3.3.0 - May 26, 2024 = * **Important**: the Pro plugin is now standalone and no longer requires the free plugin. If you are using Pro plugin v2, do not update the Free plugin to v3.3. Instead, update the Pro plugin and deactivate the Free one.