Web Stories - Version 1.19.0

Version Description

Release Date: March 29, 2022.

  • New feature: floating menu bar for easier editing.
  • New feature: support for adding captions and disabling looping for page background audio.
  • New feature: ability to upload custom fonts.
  • New feature: story locking, displaying a message if someone else is already editing a story.
  • Enhancement: overhauled workspace, consolidating sidebar to create more space for the canvas.
  • Enhancement: make it easier to apply saved styles.
  • Enhancement: add detection for possible server misconfiguration related to CORS.
  • Bug fixes and performance improvements.
Download this release

Release Info

Developer swissspidy
Plugin Icon 128x128 Web Stories
Version 1.19.0
Comparing to
See all releases

Code changes from version 1.18.1 to 1.19.0

assets/css/carousel-view-rtl.css CHANGED
@@ -1 +1 @@
1
- .glider-contain{width:100%}.glider,.glider-contain{margin:0 auto;position:relative}.glider{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-y:hidden}.glider,.glider-track{transform:translateZ(0)}.glider-track{display:flex;margin:0;padding:0;width:100%;z-index:1}.glider.draggable{cursor:-webkit-grab;cursor:grab;user-select:none}.glider.draggable .glider-slide img{pointer-events:none;user-select:none}.glider.drag{cursor:-webkit-grabbing;cursor:grabbing}.glider-slide{align-content:center;justify-content:center;user-select:none;width:100%}.glider-slide img{max-width:100%}.glider::-webkit-scrollbar{height:0;opacity:0}.glider-next,.glider-prev{background:none;border:0;color:#666;cursor:pointer;font-size:40px;right:-23px;line-height:1;opacity:1;outline:none;padding:0;position:absolute;text-decoration:none;top:30%;transition:opacity .5s cubic-bezier(.17,.67,.83,.67),color .5s cubic-bezier(.17,.67,.83,.67);user-select:none;z-index:2}.glider-next:focus,.glider-next:hover,.glider-prev:focus,.glider-prev:hover{color:#a89cc8}.glider-next{right:auto;left:-23px}.glider-next.disabled,.glider-prev.disabled{color:#666;cursor:default;opacity:.25}.glider-slide{min-width:150px}.glider-hide{opacity:0}.glider-dots{display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto}.glider-dot,.glider-dots{padding:0;user-select:none}.glider-dot{background:#ccc;border:0;border-radius:999px;color:#ccc;cursor:pointer;display:block;height:12px;margin:7px;outline:none;width:12px}.glider-dot.active,.glider-dot:focus,.glider-dot:hover{background:#a89cc8}@media(max-width:36em){.glider::-webkit-scrollbar{-webkit-appearance:none;height:3px;opacity:1;width:7px}.glider::-webkit-scrollbar-thumb{background-color:#9c9c9c40;border-radius:99px;box-shadow:0 0 1px #ffffff40;opacity:1}}
1
+ .glider-contain{width:100%}.glider,.glider-contain{margin:0 auto;position:relative}.glider{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-y:hidden}.glider,.glider-track{transform:translateZ(0)}.glider-track{display:flex;margin:0;padding:0;width:100%;z-index:1}.glider.draggable{cursor:-webkit-grab;cursor:grab;user-select:none}.glider.draggable .glider-slide img{pointer-events:none;user-select:none}.glider.drag{cursor:-webkit-grabbing;cursor:grabbing}.glider-slide{align-content:center;justify-content:center;user-select:none;width:100%}.glider-slide img{max-width:100%}.glider::-webkit-scrollbar{height:0;opacity:0}.glider-next,.glider-prev{background:none;border:0;color:#666;cursor:pointer;font-size:40px;line-height:1;opacity:1;outline:none;padding:0;position:absolute;right:-23px;text-decoration:none;top:30%;transition:opacity .5s cubic-bezier(.17,.67,.83,.67),color .5s cubic-bezier(.17,.67,.83,.67);user-select:none;z-index:2}.glider-next:focus,.glider-next:hover,.glider-prev:focus,.glider-prev:hover{color:#a89cc8}.glider-next{left:-23px;right:auto}.glider-next.disabled,.glider-prev.disabled{color:#666;cursor:default;opacity:.25}.glider-slide{min-width:150px}.glider-hide{opacity:0}.glider-dots{display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto}.glider-dot,.glider-dots{padding:0;user-select:none}.glider-dot{background:#ccc;border:0;border-radius:999px;color:#ccc;cursor:pointer;display:block;height:12px;margin:7px;outline:none;width:12px}.glider-dot.active,.glider-dot:focus,.glider-dot:hover{background:#a89cc8}@media(max-width:36em){.glider::-webkit-scrollbar{-webkit-appearance:none;height:3px;opacity:1;width:7px}.glider::-webkit-scrollbar-thumb{background-color:#9c9c9c40;border-radius:99px;box-shadow:0 0 1px #ffffff40;opacity:1}}
assets/css/vendors-chunk-getStoryPropsToSave-wp-story-editor-rtl.css DELETED
@@ -1 +0,0 @@
1
- .react-calendar{background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em;max-width:100%;width:350px}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{margin:.5em;width:50%}.react-calendar,.react-calendar *,.react-calendar :after,.react-calendar :before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{border:0;margin:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{background:none;min-width:44px}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:focus,.react-calendar__navigation button:enabled:hover{background-color:#e6e6e6}.react-calendar__month-view__weekdays{font-size:.75em;font-weight:700;text-align:center;text-transform:uppercase}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{align-items:center;display:flex;font-size:.75em;font-weight:700;justify-content:center}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth{color:#757575}.react-calendar__century-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__year-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{background:none;line-height:16px;max-width:100%;padding:10px 6.6667px;text-align:center}.react-calendar__tile:disabled{background-color:#f0f0f0}.react-calendar__tile:enabled:focus,.react-calendar__tile:enabled:hover{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:focus,.react-calendar__tile--now:enabled:hover{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:focus,.react-calendar__tile--hasActive:enabled:hover{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:focus,.react-calendar__tile--active:enabled:hover{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}
 
assets/css/vendors-chunk-getStoryPropsToSave-wp-story-editor.css DELETED
@@ -1 +0,0 @@
1
- .react-calendar{background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em;max-width:100%;width:350px}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{margin:.5em;width:50%}.react-calendar,.react-calendar *,.react-calendar :after,.react-calendar :before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{border:0;margin:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{background:none;min-width:44px}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:focus,.react-calendar__navigation button:enabled:hover{background-color:#e6e6e6}.react-calendar__month-view__weekdays{font-size:.75em;font-weight:700;text-align:center;text-transform:uppercase}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{align-items:center;display:flex;font-size:.75em;font-weight:700;justify-content:center}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth{color:#757575}.react-calendar__century-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__year-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{background:none;line-height:16px;max-width:100%;padding:10px 6.6667px;text-align:center}.react-calendar__tile:disabled{background-color:#f0f0f0}.react-calendar__tile:enabled:focus,.react-calendar__tile:enabled:hover{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:focus,.react-calendar__tile--now:enabled:hover{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:focus,.react-calendar__tile--hasActive:enabled:hover{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:focus,.react-calendar__tile--active:enabled:hover{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}
 
assets/css/web-stories-block-rtl.css CHANGED
@@ -1 +1 @@
1
- .glider-contain{width:100%}.glider,.glider-contain{margin:0 auto;position:relative}.glider{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-y:hidden}.glider,.glider-track{transform:translateZ(0)}.glider-track{display:flex;margin:0;padding:0;width:100%;z-index:1}.glider.draggable{cursor:-webkit-grab;cursor:grab;user-select:none}.glider.draggable .glider-slide img{pointer-events:none;user-select:none}.glider.drag{cursor:-webkit-grabbing;cursor:grabbing}.glider-slide{align-content:center;justify-content:center;user-select:none;width:100%}.glider-slide img{max-width:100%}.glider::-webkit-scrollbar{height:0;opacity:0}.glider-next,.glider-prev{background:none;border:0;color:#666;cursor:pointer;font-size:40px;right:-23px;line-height:1;opacity:1;outline:none;padding:0;position:absolute;text-decoration:none;top:30%;transition:opacity .5s cubic-bezier(.17,.67,.83,.67),color .5s cubic-bezier(.17,.67,.83,.67);user-select:none;z-index:2}.glider-next:focus,.glider-next:hover,.glider-prev:focus,.glider-prev:hover{color:#a89cc8}.glider-next{right:auto;left:-23px}.glider-next.disabled,.glider-prev.disabled{color:#666;cursor:default;opacity:.25}.glider-slide{min-width:150px}.glider-hide{opacity:0}.glider-dots{display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto}.glider-dot,.glider-dots{padding:0;user-select:none}.glider-dot{background:#ccc;border:0;border-radius:999px;color:#ccc;cursor:pointer;display:block;height:12px;margin:7px;outline:none;width:12px}.glider-dot.active,.glider-dot:focus,.glider-dot:hover{background:#a89cc8}@media(max-width:36em){.glider::-webkit-scrollbar{-webkit-appearance:none;height:3px;opacity:1;width:7px}.glider::-webkit-scrollbar-thumb{background-color:#9c9c9c40;border-radius:99px;box-shadow:0 0 1px #ffffff40;opacity:1}}.block-editor-block-list__block[data-type="web-stories/embed"] .wp-block{height:auto;overflow:hidden}.wp-block-web-stories-embed.is-loading{align-items:center;background:#f8f9f9;display:flex;flex-direction:column;justify-content:center;min-height:200px;padding:1em;text-align:center}.wp-block-web-stories-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-web-stories-embed .components-placeholder__learn-more{margin-top:1em}.wp-block-web-stories-embed .components-resizable-box__container amp-story-player{height:inherit;width:inherit}.wp-block-web-stories-embed.alignleft .components-resizable-box__container{margin-right:auto}.wp-block-web-stories-embed.alignright .components-resizable-box__container{margin-left:auto}.wp-block-web-stories-embed.aligncenter .components-resizable-box__container{margin:auto}.wp-block-web-stories-embed .components-resizable-box__container.hide-resize-handle .components-resizable-box__handle{display:none}.wp-block-web-stories-embed .components-resizable-box__container.show-resize-handle .components-resizable-box__handle{display:block}.web-stories-embed-preview{height:inherit;position:relative;width:inherit}.web-stories-embed-preview-overlay{bottom:0;right:0;opacity:0;position:absolute;left:0;top:0}.web-stories-embed-poster-label{display:block!important}.web-stories-embed-size-control{margin-bottom:1em}.web-stories-embed-size-control__row{display:flex;justify-content:space-between}.web-stories-embed-size-control__height input,.web-stories-embed-size-control__width input{line-height:1.25}.web-stories-embed-size-control__width{margin-left:5px}.web-stories-embed-size-control__height{margin-right:5px}:root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(-180deg,#fff0,#000c);content:"";display:block;height:100%;right:0;position:absolute;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{left:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;right:0;opacity:0;position:fixed;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;right:0;position:absolute;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;right:20px;position:absolute;top:15px;transform:rotate(-45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{right:10px}.story-lightbox__close-button--stick{height:25px;right:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);right:0;max-width:none;padding:2px;position:absolute;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(-180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;right:0;position:absolute;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{position:absolute;left:0;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{left:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%) rotate(-180deg)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMS41MzIgMS4zODMgNS41MSA1LjUxLTUuNTEgNS41MTEiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:rotate(-180deg)}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(-180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(-180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}.web-stories-list__story{cursor:default}.web-stories-list.is-view-type-carousel .web-stories-list__story{flex-shrink:0;margin-left:10px;min-width:235px}.web-stories-list .web-stories-list__story-poster img{height:100%}.web-stories-list .story-content-overlay__excerpt p{margin:0}.web-stories-list.is-carousel.has-archive-link{margin-top:0;padding-top:59px}.web-stories-list.is-carousel.has-archive-link .web-stories-list__archive-link{top:0}.is-pressed .web-stories-block__toolbar-icon.icon__circles-carousel circle{stroke:#000}.web-stories-block-configuration-panel .components-placeholder__instructions{margin:0}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;list-style:none;margin:16px 0 0;padding:0;width:100%}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options>li{align-items:center;display:flex;flex-direction:column;margin:8px 0 0 20px}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button{height:70px;justify-content:center;margin:0 0 12px;padding:0;width:70px}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button svg{fill:none;color:var(--wp-admin-theme-color,#007cba)}.web-stories-block__loader-container{align-items:center;display:flex;height:100%;justify-content:center}.web-stories-block__loader-container .components-spinner{margin-top:0}.web-stories-story-picker-modal{height:100%;overflow:hidden;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}.web-stories-story-picker-modal .components-modal__header{margin-bottom:0}.web-stories-story-picker-modal__content{height:calc(100% - 110px);margin:0;overflow-x:hidden;overflow-y:scroll;padding:20px 0;position:relative}.web-stories-story-picker-modal__footer{align-items:center;background:#fff;bottom:0;display:flex;justify-content:space-between;margin:0;padding:10px 0;position:fixed;width:calc(100% - 64px);z-index:2}.web-stories-story-picker-modal__footer .components-button{margin-right:8px}.web-stories-story-picker-modal__footer--left{min-width:1px}.web-stories-story-picker-modal__footer--right{display:flex;flex-direction:row}@media screen and (min-width:768px){.web-stories-story-picker-modal__footer--right{display:block}}.web-stories-story-picker-filter{display:flex;justify-content:flex-end;margin-top:-12px;padding:0;z-index:2}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter{position:sticky;top:0}}.web-stories-story-picker-filter__search-container{background:#fff;display:block;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-filter__search-container{grid-column-gap:1%;display:grid;grid-template-columns:0 32% 32% 32%}}@media screen and (min-width:1200px){.web-stories-story-picker-filter__search-container{grid-template-columns:57% 15% 15% 10%}}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-input-control__label{margin-bottom:7px}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-select-control__input{height:34px}.web-stories-story-picker-filter__search-inner{grid-column:2}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container{position:relative}.web-stories-story-picker-filter__combobox .components-form-token-field__suggestions-list{background:#fff;border:1px solid #757575;position:absolute;top:28px}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container:focus-within .components-form-token-field__suggestions-list{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.web-stories-story-picker-filter__grid{grid-column-gap:24px;grid-row-gap:80px;display:grid;grid-auto-rows:minmax(min-content,max-content);grid-template-columns:repeat(auto-fill,minmax(100px,1fr));overflow:auto;padding:30px 20px 0;scroll-margin-top:30vh;width:100%}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter__grid{height:calc(100% - 125px)}}@media screen and (min-width:768px){.web-stories-story-picker-filter__grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}.web-stories-story-picker-filter__grid .droppable{position:relative}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter:before{background:var(--wp-admin-theme-color,#007cba);bottom:0;content:"";right:-14px;position:absolute;top:0;width:4px}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter.web-stories-story-picker-show-drag-inserter-right:before{right:auto;left:-14px}.web-stories-story-picker-filter__grid_item{display:flex;flex-direction:column;margin:0;width:100%}.web-stories-story-picker-filter__load_more{display:flex;flex-direction:row;justify-content:center}.web-stories-story-preview-card__poster{border:1px solid #adb1b3;border-radius:4px;position:relative}.web-stories-story-preview-card__poster img{border-radius:4px;height:auto;position:absolute;width:100%}.web-stories-story-preview-card__poster:before{background:linear-gradient(-180deg,#fff0,#000c);content:"";display:block;height:100%;right:0;position:absolute;top:0;width:100%;z-index:1}.web-stories-story-preview-card__poster:after{content:"";display:block;padding-bottom:133.28125%}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay{background:#0000;border:none;bottom:0;box-shadow:none;display:block;height:100%;right:0;margin:0;padding:0;position:absolute;left:0;top:0;width:100%;z-index:2}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay:focus{box-shadow:0 0 3px 3px #5b9dd9,0 0 2px 1px #1e8cbecc}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon{position:absolute;left:-7px;top:-7px;z-index:1}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span,.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{background-color:#ccc;box-shadow:0 0 0 1px #fff,0 0 0 2px #00000026;color:#000;cursor:pointer;padding:3px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon span{color:#fff}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{stroke:#000;stroke-width:2px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon svg{stroke:#fff;background-color:#0073aa}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span:before{right:0;position:absolute;top:0}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon .item-selected-icon-minus{display:none}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-minus{display:block}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-check{display:none}.web-stories-story-preview-card__label>div{margin-bottom:8px}.web-stories-story-preview-card__title{font-size:16px;font-weight:700;margin-top:8px}.web-stories-settings .components-toggle-control .components-base-control__help,.web-stories-settings .web-stories-settings-archive-link{margin-right:auto;width:80%}
1
+ .glider-contain{width:100%}.glider,.glider-contain{margin:0 auto;position:relative}.glider{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-y:hidden}.glider,.glider-track{transform:translateZ(0)}.glider-track{display:flex;margin:0;padding:0;width:100%;z-index:1}.glider.draggable{cursor:-webkit-grab;cursor:grab;user-select:none}.glider.draggable .glider-slide img{pointer-events:none;user-select:none}.glider.drag{cursor:-webkit-grabbing;cursor:grabbing}.glider-slide{align-content:center;justify-content:center;user-select:none;width:100%}.glider-slide img{max-width:100%}.glider::-webkit-scrollbar{height:0;opacity:0}.glider-next,.glider-prev{background:none;border:0;color:#666;cursor:pointer;font-size:40px;line-height:1;opacity:1;outline:none;padding:0;position:absolute;right:-23px;text-decoration:none;top:30%;transition:opacity .5s cubic-bezier(.17,.67,.83,.67),color .5s cubic-bezier(.17,.67,.83,.67);user-select:none;z-index:2}.glider-next:focus,.glider-next:hover,.glider-prev:focus,.glider-prev:hover{color:#a89cc8}.glider-next{left:-23px;right:auto}.glider-next.disabled,.glider-prev.disabled{color:#666;cursor:default;opacity:.25}.glider-slide{min-width:150px}.glider-hide{opacity:0}.glider-dots{display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto}.glider-dot,.glider-dots{padding:0;user-select:none}.glider-dot{background:#ccc;border:0;border-radius:999px;color:#ccc;cursor:pointer;display:block;height:12px;margin:7px;outline:none;width:12px}.glider-dot.active,.glider-dot:focus,.glider-dot:hover{background:#a89cc8}@media(max-width:36em){.glider::-webkit-scrollbar{-webkit-appearance:none;height:3px;opacity:1;width:7px}.glider::-webkit-scrollbar-thumb{background-color:#9c9c9c40;border-radius:99px;box-shadow:0 0 1px #ffffff40;opacity:1}}.block-editor-block-list__block[data-type="web-stories/embed"] .wp-block{height:auto;overflow:hidden}.wp-block-web-stories-embed.is-loading{align-items:center;background:#f8f9f9;display:flex;flex-direction:column;justify-content:center;min-height:200px;padding:1em;text-align:center}.wp-block-web-stories-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-web-stories-embed .components-placeholder__learn-more{margin-top:1em}.wp-block-web-stories-embed .components-resizable-box__container amp-story-player{height:inherit;width:inherit}.wp-block-web-stories-embed.alignleft .components-resizable-box__container{margin-right:auto}.wp-block-web-stories-embed.alignright .components-resizable-box__container{margin-left:auto}.wp-block-web-stories-embed.aligncenter .components-resizable-box__container{margin:auto}.wp-block-web-stories-embed .components-resizable-box__container.hide-resize-handle .components-resizable-box__handle{display:none}.wp-block-web-stories-embed .components-resizable-box__container.show-resize-handle .components-resizable-box__handle{display:block}.web-stories-embed-preview{height:inherit;position:relative;width:inherit}.web-stories-embed-preview-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.web-stories-embed-poster-label{display:block!important}.web-stories-embed-size-control{margin-bottom:1em}.web-stories-embed-size-control__row{display:flex;justify-content:space-between}.web-stories-embed-size-control__height input,.web-stories-embed-size-control__width input{line-height:1.25}.web-stories-embed-size-control__width{margin-left:5px}.web-stories-embed-size-control__height{margin-right:5px}:root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(-180deg,#fff0,#000c);content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{left:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;opacity:0;position:fixed;right:0;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;position:absolute;right:0;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;position:absolute;right:20px;top:15px;transform:rotate(-45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{right:10px}.story-lightbox__close-button--stick{height:25px;right:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);max-width:none;padding:2px;position:absolute;right:0;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(-180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{left:0;position:absolute;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{left:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(269b283795a3f40f98b2.svg)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:none}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(-180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(-180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}.web-stories-list__story{cursor:default}.web-stories-list.is-view-type-carousel .web-stories-list__story{flex-shrink:0;margin-left:10px;min-width:235px}.web-stories-list .web-stories-list__story-poster img{height:100%}.web-stories-list .story-content-overlay__excerpt p{margin:0}.web-stories-list.is-carousel.has-archive-link{margin-top:0;padding-top:59px}.web-stories-list.is-carousel.has-archive-link .web-stories-list__archive-link{top:0}.is-pressed .web-stories-block__toolbar-icon.icon__circles-carousel circle{stroke:#000}.web-stories-block-configuration-panel .components-placeholder__instructions{margin:0}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;list-style:none;margin:16px 0 0;padding:0;width:100%}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options>li{align-items:center;display:flex;flex-direction:column;margin:8px 0 0 20px}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button{height:70px;justify-content:center;margin:0 0 12px;padding:0;width:70px}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button svg{fill:none;color:var(--wp-admin-theme-color,#007cba)}.web-stories-block__loader-container{align-items:center;display:flex;height:100%;justify-content:center}.web-stories-block__loader-container .components-spinner{margin-top:0}.web-stories-story-picker-modal{height:100%;overflow:hidden;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}.web-stories-story-picker-modal .components-modal__header{margin-bottom:0}.web-stories-story-picker-modal__content{height:calc(100% - 110px);margin:0;overflow-x:hidden;overflow-y:scroll;padding:20px 0;position:relative}.web-stories-story-picker-modal__footer{align-items:center;background:#fff;bottom:0;display:flex;justify-content:space-between;margin:0;padding:10px 0;position:fixed;width:calc(100% - 64px);z-index:2}.web-stories-story-picker-modal__footer .components-button{margin-right:8px}.web-stories-story-picker-modal__footer--left{min-width:1px}.web-stories-story-picker-modal__footer--right{display:flex;flex-direction:row}@media screen and (min-width:768px){.web-stories-story-picker-modal__footer--right{display:block}}.web-stories-story-picker-filter{display:flex;justify-content:flex-end;margin-top:-12px;padding:0;z-index:2}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter{position:sticky;top:0}}.web-stories-story-picker-filter__search-container{background:#fff;display:block;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-filter__search-container{grid-column-gap:1%;display:grid;grid-template-columns:0 32% 32% 32%}}@media screen and (min-width:1200px){.web-stories-story-picker-filter__search-container{grid-template-columns:57% 15% 15% 10%}}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-input-control__label{margin-bottom:7px}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-select-control__input{height:34px}.web-stories-story-picker-filter__search-inner{grid-column:2}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container{position:relative}.web-stories-story-picker-filter__combobox .components-form-token-field__suggestions-list{background:#fff;border:1px solid #757575;position:absolute;top:28px}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container:focus-within .components-form-token-field__suggestions-list{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.web-stories-story-picker-filter__grid{grid-column-gap:24px;grid-row-gap:80px;display:grid;grid-auto-rows:minmax(min-content,max-content);grid-template-columns:repeat(auto-fill,minmax(100px,1fr));overflow:auto;padding:30px 20px 0;scroll-margin-top:30vh;width:100%}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter__grid{height:calc(100% - 125px)}}@media screen and (min-width:768px){.web-stories-story-picker-filter__grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}.web-stories-story-picker-filter__grid .droppable{position:relative}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter:before{background:var(--wp-admin-theme-color,#007cba);bottom:0;content:"";position:absolute;right:-14px;top:0;width:4px}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter.web-stories-story-picker-show-drag-inserter-right:before{left:-14px;right:auto}.web-stories-story-picker-filter__grid_item{display:flex;flex-direction:column;margin:0;width:100%}.web-stories-story-picker-filter__load_more{display:flex;flex-direction:row;justify-content:center}.web-stories-story-preview-card__poster{border:1px solid #adb1b3;border-radius:4px;position:relative}.web-stories-story-preview-card__poster img{border-radius:4px;height:auto;position:absolute;width:100%}.web-stories-story-preview-card__poster:before{background:linear-gradient(-180deg,#fff0,#000c);content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%;z-index:1}.web-stories-story-preview-card__poster:after{content:"";display:block;padding-bottom:133.28125%}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay{background:#0000;border:none;bottom:0;box-shadow:none;display:block;height:100%;left:0;margin:0;padding:0;position:absolute;right:0;top:0;width:100%;z-index:2}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay:focus{box-shadow:0 0 3px 3px #5b9dd9,0 0 2px 1px #1e8cbecc}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon{left:-7px;position:absolute;top:-7px;z-index:1}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span,.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{background-color:#ccc;box-shadow:0 0 0 1px #fff,0 0 0 2px #00000026;color:#000;cursor:pointer;padding:3px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon span{color:#fff}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{stroke:#000;stroke-width:2px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon svg{stroke:#fff;background-color:#0073aa}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span:before{position:absolute;right:0;top:0}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon .item-selected-icon-minus{display:none}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-minus{display:block}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-check{display:none}.web-stories-story-preview-card__label>div{margin-bottom:8px}.web-stories-story-preview-card__title{font-size:16px;font-weight:700;margin-top:8px}.web-stories-settings .components-toggle-control .components-base-control__help,.web-stories-settings .web-stories-settings-archive-link{margin-right:auto;width:80%}
assets/css/web-stories-block.css CHANGED
@@ -1,3 +1,3 @@
1
  .glider-contain{width:100%}.glider,.glider-contain{margin:0 auto;position:relative}.glider{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-y:hidden}.glider,.glider-track{transform:translateZ(0)}.glider-track{display:flex;margin:0;padding:0;width:100%;z-index:1}.glider.draggable{cursor:-webkit-grab;cursor:grab;user-select:none}.glider.draggable .glider-slide img{pointer-events:none;user-select:none}.glider.drag{cursor:-webkit-grabbing;cursor:grabbing}.glider-slide{align-content:center;justify-content:center;user-select:none;width:100%}.glider-slide img{max-width:100%}.glider::-webkit-scrollbar{height:0;opacity:0}.glider-next,.glider-prev{background:none;border:0;color:#666;cursor:pointer;font-size:40px;left:-23px;line-height:1;opacity:1;outline:none;padding:0;position:absolute;text-decoration:none;top:30%;transition:opacity .5s cubic-bezier(.17,.67,.83,.67),color .5s cubic-bezier(.17,.67,.83,.67);user-select:none;z-index:2}.glider-next:focus,.glider-next:hover,.glider-prev:focus,.glider-prev:hover{color:#a89cc8}.glider-next{left:auto;right:-23px}.glider-next.disabled,.glider-prev.disabled{color:#666;cursor:default;opacity:.25}.glider-slide{min-width:150px}.glider-hide{opacity:0}.glider-dots{display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto}.glider-dot,.glider-dots{padding:0;user-select:none}.glider-dot{background:#ccc;border:0;border-radius:999px;color:#ccc;cursor:pointer;display:block;height:12px;margin:7px;outline:none;width:12px}.glider-dot.active,.glider-dot:focus,.glider-dot:hover{background:#a89cc8}@media(max-width:36em){.glider::-webkit-scrollbar{-webkit-appearance:none;height:3px;opacity:1;width:7px}.glider::-webkit-scrollbar-thumb{background-color:#9c9c9c40;border-radius:99px;box-shadow:0 0 1px #ffffff40;opacity:1}}.block-editor-block-list__block[data-type="web-stories/embed"] .wp-block{height:auto;overflow:hidden}.wp-block-web-stories-embed.is-loading{align-items:center;background:#f8f9f9;display:flex;flex-direction:column;justify-content:center;min-height:200px;padding:1em;text-align:center}.wp-block-web-stories-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-web-stories-embed .components-placeholder__learn-more{margin-top:1em}.wp-block-web-stories-embed .components-resizable-box__container amp-story-player{height:inherit;width:inherit}.wp-block-web-stories-embed.alignleft .components-resizable-box__container{
2
  /*!rtl:ignore*/margin-right:auto}.wp-block-web-stories-embed.alignright .components-resizable-box__container{
3
- /*!rtl:ignore*/margin-left:auto}.wp-block-web-stories-embed.aligncenter .components-resizable-box__container{margin:auto}.wp-block-web-stories-embed .components-resizable-box__container.hide-resize-handle .components-resizable-box__handle{display:none}.wp-block-web-stories-embed .components-resizable-box__container.show-resize-handle .components-resizable-box__handle{display:block}.web-stories-embed-preview{height:inherit;position:relative;width:inherit}.web-stories-embed-preview-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.web-stories-embed-poster-label{display:block!important}.web-stories-embed-size-control{margin-bottom:1em}.web-stories-embed-size-control__row{display:flex;justify-content:space-between}.web-stories-embed-size-control__height input,.web-stories-embed-size-control__width input{line-height:1.25}.web-stories-embed-size-control__width{margin-right:5px}.web-stories-embed-size-control__height{margin-left:5px}:root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(180deg,#fff0,#000c);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{right:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;left:0;position:absolute;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;left:20px;position:absolute;top:15px;transform:rotate(45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(-45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{left:10px}.story-lightbox__close-button--stick{height:25px;left:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);left:0;max-width:none;padding:2px;position:absolute;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{position:absolute;right:0;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{right:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%) rotate(180deg) /*!rtl:translateY(-50%)*/}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMS41MzIgMS4zODMgNS41MSA1LjUxLTUuNTEgNS41MTEiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:rotate(180deg) /*!rtl:none*/}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}.web-stories-list__story{cursor:default}.web-stories-list.is-view-type-carousel .web-stories-list__story{flex-shrink:0;margin-right:10px;min-width:235px}.web-stories-list .web-stories-list__story-poster img{height:100%}.web-stories-list .story-content-overlay__excerpt p{margin:0}.web-stories-list.is-carousel.has-archive-link{margin-top:0;padding-top:59px}.web-stories-list.is-carousel.has-archive-link .web-stories-list__archive-link{top:0}.is-pressed .web-stories-block__toolbar-icon.icon__circles-carousel circle{stroke:#000}.web-stories-block-configuration-panel .components-placeholder__instructions{margin:0}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;list-style:none;margin:16px 0 0;padding:0;width:100%}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options>li{align-items:center;display:flex;flex-direction:column;margin:8px 20px 0 0}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button{height:70px;justify-content:center;margin:0 0 12px;padding:0;width:70px}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button svg{fill:none;color:var(--wp-admin-theme-color,#007cba)}.web-stories-block__loader-container{align-items:center;display:flex;height:100%;justify-content:center}.web-stories-block__loader-container .components-spinner{margin-top:0}.web-stories-story-picker-modal{height:100%;overflow:hidden;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}.web-stories-story-picker-modal .components-modal__header{margin-bottom:0}.web-stories-story-picker-modal__content{height:calc(100% - 110px);margin:0;overflow-x:hidden;overflow-y:scroll;padding:20px 0;position:relative}.web-stories-story-picker-modal__footer{align-items:center;background:#fff;bottom:0;display:flex;justify-content:space-between;margin:0;padding:10px 0;position:fixed;width:calc(100% - 64px);z-index:2}.web-stories-story-picker-modal__footer .components-button{margin-left:8px}.web-stories-story-picker-modal__footer--left{min-width:1px}.web-stories-story-picker-modal__footer--right{display:flex;flex-direction:row}@media screen and (min-width:768px){.web-stories-story-picker-modal__footer--right{display:block}}.web-stories-story-picker-filter{display:flex;justify-content:flex-end;margin-top:-12px;padding:0;z-index:2}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter{position:sticky;top:0}}.web-stories-story-picker-filter__search-container{background:#fff;display:block;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-filter__search-container{grid-column-gap:1%;display:grid;grid-template-columns:0 32% 32% 32%}}@media screen and (min-width:1200px){.web-stories-story-picker-filter__search-container{grid-template-columns:57% 15% 15% 10%}}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-input-control__label{margin-bottom:7px}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-select-control__input{height:34px}.web-stories-story-picker-filter__search-inner{grid-column:2}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container{position:relative}.web-stories-story-picker-filter__combobox .components-form-token-field__suggestions-list{background:#fff;border:1px solid #757575;position:absolute;top:28px}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container:focus-within .components-form-token-field__suggestions-list{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.web-stories-story-picker-filter__grid{grid-column-gap:24px;grid-row-gap:80px;display:grid;grid-auto-rows:minmax(min-content,max-content);grid-template-columns:repeat(auto-fill,minmax(100px,1fr));overflow:auto;padding:30px 20px 0;scroll-margin-top:30vh;width:100%}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter__grid{height:calc(100% - 125px)}}@media screen and (min-width:768px){.web-stories-story-picker-filter__grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}.web-stories-story-picker-filter__grid .droppable{position:relative}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter:before{background:var(--wp-admin-theme-color,#007cba);bottom:0;content:"";left:-14px;position:absolute;top:0;width:4px}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter.web-stories-story-picker-show-drag-inserter-right:before{left:auto;right:-14px}.web-stories-story-picker-filter__grid_item{display:flex;flex-direction:column;margin:0;width:100%}.web-stories-story-picker-filter__load_more{display:flex;flex-direction:row;justify-content:center}.web-stories-story-preview-card__poster{border:1px solid #adb1b3;border-radius:4px;position:relative}.web-stories-story-preview-card__poster img{border-radius:4px;height:auto;position:absolute;width:100%}.web-stories-story-preview-card__poster:before{background:linear-gradient(180deg,#fff0,#000c);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.web-stories-story-preview-card__poster:after{content:"";display:block;padding-bottom:133.28125%}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay{background:#0000;border:none;bottom:0;box-shadow:none;display:block;height:100%;left:0;margin:0;padding:0;position:absolute;right:0;top:0;width:100%;z-index:2}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay:focus{box-shadow:0 0 3px 3px #5b9dd9,0 0 2px 1px #1e8cbecc}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon{position:absolute;right:-7px;top:-7px;z-index:1}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span,.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{background-color:#ccc;box-shadow:0 0 0 1px #fff,0 0 0 2px #00000026;color:#000;cursor:pointer;padding:3px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon span{color:#fff}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{stroke:#000;stroke-width:2px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon svg{stroke:#fff;background-color:#0073aa}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span:before{left:0;position:absolute;top:0}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon .item-selected-icon-minus{display:none}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-minus{display:block}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-check{display:none}.web-stories-story-preview-card__label>div{margin-bottom:8px}.web-stories-story-preview-card__title{font-size:16px;font-weight:700;margin-top:8px}.web-stories-settings .components-toggle-control .components-base-control__help,.web-stories-settings .web-stories-settings-archive-link{margin-left:auto;width:80%}
1
  .glider-contain{width:100%}.glider,.glider-contain{margin:0 auto;position:relative}.glider{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;overflow-y:hidden}.glider,.glider-track{transform:translateZ(0)}.glider-track{display:flex;margin:0;padding:0;width:100%;z-index:1}.glider.draggable{cursor:-webkit-grab;cursor:grab;user-select:none}.glider.draggable .glider-slide img{pointer-events:none;user-select:none}.glider.drag{cursor:-webkit-grabbing;cursor:grabbing}.glider-slide{align-content:center;justify-content:center;user-select:none;width:100%}.glider-slide img{max-width:100%}.glider::-webkit-scrollbar{height:0;opacity:0}.glider-next,.glider-prev{background:none;border:0;color:#666;cursor:pointer;font-size:40px;left:-23px;line-height:1;opacity:1;outline:none;padding:0;position:absolute;text-decoration:none;top:30%;transition:opacity .5s cubic-bezier(.17,.67,.83,.67),color .5s cubic-bezier(.17,.67,.83,.67);user-select:none;z-index:2}.glider-next:focus,.glider-next:hover,.glider-prev:focus,.glider-prev:hover{color:#a89cc8}.glider-next{left:auto;right:-23px}.glider-next.disabled,.glider-prev.disabled{color:#666;cursor:default;opacity:.25}.glider-slide{min-width:150px}.glider-hide{opacity:0}.glider-dots{display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto}.glider-dot,.glider-dots{padding:0;user-select:none}.glider-dot{background:#ccc;border:0;border-radius:999px;color:#ccc;cursor:pointer;display:block;height:12px;margin:7px;outline:none;width:12px}.glider-dot.active,.glider-dot:focus,.glider-dot:hover{background:#a89cc8}@media(max-width:36em){.glider::-webkit-scrollbar{-webkit-appearance:none;height:3px;opacity:1;width:7px}.glider::-webkit-scrollbar-thumb{background-color:#9c9c9c40;border-radius:99px;box-shadow:0 0 1px #ffffff40;opacity:1}}.block-editor-block-list__block[data-type="web-stories/embed"] .wp-block{height:auto;overflow:hidden}.wp-block-web-stories-embed.is-loading{align-items:center;background:#f8f9f9;display:flex;flex-direction:column;justify-content:center;min-height:200px;padding:1em;text-align:center}.wp-block-web-stories-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-web-stories-embed .components-placeholder__learn-more{margin-top:1em}.wp-block-web-stories-embed .components-resizable-box__container amp-story-player{height:inherit;width:inherit}.wp-block-web-stories-embed.alignleft .components-resizable-box__container{
2
  /*!rtl:ignore*/margin-right:auto}.wp-block-web-stories-embed.alignright .components-resizable-box__container{
3
+ /*!rtl:ignore*/margin-left:auto}.wp-block-web-stories-embed.aligncenter .components-resizable-box__container{margin:auto}.wp-block-web-stories-embed .components-resizable-box__container.hide-resize-handle .components-resizable-box__handle{display:none}.wp-block-web-stories-embed .components-resizable-box__container.show-resize-handle .components-resizable-box__handle{display:block}.web-stories-embed-preview{height:inherit;position:relative;width:inherit}.web-stories-embed-preview-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.web-stories-embed-poster-label{display:block!important}.web-stories-embed-size-control{margin-bottom:1em}.web-stories-embed-size-control__row{display:flex;justify-content:space-between}.web-stories-embed-size-control__height input,.web-stories-embed-size-control__width input{line-height:1.25}.web-stories-embed-size-control__width{margin-right:5px}.web-stories-embed-size-control__height{margin-left:5px}:root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(180deg,#fff0,#000c);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{right:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;left:0;position:absolute;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;left:20px;position:absolute;top:15px;transform:rotate(45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(-45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{left:10px}.story-lightbox__close-button--stick{height:25px;left:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);left:0;max-width:none;padding:2px;position:absolute;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{position:absolute;right:0;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{right:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%) rotate(180deg) /*!rtl:translateY(-50%)*/}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(269b283795a3f40f98b2.svg)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:rotate(180deg) /*!rtl:none*/}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}.web-stories-list__story{cursor:default}.web-stories-list.is-view-type-carousel .web-stories-list__story{flex-shrink:0;margin-right:10px;min-width:235px}.web-stories-list .web-stories-list__story-poster img{height:100%}.web-stories-list .story-content-overlay__excerpt p{margin:0}.web-stories-list.is-carousel.has-archive-link{margin-top:0;padding-top:59px}.web-stories-list.is-carousel.has-archive-link .web-stories-list__archive-link{top:0}.is-pressed .web-stories-block__toolbar-icon.icon__circles-carousel circle{stroke:#000}.web-stories-block-configuration-panel .components-placeholder__instructions{margin:0}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;list-style:none;margin:16px 0 0;padding:0;width:100%}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options>li{align-items:center;display:flex;flex-direction:column;margin:8px 20px 0 0}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button{height:70px;justify-content:center;margin:0 0 12px;padding:0;width:70px}.web-stories-block-configuration-panel .web-stories-block-configuration-panel__options .components-button svg{fill:none;color:var(--wp-admin-theme-color,#007cba)}.web-stories-block__loader-container{align-items:center;display:flex;height:100%;justify-content:center}.web-stories-block__loader-container .components-spinner{margin-top:0}.web-stories-story-picker-modal{height:100%;overflow:hidden;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}.web-stories-story-picker-modal .components-modal__header{margin-bottom:0}.web-stories-story-picker-modal__content{height:calc(100% - 110px);margin:0;overflow-x:hidden;overflow-y:scroll;padding:20px 0;position:relative}.web-stories-story-picker-modal__footer{align-items:center;background:#fff;bottom:0;display:flex;justify-content:space-between;margin:0;padding:10px 0;position:fixed;width:calc(100% - 64px);z-index:2}.web-stories-story-picker-modal__footer .components-button{margin-left:8px}.web-stories-story-picker-modal__footer--left{min-width:1px}.web-stories-story-picker-modal__footer--right{display:flex;flex-direction:row}@media screen and (min-width:768px){.web-stories-story-picker-modal__footer--right{display:block}}.web-stories-story-picker-filter{display:flex;justify-content:flex-end;margin-top:-12px;padding:0;z-index:2}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter{position:sticky;top:0}}.web-stories-story-picker-filter__search-container{background:#fff;display:block;position:relative;width:100%}@media screen and (min-width:768px){.web-stories-story-picker-filter__search-container{grid-column-gap:1%;display:grid;grid-template-columns:0 32% 32% 32%}}@media screen and (min-width:1200px){.web-stories-story-picker-filter__search-container{grid-template-columns:57% 15% 15% 10%}}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-input-control__label{margin-bottom:7px}.web-stories-story-picker-filter .web-stories-story-picker-filter__search-container .components-base-control .components-select-control__input{height:34px}.web-stories-story-picker-filter__search-inner{grid-column:2}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container{position:relative}.web-stories-story-picker-filter__combobox .components-form-token-field__suggestions-list{background:#fff;border:1px solid #757575;position:absolute;top:28px}.web-stories-story-picker-filter__combobox .components-combobox-control__suggestions-container:focus-within .components-form-token-field__suggestions-list{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.web-stories-story-picker-filter__grid{grid-column-gap:24px;grid-row-gap:80px;display:grid;grid-auto-rows:minmax(min-content,max-content);grid-template-columns:repeat(auto-fill,minmax(100px,1fr));overflow:auto;padding:30px 20px 0;scroll-margin-top:30vh;width:100%}@media screen and (min-height:768px) and (min-width:768px){.web-stories-story-picker-filter__grid{height:calc(100% - 125px)}}@media screen and (min-width:768px){.web-stories-story-picker-filter__grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}.web-stories-story-picker-filter__grid .droppable{position:relative}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter:before{background:var(--wp-admin-theme-color,#007cba);bottom:0;content:"";left:-14px;position:absolute;top:0;width:4px}.web-stories-story-picker-filter__grid .droppable.web-stories-story-picker-show-drag-inserter.web-stories-story-picker-show-drag-inserter-right:before{left:auto;right:-14px}.web-stories-story-picker-filter__grid_item{display:flex;flex-direction:column;margin:0;width:100%}.web-stories-story-picker-filter__load_more{display:flex;flex-direction:row;justify-content:center}.web-stories-story-preview-card__poster{border:1px solid #adb1b3;border-radius:4px;position:relative}.web-stories-story-preview-card__poster img{border-radius:4px;height:auto;position:absolute;width:100%}.web-stories-story-preview-card__poster:before{background:linear-gradient(180deg,#fff0,#000c);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.web-stories-story-preview-card__poster:after{content:"";display:block;padding-bottom:133.28125%}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay{background:#0000;border:none;bottom:0;box-shadow:none;display:block;height:100%;left:0;margin:0;padding:0;position:absolute;right:0;top:0;width:100%;z-index:2}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay:focus{box-shadow:0 0 3px 3px #5b9dd9,0 0 2px 1px #1e8cbecc}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon{position:absolute;right:-7px;top:-7px;z-index:1}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span,.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{background-color:#ccc;box-shadow:0 0 0 1px #fff,0 0 0 2px #00000026;color:#000;cursor:pointer;padding:3px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon span{color:#fff}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon svg{stroke:#000;stroke-width:2px}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected:focus .item-selected-icon svg{stroke:#fff;background-color:#0073aa}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon span:before{left:0;position:absolute;top:0}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon .item-selected-icon-minus{display:none}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-minus{display:block}.web-stories-story-preview-card__poster .web-stories-story-preview-card__overlay.item-selected .item-selected-icon:hover .item-selected-icon-check{display:none}.web-stories-story-preview-card__label>div{margin-bottom:8px}.web-stories-story-preview-card__title{font-size:16px;font-weight:700;margin-top:8px}.web-stories-settings .components-toggle-control .components-base-control__help,.web-stories-settings .web-stories-settings-archive-link{margin-left:auto;width:80%}
assets/css/web-stories-embed-rtl.css CHANGED
@@ -1 +1 @@
1
- .web-stories-embed.alignleft,.web-stories-embed.alignnone,.web-stories-embed.alignright{display:block;width:100%}.web-stories-embed.aligncenter{text-align:initial}.web-stories-embed .wp-block-embed__wrapper{position:relative}.web-stories-embed.alignleft .wp-block-embed__wrapper{margin-left:auto}.web-stories-embed.alignright .wp-block-embed__wrapper{margin-right:auto}.web-stories-embed.aligncenter .wp-block-embed__wrapper{margin-right:auto;margin-left:auto}.web-stories-embed:not(.web-stories-embed-amp) .wp-block-embed__wrapper{max-width:var(--width)}.web-stories-embed:not(.web-stories-embed-amp) .wp-block-embed__wrapper:before{content:"";display:block;padding-bottom:calc(var(--aspect-ratio)*100%)}.web-stories-embed:not(.web-stories-embed-amp) .wp-block-embed__wrapper amp-story-player{bottom:0;height:100%;right:0;position:absolute;left:0;top:0;width:100%}.block-editor-block-inspector .web-stories-embed-poster-remove{margin-right:12px}
1
+ .web-stories-embed.alignleft,.web-stories-embed.alignnone,.web-stories-embed.alignright{display:block;width:100%}.web-stories-embed.aligncenter{text-align:initial}.web-stories-embed .wp-block-embed__wrapper{position:relative}.web-stories-embed.alignleft .wp-block-embed__wrapper{margin-left:auto}.web-stories-embed.alignright .wp-block-embed__wrapper{margin-right:auto}.web-stories-embed.aligncenter .wp-block-embed__wrapper{margin-left:auto;margin-right:auto}.web-stories-embed:not(.web-stories-embed-amp) .wp-block-embed__wrapper{max-width:var(--width)}.web-stories-embed:not(.web-stories-embed-amp) .wp-block-embed__wrapper:before{content:"";display:block;padding-bottom:calc(var(--aspect-ratio)*100%)}.web-stories-embed:not(.web-stories-embed-amp) .wp-block-embed__wrapper amp-story-player{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.block-editor-block-inspector .web-stories-embed-poster-remove{margin-right:12px}
assets/css/web-stories-list-styles-rtl.css CHANGED
@@ -1 +1 @@
1
- :root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(-180deg,#fff0,#000c);content:"";display:block;height:100%;right:0;position:absolute;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{left:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;right:0;opacity:0;position:fixed;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;right:0;position:absolute;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;right:20px;position:absolute;top:15px;transform:rotate(-45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{right:10px}.story-lightbox__close-button--stick{height:25px;right:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);right:0;max-width:none;padding:2px;position:absolute;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(-180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;right:0;position:absolute;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{position:absolute;left:0;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{left:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%) rotate(-180deg)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMS41MzIgMS4zODMgNS41MSA1LjUxLTUuNTEgNS41MTEiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:rotate(-180deg)}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(-180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(-180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}
1
+ :root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(-180deg,#fff0,#000c);content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{left:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;opacity:0;position:fixed;right:0;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;position:absolute;right:0;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;position:absolute;right:20px;top:15px;transform:rotate(-45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{right:10px}.story-lightbox__close-button--stick{height:25px;right:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);max-width:none;padding:2px;position:absolute;right:0;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(-180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{left:0;position:absolute;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{left:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(269b283795a3f40f98b2.svg)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:none}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(-180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(-180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}
assets/css/web-stories-list-styles.css CHANGED
@@ -1 +1 @@
1
- :root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(180deg,#fff0,#000c);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{right:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;left:0;position:absolute;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;left:20px;position:absolute;top:15px;transform:rotate(45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(-45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{left:10px}.story-lightbox__close-button--stick{height:25px;left:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);left:0;max-width:none;padding:2px;position:absolute;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{position:absolute;right:0;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{right:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%) rotate(180deg) /*!rtl:translateY(-50%)*/}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMS41MzIgMS4zODMgNS41MSA1LjUxLTUuNTEgNS41MTEiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:rotate(180deg) /*!rtl:none*/}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}
1
+ :root{--ws-font-size-title:18px;--ws-font-size-circle-title:14px;--ws-font-size-excerpt:16px;--ws-font-size-author-date:14px;--ws-aspect-ratio:4/6;--ws-list-aspect-ratio:4/6;--ws-overlay-text-color:#fff;--ws-overlay-text-lh:1.3;--ws-story-min-width:160px;--ws-story-max-width:285px;--ws-circle-size:96px;--ws-circle-border-color:#ccc}.web-stories-list{margin-bottom:24px;margin-top:24px}.web-stories-theme-header-section .web-stories-list{margin-bottom:0;margin-top:0}.web-stories-list.is-carousel .web-stories-list__inner-wrapper{margin:0 auto;max-width:max-content;position:relative}.web-stories-list__story{cursor:pointer;position:relative}.web-stories-list.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-view-type-grid .web-stories-list__story{min-width:var(--ws-story-min-width)}.web-stories-list.is-style-default.is-view-type-carousel .web-stories-list__story,.web-stories-list.is-style-default.is-view-type-grid .web-stories-list__story{border-radius:8px;overflow:hidden}.web-stories-list__story-poster{aspect-ratio:var(--ws-aspect-ratio);position:relative}.web-stories-list__story-poster a{aspect-ratio:var(--ws-aspect-ratio);display:block;margin:0}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder{box-sizing:border-box}.web-stories-list__story-poster .web-stories-list__story-poster-placeholder a,.web-stories-list__story-poster .web-stories-list__story-poster-placeholder span{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-break:normal}.web-stories-list__story.web-stories-list__story--amp .web-stories-list__story-poster a{pointer-events:none}.web-stories-list__story-poster img{box-sizing:border-box;height:100%;object-fit:cover;position:absolute;width:100%}.web-stories-list__story-poster:after{background:linear-gradient(180deg,#fff0,#000c);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list__story-content-overlay{line-height:var(--ws-overlay-text-lh);padding:10px}html[amp] .web-stories-list__story-content-overlay{white-space:normal}.web-stories-list.is-view-type-carousel .web-stories-list__story-content-overlay,.web-stories-list.is-view-type-grid .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.web-stories-list .story-content-overlay__title{font-size:var(--ws-font-size-title);font-weight:700}.web-stories-list .story-content-overlay__author,.web-stories-list .story-content-overlay__date{font-size:var(--ws-font-size-author-date)}.web-stories-list .story-content-overlay__excerpt,.web-stories-list .story-content-overlay__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.web-stories-list .story-content-overlay__title:not(:last-child){margin-bottom:15px}.web-stories-list .story-content-overlay__excerpt{-webkit-line-clamp:3;font-size:var(--ws-font-size-excerpt);margin-bottom:8px}.web-stories-list.alignfull .web-stories-list__archive-link{right:10px}.web-stories-list.is-view-type-grid .web-stories-list__archive-link,.web-stories-list.is-view-type-list .web-stories-list__archive-link{display:block;flex-basis:100%;margin:32px auto 0;text-align:center}.web-stories-list.is-view-type-grid .web-stories-list__archive-link a,.web-stories-list.is-view-type-list .web-stories-list__archive-link a{border:1px solid;border-radius:100px;padding:7px 53px}.web-stories-lightbox-open{overflow-y:hidden}.web-stories-list__lightbox{align-items:center;background:#000;display:none;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(-100vh);width:100%}.web-stories-list__lightbox-wrapper amp-lightbox,.web-stories-list__lightbox.show{z-index:999999999}.web-stories-list__lightbox.show{display:block;opacity:1;transform:translate(0)}.web-stories-list__lightbox amp-story-player{height:100%;width:100%}.story-lightbox__close-button{background:none!important;border:none;border-radius:0;cursor:pointer;display:inline-block;height:40px;left:0;position:absolute;top:8px;width:40px;z-index:1}.story-lightbox__close-button--stick{background-color:#fff;display:inline-block;height:20px;left:20px;position:absolute;top:15px;transform:rotate(45deg);width:3px}.story-lightbox__close-button--stick:first-child{transform:rotate(-45deg)}html:not([amp]) .web-stories-list .web-stories-list__lightbox amp-story-player a{position:absolute}@media (min-width:676px){.admin-bar .web-stories-list__lightbox{top:46px}.story-lightbox__close-button{left:10px}.story-lightbox__close-button--stick{height:25px;left:20px;top:5px}}@media (min-width:783px){.admin-bar .web-stories-list__lightbox{top:32px}}.web-stories-list.is-view-type-grid .web-stories-list__inner-wrapper{display:flex;flex-wrap:wrap}.web-stories-list.is-view-type-grid .web-stories-list__story{flex-basis:calc(100% - 8px);margin:4px}@media (min-width:415px){.web-stories-list.is-view-type-grid.columns-1 .web-stories-list__story{flex-basis:calc(100% - 8px)}.web-stories-list.is-view-type-grid.columns-2 .web-stories-list__story{flex-basis:calc(50% - 8px)}.web-stories-list.is-view-type-grid.columns-3 .web-stories-list__story{flex-basis:calc(33.33333% - 8px)}.web-stories-list.is-view-type-grid.columns-4 .web-stories-list__story{flex-basis:calc(25% - 8px)}.web-stories-list.is-view-type-grid.columns-5 .web-stories-list__story{flex-basis:calc(20% - 8px)}}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{border-bottom:1px solid #ccc;padding:12px 0}.web-stories-list.is-view-type-circles .amp-carousel-slide{vertical-align:top}.web-stories-list.is-view-type-circles .glider-track{justify-content:center;margin:0 auto}.web-stories-list.is-view-type-circles .web-stories-list__story{display:inline-block;margin:0 5px;max-width:var(--ws-circle-size);min-width:var(--ws-circle-size);text-align:center}.web-stories-list.is-view-type-circles .web-stories-list__story-poster,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a{aspect-ratio:1}.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster .web-stories-list__story-poster-placeholder,.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img,.web-stories-list.is-view-type-circles .web-stories-list__story-poster>img{background-clip:content-box;border:2px solid var(--ws-circle-border-color);border-radius:50%;height:var(--ws-circle-size);left:0;max-width:none;padding:2px;position:absolute;top:0;width:var(--ws-circle-size)}.web-stories-list.is-view-type-circles .web-stories-list__story-poster a>img{border-radius:50%}.web-stories-list.is-view-type-circles .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-circles .web-stories-list__story-poster-placeholder:after{background:linear-gradient(180deg,#fff0,#000c);border-radius:50%;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.web-stories-list.is-view-type-circles .web-stories-list__story-content-overlay{padding-bottom:0}.web-stories-list.is-view-type-circles .story-content-overlay__title{font-size:var(--ws-font-size-circle-title)}.web-stories-list.is-view-type-circles.has-title .glider-next,.web-stories-list.is-view-type-circles.has-title .glider-prev{top:35%}.web-stories-list.is-view-type-list .web-stories-list__story{margin-bottom:12px}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{bottom:0;color:var(--ws-overlay-text-color);position:absolute;z-index:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.ws-legacy-widget-preview .web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.ws-legacy-widget-preview .web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}@media (min-width:676px){.web-stories-list.is-view-type-list .web-stories-list__story{align-items:center;display:flex;flex-wrap:nowrap}.web-stories-list.is-view-type-list .web-stories-list__story-poster{aspect-ratio:var(--ws-list-aspect-ratio);flex-basis:40%}.web-stories-list.is-view-type-list .web-stories-list__story-poster:after{display:none}.web-stories-list.is-view-type-list .web-stories-list__story-content-overlay{color:inherit;flex-basis:60%;padding:10px 15px;position:relative}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-poster{order:2}.web-stories-list.is-view-type-list .image-align-right .web-stories-list__story-content-overlay{order:1}.web-stories-list.is-view-type-list.is-style-default .web-stories-list__story-poster{border-radius:8px;overflow:hidden}.web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}}.ws-legacy-widget-preview .web-stories-list.is-view-type-carousel .web-stories-list__story{margin:0 5px;max-width:var(--ws-story-max-width)}.web-stories-list.is-carousel.has-archive-link{margin-top:59px}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:59px;position:relative}.web-stories-list.is-carousel .web-stories-list__archive-link{position:absolute;right:0;top:-35px}.web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{right:10px}.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{padding:10px;top:50%;transform:translateY(-50%)}.web-stories-list.is-carousel .glider-prev{transform:translateY(-50%) rotate(180deg) /*!rtl:translateY(-50%)*/}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-image:url(269b283795a3f40f98b2.svg)}.web-stories-list.is-carousel .amp-carousel-button-next,.web-stories-list.is-carousel .glider-next{right:0}.web-stories-list.is-carousel .amp-carousel-button-prev,.web-stories-list.is-carousel .glider-prev{left:0}.web-stories-list.is-carousel .amp-carousel-button-prev{transform:rotate(180deg) /*!rtl:none*/}html[dir=rtl] .web-stories-list.is-carousel .amp-carousel-button-next{transform:rotate(180deg)}.web-stories-list.is-carousel .amp-carousel-button,.web-stories-list.is-carousel .glider-next,.web-stories-list.is-carousel .glider-prev{background-color:#eaeaea;background-position:50%;background-repeat:no-repeat;background-size:30%;border-radius:50%;border-style:none;box-sizing:border-box;cursor:pointer;height:34px;pointer-events:all;width:34px;z-index:10}html[dir=rtl] .web-stories-list.is-carousel .glider-next{transform:translateY(-50%) rotate(180deg)}.glider-next.disabled,.glider-prev.disabled,.web-stories-list.is-carousel .amp-carousel-button.amp-disabled{opacity:0}html[dir=rtl] .glider-next.disabled,html[dir=rtl] .glider-prev.disabled{cursor:pointer;opacity:1}.web-stories-list.is-carousel .amp-carousel-button:not(.amp-disabled):hover,.web-stories-list.is-carousel .glider-next:not(.disabled):focus,.web-stories-list.is-carousel .glider-next:not(.disabled):hover,.web-stories-list.is-carousel .glider-prev:not(.disabled):focus,.web-stories-list.is-carousel .glider-prev:not(.disabled):hover,html[dir=rtl] .glider-next.disabled:hover,html[dir=rtl] .glider-prev.disabled:hover{filter:invert(1)}.web-stories-list.is-carousel .web-stories-list__carousel{scrollbar-width:none}.web-stories-list.is-carousel .glider-track::-webkit-scrollbar{display:none}
assets/css/web-stories-theme-style-twentyten-rtl.css CHANGED
@@ -1 +1 @@
1
- .web-stories-theme-header-section .web-stories-list{background-color:#fff;margin:0 auto;max-width:940px;padding-right:20px;padding-left:20px}.has-web-stories #wrapper{margin-top:0}
1
+ .web-stories-theme-header-section .web-stories-list{background-color:#fff;margin:0 auto;max-width:940px;padding-left:20px;padding-right:20px}.has-web-stories #wrapper{margin-top:0}
assets/css/web-stories-theme-style-twentytwelve-rtl.css CHANGED
@@ -1 +1 @@
1
- .web-stories-theme-header-section .web-stories-list{margin:0 auto;max-width:68.571428571rem;padding-right:1.714285714rem;padding-left:1.714285714rem}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{background:#fff;padding-top:52px}@media screen and (min-width:600px){.web-stories-theme-header-section .web-stories-list{box-shadow:0 -10px 6px #6464644d;max-width:68.571428571rem}}@media screen and (min-width:960px){.web-stories-theme-header-section .web-stories-list{padding-right:2.857142857rem;padding-left:2.857142857rem}.has-web-stories .site{margin-top:0}}
1
+ .web-stories-theme-header-section .web-stories-list{margin:0 auto;max-width:68.571428571rem;padding-left:1.714285714rem;padding-right:1.714285714rem}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{background:#fff;padding-top:52px}@media screen and (min-width:600px){.web-stories-theme-header-section .web-stories-list{box-shadow:0 -10px 6px #6464644d;max-width:68.571428571rem}}@media screen and (min-width:960px){.web-stories-theme-header-section .web-stories-list{padding-left:2.857142857rem;padding-right:2.857142857rem}.has-web-stories .site{margin-top:0}}
assets/css/web-stories-theme-style-twentytwentyone-rtl.css CHANGED
@@ -1 +1 @@
1
- .web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{font-size:var(--primary-nav--font-size-button);font-weight:var(--primary-nav--font-weight-button)}@media only screen and (max-width:481px){.web-stories-theme-header-section .web-stories-list__inner-wrapper{margin-right:auto;margin-left:auto;max-width:var(--responsive--aligndefault-width)}.web-stories-theme-header-section .web-stories-list{margin-top:72px}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{margin-top:72px;padding-top:0}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:72px}html[amp] .web-stories-theme-header-section .web-stories-list.is-carousel{margin-top:0;padding-top:72px}html[amp] .web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{padding-top:96px}.lock-scrolling .site{z-index:10}}
1
+ .web-stories-theme-header-section .web-stories-list.is-carousel .web-stories-list__archive-link{font-size:var(--primary-nav--font-size-button);font-weight:var(--primary-nav--font-weight-button)}@media only screen and (max-width:481px){.web-stories-theme-header-section .web-stories-list__inner-wrapper{margin-left:auto;margin-right:auto;max-width:var(--responsive--aligndefault-width)}.web-stories-theme-header-section .web-stories-list{margin-top:72px}.web-stories-theme-header-section .web-stories-list.is-view-type-circles{margin-top:72px;padding-top:0}.web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{margin-top:24px;padding-top:72px}html[amp] .web-stories-theme-header-section .web-stories-list.is-carousel{margin-top:0;padding-top:72px}html[amp] .web-stories-theme-header-section .web-stories-list.is-carousel.has-archive-link{padding-top:96px}.lock-scrolling .site{z-index:10}}
assets/css/web-stories-widget-rtl.css CHANGED
@@ -1 +1 @@
1
- #available-widgets [class*=web_stories] .widget-title:before{content:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMDggMjA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjEwMCIgY3k9IjEwMCIgcj0iMTAwIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTEzNS4yIDYyLjRjNS43NDQgMCAxMC40IDQuNjU3IDEwLjQgMTAuNHY2Mi40YzAgNS43NDQtNC42NTYgMTAuNC0xMC40IDEwLjRWNjIuNFpNNTcuMiA2Mi40YzAtNS43NDMgNC42NTYtMTAuNCAxMC40LTEwLjRoNDYuOGM1Ljc0NCAwIDEwLjQgNC42NTcgMTAuNCAxMC40djgzLjJjMCA1Ljc0NC00LjY1NiAxMC40LTEwLjQgMTAuNEg2Ny42Yy01Ljc0NCAwLTEwLjQtNC42NTYtMTAuNC0xMC40VjYyLjRaTTE1NiA3Mi44YTcuOCA3LjggMCAwIDEgNy44IDcuOHY0Ni44YTcuOCA3LjggMCAwIDEtNy44IDcuOFY3Mi44WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==")}
1
+ #available-widgets [class*=web_stories] .widget-title:before{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMDggMjA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjEwMCIgY3k9IjEwMCIgcj0iMTAwIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTEzNS4yIDYyLjRjNS43NDQgMCAxMC40IDQuNjU3IDEwLjQgMTAuNHY2Mi40YzAgNS43NDQtNC42NTYgMTAuNC0xMC40IDEwLjRWNjIuNFpNNTcuMiA2Mi40YzAtNS43NDMgNC42NTYtMTAuNCAxMC40LTEwLjRoNDYuOGM1Ljc0NCAwIDEwLjQgNC42NTcgMTAuNCAxMC40djgzLjJjMCA1Ljc0NC00LjY1NiAxMC40LTEwLjQgMTAuNEg2Ny42Yy01Ljc0NCAwLTEwLjQtNC42NTYtMTAuNC0xMC40VjYyLjRaTTE1NiA3Mi44YTcuOCA3LjggMCAwIDEgNy44IDcuOHY0Ni44YTcuOCA3LjggMCAwIDEtNy44IDcuOFY3Mi44WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==)}
assets/css/web-stories-widget.css CHANGED
@@ -1 +1 @@
1
- #available-widgets [class*=web_stories] .widget-title:before{content:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMDggMjA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjEwMCIgY3k9IjEwMCIgcj0iMTAwIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTEzNS4yIDYyLjRjNS43NDQgMCAxMC40IDQuNjU3IDEwLjQgMTAuNHY2Mi40YzAgNS43NDQtNC42NTYgMTAuNC0xMC40IDEwLjRWNjIuNFpNNTcuMiA2Mi40YzAtNS43NDMgNC42NTYtMTAuNCAxMC40LTEwLjRoNDYuOGM1Ljc0NCAwIDEwLjQgNC42NTcgMTAuNCAxMC40djgzLjJjMCA1Ljc0NC00LjY1NiAxMC40LTEwLjQgMTAuNEg2Ny42Yy01Ljc0NCAwLTEwLjQtNC42NTYtMTAuNC0xMC40VjYyLjRaTTE1NiA3Mi44YTcuOCA3LjggMCAwIDEgNy44IDcuOHY0Ni44YTcuOCA3LjggMCAwIDEtNy44IDcuOFY3Mi44WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==")}
1
+ #available-widgets [class*=web_stories] .widget-title:before{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMDggMjA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjEwMCIgY3k9IjEwMCIgcj0iMTAwIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTEzNS4yIDYyLjRjNS43NDQgMCAxMC40IDQuNjU3IDEwLjQgMTAuNHY2Mi40YzAgNS43NDQtNC42NTYgMTAuNC0xMC40IDEwLjRWNjIuNFpNNTcuMiA2Mi40YzAtNS43NDMgNC42NTYtMTAuNCAxMC40LTEwLjRoNDYuOGM1Ljc0NCAwIDEwLjQgNC42NTcgMTAuNCAxMC40djgzLjJjMCA1Ljc0NC00LjY1NiAxMC40LTEwLjQgMTAuNEg2Ny42Yy01Ljc0NCAwLTEwLjQtNC42NTYtMTAuNC0xMC40VjYyLjRaTTE1NiA3Mi44YTcuOCA3LjggMCAwIDEgNy44IDcuOHY0Ni44YTcuOCA3LjggMCAwIDEtNy44IDcuOFY3Mi44WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==)}
assets/css/wp-dashboard-rtl.css CHANGED
@@ -1 +1 @@
1
- body.js{background:#fff;color:#1a1d1f}#screen-meta,#screen-meta~:not(.web-stories-wp):not(.clear){display:none}body.web-story_page_stories-dashboard{overflow:scroll;position:relative}#adminmenuback{z-index:4}#menu-posts-web-story .wp-menu-image:before{box-sizing:initial}body.js.web-story_page_stories-dashboard #wpbody-content,body.js.web-story_page_stories-dashboard #wpcontent{padding:0}body.web-story_page_stories-dashboard #wpbody{height:100%;position:relative;width:100%}body.web-story_page_stories-dashboard #web-stories-dashboard .loading-message{color:#131516;font-family:Google Sans,sans-serif;font-size:36px;height:100%;right:0;margin:0;padding-top:50px;position:absolute;left:0;text-align:center;top:0;width:100%}@keyframes spin-progress{0%,to{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-0.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,0.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,0.8em -.8em 0 0 #dfcdfe}12.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,0.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,0.8em -.8em 0 0 #dfcdfe}37.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #dfcdfe,0.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,0.8em -.8em 0 0 #dfcdfe}50%{box-shadow:0 -1.14em 0 0 #dfcdfe,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-0.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,0.8em -.8em 0 0 #dfcdfe}62.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-0.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #dfcdfe,0.8em -.8em 0 0 #dfcdfe}75%{box-shadow:0 -1.14em 0 0 #dfcdfe,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-0.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,0.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #dfcdfe}87.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-0.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-0.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,0.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,0.8em -.8em 0 0 #cbacff}}body.web-story_page_stories-dashboard #web-stories-dashboard .loading-message:after{animation:spin-progress .85s cubic-bezier(.455,.03,.515,.955) infinite;border-radius:50%;bottom:0;content:"";display:block;height:.4em;right:0;margin:140px auto auto;position:absolute;left:0;top:0;width:.4em}body.web-story_page_stories-dashboard #wpfooter{display:none}button{font-size:inherit}
1
+ body.js{background:#fff;color:#1a1d1f}#screen-meta,#screen-meta~:not(.web-stories-wp):not(.clear){display:none}body.web-story_page_stories-dashboard{overflow:scroll;position:relative}#adminmenuback{z-index:4}#menu-posts-web-story .wp-menu-image:before{box-sizing:initial}body.js.web-story_page_stories-dashboard #wpbody-content,body.js.web-story_page_stories-dashboard #wpcontent{padding:0}body.web-story_page_stories-dashboard #wpbody{height:100%;position:relative;width:100%}body.web-story_page_stories-dashboard #web-stories-dashboard .loading-message{color:#131516;font-family:Google Sans,sans-serif;font-size:36px;height:100%;left:0;margin:0;padding-top:50px;position:absolute;right:0;text-align:center;top:0;width:100%}@keyframes spin-progress{0%,to{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,.8em -.8em 0 0 #dfcdfe}12.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,.8em -.8em 0 0 #dfcdfe}37.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #dfcdfe,.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,.8em -.8em 0 0 #dfcdfe}50%{box-shadow:0 -1.14em 0 0 #dfcdfe,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,.8em -.8em 0 0 #dfcdfe}62.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #dfcdfe,.8em -.8em 0 0 #dfcdfe}75%{box-shadow:0 -1.14em 0 0 #dfcdfe,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #dfcdfe}87.5%{box-shadow:0 -1.14em 0 0 #dfcdfe,-.8em -.8em 0 0 #dfcdfe,-1.14em 0 0 0 #dfcdfe,-.8em .8em 0 0 #dfcdfe,0 1.14em 0 0 #dfcdfe,.8em .8em 0 0 #dfcdfe,1.14em 0 0 0 #dfcdfe,.8em -.8em 0 0 #cbacff}}body.web-story_page_stories-dashboard #web-stories-dashboard .loading-message:after{animation:spin-progress .85s cubic-bezier(.455,.03,.515,.955) infinite;border-radius:50%;bottom:0;content:"";display:block;height:.4em;left:0;margin:140px auto auto;position:absolute;right:0;top:0;width:.4em}body.web-story_page_stories-dashboard #wpfooter{display:none}button{font-size:inherit}
assets/css/wp-story-editor-rtl.css CHANGED
@@ -1 +1 @@
1
- #screen-meta,#screen-meta-links,#screen-meta-links~:not(.web-stories-wp):not(.clear){display:none}body.js.edit-story #wpbody-content,body.js.edit-story #wpcontent{padding:0}body.edit-story .web-stories-wp{position:relative}body.js.edit-story #web-stories-editor{background-color:#131516;height:calc(100vh - 32px);overflow:hidden;position:relative}body.js.edit-story #web-stories-editor .loading-message{color:#fff;font-family:Google Sans,sans-serif;font-size:36px;height:100%;right:0;margin:0;padding-top:50px;position:absolute;left:0;text-align:center;top:0;width:100%}@keyframes spin-progress{0%,to{box-shadow:0 -1.14em 0 0 #b488fc,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #cbacff}12.5%{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #b488fc,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #cbacff}37.5%{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #b488fc,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #cbacff}50%{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #b488fc,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #cbacff}62.5%{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #b488fc,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #cbacff}75%{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #b488fc,0.8em -.8em 0 0 #cbacff}87.5%{box-shadow:0 -1.14em 0 0 #cbacff,-0.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-0.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,0.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,0.8em -.8em 0 0 #b488fc}}body.js.edit-story #web-stories-editor .loading-message:after{animation:spin-progress .85s cubic-bezier(.455,.03,.515,.955) infinite;border-radius:50%;bottom:0;content:"";display:block;height:.4em;right:0;margin:140px auto auto;position:absolute;left:0;top:0;width:.4em}body.edit-story #wpfooter{display:none}button{font-size:inherit}
1
+ #screen-meta,#screen-meta-links,#screen-meta-links~:not(.web-stories-wp):not(.clear){display:none}body.js.edit-story #wpbody-content,body.js.edit-story #wpcontent{padding:0}body.edit-story .web-stories-wp{position:relative}body.js.edit-story #web-stories-editor{background-color:#131516;height:calc(100vh - 32px);overflow:hidden;position:relative}body.js.edit-story #web-stories-editor .loading-message{color:#fff;font-family:Google Sans,sans-serif;font-size:36px;height:100%;left:0;margin:0;padding-top:50px;position:absolute;right:0;text-align:center;top:0;width:100%}@keyframes spin-progress{0%,to{box-shadow:0 -1.14em 0 0 #b488fc,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #cbacff}12.5%{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #b488fc,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #cbacff}37.5%{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #b488fc,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #cbacff}50%{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #b488fc,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #cbacff}62.5%{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #b488fc,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #cbacff}75%{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #b488fc,.8em -.8em 0 0 #cbacff}87.5%{box-shadow:0 -1.14em 0 0 #cbacff,-.8em -.8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,.8em .8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em -.8em 0 0 #b488fc}}body.js.edit-story #web-stories-editor .loading-message:after{animation:spin-progress .85s cubic-bezier(.455,.03,.515,.955) infinite;border-radius:50%;bottom:0;content:"";display:block;height:.4em;left:0;margin:140px auto auto;position:absolute;right:0;top:0;width:.4em}body.edit-story #wpfooter{display:none}button{font-size:inherit}.react-calendar{background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em;max-width:100%;width:350px}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{margin:.5em;width:50%}.react-calendar,.react-calendar *,.react-calendar :after,.react-calendar :before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{border:0;margin:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{background:none;min-width:44px}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:focus,.react-calendar__navigation button:enabled:hover{background-color:#e6e6e6}.react-calendar__month-view__weekdays{font-size:.75em;font-weight:700;text-align:center;text-transform:uppercase}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{align-items:center;display:flex;font-size:.75em;font-weight:700;justify-content:center}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth{color:#757575}.react-calendar__century-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__year-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{background:none;line-height:16px;max-width:100%;padding:10px 6.6667px;text-align:center}.react-calendar__tile:disabled{background-color:#f0f0f0}.react-calendar__tile:enabled:focus,.react-calendar__tile:enabled:hover{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:focus,.react-calendar__tile--now:enabled:hover{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:focus,.react-calendar__tile--hasActive:enabled:hover{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:focus,.react-calendar__tile--active:enabled:hover{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}
assets/css/wp-story-editor.css CHANGED
@@ -1 +1 @@
1
- #screen-meta,#screen-meta-links,#screen-meta-links~:not(.web-stories-wp):not(.clear){display:none}body.js.edit-story #wpbody-content,body.js.edit-story #wpcontent{padding:0}body.edit-story .web-stories-wp{position:relative}body.js.edit-story #web-stories-editor{background-color:#131516;height:calc(100vh - 32px);overflow:hidden;position:relative}body.js.edit-story #web-stories-editor .loading-message{color:#fff;font-family:Google Sans,sans-serif;font-size:36px;height:100%;left:0;margin:0;padding-top:50px;position:absolute;right:0;text-align:center;top:0;width:100%}@keyframes spin-progress{0%,to{box-shadow:0 -1.14em 0 0 #b488fc,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}12.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #b488fc,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}37.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #b488fc,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}50%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #b488fc,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}62.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #b488fc,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}75%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #b488fc,-.8em -.8em 0 0 #cbacff}87.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #b488fc}}body.js.edit-story #web-stories-editor .loading-message:after{animation:spin-progress .85s cubic-bezier(.455,.03,.515,.955) infinite;border-radius:50%;bottom:0;content:"";display:block;height:.4em;left:0;margin:140px auto auto;position:absolute;right:0;top:0;width:.4em}body.edit-story #wpfooter{display:none}button{font-size:inherit}
1
+ #screen-meta,#screen-meta-links,#screen-meta-links~:not(.web-stories-wp):not(.clear){display:none}body.js.edit-story #wpbody-content,body.js.edit-story #wpcontent{padding:0}body.edit-story .web-stories-wp{position:relative}body.js.edit-story #web-stories-editor{background-color:#131516;height:calc(100vh - 32px);overflow:hidden;position:relative}body.js.edit-story #web-stories-editor .loading-message{color:#fff;font-family:Google Sans,sans-serif;font-size:36px;height:100%;left:0;margin:0;padding-top:50px;position:absolute;right:0;text-align:center;top:0;width:100%}@keyframes spin-progress{0%,to{box-shadow:0 -1.14em 0 0 #b488fc,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}12.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #b488fc,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}37.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #b488fc,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}50%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #b488fc,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}62.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #b488fc,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #cbacff}75%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #b488fc,-.8em -.8em 0 0 #cbacff}87.5%{box-shadow:0 -1.14em 0 0 #cbacff,.8em -.8em 0 0 #cbacff,1.14em 0 0 0 #cbacff,.8em .8em 0 0 #cbacff,0 1.14em 0 0 #cbacff,-.8em .8em 0 0 #cbacff,-1.14em 0 0 0 #cbacff,-.8em -.8em 0 0 #b488fc}}body.js.edit-story #web-stories-editor .loading-message:after{animation:spin-progress .85s cubic-bezier(.455,.03,.515,.955) infinite;border-radius:50%;bottom:0;content:"";display:block;height:.4em;left:0;margin:140px auto auto;position:absolute;right:0;top:0;width:.4em}body.edit-story #wpfooter{display:none}button{font-size:inherit}.react-calendar{background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em;max-width:100%;width:350px}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{margin:.5em;width:50%}.react-calendar,.react-calendar *,.react-calendar :after,.react-calendar :before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{border:0;margin:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{background:none;min-width:44px}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:focus,.react-calendar__navigation button:enabled:hover{background-color:#e6e6e6}.react-calendar__month-view__weekdays{font-size:.75em;font-weight:700;text-align:center;text-transform:uppercase}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{align-items:center;display:flex;font-size:.75em;font-weight:700;justify-content:center}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth{color:#757575}.react-calendar__century-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__year-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{background:none;line-height:16px;max-width:100%;padding:10px 6.6667px;text-align:center}.react-calendar__tile:disabled{background-color:#f0f0f0}.react-calendar__tile:enabled:focus,.react-calendar__tile:enabled:hover{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:focus,.react-calendar__tile--now:enabled:hover{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:focus,.react-calendar__tile--hasActive:enabled:hover{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:focus,.react-calendar__tile--active:enabled:hover{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}
assets/js/269b283795a3f40f98b2.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="9" height="14" viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.53223 1.38306L7.04286 6.89369L1.53223 12.4043" stroke="black" stroke-width="2"/>
3
+ </svg>
assets/js/4422.js ADDED
@@ -0,0 +1 @@
 
1
+ "use strict";(globalThis.webpackChunkweb_stories_wp=globalThis.webpackChunkweb_stories_wp||[]).push([[4422],{44422:(e,t,r)=>{var n,a;r.r(t),r.d(t,{BoundingBox:()=>BoundingBox,Font:()=>Font,Glyph:()=>Glyph,Path:()=>Path,_parse:()=>K,default:()=>Br,load:()=>wr,loadSync:()=>Fr,parse:()=>Ir}),String.prototype.codePointAt||(n=function(){try{var e={},t=Object.defineProperty,r=t(e,e,e)&&t}catch(e){}return r}(),a=function(e){if(null==this)throw TypeError();var t=String(this),r=t.length,n=e?Number(e):0;if(n!=n&&(n=0),!(n<0||n>=r)){var a,o=t.charCodeAt(n);return o>=55296&&o<=56319&&r>n+1&&(a=t.charCodeAt(n+1))>=56320&&a<=57343?1024*(o-55296)+a-56320+65536:o}},n?n(String.prototype,"codePointAt",{value:a,configurable:!0,writable:!0}):String.prototype.codePointAt=a);function Tree(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function Data(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new Tree,this.dtree=new Tree}var o=new Tree,s=new Tree,i=new Uint8Array(30),u=new Uint16Array(30),l=new Uint8Array(30),p=new Uint16Array(30),c=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h=new Tree,f=new Uint8Array(320);function d(e,t,r,n){var a,o;for(a=0;a<r;++a)e[a]=0;for(a=0;a<30-r;++a)e[a+r]=a/r|0;for(o=n,a=0;a<30;++a)t[a]=o,o+=1<<e[a]}var g=new Uint16Array(16);function v(e,t,r,n){var a,o;for(a=0;a<16;++a)e.table[a]=0;for(a=0;a<n;++a)e.table[t[r+a]]++;for(e.table[0]=0,o=0,a=0;a<16;++a)g[a]=o,o+=e.table[a];for(a=0;a<n;++a)t[r+a]&&(e.trans[g[t[r+a]]++]=a)}function m(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=1&e.tag;return e.tag>>>=1,t}function y(e,t,r){if(!t)return r;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=e.tag&65535>>>16-t;return e.tag>>>=t,e.bitcount-=t,n+r}function b(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var r=0,n=0,a=0,o=e.tag;do{n=2*n+(1&o),o>>>=1,++a,r+=t.table[a],n-=t.table[a]}while(n>=0);return e.tag=o,e.bitcount-=a,t.trans[r+n]}function S(e,t,r){var n,a,o,s,i,u;for(n=y(e,5,257),a=y(e,5,1),o=y(e,4,4),s=0;s<19;++s)f[s]=0;for(s=0;s<o;++s){var l=y(e,3,0);f[c[s]]=l}for(v(h,f,0,19),i=0;i<n+a;){var p=b(e,h);switch(p){case 16:var d=f[i-1];for(u=y(e,2,3);u;--u)f[i++]=d;break;case 17:for(u=y(e,3,3);u;--u)f[i++]=0;break;case 18:for(u=y(e,7,11);u;--u)f[i++]=0;break;default:f[i++]=p}}v(t,f,0,n),v(r,f,n,a)}function x(e,t,r){for(;;){var n,a,o,s,c=b(e,t);if(256===c)return 0;if(c<256)e.dest[e.destLen++]=c;else for(n=y(e,i[c-=257],u[c]),a=b(e,r),s=o=e.destLen-y(e,l[a],p[a]);s<o+n;++s)e.dest[e.destLen++]=e.dest[s]}}function T(e){for(var t,r;e.bitcount>8;)e.sourceIndex--,e.bitcount-=8;if((t=256*(t=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(256*e.source[e.sourceIndex+3]+e.source[e.sourceIndex+2])))return-3;for(e.sourceIndex+=4,r=t;r;--r)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,0}!function(e,t){var r;for(r=0;r<7;++r)e.table[r]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,r=0;r<24;++r)e.trans[r]=256+r;for(r=0;r<144;++r)e.trans[24+r]=r;for(r=0;r<8;++r)e.trans[168+r]=280+r;for(r=0;r<112;++r)e.trans[176+r]=144+r;for(r=0;r<5;++r)t.table[r]=0;for(t.table[5]=32,r=0;r<32;++r)t.trans[r]=r}(o,s),d(i,u,4,3),d(l,p,2,1),i[28]=0,u[28]=258;var P=function(e,t){var r,n,a=new Data(e,t);do{switch(r=m(a),y(a,2,0)){case 0:n=T(a);break;case 1:n=x(a,o,s);break;case 2:S(a,a.ltree,a.dtree),n=x(a,a.ltree,a.dtree);break;default:n=-3}if(0!==n)throw new Error("Data error")}while(!r);return a.destLen<a.dest.length?"function"==typeof a.dest.slice?a.dest.slice(0,a.destLen):a.dest.subarray(0,a.destLen):a.dest};function k(e,t,r,n,a){return Math.pow(1-a,3)*e+3*Math.pow(1-a,2)*a*t+3*(1-a)*Math.pow(a,2)*r+Math.pow(a,3)*n}function BoundingBox(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function Path(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function U(e){throw new Error(e)}function R(e,t){e||U(t)}BoundingBox.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},BoundingBox.prototype.addPoint=function(e,t){"number"==typeof e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),"number"==typeof t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))},BoundingBox.prototype.addX=function(e){this.addPoint(e,null)},BoundingBox.prototype.addY=function(e){this.addPoint(null,e)},BoundingBox.prototype.addBezier=function(e,t,r,n,a,o,s,i){var u=[e,t],l=[r,n],p=[a,o],c=[s,i];this.addPoint(e,t),this.addPoint(s,i);for(var h=0;h<=1;h++){var f=6*u[h]-12*l[h]+6*p[h],d=-3*u[h]+9*l[h]-9*p[h]+3*c[h],g=3*l[h]-3*u[h];if(0!==d){var v=Math.pow(f,2)-4*g*d;if(!(v<0)){var m=(-f+Math.sqrt(v))/(2*d);0<m&&m<1&&(0===h&&this.addX(k(u[h],l[h],p[h],c[h],m)),1===h&&this.addY(k(u[h],l[h],p[h],c[h],m)));var y=(-f-Math.sqrt(v))/(2*d);0<y&&y<1&&(0===h&&this.addX(k(u[h],l[h],p[h],c[h],y)),1===h&&this.addY(k(u[h],l[h],p[h],c[h],y)))}}else{if(0===f)continue;var b=-g/f;0<b&&b<1&&(0===h&&this.addX(k(u[h],l[h],p[h],c[h],b)),1===h&&this.addY(k(u[h],l[h],p[h],c[h],b)))}}},BoundingBox.prototype.addQuad=function(e,t,r,n,a,o){var s=e+2/3*(r-e),i=t+2/3*(n-t),u=s+1/3*(a-e),l=i+1/3*(o-t);this.addBezier(e,t,s,i,u,l,a,o)},Path.prototype.moveTo=function(e,t){this.commands.push({type:"M",x:e,y:t})},Path.prototype.lineTo=function(e,t){this.commands.push({type:"L",x:e,y:t})},Path.prototype.curveTo=Path.prototype.bezierCurveTo=function(e,t,r,n,a,o){this.commands.push({type:"C",x1:e,y1:t,x2:r,y2:n,x:a,y:o})},Path.prototype.quadTo=Path.prototype.quadraticCurveTo=function(e,t,r,n){this.commands.push({type:"Q",x1:e,y1:t,x:r,y:n})},Path.prototype.close=Path.prototype.closePath=function(){this.commands.push({type:"Z"})},Path.prototype.extend=function(e){if(e.commands)e=e.commands;else if(e instanceof BoundingBox){var t=e;return this.moveTo(t.x1,t.y1),this.lineTo(t.x2,t.y1),this.lineTo(t.x2,t.y2),this.lineTo(t.x1,t.y2),void this.close()}Array.prototype.push.apply(this.commands,e)},Path.prototype.getBoundingBox=function(){for(var e=new BoundingBox,t=0,r=0,n=0,a=0,o=0;o<this.commands.length;o++){var s=this.commands[o];switch(s.type){case"M":e.addPoint(s.x,s.y),t=n=s.x,r=a=s.y;break;case"L":e.addPoint(s.x,s.y),n=s.x,a=s.y;break;case"Q":e.addQuad(n,a,s.x1,s.y1,s.x,s.y),n=s.x,a=s.y;break;case"C":e.addBezier(n,a,s.x1,s.y1,s.x2,s.y2,s.x,s.y),n=s.x,a=s.y;break;case"Z":n=t,a=r;break;default:throw new Error("Unexpected path command "+s.type)}}return e.isEmpty()&&e.addPoint(0,0),e},Path.prototype.draw=function(e){e.beginPath();for(var t=0;t<this.commands.length;t+=1){var r=this.commands[t];"M"===r.type?e.moveTo(r.x,r.y):"L"===r.type?e.lineTo(r.x,r.y):"C"===r.type?e.bezierCurveTo(r.x1,r.y1,r.x2,r.y2,r.x,r.y):"Q"===r.type?e.quadraticCurveTo(r.x1,r.y1,r.x,r.y):"Z"===r.type&&e.closePath()}this.fill&&(e.fillStyle=this.fill,e.fill()),this.stroke&&(e.strokeStyle=this.stroke,e.lineWidth=this.strokeWidth,e.stroke())},Path.prototype.toPathData=function(e){function t(t){return Math.round(t)===t?""+Math.round(t):t.toFixed(e)}function r(){for(var e=arguments,r="",n=0;n<arguments.length;n+=1){var a=e[n];a>=0&&n>0&&(r+=" "),r+=t(a)}return r}e=void 0!==e?e:2;for(var n="",a=0;a<this.commands.length;a+=1){var o=this.commands[a];"M"===o.type?n+="M"+r(o.x,o.y):"L"===o.type?n+="L"+r(o.x,o.y):"C"===o.type?n+="C"+r(o.x1,o.y1,o.x2,o.y2,o.x,o.y):"Q"===o.type?n+="Q"+r(o.x1,o.y1,o.x,o.y):"Z"===o.type&&(n+="Z")}return n},Path.prototype.toSVG=function(e){var t='<path d="';return t+=this.toPathData(e),t+='"',this.fill&&"black"!==this.fill&&(null===this.fill?t+=' fill="none"':t+=' fill="'+this.fill+'"'),this.stroke&&(t+=' stroke="'+this.stroke+'" stroke-width="'+this.strokeWidth+'"'),t+="/>"},Path.prototype.toDOMElement=function(e){var t=this.toPathData(e),r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d",t),r};var O={fail:U,argument:R,assert:R},E=2147483648,D={},C={},L={};function M(e){return function(){return e}}C.BYTE=function(e){return O.argument(e>=0&&e<=255,"Byte value should be between 0 and 255."),[e]},L.BYTE=M(1),C.CHAR=function(e){return[e.charCodeAt(0)]},L.CHAR=M(1),C.CHARARRAY=function(e){void 0===e&&(e="",console.warn("Undefined CHARARRAY encountered and treated as an empty string. This is probably caused by a missing glyph name."));for(var t=[],r=0;r<e.length;r+=1)t[r]=e.charCodeAt(r);return t},L.CHARARRAY=function(e){return void 0===e?0:e.length},C.USHORT=function(e){return[e>>8&255,255&e]},L.USHORT=M(2),C.SHORT=function(e){return e>=32768&&(e=-(65536-e)),[e>>8&255,255&e]},L.SHORT=M(2),C.UINT24=function(e){return[e>>16&255,e>>8&255,255&e]},L.UINT24=M(3),C.ULONG=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},L.ULONG=M(4),C.LONG=function(e){return e>=E&&(e=-(2*E-e)),[e>>24&255,e>>16&255,e>>8&255,255&e]},L.LONG=M(4),C.FIXED=C.ULONG,L.FIXED=L.ULONG,C.FWORD=C.SHORT,L.FWORD=L.SHORT,C.UFWORD=C.USHORT,L.UFWORD=L.USHORT,C.LONGDATETIME=function(e){return[0,0,0,0,e>>24&255,e>>16&255,e>>8&255,255&e]},L.LONGDATETIME=M(8),C.TAG=function(e){return O.argument(4===e.length,"Tag should be exactly 4 ASCII characters."),[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]},L.TAG=M(4),C.Card8=C.BYTE,L.Card8=L.BYTE,C.Card16=C.USHORT,L.Card16=L.USHORT,C.OffSize=C.BYTE,L.OffSize=L.BYTE,C.SID=C.USHORT,L.SID=L.USHORT,C.NUMBER=function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?C.NUMBER16(e):C.NUMBER32(e)},L.NUMBER=function(e){return C.NUMBER(e).length},C.NUMBER16=function(e){return[28,e>>8&255,255&e]},L.NUMBER16=M(3),C.NUMBER32=function(e){return[29,e>>24&255,e>>16&255,e>>8&255,255&e]},L.NUMBER32=M(5),C.REAL=function(e){var t=e.toString(),r=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t);if(r){var n=parseFloat("1e"+((r[2]?+r[2]:0)+r[1].length));t=(Math.round(e*n)/n).toString()}for(var a="",o=0,s=t.length;o<s;o+=1){var i=t[o];a+="e"===i?"-"===t[++o]?"c":"b":"."===i?"a":"-"===i?"e":i}for(var u=[30],l=0,p=(a+=1&a.length?"f":"ff").length;l<p;l+=2)u.push(parseInt(a.substr(l,2),16));return u},L.REAL=function(e){return C.REAL(e).length},C.NAME=C.CHARARRAY,L.NAME=L.CHARARRAY,C.STRING=C.CHARARRAY,L.STRING=L.CHARARRAY,D.UTF8=function(e,t,r){for(var n=[],a=r,o=0;o<a;o++,t+=1)n[o]=e.getUint8(t);return String.fromCharCode.apply(null,n)},D.UTF16=function(e,t,r){for(var n=[],a=r/2,o=0;o<a;o++,t+=2)n[o]=e.getUint16(t);return String.fromCharCode.apply(null,n)},C.UTF16=function(e){for(var t=[],r=0;r<e.length;r+=1){var n=e.charCodeAt(r);t[t.length]=n>>8&255,t[t.length]=255&n}return t},L.UTF16=function(e){return 2*e.length};var I={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"};D.MACSTRING=function(e,t,r,n){var a=I[n];if(void 0!==a){for(var o="",s=0;s<r;s++){var i=e.getUint8(t+s);o+=i<=127?String.fromCharCode(i):a[127&i]}return o}};var w,F="function"==typeof WeakMap&&new WeakMap;function B(e){return e>=-128&&e<=127}function G(e,t,r){for(var n=0,a=e.length;t<a&&n<64&&0===e[t];)++t,++n;return r.push(128|n-1),t}function A(e,t,r){for(var n=0,a=e.length,o=t;o<a&&n<64;){var s=e[o];if(!B(s))break;if(0===s&&o+1<a&&0===e[o+1])break;++o,++n}r.push(n-1);for(var i=t;i<o;++i)r.push(e[i]+256&255);return o}function N(e,t,r){for(var n=0,a=e.length,o=t;o<a&&n<64;){var s=e[o];if(0===s)break;if(B(s)&&o+1<a&&B(e[o+1]))break;++o,++n}r.push(64|n-1);for(var i=t;i<o;++i){var u=e[i];r.push(u+65536>>8&255,u+256&255)}return o}C.MACSTRING=function(e,t){var r=function(e){if(!w)for(var t in w={},I)w[t]=new String(t);var r=w[e];if(void 0!==r){if(F){var n=F.get(r);if(void 0!==n)return n}var a=I[e];if(void 0!==a){for(var o={},s=0;s<a.length;s++)o[a.charCodeAt(s)]=s+128;return F&&F.set(r,o),o}}}(t);if(void 0!==r){for(var n=[],a=0;a<e.length;a++){var o=e.charCodeAt(a);if(o>=128&&void 0===(o=r[o]))return;n[a]=o}return n}},L.MACSTRING=function(e,t){var r=C.MACSTRING(e,t);return void 0!==r?r.length:0},C.VARDELTAS=function(e){for(var t=0,r=[];t<e.length;){var n=e[t];t=0===n?G(e,t,r):n>=-128&&n<=127?A(e,t,r):N(e,t,r)}return r},C.INDEX=function(e){for(var t=1,r=[t],n=[],a=0;a<e.length;a+=1){var o=C.OBJECT(e[a]);Array.prototype.push.apply(n,o),t+=o.length,r.push(t)}if(0===n.length)return[0,0];for(var s=[],i=1+Math.floor(Math.log(t)/Math.log(2))/8|0,u=[void 0,C.BYTE,C.USHORT,C.UINT24,C.ULONG][i],l=0;l<r.length;l+=1){var p=u(r[l]);Array.prototype.push.apply(s,p)}return Array.prototype.concat(C.Card16(e.length),C.OffSize(i),s,n)},L.INDEX=function(e){return C.INDEX(e).length},C.DICT=function(e){for(var t=[],r=Object.keys(e),n=r.length,a=0;a<n;a+=1){var o=parseInt(r[a],0),s=e[o];t=(t=t.concat(C.OPERAND(s.value,s.type))).concat(C.OPERATOR(o))}return t},L.DICT=function(e){return C.DICT(e).length},C.OPERATOR=function(e){return e<1200?[e]:[12,e-1200]},C.OPERAND=function(e,t){var r=[];if(Array.isArray(t))for(var n=0;n<t.length;n+=1)O.argument(e.length===t.length,"Not enough arguments given for type"+t),r=r.concat(C.OPERAND(e[n],t[n]));else if("SID"===t)r=r.concat(C.NUMBER(e));else if("offset"===t)r=r.concat(C.NUMBER32(e));else if("number"===t)r=r.concat(C.NUMBER(e));else{if("real"!==t)throw new Error("Unknown operand type "+t);r=r.concat(C.REAL(e))}return r},C.OP=C.BYTE,L.OP=L.BYTE;var H="function"==typeof WeakMap&&new WeakMap;function Table(e,t,r){if(t.length&&("coverageFormat"!==t[0].name||1===t[0].value))for(var n=0;n<t.length;n+=1){var a=t[n];this[a.name]=a.value}if(this.tableName=e,this.fields=t,r)for(var o=Object.keys(r),s=0;s<o.length;s+=1){var i=o[s],u=r[i];void 0!==this[i]&&(this[i]=u)}}function z(e,t,r){void 0===r&&(r=t.length);var n=new Array(t.length+1);n[0]={name:e+"Count",type:"USHORT",value:r};for(var a=0;a<t.length;a++)n[a+1]={name:e+a,type:"USHORT",value:t[a]};return n}function _(e,t,r){var n=t.length,a=new Array(n+1);a[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)a[o+1]={name:e+o,type:"TABLE",value:r(t[o],o)};return a}function W(e,t,r){var n=t.length,a=[];a[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)a=a.concat(r(t[o],o));return a}function Coverage(e){1===e.format?Table.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:1}].concat(z("glyph",e.glyphs))):2===e.format?Table.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:2}].concat(W("rangeRecord",e.ranges,(function(e){return[{name:"startGlyphID",type:"USHORT",value:e.start},{name:"endGlyphID",type:"USHORT",value:e.end},{name:"startCoverageIndex",type:"USHORT",value:e.index}]})))):O.assert(!1,"Coverage format must be 1 or 2.")}function ScriptList(e){Table.call(this,"scriptListTable",W("scriptRecord",e,(function(e,t){var r=e.script,n=r.defaultLangSys;return O.assert(!!n,"Unable to write GSUB: script "+e.tag+" has no default language system."),[{name:"scriptTag"+t,type:"TAG",value:e.tag},{name:"script"+t,type:"TABLE",value:new Table("scriptTable",[{name:"defaultLangSys",type:"TABLE",value:new Table("defaultLangSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:n.reqFeatureIndex}].concat(z("featureIndex",n.featureIndexes)))}].concat(W("langSys",r.langSysRecords,(function(e,t){var r=e.langSys;return[{name:"langSysTag"+t,type:"TAG",value:e.tag},{name:"langSys"+t,type:"TABLE",value:new Table("langSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:r.reqFeatureIndex}].concat(z("featureIndex",r.featureIndexes)))}]}))))}]})))}function FeatureList(e){Table.call(this,"featureListTable",W("featureRecord",e,(function(e,t){var r=e.feature;return[{name:"featureTag"+t,type:"TAG",value:e.tag},{name:"feature"+t,type:"TABLE",value:new Table("featureTable",[{name:"featureParams",type:"USHORT",value:r.featureParams}].concat(z("lookupListIndex",r.lookupListIndexes)))}]})))}function LookupList(e,t){Table.call(this,"lookupListTable",_("lookup",e,(function(e){var r=t[e.lookupType];return O.assert(!!r,"Unable to write GSUB lookup type "+e.lookupType+" tables."),new Table("lookupTable",[{name:"lookupType",type:"USHORT",value:e.lookupType},{name:"lookupFlag",type:"USHORT",value:e.lookupFlag}].concat(_("subtable",e.subtables,r)))})))}C.CHARSTRING=function(e){if(H){var t=H.get(e);if(void 0!==t)return t}for(var r=[],n=e.length,a=0;a<n;a+=1){var o=e[a];r=r.concat(C[o.type](o.value))}return H&&H.set(e,r),r},L.CHARSTRING=function(e){return C.CHARSTRING(e).length},C.OBJECT=function(e){var t=C[e.type];return O.argument(void 0!==t,"No encoding function for type "+e.type),t(e.value)},L.OBJECT=function(e){var t=L[e.type];return O.argument(void 0!==t,"No sizeOf function for type "+e.type),t(e.value)},C.TABLE=function(e){for(var t=[],r=e.fields.length,n=[],a=[],o=0;o<r;o+=1){var s=e.fields[o],i=C[s.type];O.argument(void 0!==i,"No encoding function for field type "+s.type+" ("+s.name+")");var u=e[s.name];void 0===u&&(u=s.value);var l=i(u);"TABLE"===s.type?(a.push(t.length),t=t.concat([0,0]),n.push(l)):t=t.concat(l)}for(var p=0;p<n.length;p+=1){var c=a[p],h=t.length;O.argument(h<65536,"Table "+e.tableName+" too big."),t[c]=h>>8,t[c+1]=255&h,t=t.concat(n[p])}return t},L.TABLE=function(e){for(var t=0,r=e.fields.length,n=0;n<r;n+=1){var a=e.fields[n],o=L[a.type];O.argument(void 0!==o,"No sizeOf function for field type "+a.type+" ("+a.name+")");var s=e[a.name];void 0===s&&(s=a.value),t+=o(s),"TABLE"===a.type&&(t+=2)}return t},C.RECORD=C.TABLE,L.RECORD=L.TABLE,C.LITERAL=function(e){return e},L.LITERAL=function(e){return e.length},Table.prototype.encode=function(){return C.TABLE(this)},Table.prototype.sizeOf=function(){return L.TABLE(this)},Coverage.prototype=Object.create(Table.prototype),Coverage.prototype.constructor=Coverage,ScriptList.prototype=Object.create(Table.prototype),ScriptList.prototype.constructor=ScriptList,FeatureList.prototype=Object.create(Table.prototype),FeatureList.prototype.constructor=FeatureList,LookupList.prototype=Object.create(Table.prototype),LookupList.prototype.constructor=LookupList;var V={Table,Record:Table,Coverage,ScriptList,FeatureList,LookupList,ushortList:z,tableList:_,recordList:W};function q(e,t){return e.getUint8(t)}function X(e,t){return e.getUint16(t,!1)}function Y(e,t){return e.getUint32(t,!1)}function j(e,t){return e.getInt16(t,!1)+e.getUint16(t+2,!1)/65535}var Z={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};function Parser(e,t){this.data=e,this.offset=t,this.relativeOffset=0}Parser.prototype.parseByte=function(){var e=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},Parser.prototype.parseChar=function(){var e=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},Parser.prototype.parseCard8=Parser.prototype.parseByte,Parser.prototype.parseUShort=function(){var e=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},Parser.prototype.parseCard16=Parser.prototype.parseUShort,Parser.prototype.parseSID=Parser.prototype.parseUShort,Parser.prototype.parseOffset16=Parser.prototype.parseUShort,Parser.prototype.parseShort=function(){var e=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},Parser.prototype.parseF2Dot14=function(){var e=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,e},Parser.prototype.parseULong=function(){var e=Y(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},Parser.prototype.parseOffset32=Parser.prototype.parseULong,Parser.prototype.parseFixed=function(){var e=j(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},Parser.prototype.parseString=function(e){var t=this.data,r=this.offset+this.relativeOffset,n="";this.relativeOffset+=e;for(var a=0;a<e;a++)n+=String.fromCharCode(t.getUint8(r+a));return n},Parser.prototype.parseTag=function(){return this.parseString(4)},Parser.prototype.parseLongDateTime=function(){var e=Y(this.data,this.offset+this.relativeOffset+4);return e-=2082844800,this.relativeOffset+=8,e},Parser.prototype.parseVersion=function(e){var t=X(this.data,this.offset+this.relativeOffset),r=X(this.data,this.offset+this.relativeOffset+2);return this.relativeOffset+=4,void 0===e&&(e=4096),t+r/e/10},Parser.prototype.skip=function(e,t){void 0===t&&(t=1),this.relativeOffset+=Z[e]*t},Parser.prototype.parseULongList=function(e){void 0===e&&(e=this.parseULong());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint32(n),n+=4;return this.relativeOffset+=4*e,t},Parser.prototype.parseOffset16List=Parser.prototype.parseUShortList=function(e){void 0===e&&(e=this.parseUShort());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint16(n),n+=2;return this.relativeOffset+=2*e,t},Parser.prototype.parseShortList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getInt16(n),n+=2;return this.relativeOffset+=2*e,t},Parser.prototype.parseByteList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint8(n++);return this.relativeOffset+=e,t},Parser.prototype.parseList=function(e,t){t||(t=e,e=this.parseUShort());for(var r=new Array(e),n=0;n<e;n++)r[n]=t.call(this);return r},Parser.prototype.parseList32=function(e,t){t||(t=e,e=this.parseULong());for(var r=new Array(e),n=0;n<e;n++)r[n]=t.call(this);return r},Parser.prototype.parseRecordList=function(e,t){t||(t=e,e=this.parseUShort());for(var r=new Array(e),n=Object.keys(t),a=0;a<e;a++){for(var o={},s=0;s<n.length;s++){var i=n[s],u=t[i];o[i]=u.call(this)}r[a]=o}return r},Parser.prototype.parseRecordList32=function(e,t){t||(t=e,e=this.parseULong());for(var r=new Array(e),n=Object.keys(t),a=0;a<e;a++){for(var o={},s=0;s<n.length;s++){var i=n[s],u=t[i];o[i]=u.call(this)}r[a]=o}return r},Parser.prototype.parseStruct=function(e){if("function"==typeof e)return e.call(this);for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n],o=e[a];r[a]=o.call(this)}return r},Parser.prototype.parseValueRecord=function(e){if(void 0===e&&(e=this.parseUShort()),0!==e){var t={};return 1&e&&(t.xPlacement=this.parseShort()),2&e&&(t.yPlacement=this.parseShort()),4&e&&(t.xAdvance=this.parseShort()),8&e&&(t.yAdvance=this.parseShort()),16&e&&(t.xPlaDevice=void 0,this.parseShort()),32&e&&(t.yPlaDevice=void 0,this.parseShort()),64&e&&(t.xAdvDevice=void 0,this.parseShort()),128&e&&(t.yAdvDevice=void 0,this.parseShort()),t}},Parser.prototype.parseValueRecordList=function(){for(var e=this.parseUShort(),t=this.parseUShort(),r=new Array(t),n=0;n<t;n++)r[n]=this.parseValueRecord(e);return r},Parser.prototype.parsePointer=function(e){var t=this.parseOffset16();if(t>0)return new Parser(this.data,this.offset+t).parseStruct(e)},Parser.prototype.parsePointer32=function(e){var t=this.parseOffset32();if(t>0)return new Parser(this.data,this.offset+t).parseStruct(e)},Parser.prototype.parseListOfLists=function(e){for(var t=this.parseOffset16List(),r=t.length,n=this.relativeOffset,a=new Array(r),o=0;o<r;o++){var s=t[o];if(0!==s)if(this.relativeOffset=s,e){for(var i=this.parseOffset16List(),u=new Array(i.length),l=0;l<i.length;l++)this.relativeOffset=s+i[l],u[l]=e.call(this);a[o]=u}else a[o]=this.parseUShortList();else a[o]=void 0}return this.relativeOffset=n,a},Parser.prototype.parseCoverage=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort(),r=this.parseUShort();if(1===t)return{format:1,glyphs:this.parseUShortList(r)};if(2===t){for(var n=new Array(r),a=0;a<r;a++)n[a]={start:this.parseUShort(),end:this.parseUShort(),index:this.parseUShort()};return{format:2,ranges:n}}throw new Error("0x"+e.toString(16)+": Coverage format must be 1 or 2.")},Parser.prototype.parseClassDef=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};if(2===t)return{format:2,ranges:this.parseRecordList({start:Parser.uShort,end:Parser.uShort,classId:Parser.uShort})};throw new Error("0x"+e.toString(16)+": ClassDef format must be 1 or 2.")},Parser.list=function(e,t){return function(){return this.parseList(e,t)}},Parser.list32=function(e,t){return function(){return this.parseList32(e,t)}},Parser.recordList=function(e,t){return function(){return this.parseRecordList(e,t)}},Parser.recordList32=function(e,t){return function(){return this.parseRecordList32(e,t)}},Parser.pointer=function(e){return function(){return this.parsePointer(e)}},Parser.pointer32=function(e){return function(){return this.parsePointer32(e)}},Parser.tag=Parser.prototype.parseTag,Parser.byte=Parser.prototype.parseByte,Parser.uShort=Parser.offset16=Parser.prototype.parseUShort,Parser.uShortList=Parser.prototype.parseUShortList,Parser.uLong=Parser.offset32=Parser.prototype.parseULong,Parser.uLongList=Parser.prototype.parseULongList,Parser.struct=Parser.prototype.parseStruct,Parser.coverage=Parser.prototype.parseCoverage,Parser.classDef=Parser.prototype.parseClassDef;var Q={reserved:Parser.uShort,reqFeatureIndex:Parser.uShort,featureIndexes:Parser.uShortList};Parser.prototype.parseScriptList=function(){return this.parsePointer(Parser.recordList({tag:Parser.tag,script:Parser.pointer({defaultLangSys:Parser.pointer(Q),langSysRecords:Parser.recordList({tag:Parser.tag,langSys:Parser.pointer(Q)})})}))||[]},Parser.prototype.parseFeatureList=function(){return this.parsePointer(Parser.recordList({tag:Parser.tag,feature:Parser.pointer({featureParams:Parser.offset16,lookupListIndexes:Parser.uShortList})}))||[]},Parser.prototype.parseLookupList=function(e){return this.parsePointer(Parser.list(Parser.pointer((function(){var t=this.parseUShort();O.argument(1<=t&&t<=9,"GPOS/GSUB lookup type "+t+" unknown.");var r=this.parseUShort(),n=16&r;return{lookupType:t,lookupFlag:r,subtables:this.parseList(Parser.pointer(e[t])),markFilteringSet:n?this.parseUShort():void 0}}))))||[]},Parser.prototype.parseFeatureVariationsList=function(){return this.parsePointer32((function(){var e=this.parseUShort(),t=this.parseUShort();return O.argument(1===e&&t<1,"GPOS/GSUB feature variations table unknown."),this.parseRecordList32({conditionSetOffset:Parser.offset32,featureTableSubstitutionOffset:Parser.offset32})}))||[]};var K={getByte:q,getCard8:q,getUShort:X,getCard16:X,getShort:function(e,t){return e.getInt16(t,!1)},getULong:Y,getFixed:j,getTag:function(e,t){for(var r="",n=t;n<t+4;n+=1)r+=String.fromCharCode(e.getInt8(n));return r},getOffset:function(e,t,r){for(var n=0,a=0;a<r;a+=1)n<<=8,n+=e.getUint8(t+a);return n},getBytes:function(e,t,r){for(var n=[],a=t;a<r;a+=1)n.push(e.getUint8(a));return n},bytesToString:function(e){for(var t="",r=0;r<e.length;r+=1)t+=String.fromCharCode(e[r]);return t},Parser};function J(e,t,r){e.segments.push({end:t,start:t,delta:-(t-r),offset:0,glyphIndex:r})}var $={parse:function(e,t){var r={};r.version=K.getUShort(e,t),O.argument(0===r.version,"cmap table version should be 0."),r.numTables=K.getUShort(e,t+2);for(var n=-1,a=r.numTables-1;a>=0;a-=1){var o=K.getUShort(e,t+4+8*a),s=K.getUShort(e,t+4+8*a+2);if(3===o&&(0===s||1===s||10===s)||0===o&&(0===s||1===s||2===s||3===s||4===s)){n=K.getULong(e,t+4+8*a+4);break}}if(-1===n)throw new Error("No valid cmap sub-tables found.");var i=new K.Parser(e,t+n);if(r.format=i.parseUShort(),12===r.format)!function(e,t){var r;t.parseUShort(),e.length=t.parseULong(),e.language=t.parseULong(),e.groupCount=r=t.parseULong(),e.glyphIndexMap={};for(var n=0;n<r;n+=1)for(var a=t.parseULong(),o=t.parseULong(),s=t.parseULong(),i=a;i<=o;i+=1)e.glyphIndexMap[i]=s,s++}(r,i);else{if(4!==r.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+r.format+").");!function(e,t,r,n,a){var o;e.length=t.parseUShort(),e.language=t.parseUShort(),e.segCount=o=t.parseUShort()>>1,t.skip("uShort",3),e.glyphIndexMap={};for(var s=new K.Parser(r,n+a+14),i=new K.Parser(r,n+a+16+2*o),u=new K.Parser(r,n+a+16+4*o),l=new K.Parser(r,n+a+16+6*o),p=n+a+16+8*o,c=0;c<o-1;c+=1)for(var h=void 0,f=s.parseUShort(),d=i.parseUShort(),g=u.parseShort(),v=l.parseUShort(),m=d;m<=f;m+=1)0!==v?(p=l.offset+l.relativeOffset-2,p+=v,p+=2*(m-d),0!==(h=K.getUShort(r,p))&&(h=h+g&65535)):h=m+g&65535,e.glyphIndexMap[m]=h}(r,i,e,t,n)}return r},make:function(e){var t,r=!0;for(t=e.length-1;t>0;t-=1){if(e.get(t).unicode>65535){console.log("Adding CMAP format 12 (needed!)"),r=!1;break}}var n=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:r?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:r?12:20}];r||(n=n.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}])),n=n.concat([{name:"format",type:"USHORT",value:4},{name:"cmap4Length",type:"USHORT",value:0},{name:"language",type:"USHORT",value:0},{name:"segCountX2",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);var a=new V.Table("cmap",n);for(a.segments=[],t=0;t<e.length;t+=1){for(var o=e.get(t),s=0;s<o.unicodes.length;s+=1)J(a,o.unicodes[s],t);a.segments=a.segments.sort((function(e,t){return e.start-t.start}))}!function(e){e.segments.push({end:65535,start:65535,delta:1,offset:0})}(a);var i=a.segments.length,u=0,l=[],p=[],c=[],h=[],f=[],d=[];for(t=0;t<i;t+=1){var g=a.segments[t];g.end<=65535&&g.start<=65535?(l=l.concat({name:"end_"+t,type:"USHORT",value:g.end}),p=p.concat({name:"start_"+t,type:"USHORT",value:g.start}),c=c.concat({name:"idDelta_"+t,type:"SHORT",value:g.delta}),h=h.concat({name:"idRangeOffset_"+t,type:"USHORT",value:g.offset}),void 0!==g.glyphId&&(f=f.concat({name:"glyph_"+t,type:"USHORT",value:g.glyphId}))):u+=1,r||void 0===g.glyphIndex||(d=(d=(d=d.concat({name:"cmap12Start_"+t,type:"ULONG",value:g.start})).concat({name:"cmap12End_"+t,type:"ULONG",value:g.end})).concat({name:"cmap12Glyph_"+t,type:"ULONG",value:g.glyphIndex}))}if(a.segCountX2=2*(i-u),a.searchRange=2*Math.pow(2,Math.floor(Math.log(i-u)/Math.log(2))),a.entrySelector=Math.log(a.searchRange/2)/Math.log(2),a.rangeShift=a.segCountX2-a.searchRange,a.fields=a.fields.concat(l),a.fields.push({name:"reservedPad",type:"USHORT",value:0}),a.fields=a.fields.concat(p),a.fields=a.fields.concat(c),a.fields=a.fields.concat(h),a.fields=a.fields.concat(f),a.cmap4Length=14+2*l.length+2+2*p.length+2*c.length+2*h.length+2*f.length,!r){var v=16+4*d.length;a.cmap12Offset=20+a.cmap4Length,a.fields=a.fields.concat([{name:"cmap12Format",type:"USHORT",value:12},{name:"cmap12Reserved",type:"USHORT",value:0},{name:"cmap12Length",type:"ULONG",value:v},{name:"cmap12Language",type:"ULONG",value:0},{name:"cmap12nGroups",type:"ULONG",value:d.length/3}]),a.fields=a.fields.concat(d)}return a}},ee=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],te=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],re=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],ne=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function DefaultEncoding(e){this.font=e}function CmapEncoding(e){this.cmap=e}function CffEncoding(e,t){this.encoding=e,this.charset=t}function GlyphNames(e){switch(e.version){case 1:this.names=ne.slice();break;case 2:this.names=new Array(e.numberOfGlyphs);for(var t=0;t<e.numberOfGlyphs;t++)e.glyphNameIndex[t]<ne.length?this.names[t]=ne[e.glyphNameIndex[t]]:this.names[t]=e.names[e.glyphNameIndex[t]-ne.length];break;case 2.5:this.names=new Array(e.numberOfGlyphs);for(var r=0;r<e.numberOfGlyphs;r++)this.names[r]=ne[r+e.glyphNameIndex[r]];break;default:this.names=[]}}function ae(e,t){t.lowMemory?function(e){e._IndexToUnicodeMap={};for(var t=e.tables.cmap.glyphIndexMap,r=Object.keys(t),n=0;n<r.length;n+=1){var a=r[n],o=t[a];void 0===e._IndexToUnicodeMap[o]?e._IndexToUnicodeMap[o]={unicodes:[parseInt(a)]}:e._IndexToUnicodeMap[o].unicodes.push(parseInt(a))}}(e):function(e){for(var t,r=e.tables.cmap.glyphIndexMap,n=Object.keys(r),a=0;a<n.length;a+=1){var o=n[a],s=r[o];(t=e.glyphs.get(s)).addUnicode(parseInt(o))}for(var i=0;i<e.glyphs.length;i+=1)t=e.glyphs.get(i),e.cffEncoding?e.isCIDFont?t.name="gid"+i:t.name=e.cffEncoding.charset[i]:e.glyphNames.names&&(t.name=e.glyphNames.glyphIndexToName(i))}(e)}DefaultEncoding.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.font.glyphs;if(r)for(var n=0;n<r.length;n+=1)for(var a=r.get(n),o=0;o<a.unicodes.length;o+=1)if(a.unicodes[o]===t)return n;return null},CmapEncoding.prototype.charToGlyphIndex=function(e){return this.cmap.glyphIndexMap[e.codePointAt(0)]||0},CffEncoding.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.encoding[t];return this.charset.indexOf(r)},GlyphNames.prototype.nameToGlyphIndex=function(e){return this.names.indexOf(e)},GlyphNames.prototype.glyphIndexToName=function(e){return this.names[e]};var oe={line:function(e,t,r,n,a){e.beginPath(),e.moveTo(t,r),e.lineTo(n,a),e.stroke()}};function Glyph(e){this.bindConstructorValues(e)}function se(e,t,r){Object.defineProperty(e,t,{get:function(){return e.path,e[r]},set:function(t){e[r]=t},enumerable:!0,configurable:!0})}function GlyphSet(e,t){if(this.font=e,this.glyphs={},Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];n.path.unitsPerEm=e.unitsPerEm,this.glyphs[r]=n}this.length=t&&t.length||0}Glyph.prototype.bindConstructorValues=function(e){var t,r;this.index=e.index||0,this.name=e.name||null,this.unicode=e.unicode||void 0,this.unicodes=e.unicodes||void 0!==e.unicode?[e.unicode]:[],"xMin"in e&&(this.xMin=e.xMin),"yMin"in e&&(this.yMin=e.yMin),"xMax"in e&&(this.xMax=e.xMax),"yMax"in e&&(this.yMax=e.yMax),"advanceWidth"in e&&(this.advanceWidth=e.advanceWidth),Object.defineProperty(this,"path",(t=e.path,r=t||new Path,{configurable:!0,get:function(){return"function"==typeof r&&(r=r()),r},set:function(e){r=e}}))},Glyph.prototype.addUnicode=function(e){0===this.unicodes.length&&(this.unicode=e),this.unicodes.push(e)},Glyph.prototype.getBoundingBox=function(){return this.path.getBoundingBox()},Glyph.prototype.getPath=function(e,t,r,n,a){var o,s;e=void 0!==e?e:0,t=void 0!==t?t:0,r=void 0!==r?r:72,n||(n={});var i=n.xScale,u=n.yScale;if(n.hinting&&a&&a.hinting&&(s=this.path&&a.hinting.exec(this,r)),s)o=a.hinting.getCommands(s),e=Math.round(e),t=Math.round(t),i=u=1;else{o=this.path.commands;var l=1/(this.path.unitsPerEm||1e3)*r;void 0===i&&(i=l),void 0===u&&(u=l)}for(var p=new Path,c=0;c<o.length;c+=1){var h=o[c];"M"===h.type?p.moveTo(e+h.x*i,t+-h.y*u):"L"===h.type?p.lineTo(e+h.x*i,t+-h.y*u):"Q"===h.type?p.quadraticCurveTo(e+h.x1*i,t+-h.y1*u,e+h.x*i,t+-h.y*u):"C"===h.type?p.curveTo(e+h.x1*i,t+-h.y1*u,e+h.x2*i,t+-h.y2*u,e+h.x*i,t+-h.y*u):"Z"===h.type&&p.closePath()}return p},Glyph.prototype.getContours=function(){if(void 0===this.points)return[];for(var e=[],t=[],r=0;r<this.points.length;r+=1){var n=this.points[r];t.push(n),n.lastPointOfContour&&(e.push(t),t=[])}return O.argument(0===t.length,"There are still points left in the current contour."),e},Glyph.prototype.getMetrics=function(){for(var e=this.path.commands,t=[],r=[],n=0;n<e.length;n+=1){var a=e[n];"Z"!==a.type&&(t.push(a.x),r.push(a.y)),"Q"!==a.type&&"C"!==a.type||(t.push(a.x1),r.push(a.y1)),"C"===a.type&&(t.push(a.x2),r.push(a.y2))}var o={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,t),yMax:Math.max.apply(null,r),leftSideBearing:this.leftSideBearing};return isFinite(o.xMin)||(o.xMin=0),isFinite(o.xMax)||(o.xMax=this.advanceWidth),isFinite(o.yMin)||(o.yMin=0),isFinite(o.yMax)||(o.yMax=0),o.rightSideBearing=this.advanceWidth-o.leftSideBearing-(o.xMax-o.xMin),o},Glyph.prototype.draw=function(e,t,r,n,a){this.getPath(t,r,n,a).draw(e)},Glyph.prototype.drawPoints=function(e,t,r,n){function a(t,r,n,a){e.beginPath();for(var o=0;o<t.length;o+=1)e.moveTo(r+t[o].x*a,n+t[o].y*a),e.arc(r+t[o].x*a,n+t[o].y*a,2,0,2*Math.PI,!1);e.closePath(),e.fill()}t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24;for(var o=1/this.path.unitsPerEm*n,s=[],i=[],u=this.path,l=0;l<u.commands.length;l+=1){var p=u.commands[l];void 0!==p.x&&s.push({x:p.x,y:-p.y}),void 0!==p.x1&&i.push({x:p.x1,y:-p.y1}),void 0!==p.x2&&i.push({x:p.x2,y:-p.y2})}e.fillStyle="blue",a(s,t,r,o),e.fillStyle="red",a(i,t,r,o)},Glyph.prototype.drawMetrics=function(e,t,r,n){var a;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24,a=1/this.path.unitsPerEm*n,e.lineWidth=1,e.strokeStyle="black",oe.line(e,t,-1e4,t,1e4),oe.line(e,-1e4,r,1e4,r);var o=this.xMin||0,s=this.yMin||0,i=this.xMax||0,u=this.yMax||0,l=this.advanceWidth||0;e.strokeStyle="blue",oe.line(e,t+o*a,-1e4,t+o*a,1e4),oe.line(e,t+i*a,-1e4,t+i*a,1e4),oe.line(e,-1e4,r+-s*a,1e4,r+-s*a),oe.line(e,-1e4,r+-u*a,1e4,r+-u*a),e.strokeStyle="green",oe.line(e,t+l*a,-1e4,t+l*a,1e4)},GlyphSet.prototype.get=function(e){if(void 0===this.glyphs[e]){this.font._push(e),"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());var t=this.glyphs[e],r=this.font._IndexToUnicodeMap[e];if(r)for(var n=0;n<r.unicodes.length;n++)t.addUnicode(r.unicodes[n]);this.font.cffEncoding?this.font.isCIDFont?t.name="gid"+e:t.name=this.font.cffEncoding.charset[e]:this.font.glyphNames.names&&(t.name=this.font.glyphNames.glyphIndexToName(e)),this.glyphs[e].advanceWidth=this.font._hmtxTableData[e].advanceWidth,this.glyphs[e].leftSideBearing=this.font._hmtxTableData[e].leftSideBearing}else"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());return this.glyphs[e]},GlyphSet.prototype.push=function(e,t){this.glyphs[e]=t,this.length++};var ie={GlyphSet,glyphLoader:function(e,t){return new Glyph({index:t,font:e})},ttfGlyphLoader:function(e,t,r,n,a,o){return function(){var s=new Glyph({index:t,font:e});return s.path=function(){r(s,n,a);var t=o(e.glyphs,s);return t.unitsPerEm=e.unitsPerEm,t},se(s,"xMin","_xMin"),se(s,"xMax","_xMax"),se(s,"yMin","_yMin"),se(s,"yMax","_yMax"),s}},cffGlyphLoader:function(e,t,r,n){return function(){var a=new Glyph({index:t,font:e});return a.path=function(){var t=r(e,a,n);return t.unitsPerEm=e.unitsPerEm,t},a}}};function ue(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r+=1)if(!ue(e[r],t[r]))return!1;return!0}return!1}function le(e){return e.length<1240?107:e.length<33900?1131:32768}function pe(e,t,r){var n,a,o=[],s=[],i=K.getCard16(e,t);if(0!==i){var u=K.getByte(e,t+2);n=t+(i+1)*u+2;for(var l=t+3,p=0;p<i+1;p+=1)o.push(K.getOffset(e,l,u)),l+=u;a=n+o[i]}else a=t+2;for(var c=0;c<o.length-1;c+=1){var h=K.getBytes(e,n+o[c],n+o[c+1]);r&&(h=r(h)),s.push(h)}return{objects:s,startOffset:t,endOffset:a}}function ce(e,t){if(28===t)return e.parseByte()<<8|e.parseByte();if(29===t)return e.parseByte()<<24|e.parseByte()<<16|e.parseByte()<<8|e.parseByte();if(30===t)return function(e){for(var t="",r=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];;){var n=e.parseByte(),a=n>>4,o=15&n;if(15===a)break;if(t+=r[a],15===o)break;t+=r[o]}return parseFloat(t)}(e);if(t>=32&&t<=246)return t-139;if(t>=247&&t<=250)return 256*(t-247)+e.parseByte()+108;if(t>=251&&t<=254)return 256*-(t-251)-e.parseByte()-108;throw new Error("Invalid b0 "+t)}function he(e,t,r){t=void 0!==t?t:0;var n=new K.Parser(e,t),a=[],o=[];for(r=void 0!==r?r:e.length;n.relativeOffset<r;){var s=n.parseByte();s<=21?(12===s&&(s=1200+n.parseByte()),a.push([s,o]),o=[]):o.push(ce(n,s))}return function(e){for(var t={},r=0;r<e.length;r+=1){var n=e[r][0],a=e[r][1],o=void 0;if(o=1===a.length?a[0]:a,t.hasOwnProperty(n)&&!isNaN(t[n]))throw new Error("Object "+t+" already has key "+n);t[n]=o}return t}(a)}function fe(e,t){return t=t<=390?ee[t]:e[t-391]}function de(e,t,r){for(var n,a={},o=0;o<t.length;o+=1){var s=t[o];if(Array.isArray(s.type)){var i=[];i.length=s.type.length;for(var u=0;u<s.type.length;u++)void 0===(n=void 0!==e[s.op]?e[s.op][u]:void 0)&&(n=void 0!==s.value&&void 0!==s.value[u]?s.value[u]:null),"SID"===s.type[u]&&(n=fe(r,n)),i[u]=n;a[s.name]=i}else void 0===(n=e[s.op])&&(n=void 0!==s.value?s.value:null),"SID"===s.type&&(n=fe(r,n)),a[s.name]=n}return a}var ge=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],ve=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}];function me(e,t){return de(he(e,0,e.byteLength),ge,t)}function ye(e,t,r,n){return de(he(e,t,r),ve,n)}function be(e,t,r,n){for(var a=[],o=0;o<r.length;o+=1){var s=me(new DataView(new Uint8Array(r[o]).buffer),n);s._subrs=[],s._subrsBias=0,s._defaultWidthX=0,s._nominalWidthX=0;var i=s.private[0],u=s.private[1];if(0!==i&&0!==u){var l=ye(e,u+t,i,n);if(s._defaultWidthX=l.defaultWidthX,s._nominalWidthX=l.nominalWidthX,0!==l.subrs){var p=pe(e,u+l.subrs+t);s._subrs=p.objects,s._subrsBias=le(s._subrs)}s._privateDict=l}a.push(s)}return a}function Se(e,t,r){var n,a,o,s,i,u,l,p,c=new Path,h=[],f=0,d=!1,g=!1,v=0,m=0;if(e.isCIDFont){var y=e.tables.cff.topDict._fdSelect[t.index],b=e.tables.cff.topDict._fdArray[y];i=b._subrs,u=b._subrsBias,l=b._defaultWidthX,p=b._nominalWidthX}else i=e.tables.cff.topDict._subrs,u=e.tables.cff.topDict._subrsBias,l=e.tables.cff.topDict._defaultWidthX,p=e.tables.cff.topDict._nominalWidthX;var S=l;function x(e,t){g&&c.closePath(),c.moveTo(e,t),g=!0}function T(){h.length%2!=0&&!d&&(S=h.shift()+p),f+=h.length>>1,h.length=0,d=!0}return function r(l){for(var y,b,P,k,U,R,O,E,D,C,L,M,I=0;I<l.length;){var w=l[I];switch(I+=1,w){case 1:case 3:case 18:case 23:T();break;case 4:h.length>1&&!d&&(S=h.shift()+p,d=!0),m+=h.pop(),x(v,m);break;case 5:for(;h.length>0;)v+=h.shift(),m+=h.shift(),c.lineTo(v,m);break;case 6:for(;h.length>0&&(v+=h.shift(),c.lineTo(v,m),0!==h.length);)m+=h.shift(),c.lineTo(v,m);break;case 7:for(;h.length>0&&(m+=h.shift(),c.lineTo(v,m),0!==h.length);)v+=h.shift(),c.lineTo(v,m);break;case 8:for(;h.length>0;)n=v+h.shift(),a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),v=o+h.shift(),m=s+h.shift(),c.curveTo(n,a,o,s,v,m);break;case 10:U=h.pop()+u,(R=i[U])&&r(R);break;case 11:return;case 12:switch(w=l[I],I+=1,w){case 35:n=v+h.shift(),a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),O=o+h.shift(),E=s+h.shift(),D=O+h.shift(),C=E+h.shift(),L=D+h.shift(),M=C+h.shift(),v=L+h.shift(),m=M+h.shift(),h.shift(),c.curveTo(n,a,o,s,O,E),c.curveTo(D,C,L,M,v,m);break;case 34:n=v+h.shift(),a=m,o=n+h.shift(),s=a+h.shift(),O=o+h.shift(),E=s,D=O+h.shift(),C=s,L=D+h.shift(),M=m,v=L+h.shift(),c.curveTo(n,a,o,s,O,E),c.curveTo(D,C,L,M,v,m);break;case 36:n=v+h.shift(),a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),O=o+h.shift(),E=s,D=O+h.shift(),C=s,L=D+h.shift(),M=C+h.shift(),v=L+h.shift(),c.curveTo(n,a,o,s,O,E),c.curveTo(D,C,L,M,v,m);break;case 37:n=v+h.shift(),a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),O=o+h.shift(),E=s+h.shift(),D=O+h.shift(),C=E+h.shift(),L=D+h.shift(),M=C+h.shift(),Math.abs(L-v)>Math.abs(M-m)?v=L+h.shift():m=M+h.shift(),c.curveTo(n,a,o,s,O,E),c.curveTo(D,C,L,M,v,m);break;default:console.log("Glyph "+t.index+": unknown operator 1200"+w),h.length=0}break;case 14:h.length>0&&!d&&(S=h.shift()+p,d=!0),g&&(c.closePath(),g=!1);break;case 19:case 20:T(),I+=f+7>>3;break;case 21:h.length>2&&!d&&(S=h.shift()+p,d=!0),m+=h.pop(),x(v+=h.pop(),m);break;case 22:h.length>1&&!d&&(S=h.shift()+p,d=!0),x(v+=h.pop(),m);break;case 24:for(;h.length>2;)n=v+h.shift(),a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),v=o+h.shift(),m=s+h.shift(),c.curveTo(n,a,o,s,v,m);v+=h.shift(),m+=h.shift(),c.lineTo(v,m);break;case 25:for(;h.length>6;)v+=h.shift(),m+=h.shift(),c.lineTo(v,m);n=v+h.shift(),a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),v=o+h.shift(),m=s+h.shift(),c.curveTo(n,a,o,s,v,m);break;case 26:for(h.length%2&&(v+=h.shift());h.length>0;)n=v,a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),v=o,m=s+h.shift(),c.curveTo(n,a,o,s,v,m);break;case 27:for(h.length%2&&(m+=h.shift());h.length>0;)n=v+h.shift(),a=m,o=n+h.shift(),s=a+h.shift(),v=o+h.shift(),m=s,c.curveTo(n,a,o,s,v,m);break;case 28:y=l[I],b=l[I+1],h.push((y<<24|b<<16)>>16),I+=2;break;case 29:U=h.pop()+e.gsubrsBias,(R=e.gsubrs[U])&&r(R);break;case 30:for(;h.length>0&&(n=v,a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),v=o+h.shift(),m=s+(1===h.length?h.shift():0),c.curveTo(n,a,o,s,v,m),0!==h.length);)n=v+h.shift(),a=m,o=n+h.shift(),s=a+h.shift(),m=s+h.shift(),v=o+(1===h.length?h.shift():0),c.curveTo(n,a,o,s,v,m);break;case 31:for(;h.length>0&&(n=v+h.shift(),a=m,o=n+h.shift(),s=a+h.shift(),m=s+h.shift(),v=o+(1===h.length?h.shift():0),c.curveTo(n,a,o,s,v,m),0!==h.length);)n=v,a=m+h.shift(),o=n+h.shift(),s=a+h.shift(),v=o+h.shift(),m=s+(1===h.length?h.shift():0),c.curveTo(n,a,o,s,v,m);break;default:w<32?console.log("Glyph "+t.index+": unknown operator "+w):w<247?h.push(w-139):w<251?(y=l[I],I+=1,h.push(256*(w-247)+y+108)):w<255?(y=l[I],I+=1,h.push(256*-(w-251)-y-108)):(y=l[I],b=l[I+1],P=l[I+2],k=l[I+3],I+=4,h.push((y<<24|b<<16|P<<8|k)/65536))}}}(r),t.advanceWidth=S,c}function xe(e,t){var r,n=ee.indexOf(e);return n>=0&&(r=n),(n=t.indexOf(e))>=0?r=n+ee.length:(r=ee.length+t.length,t.push(e)),r}function Te(e,t,r){for(var n={},a=0;a<e.length;a+=1){var o=e[a],s=t[o.name];void 0===s||ue(s,o.value)||("SID"===o.type&&(s=xe(s,r)),n[o.op]={name:o.name,type:o.type,value:s})}return n}function Pe(e,t){var r=new V.Record("Top DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=Te(ge,e,t),r}function ke(e){var t=new V.Record("Top DICT INDEX",[{name:"topDicts",type:"INDEX",value:[]}]);return t.topDicts=[{name:"topDict_0",type:"TABLE",value:e}],t}function Ue(e){var t=[],r=e.path;t.push({name:"width",type:"NUMBER",value:e.advanceWidth});for(var n=0,a=0,o=0;o<r.commands.length;o+=1){var s=void 0,i=void 0,u=r.commands[o];if("Q"===u.type){var l=1/3,p=2/3;u={type:"C",x:u.x,y:u.y,x1:Math.round(l*n+p*u.x1),y1:Math.round(l*a+p*u.y1),x2:Math.round(l*u.x+p*u.x1),y2:Math.round(l*u.y+p*u.y1)}}if("M"===u.type)s=Math.round(u.x-n),i=Math.round(u.y-a),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rmoveto",type:"OP",value:21}),n=Math.round(u.x),a=Math.round(u.y);else if("L"===u.type)s=Math.round(u.x-n),i=Math.round(u.y-a),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rlineto",type:"OP",value:5}),n=Math.round(u.x),a=Math.round(u.y);else if("C"===u.type){var c=Math.round(u.x1-n),h=Math.round(u.y1-a),f=Math.round(u.x2-u.x1),d=Math.round(u.y2-u.y1);s=Math.round(u.x-u.x2),i=Math.round(u.y-u.y2),t.push({name:"dx1",type:"NUMBER",value:c}),t.push({name:"dy1",type:"NUMBER",value:h}),t.push({name:"dx2",type:"NUMBER",value:f}),t.push({name:"dy2",type:"NUMBER",value:d}),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rrcurveto",type:"OP",value:8}),n=Math.round(u.x),a=Math.round(u.y)}}return t.push({name:"endchar",type:"OP",value:14}),t}var Re={parse:function(e,t,r,n){r.tables.cff={};var a=function(e,t){var r={};return r.formatMajor=K.getCard8(e,t),r.formatMinor=K.getCard8(e,t+1),r.size=K.getCard8(e,t+2),r.offsetSize=K.getCard8(e,t+3),r.startOffset=t,r.endOffset=t+4,r}(e,t),o=pe(e,a.endOffset,K.bytesToString),s=pe(e,o.endOffset),i=pe(e,s.endOffset,K.bytesToString),u=pe(e,i.endOffset);r.gsubrs=u.objects,r.gsubrsBias=le(r.gsubrs);var l=be(e,t,s.objects,i.objects);if(1!==l.length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+l.length);var p=l[0];if(r.tables.cff.topDict=p,p._privateDict&&(r.defaultWidthX=p._privateDict.defaultWidthX,r.nominalWidthX=p._privateDict.nominalWidthX),void 0!==p.ros[0]&&void 0!==p.ros[1]&&(r.isCIDFont=!0),r.isCIDFont){var c=p.fdArray,h=p.fdSelect;if(0===c||0===h)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");var f=pe(e,c+=t),d=be(e,t,f.objects,i.objects);p._fdArray=d,h+=t,p._fdSelect=function(e,t,r,n){var a,o=[],s=new K.Parser(e,t),i=s.parseCard8();if(0===i)for(var u=0;u<r;u++){if((a=s.parseCard8())>=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+a+" (FD count "+n+")");o.push(a)}else{if(3!==i)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+i);var l,p=s.parseCard16(),c=s.parseCard16();if(0!==c)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+c);for(var h=0;h<p;h++){if(a=s.parseCard8(),l=s.parseCard16(),a>=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+a+" (FD count "+n+")");if(l>r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+l);for(;c<l;c++)o.push(a);c=l}if(l!==r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+l)}return o}(e,h,r.numGlyphs,d.length)}var g,v=t+p.private[1],m=ye(e,v,p.private[0],i.objects);if(r.defaultWidthX=m.defaultWidthX,r.nominalWidthX=m.nominalWidthX,0!==m.subrs){var y=v+m.subrs,b=pe(e,y);r.subrs=b.objects,r.subrsBias=le(r.subrs)}else r.subrs=[],r.subrsBias=0;n.lowMemory?(g=function(e,t){var r,n,a=[],o=K.getCard16(e,t);if(0!==o){var s=K.getByte(e,t+2);r=t+(o+1)*s+2;for(var i=t+3,u=0;u<o+1;u+=1)a.push(K.getOffset(e,i,s)),i+=s;n=r+a[o]}else n=t+2;return{offsets:a,startOffset:t,endOffset:n}}(e,t+p.charStrings),r.nGlyphs=g.offsets.length):(g=pe(e,t+p.charStrings),r.nGlyphs=g.objects.length);var S=function(e,t,r,n){var a,o,s=new K.Parser(e,t);r-=1;var i=[".notdef"],u=s.parseCard8();if(0===u)for(var l=0;l<r;l+=1)a=s.parseSID(),i.push(fe(n,a));else if(1===u)for(;i.length<=r;){a=s.parseSID(),o=s.parseCard8();for(var p=0;p<=o;p+=1)i.push(fe(n,a)),a+=1}else{if(2!==u)throw new Error("Unknown charset format "+u);for(;i.length<=r;){a=s.parseSID(),o=s.parseCard16();for(var c=0;c<=o;c+=1)i.push(fe(n,a)),a+=1}}return i}(e,t+p.charset,r.nGlyphs,i.objects);if(0===p.encoding?r.cffEncoding=new CffEncoding(te,S):1===p.encoding?r.cffEncoding=new CffEncoding(re,S):r.cffEncoding=function(e,t,r){var n,a={},o=new K.Parser(e,t),s=o.parseCard8();if(0===s)for(var i=o.parseCard8(),u=0;u<i;u+=1)a[n=o.parseCard8()]=u;else{if(1!==s)throw new Error("Unknown encoding format "+s);var l=o.parseCard8();n=1;for(var p=0;p<l;p+=1)for(var c=o.parseCard8(),h=o.parseCard8(),f=c;f<=c+h;f+=1)a[f]=n,n+=1}return new CffEncoding(a,r)}(e,t+p.encoding,S),r.encoding=r.encoding||r.cffEncoding,r.glyphs=new ie.GlyphSet(r),n.lowMemory)r._push=function(n){var a=function(e,t,r,n,a){var o=K.getCard16(r,n),s=0;0!==o&&(s=n+(o+1)*K.getByte(r,n+2)+2);var i=K.getBytes(r,s+t[e],s+t[e+1]);return a&&(i=a(i)),i}(n,g.offsets,e,t+p.charStrings);r.glyphs.push(n,ie.cffGlyphLoader(r,n,Se,a))};else for(var x=0;x<r.nGlyphs;x+=1){var T=g.objects[x];r.glyphs.push(x,ie.cffGlyphLoader(r,x,Se,T))}},make:function(e,t){for(var r,n=new V.Table("CFF ",[{name:"header",type:"RECORD"},{name:"nameIndex",type:"RECORD"},{name:"topDictIndex",type:"RECORD"},{name:"stringIndex",type:"RECORD"},{name:"globalSubrIndex",type:"RECORD"},{name:"charsets",type:"RECORD"},{name:"charStringsIndex",type:"RECORD"},{name:"privateDict",type:"RECORD"}]),a=1/t.unitsPerEm,o={version:t.version,fullName:t.fullName,familyName:t.familyName,weight:t.weightName,fontBBox:t.fontBBox||[0,0,0,0],fontMatrix:[a,0,0,a,0,0],charset:999,encoding:0,charStrings:999,private:[0,999]},s=[],i=1;i<e.length;i+=1)r=e.get(i),s.push(r.name);var u=[];n.header=new V.Record("Header",[{name:"major",type:"Card8",value:1},{name:"minor",type:"Card8",value:0},{name:"hdrSize",type:"Card8",value:4},{name:"major",type:"Card8",value:1}]),n.nameIndex=function(e){var t=new V.Record("Name INDEX",[{name:"names",type:"INDEX",value:[]}]);t.names=[];for(var r=0;r<e.length;r+=1)t.names.push({name:"name_"+r,type:"NAME",value:e[r]});return t}([t.postScriptName]);var l=Pe(o,u);n.topDictIndex=ke(l),n.globalSubrIndex=new V.Record("Global Subr INDEX",[{name:"subrs",type:"INDEX",value:[]}]),n.charsets=function(e,t){for(var r=new V.Record("Charsets",[{name:"format",type:"Card8",value:0}]),n=0;n<e.length;n+=1){var a=xe(e[n],t);r.fields.push({name:"glyph_"+n,type:"SID",value:a})}return r}(s,u),n.charStringsIndex=function(e){for(var t=new V.Record("CharStrings INDEX",[{name:"charStrings",type:"INDEX",value:[]}]),r=0;r<e.length;r+=1){var n=e.get(r),a=Ue(n);t.charStrings.push({name:n.name,type:"CHARSTRING",value:a})}return t}(e),n.privateDict=function(e,t){var r=new V.Record("Private DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=Te(ve,e,t),r}({},u),n.stringIndex=function(e){var t=new V.Record("String INDEX",[{name:"strings",type:"INDEX",value:[]}]);t.strings=[];for(var r=0;r<e.length;r+=1)t.strings.push({name:"string_"+r,type:"STRING",value:e[r]});return t}(u);var p=n.header.sizeOf()+n.nameIndex.sizeOf()+n.topDictIndex.sizeOf()+n.stringIndex.sizeOf()+n.globalSubrIndex.sizeOf();return o.charset=p,o.encoding=0,o.charStrings=o.charset+n.charsets.sizeOf(),o.private[1]=o.charStrings+n.charStringsIndex.sizeOf(),l=Pe(o,u),n.topDictIndex=ke(l),n}};var Oe={parse:function(e,t){var r={},n=new K.Parser(e,t);return r.version=n.parseVersion(),r.fontRevision=Math.round(1e3*n.parseFixed())/1e3,r.checkSumAdjustment=n.parseULong(),r.magicNumber=n.parseULong(),O.argument(1594834165===r.magicNumber,"Font header has wrong magic number."),r.flags=n.parseUShort(),r.unitsPerEm=n.parseUShort(),r.created=n.parseLongDateTime(),r.modified=n.parseLongDateTime(),r.xMin=n.parseShort(),r.yMin=n.parseShort(),r.xMax=n.parseShort(),r.yMax=n.parseShort(),r.macStyle=n.parseUShort(),r.lowestRecPPEM=n.parseUShort(),r.fontDirectionHint=n.parseShort(),r.indexToLocFormat=n.parseShort(),r.glyphDataFormat=n.parseShort(),r},make:function(e){var t=Math.round((new Date).getTime()/1e3)+2082844800,r=t;return e.createdTimestamp&&(r=e.createdTimestamp+2082844800),new V.Table("head",[{name:"version",type:"FIXED",value:65536},{name:"fontRevision",type:"FIXED",value:65536},{name:"checkSumAdjustment",type:"ULONG",value:0},{name:"magicNumber",type:"ULONG",value:1594834165},{name:"flags",type:"USHORT",value:0},{name:"unitsPerEm",type:"USHORT",value:1e3},{name:"created",type:"LONGDATETIME",value:r},{name:"modified",type:"LONGDATETIME",value:t},{name:"xMin",type:"SHORT",value:0},{name:"yMin",type:"SHORT",value:0},{name:"xMax",type:"SHORT",value:0},{name:"yMax",type:"SHORT",value:0},{name:"macStyle",type:"USHORT",value:0},{name:"lowestRecPPEM",type:"USHORT",value:0},{name:"fontDirectionHint",type:"SHORT",value:2},{name:"indexToLocFormat",type:"SHORT",value:0},{name:"glyphDataFormat",type:"SHORT",value:0}],e)}};var Ee={parse:function(e,t){var r={},n=new K.Parser(e,t);return r.version=n.parseVersion(),r.ascender=n.parseShort(),r.descender=n.parseShort(),r.lineGap=n.parseShort(),r.advanceWidthMax=n.parseUShort(),r.minLeftSideBearing=n.parseShort(),r.minRightSideBearing=n.parseShort(),r.xMaxExtent=n.parseShort(),r.caretSlopeRise=n.parseShort(),r.caretSlopeRun=n.parseShort(),r.caretOffset=n.parseShort(),n.relativeOffset+=8,r.metricDataFormat=n.parseShort(),r.numberOfHMetrics=n.parseUShort(),r},make:function(e){return new V.Table("hhea",[{name:"version",type:"FIXED",value:65536},{name:"ascender",type:"FWORD",value:0},{name:"descender",type:"FWORD",value:0},{name:"lineGap",type:"FWORD",value:0},{name:"advanceWidthMax",type:"UFWORD",value:0},{name:"minLeftSideBearing",type:"FWORD",value:0},{name:"minRightSideBearing",type:"FWORD",value:0},{name:"xMaxExtent",type:"FWORD",value:0},{name:"caretSlopeRise",type:"SHORT",value:1},{name:"caretSlopeRun",type:"SHORT",value:0},{name:"caretOffset",type:"SHORT",value:0},{name:"reserved1",type:"SHORT",value:0},{name:"reserved2",type:"SHORT",value:0},{name:"reserved3",type:"SHORT",value:0},{name:"reserved4",type:"SHORT",value:0},{name:"metricDataFormat",type:"SHORT",value:0},{name:"numberOfHMetrics",type:"USHORT",value:0}],e)}};var De={parse:function(e,t,r,n,a,o,s){s.lowMemory?function(e,t,r,n,a){var o,s;e._hmtxTableData={};for(var i=new K.Parser(t,r),u=0;u<a;u+=1)u<n&&(o=i.parseUShort(),s=i.parseShort()),e._hmtxTableData[u]={advanceWidth:o,leftSideBearing:s}}(e,t,r,n,a):function(e,t,r,n,a){for(var o,s,i=new K.Parser(e,t),u=0;u<n;u+=1){u<r&&(o=i.parseUShort(),s=i.parseShort());var l=a.get(u);l.advanceWidth=o,l.leftSideBearing=s}}(t,r,n,a,o)},make:function(e){for(var t=new V.Table("hmtx",[]),r=0;r<e.length;r+=1){var n=e.get(r),a=n.advanceWidth||0,o=n.leftSideBearing||0;t.fields.push({name:"advanceWidth_"+r,type:"USHORT",value:a}),t.fields.push({name:"leftSideBearing_"+r,type:"SHORT",value:o})}return t}};var Ce={make:function(e){for(var t=new V.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:e.length}]),r="",n=12+4*e.length,a=0;a<e.length;++a){var o=r.indexOf(e[a]);o<0&&(o=r.length,r+=e[a]),t.fields.push({name:"offset "+a,type:"USHORT",value:n+o}),t.fields.push({name:"length "+a,type:"USHORT",value:e[a].length})}return t.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),t},parse:function(e,t){var r=new K.Parser(e,t),n=r.parseULong();O.argument(1===n,"Unsupported ltag table version."),r.skip("uLong",1);for(var a=r.parseULong(),o=[],s=0;s<a;s++){for(var i="",u=t+r.parseUShort(),l=r.parseUShort(),p=u;p<u+l;++p)i+=String.fromCharCode(e.getInt8(p));o.push(i)}return o}};var Le={parse:function(e,t){var r={},n=new K.Parser(e,t);return r.version=n.parseVersion(),r.numGlyphs=n.parseUShort(),1===r.version&&(r.maxPoints=n.parseUShort(),r.maxContours=n.parseUShort(),r.maxCompositePoints=n.parseUShort(),r.maxCompositeContours=n.parseUShort(),r.maxZones=n.parseUShort(),r.maxTwilightPoints=n.parseUShort(),r.maxStorage=n.parseUShort(),r.maxFunctionDefs=n.parseUShort(),r.maxInstructionDefs=n.parseUShort(),r.maxStackElements=n.parseUShort(),r.maxSizeOfInstructions=n.parseUShort(),r.maxComponentElements=n.parseUShort(),r.maxComponentDepth=n.parseUShort()),r},make:function(e){return new V.Table("maxp",[{name:"version",type:"FIXED",value:20480},{name:"numGlyphs",type:"USHORT",value:e}])}},Me=["copyright","fontFamily","fontSubfamily","uniqueID","fullName","version","postScriptName","trademark","manufacturer","designer","description","manufacturerURL","designerURL","license","licenseURL","reserved","preferredFamily","preferredSubfamily","compatibleFullName","sampleText","postScriptFindFontName","wwsFamily","wwsSubfamily"],Ie={0:"en",1:"fr",2:"de",3:"it",4:"nl",5:"sv",6:"es",7:"da",8:"pt",9:"no",10:"he",11:"ja",12:"ar",13:"fi",14:"el",15:"is",16:"mt",17:"tr",18:"hr",19:"zh-Hant",20:"ur",21:"hi",22:"th",23:"ko",24:"lt",25:"pl",26:"hu",27:"es",28:"lv",29:"se",30:"fo",31:"fa",32:"ru",33:"zh",34:"nl-BE",35:"ga",36:"sq",37:"ro",38:"cz",39:"sk",40:"si",41:"yi",42:"sr",43:"mk",44:"bg",45:"uk",46:"be",47:"uz",48:"kk",49:"az-Cyrl",50:"az-Arab",51:"hy",52:"ka",53:"mo",54:"ky",55:"tg",56:"tk",57:"mn-CN",58:"mn",59:"ps",60:"ks",61:"ku",62:"sd",63:"bo",64:"ne",65:"sa",66:"mr",67:"bn",68:"as",69:"gu",70:"pa",71:"or",72:"ml",73:"kn",74:"ta",75:"te",76:"si",77:"my",78:"km",79:"lo",80:"vi",81:"id",82:"tl",83:"ms",84:"ms-Arab",85:"am",86:"ti",87:"om",88:"so",89:"sw",90:"rw",91:"rn",92:"ny",93:"mg",94:"eo",128:"cy",129:"eu",130:"ca",131:"la",132:"qu",133:"gn",134:"ay",135:"tt",136:"ug",137:"dz",138:"jv",139:"su",140:"gl",141:"af",142:"br",143:"iu",144:"gd",145:"gv",146:"ga",147:"to",148:"el-polyton",149:"kl",150:"az",151:"nn"},we={0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:5,11:1,12:4,13:0,14:6,15:0,16:0,17:0,18:0,19:2,20:4,21:9,22:21,23:3,24:29,25:29,26:29,27:29,28:29,29:0,30:0,31:4,32:7,33:25,34:0,35:0,36:0,37:0,38:29,39:29,40:0,41:5,42:7,43:7,44:7,45:7,46:7,47:7,48:7,49:7,50:4,51:24,52:23,53:7,54:7,55:7,56:7,57:27,58:7,59:4,60:4,61:4,62:4,63:26,64:9,65:9,66:9,67:13,68:13,69:11,70:10,71:12,72:17,73:16,74:14,75:15,76:18,77:19,78:20,79:22,80:30,81:0,82:0,83:0,84:4,85:28,86:28,87:28,88:0,89:0,90:0,91:0,92:0,93:0,94:0,128:0,129:0,130:0,131:0,132:0,133:0,134:0,135:7,136:4,137:26,138:0,139:0,140:0,141:0,142:0,143:28,144:0,145:0,146:0,147:0,148:6,149:0,150:0,151:0},Fe={1078:"af",1052:"sq",1156:"gsw",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ary",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"aeb",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-Cyrl",1068:"az",1133:"ba",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",8218:"bs-Cyrl",5146:"bs",1150:"br",1026:"bg",1027:"ca",3076:"zh-HK",5124:"zh-MO",2052:"zh",4100:"zh-SG",1028:"zh-TW",1155:"co",1050:"hr",4122:"hr-BA",1029:"cs",1030:"da",1164:"prs",1125:"dv",2067:"nl-BE",1043:"nl",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-029",16393:"en-IN",6153:"en-IE",8201:"en-JM",17417:"en-MY",5129:"en-NZ",13321:"en-PH",18441:"en-SG",7177:"en-ZA",11273:"en-TT",2057:"en-GB",1033:"en",12297:"en-ZW",1061:"et",1080:"fo",1124:"fil",1035:"fi",2060:"fr-BE",3084:"fr-CA",1036:"fr",5132:"fr-LU",6156:"fr-MC",4108:"fr-CH",1122:"fy",1110:"gl",1079:"ka",3079:"de-AT",1031:"de",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1135:"kl",1095:"gu",1128:"ha",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig",1057:"id",1117:"iu",2141:"iu-Latn",2108:"ga",1076:"xh",1077:"zu",1040:"it",2064:"it-CH",1041:"ja",1099:"kn",1087:"kk",1107:"km",1158:"quc",1159:"rw",1089:"sw",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1062:"lv",1063:"lt",2094:"dsb",1134:"lb",1071:"mk",2110:"ms-BN",1086:"ms",1100:"ml",1082:"mt",1153:"mi",1146:"arn",1102:"mr",1148:"moh",1104:"mn",2128:"mn-CN",1121:"ne",1044:"nb",2068:"nn",1154:"oc",1096:"or",1123:"ps",1045:"pl",1046:"pt",2070:"pt-PT",1094:"pa",1131:"qu-BO",2155:"qu-EC",3179:"qu",1048:"ro",1047:"rm",1049:"ru",9275:"smn",4155:"smj-NO",5179:"smj",3131:"se-FI",1083:"se",2107:"se-SE",8251:"sms",6203:"sma-NO",7227:"sms",1103:"sa",7194:"sr-Cyrl-BA",3098:"sr",6170:"sr-Latn-BA",2074:"sr-Latn",1132:"nso",1074:"tn",1115:"si",1051:"sk",1060:"sl",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",3082:"es",1034:"es",21514:"es-US",14346:"es-UY",8202:"es-VE",2077:"sv-FI",1053:"sv",1114:"syr",1064:"tg",2143:"tzm",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1055:"tr",1090:"tk",1152:"ug",1058:"uk",1070:"hsb",1056:"ur",2115:"uz-Cyrl",1091:"uz",1066:"vi",1106:"cy",1160:"wo",1157:"sah",1144:"ii",1130:"yo"};function Be(e,t,r){switch(e){case 0:if(65535===t)return"und";if(r)return r[t];break;case 1:return Ie[t];case 3:return Fe[t]}}var Ge="utf-16",Ae={0:"macintosh",1:"x-mac-japanese",2:"x-mac-chinesetrad",3:"x-mac-korean",6:"x-mac-greek",7:"x-mac-cyrillic",9:"x-mac-devanagai",10:"x-mac-gurmukhi",11:"x-mac-gujarati",12:"x-mac-oriya",13:"x-mac-bengali",14:"x-mac-tamil",15:"x-mac-telugu",16:"x-mac-kannada",17:"x-mac-malayalam",18:"x-mac-sinhalese",19:"x-mac-burmese",20:"x-mac-khmer",21:"x-mac-thai",22:"x-mac-lao",23:"x-mac-georgian",24:"x-mac-armenian",25:"x-mac-chinesesimp",26:"x-mac-tibetan",27:"x-mac-mongolian",28:"x-mac-ethiopic",29:"x-mac-ce",30:"x-mac-vietnamese",31:"x-mac-extarabic"},Ne={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"};function He(e,t,r){switch(e){case 0:return Ge;case 1:return Ne[r]||Ae[t];case 3:if(1===t||10===t)return Ge}}function ze(e){var t={};for(var r in e)t[e[r]]=parseInt(r);return t}function _e(e,t,r,n,a,o){return new V.Record("NameRecord",[{name:"platformID",type:"USHORT",value:e},{name:"encodingID",type:"USHORT",value:t},{name:"languageID",type:"USHORT",value:r},{name:"nameID",type:"USHORT",value:n},{name:"length",type:"USHORT",value:a},{name:"offset",type:"USHORT",value:o}])}function We(e,t){var r=function(e,t){var r=e.length,n=t.length-r+1;e:for(var a=0;a<n;a++)for(;a<n;a++){for(var o=0;o<r;o++)if(t[a+o]!==e[o])continue e;return a}return-1}(e,t);if(r<0){r=t.length;for(var n=0,a=e.length;n<a;++n)t.push(e[n])}return r}var Ve={parse:function(e,t,r){for(var n={},a=new K.Parser(e,t),o=a.parseUShort(),s=a.parseUShort(),i=a.offset+a.parseUShort(),u=0;u<s;u++){var l=a.parseUShort(),p=a.parseUShort(),c=a.parseUShort(),h=a.parseUShort(),f=Me[h]||h,d=a.parseUShort(),g=a.parseUShort(),v=Be(l,c,r),m=He(l,p,c);if(void 0!==m&&void 0!==v){var y=void 0;if(y=m===Ge?D.UTF16(e,i+g,d):D.MACSTRING(e,i+g,d,m)){var b=n[f];void 0===b&&(b=n[f]={}),b[v]=y}}}return 1===o&&a.parseUShort(),n},make:function(e,t){var r,n=[],a={},o=ze(Me);for(var s in e){var i=o[s];if(void 0===i&&(i=s),r=parseInt(i),isNaN(r))throw new Error('Name table entry "'+s+'" does not exist, see nameTableNames for complete list.');a[r]=e[s],n.push(r)}for(var u=ze(Ie),l=ze(Fe),p=[],c=[],h=0;h<n.length;h++){var f=a[r=n[h]];for(var d in f){var g=f[d],v=1,m=u[d],y=we[m],b=He(v,y,m),S=C.MACSTRING(g,b);void 0===S&&(v=0,(m=t.indexOf(d))<0&&(m=t.length,t.push(d)),y=4,S=C.UTF16(g));var x=We(S,c);p.push(_e(v,y,m,r,S.length,x));var T=l[d];if(void 0!==T){var P=C.UTF16(g),k=We(P,c);p.push(_e(3,1,T,r,P.length,k))}}}p.sort((function(e,t){return e.platformID-t.platformID||e.encodingID-t.encodingID||e.languageID-t.languageID||e.nameID-t.nameID}));for(var U=new V.Table("name",[{name:"format",type:"USHORT",value:0},{name:"count",type:"USHORT",value:p.length},{name:"stringOffset",type:"USHORT",value:6+12*p.length}]),R=0;R<p.length;R++)U.fields.push({name:"record_"+R,type:"RECORD",value:p[R]});return U.fields.push({name:"strings",type:"LITERAL",value:c}),U}},qe=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];var Xe={parse:function(e,t){var r={},n=new K.Parser(e,t);r.version=n.parseUShort(),r.xAvgCharWidth=n.parseShort(),r.usWeightClass=n.parseUShort(),r.usWidthClass=n.parseUShort(),r.fsType=n.parseUShort(),r.ySubscriptXSize=n.parseShort(),r.ySubscriptYSize=n.parseShort(),r.ySubscriptXOffset=n.parseShort(),r.ySubscriptYOffset=n.parseShort(),r.ySuperscriptXSize=n.parseShort(),r.ySuperscriptYSize=n.parseShort(),r.ySuperscriptXOffset=n.parseShort(),r.ySuperscriptYOffset=n.parseShort(),r.yStrikeoutSize=n.parseShort(),r.yStrikeoutPosition=n.parseShort(),r.sFamilyClass=n.parseShort(),r.panose=[];for(var a=0;a<10;a++)r.panose[a]=n.parseByte();return r.ulUnicodeRange1=n.parseULong(),r.ulUnicodeRange2=n.parseULong(),r.ulUnicodeRange3=n.parseULong(),r.ulUnicodeRange4=n.parseULong(),r.achVendID=String.fromCharCode(n.parseByte(),n.parseByte(),n.parseByte(),n.parseByte()),r.fsSelection=n.parseUShort(),r.usFirstCharIndex=n.parseUShort(),r.usLastCharIndex=n.parseUShort(),r.sTypoAscender=n.parseShort(),r.sTypoDescender=n.parseShort(),r.sTypoLineGap=n.parseShort(),r.usWinAscent=n.parseUShort(),r.usWinDescent=n.parseUShort(),r.version>=1&&(r.ulCodePageRange1=n.parseULong(),r.ulCodePageRange2=n.parseULong()),r.version>=2&&(r.sxHeight=n.parseShort(),r.sCapHeight=n.parseShort(),r.usDefaultChar=n.parseUShort(),r.usBreakChar=n.parseUShort(),r.usMaxContent=n.parseUShort()),r},make:function(e){return new V.Table("OS/2",[{name:"version",type:"USHORT",value:3},{name:"xAvgCharWidth",type:"SHORT",value:0},{name:"usWeightClass",type:"USHORT",value:0},{name:"usWidthClass",type:"USHORT",value:0},{name:"fsType",type:"USHORT",value:0},{name:"ySubscriptXSize",type:"SHORT",value:650},{name:"ySubscriptYSize",type:"SHORT",value:699},{name:"ySubscriptXOffset",type:"SHORT",value:0},{name:"ySubscriptYOffset",type:"SHORT",value:140},{name:"ySuperscriptXSize",type:"SHORT",value:650},{name:"ySuperscriptYSize",type:"SHORT",value:699},{name:"ySuperscriptXOffset",type:"SHORT",value:0},{name:"ySuperscriptYOffset",type:"SHORT",value:479},{name:"yStrikeoutSize",type:"SHORT",value:49},{name:"yStrikeoutPosition",type:"SHORT",value:258},{name:"sFamilyClass",type:"SHORT",value:0},{name:"bFamilyType",type:"BYTE",value:0},{name:"bSerifStyle",type:"BYTE",value:0},{name:"bWeight",type:"BYTE",value:0},{name:"bProportion",type:"BYTE",value:0},{name:"bContrast",type:"BYTE",value:0},{name:"bStrokeVariation",type:"BYTE",value:0},{name:"bArmStyle",type:"BYTE",value:0},{name:"bLetterform",type:"BYTE",value:0},{name:"bMidline",type:"BYTE",value:0},{name:"bXHeight",type:"BYTE",value:0},{name:"ulUnicodeRange1",type:"ULONG",value:0},{name:"ulUnicodeRange2",type:"ULONG",value:0},{name:"ulUnicodeRange3",type:"ULONG",value:0},{name:"ulUnicodeRange4",type:"ULONG",value:0},{name:"achVendID",type:"CHARARRAY",value:"XXXX"},{name:"fsSelection",type:"USHORT",value:0},{name:"usFirstCharIndex",type:"USHORT",value:0},{name:"usLastCharIndex",type:"USHORT",value:0},{name:"sTypoAscender",type:"SHORT",value:0},{name:"sTypoDescender",type:"SHORT",value:0},{name:"sTypoLineGap",type:"SHORT",value:0},{name:"usWinAscent",type:"USHORT",value:0},{name:"usWinDescent",type:"USHORT",value:0},{name:"ulCodePageRange1",type:"ULONG",value:0},{name:"ulCodePageRange2",type:"ULONG",value:0},{name:"sxHeight",type:"SHORT",value:0},{name:"sCapHeight",type:"SHORT",value:0},{name:"usDefaultChar",type:"USHORT",value:0},{name:"usBreakChar",type:"USHORT",value:0},{name:"usMaxContext",type:"USHORT",value:0}],e)},unicodeRanges:qe,getUnicodeRange:function(e){for(var t=0;t<qe.length;t+=1){var r=qe[t];if(e>=r.begin&&e<r.end)return t}return-1}};var Ye={parse:function(e,t){var r={},n=new K.Parser(e,t);switch(r.version=n.parseVersion(),r.italicAngle=n.parseFixed(),r.underlinePosition=n.parseShort(),r.underlineThickness=n.parseShort(),r.isFixedPitch=n.parseULong(),r.minMemType42=n.parseULong(),r.maxMemType42=n.parseULong(),r.minMemType1=n.parseULong(),r.maxMemType1=n.parseULong(),r.version){case 1:r.names=ne.slice();break;case 2:r.numberOfGlyphs=n.parseUShort(),r.glyphNameIndex=new Array(r.numberOfGlyphs);for(var a=0;a<r.numberOfGlyphs;a++)r.glyphNameIndex[a]=n.parseUShort();r.names=[];for(var o=0;o<r.numberOfGlyphs;o++)if(r.glyphNameIndex[o]>=ne.length){var s=n.parseChar();r.names.push(n.parseString(s))}break;case 2.5:r.numberOfGlyphs=n.parseUShort(),r.offset=new Array(r.numberOfGlyphs);for(var i=0;i<r.numberOfGlyphs;i++)r.offset[i]=n.parseChar()}return r},make:function(){return new V.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}},je=new Array(9);je[1]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{substFormat:1,coverage:this.parsePointer(Parser.coverage),deltaGlyphId:this.parseUShort()}:2===t?{substFormat:2,coverage:this.parsePointer(Parser.coverage),substitute:this.parseOffset16List()}:void O.assert(!1,"0x"+e.toString(16)+": lookup type 1 format must be 1 or 2.")},je[2]=function(){var e=this.parseUShort();return O.argument(1===e,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(Parser.coverage),sequences:this.parseListOfLists()}},je[3]=function(){var e=this.parseUShort();return O.argument(1===e,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(Parser.coverage),alternateSets:this.parseListOfLists()}},je[4]=function(){var e=this.parseUShort();return O.argument(1===e,"GSUB ligature table identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(Parser.coverage),ligatureSets:this.parseListOfLists((function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}}))}};var Ze={sequenceIndex:Parser.uShort,lookupListIndex:Parser.uShort};je[5]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{substFormat:t,coverage:this.parsePointer(Parser.coverage),ruleSets:this.parseListOfLists((function(){var e=this.parseUShort(),t=this.parseUShort();return{input:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,Ze)}}))};if(2===t)return{substFormat:t,coverage:this.parsePointer(Parser.coverage),classDef:this.parsePointer(Parser.classDef),classSets:this.parseListOfLists((function(){var e=this.parseUShort(),t=this.parseUShort();return{classes:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,Ze)}}))};if(3===t){var r=this.parseUShort(),n=this.parseUShort();return{substFormat:t,coverages:this.parseList(r,Parser.pointer(Parser.coverage)),lookupRecords:this.parseRecordList(n,Ze)}}O.assert(!1,"0x"+e.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},je[6]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{substFormat:1,coverage:this.parsePointer(Parser.coverage),chainRuleSets:this.parseListOfLists((function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(Ze)}}))}:2===t?{substFormat:2,coverage:this.parsePointer(Parser.coverage),backtrackClassDef:this.parsePointer(Parser.classDef),inputClassDef:this.parsePointer(Parser.classDef),lookaheadClassDef:this.parsePointer(Parser.classDef),chainClassSet:this.parseListOfLists((function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(Ze)}}))}:3===t?{substFormat:3,backtrackCoverage:this.parseList(Parser.pointer(Parser.coverage)),inputCoverage:this.parseList(Parser.pointer(Parser.coverage)),lookaheadCoverage:this.parseList(Parser.pointer(Parser.coverage)),lookupRecords:this.parseRecordList(Ze)}:void O.assert(!1,"0x"+e.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},je[7]=function(){var e=this.parseUShort();O.argument(1===e,"GSUB Extension Substitution subtable identifier-format must be 1");var t=this.parseUShort(),r=new Parser(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:t,extension:je[t].call(r)}},je[8]=function(){var e=this.parseUShort();return O.argument(1===e,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(Parser.coverage),backtrackCoverage:this.parseList(Parser.pointer(Parser.coverage)),lookaheadCoverage:this.parseList(Parser.pointer(Parser.coverage)),substitutes:this.parseUShortList()}};var Qe=new Array(9);Qe[1]=function(e){return 1===e.substFormat?new V.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new V.Coverage(e.coverage)},{name:"deltaGlyphID",type:"USHORT",value:e.deltaGlyphId}]):new V.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new V.Coverage(e.coverage)}].concat(V.ushortList("substitute",e.substitute)))},Qe[2]=function(e){return O.assert(1===e.substFormat,"Lookup type 2 substFormat must be 1."),new V.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new V.Coverage(e.coverage)}].concat(V.tableList("seqSet",e.sequences,(function(e){return new V.Table("sequenceSetTable",V.ushortList("sequence",e))}))))},Qe[3]=function(e){return O.assert(1===e.substFormat,"Lookup type 3 substFormat must be 1."),new V.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new V.Coverage(e.coverage)}].concat(V.tableList("altSet",e.alternateSets,(function(e){return new V.Table("alternateSetTable",V.ushortList("alternate",e))}))))},Qe[4]=function(e){return O.assert(1===e.substFormat,"Lookup type 4 substFormat must be 1."),new V.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new V.Coverage(e.coverage)}].concat(V.tableList("ligSet",e.ligatureSets,(function(e){return new V.Table("ligatureSetTable",V.tableList("ligature",e,(function(e){return new V.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:e.ligGlyph}].concat(V.ushortList("component",e.components,e.components.length+1)))})))}))))},Qe[6]=function(e){if(1===e.substFormat){var t=new V.Table("chainContextTable",[{name:"substFormat",type:"USHORT",value:e.substFormat},{name:"coverage",type:"TABLE",value:new V.Coverage(e.coverage)}].concat(V.tableList("chainRuleSet",e.chainRuleSets,(function(e){return new V.Table("chainRuleSetTable",V.tableList("chainRule",e,(function(e){var t=V.ushortList("backtrackGlyph",e.backtrack,e.backtrack.length).concat(V.ushortList("inputGlyph",e.input,e.input.length+1)).concat(V.ushortList("lookaheadGlyph",e.lookahead,e.lookahead.length)).concat(V.ushortList("substitution",[],e.lookupRecords.length));return e.lookupRecords.forEach((function(e,r){t=t.concat({name:"sequenceIndex"+r,type:"USHORT",value:e.sequenceIndex}).concat({name:"lookupListIndex"+r,type:"USHORT",value:e.lookupListIndex})})),new V.Table("chainRuleTable",t)})))}))));return t}if(2===e.substFormat)O.assert(!1,"lookup type 6 format 2 is not yet supported.");else if(3===e.substFormat){var r=[{name:"substFormat",type:"USHORT",value:e.substFormat}];return r.push({name:"backtrackGlyphCount",type:"USHORT",value:e.backtrackCoverage.length}),e.backtrackCoverage.forEach((function(e,t){r.push({name:"backtrackCoverage"+t,type:"TABLE",value:new V.Coverage(e)})})),r.push({name:"inputGlyphCount",type:"USHORT",value:e.inputCoverage.length}),e.inputCoverage.forEach((function(e,t){r.push({name:"inputCoverage"+t,type:"TABLE",value:new V.Coverage(e)})})),r.push({name:"lookaheadGlyphCount",type:"USHORT",value:e.lookaheadCoverage.length}),e.lookaheadCoverage.forEach((function(e,t){r.push({name:"lookaheadCoverage"+t,type:"TABLE",value:new V.Coverage(e)})})),r.push({name:"substitutionCount",type:"USHORT",value:e.lookupRecords.length}),e.lookupRecords.forEach((function(e,t){r=r.concat({name:"sequenceIndex"+t,type:"USHORT",value:e.sequenceIndex}).concat({name:"lookupListIndex"+t,type:"USHORT",value:e.lookupListIndex})})),new V.Table("chainContextTable",r)}O.assert(!1,"lookup type 6 format must be 1, 2 or 3.")};var Ke={parse:function(e,t){var r=new Parser(e,t=t||0),n=r.parseVersion(1);return O.argument(1===n||1.1===n,"Unsupported GSUB table version."),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(je)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(je),variations:r.parseFeatureVariationsList()}},make:function(e){return new V.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new V.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new V.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new V.LookupList(e.lookups,Qe)}])}};var Je={parse:function(e,t){var r=new K.Parser(e,t),n=r.parseULong();O.argument(1===n,"Unsupported META table version."),r.parseULong(),r.parseULong();for(var a=r.parseULong(),o={},s=0;s<a;s++){var i=r.parseTag(),u=r.parseULong(),l=r.parseULong(),p=D.UTF8(e,t+u,l);o[i]=p}return o},make:function(e){var t=Object.keys(e).length,r="",n=16+12*t,a=new V.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:n},{name:"numTags",type:"ULONG",value:t}]);for(var o in e){var s=r.length;r+=e[o],a.fields.push({name:"tag "+o,type:"TAG",value:o}),a.fields.push({name:"offset "+o,type:"ULONG",value:n+s}),a.fields.push({name:"length "+o,type:"ULONG",value:e[o].length})}return a.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),a}};function $e(e){return Math.log(e)/Math.log(2)|0}function et(e){for(;e.length%4!=0;)e.push(0);for(var t=0,r=0;r<e.length;r+=4)t+=(e[r]<<24)+(e[r+1]<<16)+(e[r+2]<<8)+e[r+3];return t%=Math.pow(2,32)}function tt(e,t,r,n){return new V.Record("Table Record",[{name:"tag",type:"TAG",value:void 0!==e?e:""},{name:"checkSum",type:"ULONG",value:void 0!==t?t:0},{name:"offset",type:"ULONG",value:void 0!==r?r:0},{name:"length",type:"ULONG",value:void 0!==n?n:0}])}function rt(e){var t=new V.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);t.tables=e,t.numTables=e.length;var r=Math.pow(2,$e(t.numTables));t.searchRange=16*r,t.entrySelector=$e(r),t.rangeShift=16*t.numTables-t.searchRange;for(var n=[],a=[],o=t.sizeOf()+tt().sizeOf()*t.numTables;o%4!=0;)o+=1,a.push({name:"padding",type:"BYTE",value:0});for(var s=0;s<e.length;s+=1){var i=e[s];O.argument(4===i.tableName.length,"Table name"+i.tableName+" is invalid.");var u=i.sizeOf(),l=tt(i.tableName,et(i.encode()),o,u);for(n.push({name:l.tag+" Table Record",type:"RECORD",value:l}),a.push({name:i.tableName+" table",type:"RECORD",value:i}),o+=u,O.argument(!isNaN(o),"Something went wrong calculating the offset.");o%4!=0;)o+=1,a.push({name:"padding",type:"BYTE",value:0})}return n.sort((function(e,t){return e.value.tag>t.value.tag?1:-1})),t.fields=t.fields.concat(n),t.fields=t.fields.concat(a),t}function nt(e,t,r){for(var n=0;n<t.length;n+=1){var a=e.charToGlyphIndex(t[n]);if(a>0)return e.glyphs.get(a).getMetrics()}return r}function at(e){for(var t=0,r=0;r<e.length;r+=1)t+=e[r];return t/e.length}var ot={make:rt,fontToTable:function(e){for(var t,r=[],n=[],a=[],o=[],s=[],i=[],u=[],l=0,p=0,c=0,h=0,f=0,d=0;d<e.glyphs.length;d+=1){var g=e.glyphs.get(d),v=0|g.unicode;if(isNaN(g.advanceWidth))throw new Error("Glyph "+g.name+" ("+d+"): advanceWidth is not a number.");(t>v||void 0===t)&&v>0&&(t=v),l<v&&(l=v);var m=Xe.getUnicodeRange(v);if(m<32)p|=1<<m;else if(m<64)c|=1<<m-32;else if(m<96)h|=1<<m-64;else{if(!(m<123))throw new Error("Unicode ranges bits > 123 are reserved for internal usage");f|=1<<m-96}if(".notdef"!==g.name){var y=g.getMetrics();r.push(y.xMin),n.push(y.yMin),a.push(y.xMax),o.push(y.yMax),i.push(y.leftSideBearing),u.push(y.rightSideBearing),s.push(g.advanceWidth)}}var b={xMin:Math.min.apply(null,r),yMin:Math.min.apply(null,n),xMax:Math.max.apply(null,a),yMax:Math.max.apply(null,o),advanceWidthMax:Math.max.apply(null,s),advanceWidthAvg:at(s),minLeftSideBearing:Math.min.apply(null,i),maxLeftSideBearing:Math.max.apply(null,i),minRightSideBearing:Math.min.apply(null,u)};b.ascender=e.ascender,b.descender=e.descender;var S=Oe.make({flags:3,unitsPerEm:e.unitsPerEm,xMin:b.xMin,yMin:b.yMin,xMax:b.xMax,yMax:b.yMax,lowestRecPPEM:3,createdTimestamp:e.createdTimestamp}),x=Ee.make({ascender:b.ascender,descender:b.descender,advanceWidthMax:b.advanceWidthMax,minLeftSideBearing:b.minLeftSideBearing,minRightSideBearing:b.minRightSideBearing,xMaxExtent:b.maxLeftSideBearing+(b.xMax-b.xMin),numberOfHMetrics:e.glyphs.length}),T=Le.make(e.glyphs.length),P=Xe.make(Object.assign({xAvgCharWidth:Math.round(b.advanceWidthAvg),usFirstCharIndex:t,usLastCharIndex:l,ulUnicodeRange1:p,ulUnicodeRange2:c,ulUnicodeRange3:h,ulUnicodeRange4:f,sTypoAscender:b.ascender,sTypoDescender:b.descender,sTypoLineGap:0,usWinAscent:b.yMax,usWinDescent:Math.abs(b.yMin),ulCodePageRange1:1,sxHeight:nt(e,"xyvw",{yMax:Math.round(b.ascender/2)}).yMax,sCapHeight:nt(e,"HIKLEFJMNTZBDPRAGOQSUVWXY",b).yMax,usDefaultChar:e.hasChar(" ")?32:0,usBreakChar:e.hasChar(" ")?32:0},e.tables.os2)),k=De.make(e.glyphs),U=$.make(e.glyphs),R=e.getEnglishName("fontFamily"),O=e.getEnglishName("fontSubfamily"),E=R+" "+O,D=e.getEnglishName("postScriptName");D||(D=R.replace(/\s/g,"")+"-"+O);var C={};for(var L in e.names)C[L]=e.names[L];C.uniqueID||(C.uniqueID={en:e.getEnglishName("manufacturer")+":"+E}),C.postScriptName||(C.postScriptName={en:D}),C.preferredFamily||(C.preferredFamily=e.names.fontFamily),C.preferredSubfamily||(C.preferredSubfamily=e.names.fontSubfamily);var M=[],I=Ve.make(C,M),w=M.length>0?Ce.make(M):void 0,F=Ye.make(),B=Re.make(e.glyphs,{version:e.getEnglishName("version"),fullName:E,familyName:R,weightName:O,postScriptName:D,unitsPerEm:e.unitsPerEm,fontBBox:[0,b.yMin,b.ascender,b.advanceWidthMax]}),G=e.metas&&Object.keys(e.metas).length>0?Je.make(e.metas):void 0,A=[S,x,T,P,I,U,F,B,k];w&&A.push(w),e.tables.gsub&&A.push(Ke.make(e.tables.gsub)),G&&A.push(G);for(var N=rt(A),H=et(N.encode()),z=N.fields,_=!1,W=0;W<z.length;W+=1)if("head table"===z[W].name){z[W].value.checkSumAdjustment=2981146554-H,_=!0;break}if(!_)throw new Error("Could not find head table with checkSum to adjust.");return N},computeCheckSum:et};function st(e,t){for(var r=0,n=e.length-1;r<=n;){var a=r+n>>>1,o=e[a].tag;if(o===t)return a;o<t?r=a+1:n=a-1}return-r-1}function it(e,t){for(var r=0,n=e.length-1;r<=n;){var a=r+n>>>1,o=e[a];if(o===t)return a;o<t?r=a+1:n=a-1}return-r-1}function ut(e,t){for(var r,n=0,a=e.length-1;n<=a;){var o=n+a>>>1,s=(r=e[o]).start;if(s===t)return r;s<t?n=o+1:a=o-1}if(n>0)return t>(r=e[n-1]).end?0:r}function Layout(e,t){this.font=e,this.tableName=t}function Position(e){Layout.call(this,e,"gpos")}function Substitution(e){Layout.call(this,e,"gsub")}function lt(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function pt(e,t,r){for(var n=e.subtables,a=0;a<n.length;a++){var o=n[a];if(o.substFormat===t)return o}if(r)return n.push(r),r}function ct(e){for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n<e.length;++n)r[n]=e[n];return t}function ht(e,t){if(!e)throw t}function ft(e,t,r,n,a){var o;return(t&n)>0?(o=e.parseByte(),0==(t&a)&&(o=-o),o=r+o):o=(t&a)>0?r:r+e.parseShort(),o}function dt(e,t,r){var n,a,o=new K.Parser(t,r);if(e.numberOfContours=o.parseShort(),e._xMin=o.parseShort(),e._yMin=o.parseShort(),e._xMax=o.parseShort(),e._yMax=o.parseShort(),e.numberOfContours>0){for(var s=e.endPointIndices=[],i=0;i<e.numberOfContours;i+=1)s.push(o.parseUShort());e.instructionLength=o.parseUShort(),e.instructions=[];for(var u=0;u<e.instructionLength;u+=1)e.instructions.push(o.parseByte());var l=s[s.length-1]+1;n=[];for(var p=0;p<l;p+=1)if(a=o.parseByte(),n.push(a),(8&a)>0)for(var c=o.parseByte(),h=0;h<c;h+=1)n.push(a),p+=1;if(O.argument(n.length===l,"Bad flags."),s.length>0){var f,d=[];if(l>0){for(var g=0;g<l;g+=1)a=n[g],(f={}).onCurve=!!(1&a),f.lastPointOfContour=s.indexOf(g)>=0,d.push(f);for(var v=0,m=0;m<l;m+=1)a=n[m],(f=d[m]).x=ft(o,a,v,2,16),v=f.x;for(var y=0,b=0;b<l;b+=1)a=n[b],(f=d[b]).y=ft(o,a,y,4,32),y=f.y}e.points=d}else e.points=[]}else if(0===e.numberOfContours)e.points=[];else{e.isComposite=!0,e.points=[],e.components=[];for(var S=!0;S;){n=o.parseUShort();var x={glyphIndex:o.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};(1&n)>0?(2&n)>0?(x.dx=o.parseShort(),x.dy=o.parseShort()):x.matchedPoints=[o.parseUShort(),o.parseUShort()]:(2&n)>0?(x.dx=o.parseChar(),x.dy=o.parseChar()):x.matchedPoints=[o.parseByte(),o.parseByte()],(8&n)>0?x.xScale=x.yScale=o.parseF2Dot14():(64&n)>0?(x.xScale=o.parseF2Dot14(),x.yScale=o.parseF2Dot14()):(128&n)>0&&(x.xScale=o.parseF2Dot14(),x.scale01=o.parseF2Dot14(),x.scale10=o.parseF2Dot14(),x.yScale=o.parseF2Dot14()),e.components.push(x),S=!!(32&n)}if(256&n){e.instructionLength=o.parseUShort(),e.instructions=[];for(var T=0;T<e.instructionLength;T+=1)e.instructions.push(o.parseByte())}}}function gt(e,t){for(var r=[],n=0;n<e.length;n+=1){var a=e[n],o={x:t.xScale*a.x+t.scale01*a.y+t.dx,y:t.scale10*a.x+t.yScale*a.y+t.dy,onCurve:a.onCurve,lastPointOfContour:a.lastPointOfContour};r.push(o)}return r}function vt(e){var t=new Path;if(!e)return t;for(var r=function(e){for(var t=[],r=[],n=0;n<e.length;n+=1){var a=e[n];r.push(a),a.lastPointOfContour&&(t.push(r),r=[])}return O.argument(0===r.length,"There are still points left in the current contour."),t}(e),n=0;n<r.length;++n){var a=r[n],o=null,s=a[a.length-1],i=a[0];if(s.onCurve)t.moveTo(s.x,s.y);else if(i.onCurve)t.moveTo(i.x,i.y);else{var u={x:.5*(s.x+i.x),y:.5*(s.y+i.y)};t.moveTo(u.x,u.y)}for(var l=0;l<a.length;++l)if(o=s,s=i,i=a[(l+1)%a.length],s.onCurve)t.lineTo(s.x,s.y);else{var p=i;o.onCurve||{x:.5*(s.x+o.x),y:.5*(s.y+o.y)},i.onCurve||(p={x:.5*(s.x+i.x),y:.5*(s.y+i.y)}),t.quadraticCurveTo(s.x,s.y,p.x,p.y)}t.closePath()}return t}function mt(e,t){if(t.isComposite)for(var r=0;r<t.components.length;r+=1){var n=t.components[r],a=e.get(n.glyphIndex);if(a.getPath(),a.points){var o=void 0;if(void 0===n.matchedPoints)o=gt(a.points,n);else{if(n.matchedPoints[0]>t.points.length-1||n.matchedPoints[1]>a.points.length-1)throw Error("Matched points out of range in "+t.name);var s=t.points[n.matchedPoints[0]],i=a.points[n.matchedPoints[1]],u={xScale:n.xScale,scale01:n.scale01,scale10:n.scale10,yScale:n.yScale,dx:0,dy:0};i=gt([i],u)[0],u.dx=s.x-i.x,u.dy=s.y-i.y,o=gt(a.points,u)}t.points=t.points.concat(o)}}return vt(t.points)}Layout.prototype={searchTag:st,binSearch:it,getTable:function(e){var t=this.font.tables[this.tableName];return!t&&e&&(t=this.font.tables[this.tableName]=this.createDefaultTable()),t},getScriptNames:function(){var e=this.getTable();return e?e.scripts.map((function(e){return e.tag})):[]},getDefaultScriptName:function(){var e=this.getTable();if(e){for(var t=!1,r=0;r<e.scripts.length;r++){var n=e.scripts[r].tag;if("DFLT"===n)return n;"latn"===n&&(t=!0)}return t?"latn":void 0}},getScriptTable:function(e,t){var r=this.getTable(t);if(r){e=e||"DFLT";var n=r.scripts,a=st(r.scripts,e);if(a>=0)return n[a].script;if(t){var o={tag:e,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return n.splice(-1-a,0,o),o.script}}},getLangSysTable:function(e,t,r){var n=this.getScriptTable(e,r);if(n){if(!t||"dflt"===t||"DFLT"===t)return n.defaultLangSys;var a=st(n.langSysRecords,t);if(a>=0)return n.langSysRecords[a].langSys;if(r){var o={tag:t,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return n.langSysRecords.splice(-1-a,0,o),o.langSys}}},getFeatureTable:function(e,t,r,n){var a=this.getLangSysTable(e,t,n);if(a){for(var o,s=a.featureIndexes,i=this.font.tables[this.tableName].features,u=0;u<s.length;u++)if((o=i[s[u]]).tag===r)return o.feature;if(n){var l=i.length;return O.assert(0===l||r>=i[l-1].tag,"Features must be added in alphabetical order."),o={tag:r,feature:{params:0,lookupListIndexes:[]}},i.push(o),s.push(l),o.feature}}},getLookupTables:function(e,t,r,n,a){var o=this.getFeatureTable(e,t,r,a),s=[];if(o){for(var i,u=o.lookupListIndexes,l=this.font.tables[this.tableName].lookups,p=0;p<u.length;p++)(i=l[u[p]]).lookupType===n&&s.push(i);if(0===s.length&&a){i={lookupType:n,lookupFlag:0,subtables:[],markFilteringSet:void 0};var c=l.length;return l.push(i),u.push(c),[i]}}return s},getGlyphClass:function(e,t){switch(e.format){case 1:return e.startGlyph<=t&&t<e.startGlyph+e.classes.length?e.classes[t-e.startGlyph]:0;case 2:var r=ut(e.ranges,t);return r?r.classId:0}},getCoverageIndex:function(e,t){switch(e.format){case 1:var r=it(e.glyphs,t);return r>=0?r:-1;case 2:var n=ut(e.ranges,t);return n?n.index+t-n.start:-1}},expandCoverage:function(e){if(1===e.format)return e.glyphs;for(var t=[],r=e.ranges,n=0;n<r.length;n++)for(var a=r[n],o=a.start,s=a.end,i=o;i<=s;i++)t.push(i);return t}},Position.prototype=Layout.prototype,Position.prototype.init=function(){var e=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(e)},Position.prototype.getKerningValue=function(e,t,r){for(var n=0;n<e.length;n++)for(var a=e[n].subtables,o=0;o<a.length;o++){var s=a[o],i=this.getCoverageIndex(s.coverage,t);if(!(i<0))switch(s.posFormat){case 1:for(var u=s.pairSets[i],l=0;l<u.length;l++){var p=u[l];if(p.secondGlyph===r)return p.value1&&p.value1.xAdvance||0}break;case 2:var c=this.getGlyphClass(s.classDef1,t),h=this.getGlyphClass(s.classDef2,r),f=s.classRecords[c][h];return f.value1&&f.value1.xAdvance||0}}return 0},Position.prototype.getKerningTables=function(e,t){if(this.font.tables.gpos)return this.getLookupTables(e,t,"kern",2)},Substitution.prototype=Layout.prototype,Substitution.prototype.createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}},Substitution.prototype.getSingle=function(e,t,r){for(var n=[],a=this.getLookupTables(t,r,e,1),o=0;o<a.length;o++)for(var s=a[o].subtables,i=0;i<s.length;i++){var u=s[i],l=this.expandCoverage(u.coverage),p=void 0;if(1===u.substFormat){var c=u.deltaGlyphId;for(p=0;p<l.length;p++){var h=l[p];n.push({sub:h,by:h+c})}}else{var f=u.substitute;for(p=0;p<l.length;p++)n.push({sub:l[p],by:f[p]})}}return n},Substitution.prototype.getMultiple=function(e,t,r){for(var n=[],a=this.getLookupTables(t,r,e,2),o=0;o<a.length;o++)for(var s=a[o].subtables,i=0;i<s.length;i++){var u=s[i],l=this.expandCoverage(u.coverage),p=void 0;for(p=0;p<l.length;p++){var c=l[p],h=u.sequences[p];n.push({sub:c,by:h})}}return n},Substitution.prototype.getAlternates=function(e,t,r){for(var n=[],a=this.getLookupTables(t,r,e,3),o=0;o<a.length;o++)for(var s=a[o].subtables,i=0;i<s.length;i++)for(var u=s[i],l=this.expandCoverage(u.coverage),p=u.alternateSets,c=0;c<l.length;c++)n.push({sub:l[c],by:p[c]});return n},Substitution.prototype.getLigatures=function(e,t,r){for(var n=[],a=this.getLookupTables(t,r,e,4),o=0;o<a.length;o++)for(var s=a[o].subtables,i=0;i<s.length;i++)for(var u=s[i],l=this.expandCoverage(u.coverage),p=u.ligatureSets,c=0;c<l.length;c++)for(var h=l[c],f=p[c],d=0;d<f.length;d++){var g=f[d];n.push({sub:[h].concat(g.components),by:g.ligGlyph})}return n},Substitution.prototype.addSingle=function(e,t,r,n){var a=pt(this.getLookupTables(r,n,e,1,!0)[0],2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});O.assert(1===a.coverage.format,"Single: unable to modify coverage table format "+a.coverage.format);var o=t.sub,s=this.binSearch(a.coverage.glyphs,o);s<0&&(s=-1-s,a.coverage.glyphs.splice(s,0,o),a.substitute.splice(s,0,0)),a.substitute[s]=t.by},Substitution.prototype.addMultiple=function(e,t,r,n){O.assert(t.by instanceof Array&&t.by.length>1,'Multiple: "by" must be an array of two or more ids');var a=pt(this.getLookupTables(r,n,e,2,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},sequences:[]});O.assert(1===a.coverage.format,"Multiple: unable to modify coverage table format "+a.coverage.format);var o=t.sub,s=this.binSearch(a.coverage.glyphs,o);s<0&&(s=-1-s,a.coverage.glyphs.splice(s,0,o),a.sequences.splice(s,0,0)),a.sequences[s]=t.by},Substitution.prototype.addAlternate=function(e,t,r,n){var a=pt(this.getLookupTables(r,n,e,3,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});O.assert(1===a.coverage.format,"Alternate: unable to modify coverage table format "+a.coverage.format);var o=t.sub,s=this.binSearch(a.coverage.glyphs,o);s<0&&(s=-1-s,a.coverage.glyphs.splice(s,0,o),a.alternateSets.splice(s,0,0)),a.alternateSets[s]=t.by},Substitution.prototype.addLigature=function(e,t,r,n){var a=this.getLookupTables(r,n,e,4,!0)[0],o=a.subtables[0];o||(o={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]},a.subtables[0]=o),O.assert(1===o.coverage.format,"Ligature: unable to modify coverage table format "+o.coverage.format);var s=t.sub[0],i=t.sub.slice(1),u={ligGlyph:t.by,components:i},l=this.binSearch(o.coverage.glyphs,s);if(l>=0){for(var p=o.ligatureSets[l],c=0;c<p.length;c++)if(lt(p[c].components,i))return;p.push(u)}else l=-1-l,o.coverage.glyphs.splice(l,0,s),o.ligatureSets.splice(l,0,[u])},Substitution.prototype.getFeature=function(e,t,r){if(/ss\d\d/.test(e))return this.getSingle(e,t,r);switch(e){case"aalt":case"salt":return this.getSingle(e,t,r).concat(this.getAlternates(e,t,r));case"dlig":case"liga":case"rlig":return this.getLigatures(e,t,r);case"ccmp":return this.getMultiple(e,t,r).concat(this.getLigatures(e,t,r));case"stch":return this.getMultiple(e,t,r)}},Substitution.prototype.add=function(e,t,r,n){if(/ss\d\d/.test(e))return this.addSingle(e,t,r,n);switch(e){case"aalt":case"salt":return"number"==typeof t.by?this.addSingle(e,t,r,n):this.addAlternate(e,t,r,n);case"dlig":case"liga":case"rlig":return this.addLigature(e,t,r,n);case"ccmp":return t.by instanceof Array?this.addMultiple(e,t,r,n):this.addLigature(e,t,r,n)}};var yt,bt,St,xt,Tt={getPath:vt,parse:function(e,t,r,n,a){return a.lowMemory?function(e,t,r,n){var a=new ie.GlyphSet(n);return n._push=function(o){var s=r[o];s!==r[o+1]?a.push(o,ie.ttfGlyphLoader(n,o,dt,e,t+s,mt)):a.push(o,ie.glyphLoader(n,o))},a}(e,t,r,n):function(e,t,r,n){for(var a=new ie.GlyphSet(n),o=0;o<r.length-1;o+=1){var s=r[o];s!==r[o+1]?a.push(o,ie.ttfGlyphLoader(n,o,dt,e,t+s,mt)):a.push(o,ie.glyphLoader(n,o))}return a}(e,t,r,n)}};function Hinting(e){this.font=e,this.getCommands=function(e){return Tt.getPath(e).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function Pt(e){return e}function kt(e){return Math.sign(e)*Math.round(Math.abs(e))}function Ut(e){return Math.sign(e)*Math.round(Math.abs(2*e))/2}function Rt(e){return Math.sign(e)*(Math.round(Math.abs(e)+.5)-.5)}function Ot(e){return Math.sign(e)*Math.ceil(Math.abs(e))}function Et(e){return Math.sign(e)*Math.floor(Math.abs(e))}var Dt=function(e){var t=this.srPeriod,r=this.srPhase,n=1;return e<0&&(e=-e,n=-1),e+=this.srThreshold-r,e=Math.trunc(e/t)*t,(e+=r)<0?r*n:e*n},Ct={x:1,y:0,axis:"x",distance:function(e,t,r,n){return(r?e.xo:e.x)-(n?t.xo:t.x)},interpolate:function(e,t,r,n){var a,o,s,i,u,l,p;if(!n||n===this)return a=e.xo-t.xo,o=e.xo-r.xo,u=t.x-t.xo,l=r.x-r.xo,0===(p=(s=Math.abs(a))+(i=Math.abs(o)))?void(e.x=e.xo+(u+l)/2):void(e.x=e.xo+(u*i+l*s)/p);a=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),l=n.distance(r,r,!1,!0),0!==(p=(s=Math.abs(a))+(i=Math.abs(o)))?Ct.setRelative(e,e,(u*i+l*s)/p,n,!0):Ct.setRelative(e,e,(u+l)/2,n,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(e,t,r,n,a){if(n&&n!==this){var o=a?t.xo:t.x,s=a?t.yo:t.y,i=o+r*n.x,u=s+r*n.y;e.x=i+(e.y-u)/n.normalSlope}else e.x=(a?t.xo:t.x)+r},slope:0,touch:function(e){e.xTouched=!0},touched:function(e){return e.xTouched},untouch:function(e){e.xTouched=!1}},Lt={x:0,y:1,axis:"y",distance:function(e,t,r,n){return(r?e.yo:e.y)-(n?t.yo:t.y)},interpolate:function(e,t,r,n){var a,o,s,i,u,l,p;if(!n||n===this)return a=e.yo-t.yo,o=e.yo-r.yo,u=t.y-t.yo,l=r.y-r.yo,0===(p=(s=Math.abs(a))+(i=Math.abs(o)))?void(e.y=e.yo+(u+l)/2):void(e.y=e.yo+(u*i+l*s)/p);a=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),l=n.distance(r,r,!1,!0),0!==(p=(s=Math.abs(a))+(i=Math.abs(o)))?Lt.setRelative(e,e,(u*i+l*s)/p,n,!0):Lt.setRelative(e,e,(u+l)/2,n,!0)},normalSlope:0,setRelative:function(e,t,r,n,a){if(n&&n!==this){var o=a?t.xo:t.x,s=a?t.yo:t.y,i=o+r*n.x,u=s+r*n.y;e.y=u+n.normalSlope*(e.x-i)}else e.y=(a?t.yo:t.y)+r},slope:Number.POSITIVE_INFINITY,touch:function(e){e.yTouched=!0},touched:function(e){return e.yTouched},untouch:function(e){e.yTouched=!1}};function UnitVector(e,t){this.x=e,this.y=t,this.axis=void 0,this.slope=t/e,this.normalSlope=-e/t,Object.freeze(this)}function Mt(e,t){var r=Math.sqrt(e*e+t*t);return t/=r,1===(e/=r)&&0===t?Ct:0===e&&1===t?Lt:new UnitVector(e,t)}function HPoint(e,t,r,n){this.x=this.xo=Math.round(64*e)/64,this.y=this.yo=Math.round(64*t)/64,this.lastPointOfContour=r,this.onCurve=n,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}Object.freeze(Ct),Object.freeze(Lt),UnitVector.prototype.distance=function(e,t,r,n){return this.x*Ct.distance(e,t,r,n)+this.y*Lt.distance(e,t,r,n)},UnitVector.prototype.interpolate=function(e,t,r,n){var a,o,s,i,u,l,p;s=n.distance(e,t,!0,!0),i=n.distance(e,r,!0,!0),a=n.distance(t,t,!1,!0),o=n.distance(r,r,!1,!0),0!==(p=(u=Math.abs(s))+(l=Math.abs(i)))?this.setRelative(e,e,(a*l+o*u)/p,n,!0):this.setRelative(e,e,(a+o)/2,n,!0)},UnitVector.prototype.setRelative=function(e,t,r,n,a){n=n||this;var o=a?t.xo:t.x,s=a?t.yo:t.y,i=o+r*n.x,u=s+r*n.y,l=n.normalSlope,p=this.slope,c=e.x,h=e.y;e.x=(p*c-l*i+u-h)/(p-l),e.y=p*(e.x-c)+h},UnitVector.prototype.touch=function(e){e.xTouched=!0,e.yTouched=!0},HPoint.prototype.nextTouched=function(e){for(var t=this.nextPointOnContour;!e.touched(t)&&t!==this;)t=t.nextPointOnContour;return t},HPoint.prototype.prevTouched=function(e){for(var t=this.prevPointOnContour;!e.touched(t)&&t!==this;)t=t.prevPointOnContour;return t};var It=Object.freeze(new HPoint(0,0)),wt={cvCutIn:17/16,deltaBase:9,deltaShift:.125,loop:1,minDis:1,autoFlip:!0};function State(e,t){switch(this.env=e,this.stack=[],this.prog=t,e){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=Ct,this.round=kt}}function Ft(e){for(var t=e.tZone=new Array(e.gZone.length),r=0;r<t.length;r++)t[r]=new HPoint(0,0)}function Bt(e,t){var r,n=e.prog,a=e.ip,o=1;do{if(88===(r=n[++a]))o++;else if(89===r)o--;else if(64===r)a+=n[a+1]+1;else if(65===r)a+=2*n[a+1]+1;else if(r>=176&&r<=183)a+=r-176+1;else if(r>=184&&r<=191)a+=2*(r-184+1);else if(t&&1===o&&27===r)break}while(o>0);e.ip=a}function SVTCA(e,t){exports.DEBUG&&console.log(t.step,"SVTCA["+e.axis+"]"),t.fv=t.pv=t.dpv=e}function SPVTCA(e,t){exports.DEBUG&&console.log(t.step,"SPVTCA["+e.axis+"]"),t.pv=t.dpv=e}function SFVTCA(e,t){exports.DEBUG&&console.log(t.step,"SFVTCA["+e.axis+"]"),t.fv=e}function SPVTL(e,t){var r,n,a=t.stack,o=a.pop(),s=a.pop(),i=t.z2[o],u=t.z1[s];exports.DEBUG&&console.log("SPVTL["+e+"]",o,s),e?(r=i.y-u.y,n=u.x-i.x):(r=u.x-i.x,n=u.y-i.y),t.pv=t.dpv=Mt(r,n)}function SFVTL(e,t){var r,n,a=t.stack,o=a.pop(),s=a.pop(),i=t.z2[o],u=t.z1[s];exports.DEBUG&&console.log("SFVTL["+e+"]",o,s),e?(r=i.y-u.y,n=u.x-i.x):(r=u.x-i.x,n=u.y-i.y),t.fv=Mt(r,n)}function POP(e){exports.DEBUG&&console.log(e.step,"POP[]"),e.stack.pop()}function MDAP(e,t){var r=t.stack.pop(),n=t.z0[r],a=t.fv,o=t.pv;exports.DEBUG&&console.log(t.step,"MDAP["+e+"]",r);var s=o.distance(n,It);e&&(s=t.round(s)),a.setRelative(n,It,s,o),a.touch(n),t.rp0=t.rp1=r}function IUP(e,t){var r,n,a,o=t.z2,s=o.length-2;exports.DEBUG&&console.log(t.step,"IUP["+e.axis+"]");for(var i=0;i<s;i++)r=o[i],e.touched(r)||(n=r.prevTouched(e))!==r&&(n===(a=r.nextTouched(e))&&e.setRelative(r,r,e.distance(n,n,!1,!0),e,!0),e.interpolate(r,n,a,e))}function SHP(e,t){for(var r=t.stack,n=e?t.rp1:t.rp2,a=(e?t.z0:t.z1)[n],o=t.fv,s=t.pv,i=t.loop,u=t.z2;i--;){var l=r.pop(),p=u[l],c=s.distance(a,a,!1,!0);o.setRelative(p,p,c,s),o.touch(p),exports.DEBUG&&console.log(t.step,(t.loop>1?"loop "+(t.loop-i)+": ":"")+"SHP["+(e?"rp1":"rp2")+"]",l)}t.loop=1}function SHC(e,t){var r=t.stack,n=e?t.rp1:t.rp2,a=(e?t.z0:t.z1)[n],o=t.fv,s=t.pv,i=r.pop(),u=t.z2[t.contours[i]],l=u;exports.DEBUG&&console.log(t.step,"SHC["+e+"]",i);var p=s.distance(a,a,!1,!0);do{l!==a&&o.setRelative(l,l,p,s),l=l.nextPointOnContour}while(l!==u)}function SHZ(e,t){var r,n,a=t.stack,o=e?t.rp1:t.rp2,s=(e?t.z0:t.z1)[o],i=t.fv,u=t.pv,l=a.pop();switch(exports.DEBUG&&console.log(t.step,"SHZ["+e+"]",l),l){case 0:r=t.tZone;break;case 1:r=t.gZone;break;default:throw new Error("Invalid zone")}for(var p=u.distance(s,s,!1,!0),c=r.length-2,h=0;h<c;h++)n=r[h],i.setRelative(n,n,p,u)}function MSIRP(e,t){var r=t.stack,n=r.pop()/64,a=r.pop(),o=t.z1[a],s=t.z0[t.rp0],i=t.fv,u=t.pv;i.setRelative(o,s,n,u),i.touch(o),exports.DEBUG&&console.log(t.step,"MSIRP["+e+"]",n,a),t.rp1=t.rp0,t.rp2=a,e&&(t.rp0=a)}function MIAP(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z0[a],s=t.fv,i=t.pv,u=t.cvt[n];exports.DEBUG&&console.log(t.step,"MIAP["+e+"]",n,"(",u,")",a);var l=i.distance(o,It);e&&(Math.abs(l-u)<t.cvCutIn&&(l=u),l=t.round(l)),s.setRelative(o,It,l,i),0===t.zp0&&(o.xo=o.x,o.yo=o.y),s.touch(o),t.rp0=t.rp1=a}function GC(e,t){var r=t.stack,n=r.pop(),a=t.z2[n];exports.DEBUG&&console.log(t.step,"GC["+e+"]",n),r.push(64*t.dpv.distance(a,It,e,!1))}function MD(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z1[n],s=t.z0[a],i=t.dpv.distance(s,o,e,e);exports.DEBUG&&console.log(t.step,"MD["+e+"]",n,a,"->",i),t.stack.push(Math.round(64*i))}function DELTAP123(e,t){var r=t.stack,n=r.pop(),a=t.fv,o=t.pv,s=t.ppem,i=t.deltaBase+16*(e-1),u=t.deltaShift,l=t.z0;exports.DEBUG&&console.log(t.step,"DELTAP["+e+"]",n,r);for(var p=0;p<n;p++){var c=r.pop(),h=r.pop();if(i+((240&h)>>4)===s){var f=(15&h)-8;f>=0&&f++,exports.DEBUG&&console.log(t.step,"DELTAPFIX",c,"by",f*u);var d=l[c];a.setRelative(d,d,f*u,o)}}}function ROUND(e,t){var r=t.stack,n=r.pop();exports.DEBUG&&console.log(t.step,"ROUND[]"),r.push(64*t.round(n/64))}function DELTAC123(e,t){var r=t.stack,n=r.pop(),a=t.ppem,o=t.deltaBase+16*(e-1),s=t.deltaShift;exports.DEBUG&&console.log(t.step,"DELTAC["+e+"]",n,r);for(var i=0;i<n;i++){var u=r.pop(),l=r.pop();if(o+((240&l)>>4)===a){var p=(15&l)-8;p>=0&&p++;var c=p*s;exports.DEBUG&&console.log(t.step,"DELTACFIX",u,"by",c),t.cvt[u]+=c}}}function SDPVTL(e,t){var r,n,a=t.stack,o=a.pop(),s=a.pop(),i=t.z2[o],u=t.z1[s];exports.DEBUG&&console.log(t.step,"SDPVTL["+e+"]",o,s),e?(r=i.y-u.y,n=u.x-i.x):(r=u.x-i.x,n=u.y-i.y),t.dpv=Mt(r,n)}function PUSHB(e,t){var r=t.stack,n=t.prog,a=t.ip;exports.DEBUG&&console.log(t.step,"PUSHB["+e+"]");for(var o=0;o<e;o++)r.push(n[++a]);t.ip=a}function PUSHW(e,t){var r=t.ip,n=t.prog,a=t.stack;exports.DEBUG&&console.log(t.ip,"PUSHW["+e+"]");for(var o=0;o<e;o++){var s=n[++r]<<8|n[++r];32768&s&&(s=-(1+(65535^s))),a.push(s)}t.ip=r}function MDRP_MIRP(e,t,r,n,a,o){var s,i,u,l,p=o.stack,c=e&&p.pop(),h=p.pop(),f=o.rp0,d=o.z0[f],g=o.z1[h],v=o.minDis,m=o.fv,y=o.dpv;u=(i=s=y.distance(g,d,!0,!0))>=0?1:-1,i=Math.abs(i),e&&(l=o.cvt[c],n&&Math.abs(i-l)<o.cvCutIn&&(i=l)),r&&i<v&&(i=v),n&&(i=o.round(i)),m.setRelative(g,d,u*i,y),m.touch(g),exports.DEBUG&&console.log(o.step,(e?"MIRP[":"MDRP[")+(t?"M":"m")+(r?">":"_")+(n?"R":"_")+(0===a?"Gr":1===a?"Bl":2===a?"Wh":"")+"]",e?c+"("+o.cvt[c]+","+l+")":"",h,"(d =",s,"->",u*i,")"),o.rp1=o.rp0,o.rp2=h,t&&(o.rp0=h)}function Token(e){this.char=e,this.state={},this.activeState=null}function ContextRange(e,t,r){this.contextName=r,this.startIndex=e,this.endOffset=t}function ContextChecker(e,t,r){this.contextName=e,this.openRange=null,this.ranges=[],this.checkStart=t,this.checkEnd=r}function ContextParams(e,t){this.context=e,this.index=t,this.length=e.length,this.current=e[t],this.backtrack=e.slice(0,t),this.lookahead=e.slice(t+1)}function Event(e){this.eventId=e,this.subscribers=[]}function Gt(e){var t=this,r=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"];r.forEach((function(e){Object.defineProperty(t.events,e,{value:new Event(e)})})),e&&r.forEach((function(r){var n=e[r];"function"==typeof n&&t.events[r].subscribe(n)}));["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach((function(e){t.events[e].subscribe(t.updateContextsRanges)}))}function Tokenizer(e){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],Gt.call(this,e)}function At(e){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(e)}function Nt(e){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(e)}function Ht(e){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(e)}function zt(e){return/[A-z]/.test(e)}function FeatureQuery(e){this.font=e,this.features={}}function SubstitutionAction(e){this.id=e.id,this.tag=e.tag,this.substitution=e.substitution}function _t(e,t){if(!e)return-1;switch(t.format){case 1:return t.glyphs.indexOf(e);case 2:for(var r=t.ranges,n=0;n<r.length;n++){var a=r[n];if(e>=a.start&&e<=a.end){var o=e-a.start;return a.index+o}}break;default:return-1}return-1}function Wt(e,t){return-1===_t(e,t.coverage)?null:e+t.deltaGlyphId}function Vt(e,t){var r=_t(e,t.coverage);return-1===r?null:t.substitute[r]}function qt(e,t){for(var r=[],n=0;n<e.length;n++){var a=e[n],o=t.current,s=_t(o=Array.isArray(o)?o[0]:o,a);-1!==s&&r.push(s)}return r.length!==e.length?-1:r}function Xt(e,t){var r=t.inputCoverage.length+t.lookaheadCoverage.length+t.backtrackCoverage.length;if(e.context.length<r)return[];var n=qt(t.inputCoverage,e);if(-1===n)return[];var a=t.inputCoverage.length-1;if(e.lookahead.length<t.lookaheadCoverage.length)return[];for(var o=e.lookahead.slice(a);o.length&&Ht(o[0].char);)o.shift();var s=new ContextParams(o,0),i=qt(t.lookaheadCoverage,s),u=[].concat(e.backtrack);for(u.reverse();u.length&&Ht(u[0].char);)u.shift();if(u.length<t.backtrackCoverage.length)return[];var l=new ContextParams(u,0),p=qt(t.backtrackCoverage,l),c=[];if(n.length===t.inputCoverage.length&&i.length===t.lookaheadCoverage.length&&p.length===t.backtrackCoverage.length)for(var h=0;h<t.lookupRecords.length;h++)for(var f=t.lookupRecords[h].lookupListIndex,d=this.getLookupByIndex(f),g=0;g<d.subtables.length;g++){var v=d.subtables[g],m=this.getLookupMethod(d,v);if("12"===this.getSubstitutionType(d,v))for(var y=0;y<n.length;y++){var b=m(e.get(y));b&&c.push(b)}}return c}function Yt(e,t){var r,n=_t(e.current,t.coverage);if(-1===n)return null;for(var a=t.ligatureSets[n],o=0;o<a.length;o++){r=a[o];for(var s=0;s<r.components.length;s++){if(e.lookahead[s]!==r.components[s])break;if(s===r.components.length-1)return r}}return null}function jt(e,t){var r=_t(e,t.coverage);return-1===r?null:t.sequences[r]}Hinting.prototype.exec=function(e,t){if("number"!=typeof t)throw new Error("Point size is not a number!");if(!(this._errorState>2)){var r=this.font,n=this._prepState;if(!n||n.ppem!==t){var a=this._fpgmState;if(!a){State.prototype=wt,(a=this._fpgmState=new State("fpgm",r.tables.fpgm)).funcs=[],a.font=r,exports.DEBUG&&(console.log("---EXEC FPGM---"),a.step=-1);try{bt(a)}catch(e){return console.log("Hinting error in FPGM:"+e),void(this._errorState=3)}}State.prototype=a,(n=this._prepState=new State("prep",r.tables.prep)).ppem=t;var o=r.tables.cvt;if(o)for(var s=n.cvt=new Array(o.length),i=t/r.unitsPerEm,u=0;u<o.length;u++)s[u]=o[u]*i;else n.cvt=[];exports.DEBUG&&(console.log("---EXEC PREP---"),n.step=-1);try{bt(n)}catch(e){this._errorState<2&&console.log("Hinting error in PREP:"+e),this._errorState=2}}if(!(this._errorState>1))try{return St(e,n)}catch(e){return this._errorState<1&&(console.log("Hinting error:"+e),console.log("Note: further hinting errors are silenced")),void(this._errorState=1)}}},St=function(e,t){var r,n,a,o=t.ppem/t.font.unitsPerEm,s=o,i=e.components;if(State.prototype=t,i){var u=t.font;n=[],r=[];for(var l=0;l<i.length;l++){var p=i[l],c=u.glyphs.get(p.glyphIndex);a=new State("glyf",c.instructions),exports.DEBUG&&(console.log("---EXEC COMP "+l+"---"),a.step=-1),xt(c,a,o,s);for(var h=Math.round(p.dx*o),f=Math.round(p.dy*s),d=a.gZone,g=a.contours,v=0;v<d.length;v++){var m=d[v];m.xTouched=m.yTouched=!1,m.xo=m.x=m.x+h,m.yo=m.y=m.y+f}var y=n.length;n.push.apply(n,d);for(var b=0;b<g.length;b++)r.push(g[b]+y)}e.instructions&&!a.inhibitGridFit&&((a=new State("glyf",e.instructions)).gZone=a.z0=a.z1=a.z2=n,a.contours=r,n.push(new HPoint(0,0),new HPoint(Math.round(e.advanceWidth*o),0)),exports.DEBUG&&(console.log("---EXEC COMPOSITE---"),a.step=-1),bt(a),n.length-=2)}else a=new State("glyf",e.instructions),exports.DEBUG&&(console.log("---EXEC GLYPH---"),a.step=-1),xt(e,a,o,s),n=a.gZone;return n},xt=function(e,t,r,n){for(var a,o,s,i=e.points||[],u=i.length,l=t.gZone=t.z0=t.z1=t.z2=[],p=t.contours=[],c=0;c<u;c++)a=i[c],l[c]=new HPoint(a.x*r,a.y*n,a.lastPointOfContour,a.onCurve);for(var h=0;h<u;h++)a=l[h],o||(o=a,p.push(h)),a.lastPointOfContour?(a.nextPointOnContour=o,o.prevPointOnContour=a,o=void 0):(s=l[h+1],a.nextPointOnContour=s,s.prevPointOnContour=a);if(!t.inhibitGridFit){if(exports.DEBUG){console.log("PROCESSING GLYPH",t.stack);for(var f=0;f<u;f++)console.log(f,l[f].x,l[f].y)}if(l.push(new HPoint(0,0),new HPoint(Math.round(e.advanceWidth*r),0)),bt(t),l.length-=2,exports.DEBUG){console.log("FINISHED GLYPH",t.stack);for(var d=0;d<u;d++)console.log(d,l[d].x,l[d].y)}}},bt=function(e){var t=e.prog;if(t){var r,n=t.length;for(e.ip=0;e.ip<n;e.ip++){if(exports.DEBUG&&e.step++,!(r=yt[t[e.ip]]))throw new Error("unknown instruction: 0x"+Number(t[e.ip]).toString(16));r(e)}}},yt=[SVTCA.bind(void 0,Lt),SVTCA.bind(void 0,Ct),SPVTCA.bind(void 0,Lt),SPVTCA.bind(void 0,Ct),SFVTCA.bind(void 0,Lt),SFVTCA.bind(void 0,Ct),SPVTL.bind(void 0,0),SPVTL.bind(void 0,1),SFVTL.bind(void 0,0),SFVTL.bind(void 0,1),function SPVFS(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SPVFS[]",r,n),e.pv=e.dpv=Mt(n,r)},function SFVFS(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SPVFS[]",r,n),e.fv=Mt(n,r)},function GPV(e){var t=e.stack,r=e.pv;exports.DEBUG&&console.log(e.step,"GPV[]"),t.push(16384*r.x),t.push(16384*r.y)},function GFV(e){var t=e.stack,r=e.fv;exports.DEBUG&&console.log(e.step,"GFV[]"),t.push(16384*r.x),t.push(16384*r.y)},function SFVTPV(e){e.fv=e.pv,exports.DEBUG&&console.log(e.step,"SFVTPV[]")},function ISECT(e){var t=e.stack,r=t.pop(),n=t.pop(),a=t.pop(),o=t.pop(),s=t.pop(),i=e.z0,u=e.z1,l=i[r],p=i[n],c=u[a],h=u[o],f=e.z2[s];exports.DEBUG&&console.log("ISECT[], ",r,n,a,o,s);var d=l.x,g=l.y,v=p.x,m=p.y,y=c.x,b=c.y,S=h.x,x=h.y,T=(d-v)*(b-x)-(g-m)*(y-S),P=d*m-g*v,k=y*x-b*S;f.x=(P*(y-S)-k*(d-v))/T,f.y=(P*(b-x)-k*(g-m))/T},function SRP0(e){e.rp0=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP0[]",e.rp0)},function SRP1(e){e.rp1=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP1[]",e.rp1)},function SRP2(e){e.rp2=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP2[]",e.rp2)},function SZP0(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP0[]",t),e.zp0=t,t){case 0:e.tZone||Ft(e),e.z0=e.tZone;break;case 1:e.z0=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function SZP1(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP1[]",t),e.zp1=t,t){case 0:e.tZone||Ft(e),e.z1=e.tZone;break;case 1:e.z1=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function SZP2(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP2[]",t),e.zp2=t,t){case 0:e.tZone||Ft(e),e.z2=e.tZone;break;case 1:e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function SZPS(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZPS[]",t),e.zp0=e.zp1=e.zp2=t,t){case 0:e.tZone||Ft(e),e.z0=e.z1=e.z2=e.tZone;break;case 1:e.z0=e.z1=e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function SLOOP(e){e.loop=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SLOOP[]",e.loop)},function RTG(e){exports.DEBUG&&console.log(e.step,"RTG[]"),e.round=kt},function RTHG(e){exports.DEBUG&&console.log(e.step,"RTHG[]"),e.round=Rt},function SMD(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SMD[]",t),e.minDis=t/64},function ELSE(e){exports.DEBUG&&console.log(e.step,"ELSE[]"),Bt(e,!1)},function JMPR(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"JMPR[]",t),e.ip+=t-1},function SCVTCI(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCVTCI[]",t),e.cvCutIn=t/64},void 0,void 0,function DUP(e){var t=e.stack;exports.DEBUG&&console.log(e.step,"DUP[]"),t.push(t[t.length-1])},POP,function CLEAR(e){exports.DEBUG&&console.log(e.step,"CLEAR[]"),e.stack.length=0},function SWAP(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SWAP[]"),t.push(r),t.push(n)},function DEPTH(e){var t=e.stack;exports.DEBUG&&console.log(e.step,"DEPTH[]"),t.push(t.length)},function CINDEX(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"CINDEX[]",r),t.push(t[t.length-r])},function MINDEX(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"MINDEX[]",r),t.push(t.splice(t.length-r,1)[0])},void 0,void 0,void 0,function LOOPCALL(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LOOPCALL[]",r,n);var a=e.ip,o=e.prog;e.prog=e.funcs[r];for(var s=0;s<n;s++)bt(e),exports.DEBUG&&console.log(++e.step,s+1<n?"next loopcall":"done loopcall",s);e.ip=a,e.prog=o},function CALL(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"CALL[]",t);var r=e.ip,n=e.prog;e.prog=e.funcs[t],bt(e),e.ip=r,e.prog=n,exports.DEBUG&&console.log(++e.step,"returning from",t)},function FDEF(e){if("fpgm"!==e.env)throw new Error("FDEF not allowed here");var t=e.stack,r=e.prog,n=e.ip,a=t.pop(),o=n;for(exports.DEBUG&&console.log(e.step,"FDEF[]",a);45!==r[++n];);e.ip=n,e.funcs[a]=r.slice(o+1,n)},void 0,MDAP.bind(void 0,0),MDAP.bind(void 0,1),IUP.bind(void 0,Lt),IUP.bind(void 0,Ct),SHP.bind(void 0,0),SHP.bind(void 0,1),SHC.bind(void 0,0),SHC.bind(void 0,1),SHZ.bind(void 0,0),SHZ.bind(void 0,1),function SHPIX(e){for(var t=e.stack,r=e.loop,n=e.fv,a=t.pop()/64,o=e.z2;r--;){var s=t.pop(),i=o[s];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-r)+": ":"")+"SHPIX[]",s,a),n.setRelative(i,i,a),n.touch(i)}e.loop=1},function IP(e){for(var t=e.stack,r=e.rp1,n=e.rp2,a=e.loop,o=e.z0[r],s=e.z1[n],i=e.fv,u=e.dpv,l=e.z2;a--;){var p=t.pop(),c=l[p];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-a)+": ":"")+"IP[]",p,r,"<->",n),i.interpolate(c,o,s,u),i.touch(c)}e.loop=1},MSIRP.bind(void 0,0),MSIRP.bind(void 0,1),function ALIGNRP(e){for(var t=e.stack,r=e.rp0,n=e.z0[r],a=e.loop,o=e.fv,s=e.pv,i=e.z1;a--;){var u=t.pop(),l=i[u];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-a)+": ":"")+"ALIGNRP[]",u),o.setRelative(l,n,0,s),o.touch(l)}e.loop=1},function RTDG(e){exports.DEBUG&&console.log(e.step,"RTDG[]"),e.round=Ut},MIAP.bind(void 0,0),MIAP.bind(void 0,1),function NPUSHB(e){var t=e.prog,r=e.ip,n=e.stack,a=t[++r];exports.DEBUG&&console.log(e.step,"NPUSHB[]",a);for(var o=0;o<a;o++)n.push(t[++r]);e.ip=r},function NPUSHW(e){var t=e.ip,r=e.prog,n=e.stack,a=r[++t];exports.DEBUG&&console.log(e.step,"NPUSHW[]",a);for(var o=0;o<a;o++){var s=r[++t]<<8|r[++t];32768&s&&(s=-(1+(65535^s))),n.push(s)}e.ip=t},function WS(e){var t=e.stack,r=e.store;r||(r=e.store=[]);var n=t.pop(),a=t.pop();exports.DEBUG&&console.log(e.step,"WS",n,a),r[a]=n},function RS(e){var t=e.stack,r=e.store,n=t.pop();exports.DEBUG&&console.log(e.step,"RS",n);var a=r&&r[n]||0;t.push(a)},function WCVTP(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"WCVTP",r,n),e.cvt[n]=r/64},function RCVT(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"RCVT",r),t.push(64*e.cvt[r])},GC.bind(void 0,0),GC.bind(void 0,1),void 0,MD.bind(void 0,0),MD.bind(void 0,1),function MPPEM(e){exports.DEBUG&&console.log(e.step,"MPPEM[]"),e.stack.push(e.ppem)},void 0,function FLIPON(e){exports.DEBUG&&console.log(e.step,"FLIPON[]"),e.autoFlip=!0},void 0,void 0,function LT(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LT[]",r,n),t.push(n<r?1:0)},function LTEQ(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LTEQ[]",r,n),t.push(n<=r?1:0)},function GT(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"GT[]",r,n),t.push(n>r?1:0)},function GTEQ(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"GTEQ[]",r,n),t.push(n>=r?1:0)},function EQ(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"EQ[]",r,n),t.push(r===n?1:0)},function NEQ(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"NEQ[]",r,n),t.push(r!==n?1:0)},function ODD(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"ODD[]",r),t.push(Math.trunc(r)%2?1:0)},function EVEN(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"EVEN[]",r),t.push(Math.trunc(r)%2?0:1)},function IF(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"IF[]",t),t||(Bt(e,!0),exports.DEBUG&&console.log(e.step,"EIF[]"))},function EIF(e){exports.DEBUG&&console.log(e.step,"EIF[]")},function AND(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"AND[]",r,n),t.push(r&&n?1:0)},function OR(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"OR[]",r,n),t.push(r||n?1:0)},function NOT(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"NOT[]",r),t.push(r?0:1)},DELTAP123.bind(void 0,1),function SDB(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SDB[]",t),e.deltaBase=t},function SDS(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SDS[]",t),e.deltaShift=Math.pow(.5,t)},function ADD(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"ADD[]",r,n),t.push(n+r)},function SUB(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SUB[]",r,n),t.push(n-r)},function DIV(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"DIV[]",r,n),t.push(64*n/r)},function MUL(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MUL[]",r,n),t.push(n*r/64)},function ABS(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"ABS[]",r),t.push(Math.abs(r))},function NEG(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"NEG[]",r),t.push(-r)},function FLOOR(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"FLOOR[]",r),t.push(64*Math.floor(r/64))},function CEILING(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"CEILING[]",r),t.push(64*Math.ceil(r/64))},ROUND.bind(void 0,0),ROUND.bind(void 0,1),ROUND.bind(void 0,2),ROUND.bind(void 0,3),void 0,void 0,void 0,void 0,function WCVTF(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"WCVTF[]",r,n),e.cvt[n]=r*e.ppem/e.font.unitsPerEm},DELTAP123.bind(void 0,2),DELTAP123.bind(void 0,3),DELTAC123.bind(void 0,1),DELTAC123.bind(void 0,2),DELTAC123.bind(void 0,3),function SROUND(e){var t,r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SROUND[]",r),e.round=Dt,192&r){case 0:t=.5;break;case 64:t=1;break;case 128:t=2;break;default:throw new Error("invalid SROUND value")}switch(e.srPeriod=t,48&r){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*t;break;case 32:e.srPhase=.5*t;break;case 48:e.srPhase=.75*t;break;default:throw new Error("invalid SROUND value")}r&=15,e.srThreshold=0===r?0:(r/8-.5)*t},function S45ROUND(e){var t,r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"S45ROUND[]",r),e.round=Dt,192&r){case 0:t=Math.sqrt(2)/2;break;case 64:t=Math.sqrt(2);break;case 128:t=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(e.srPeriod=t,48&r){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*t;break;case 32:e.srPhase=.5*t;break;case 48:e.srPhase=.75*t;break;default:throw new Error("invalid S45ROUND value")}r&=15,e.srThreshold=0===r?0:(r/8-.5)*t},void 0,void 0,function ROFF(e){exports.DEBUG&&console.log(e.step,"ROFF[]"),e.round=Pt},void 0,function RUTG(e){exports.DEBUG&&console.log(e.step,"RUTG[]"),e.round=Ot},function RDTG(e){exports.DEBUG&&console.log(e.step,"RDTG[]"),e.round=Et},POP,POP,void 0,void 0,void 0,void 0,void 0,function SCANCTRL(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCANCTRL[]",t)},SDPVTL.bind(void 0,0),SDPVTL.bind(void 0,1),function GETINFO(e){var t=e.stack,r=t.pop(),n=0;exports.DEBUG&&console.log(e.step,"GETINFO[]",r),1&r&&(n=35),32&r&&(n|=4096),t.push(n)},void 0,function ROLL(e){var t=e.stack,r=t.pop(),n=t.pop(),a=t.pop();exports.DEBUG&&console.log(e.step,"ROLL[]"),t.push(n),t.push(r),t.push(a)},function MAX(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MAX[]",r,n),t.push(Math.max(n,r))},function MIN(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MIN[]",r,n),t.push(Math.min(n,r))},function SCANTYPE(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCANTYPE[]",t)},function INSTCTRL(e){var t=e.stack.pop(),r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"INSTCTRL[]",t,r),t){case 1:return void(e.inhibitGridFit=!!r);case 2:return void(e.ignoreCvt=!!r);default:throw new Error("invalid INSTCTRL[] selector")}},void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,PUSHB.bind(void 0,1),PUSHB.bind(void 0,2),PUSHB.bind(void 0,3),PUSHB.bind(void 0,4),PUSHB.bind(void 0,5),PUSHB.bind(void 0,6),PUSHB.bind(void 0,7),PUSHB.bind(void 0,8),PUSHW.bind(void 0,1),PUSHW.bind(void 0,2),PUSHW.bind(void 0,3),PUSHW.bind(void 0,4),PUSHW.bind(void 0,5),PUSHW.bind(void 0,6),PUSHW.bind(void 0,7),PUSHW.bind(void 0,8),MDRP_MIRP.bind(void 0,0,0,0,0,0),MDRP_MIRP.bind(void 0,0,0,0,0,1),MDRP_MIRP.bind(void 0,0,0,0,0,2),MDRP_MIRP.bind(void 0,0,0,0,0,3),MDRP_MIRP.bind(void 0,0,0,0,1,0),MDRP_MIRP.bind(void 0,0,0,0,1,1),MDRP_MIRP.bind(void 0,0,0,0,1,2),MDRP_MIRP.bind(void 0,0,0,0,1,3),MDRP_MIRP.bind(void 0,0,0,1,0,0),MDRP_MIRP.bind(void 0,0,0,1,0,1),MDRP_MIRP.bind(void 0,0,0,1,0,2),MDRP_MIRP.bind(void 0,0,0,1,0,3),MDRP_MIRP.bind(void 0,0,0,1,1,0),MDRP_MIRP.bind(void 0,0,0,1,1,1),MDRP_MIRP.bind(void 0,0,0,1,1,2),MDRP_MIRP.bind(void 0,0,0,1,1,3),MDRP_MIRP.bind(void 0,0,1,0,0,0),MDRP_MIRP.bind(void 0,0,1,0,0,1),MDRP_MIRP.bind(void 0,0,1,0,0,2),MDRP_MIRP.bind(void 0,0,1,0,0,3),MDRP_MIRP.bind(void 0,0,1,0,1,0),MDRP_MIRP.bind(void 0,0,1,0,1,1),MDRP_MIRP.bind(void 0,0,1,0,1,2),MDRP_MIRP.bind(void 0,0,1,0,1,3),MDRP_MIRP.bind(void 0,0,1,1,0,0),MDRP_MIRP.bind(void 0,0,1,1,0,1),MDRP_MIRP.bind(void 0,0,1,1,0,2),MDRP_MIRP.bind(void 0,0,1,1,0,3),MDRP_MIRP.bind(void 0,0,1,1,1,0),MDRP_MIRP.bind(void 0,0,1,1,1,1),MDRP_MIRP.bind(void 0,0,1,1,1,2),MDRP_MIRP.bind(void 0,0,1,1,1,3),MDRP_MIRP.bind(void 0,1,0,0,0,0),MDRP_MIRP.bind(void 0,1,0,0,0,1),MDRP_MIRP.bind(void 0,1,0,0,0,2),MDRP_MIRP.bind(void 0,1,0,0,0,3),MDRP_MIRP.bind(void 0,1,0,0,1,0),MDRP_MIRP.bind(void 0,1,0,0,1,1),MDRP_MIRP.bind(void 0,1,0,0,1,2),MDRP_MIRP.bind(void 0,1,0,0,1,3),MDRP_MIRP.bind(void 0,1,0,1,0,0),MDRP_MIRP.bind(void 0,1,0,1,0,1),MDRP_MIRP.bind(void 0,1,0,1,0,2),MDRP_MIRP.bind(void 0,1,0,1,0,3),MDRP_MIRP.bind(void 0,1,0,1,1,0),MDRP_MIRP.bind(void 0,1,0,1,1,1),MDRP_MIRP.bind(void 0,1,0,1,1,2),MDRP_MIRP.bind(void 0,1,0,1,1,3),MDRP_MIRP.bind(void 0,1,1,0,0,0),MDRP_MIRP.bind(void 0,1,1,0,0,1),MDRP_MIRP.bind(void 0,1,1,0,0,2),MDRP_MIRP.bind(void 0,1,1,0,0,3),MDRP_MIRP.bind(void 0,1,1,0,1,0),MDRP_MIRP.bind(void 0,1,1,0,1,1),MDRP_MIRP.bind(void 0,1,1,0,1,2),MDRP_MIRP.bind(void 0,1,1,0,1,3),MDRP_MIRP.bind(void 0,1,1,1,0,0),MDRP_MIRP.bind(void 0,1,1,1,0,1),MDRP_MIRP.bind(void 0,1,1,1,0,2),MDRP_MIRP.bind(void 0,1,1,1,0,3),MDRP_MIRP.bind(void 0,1,1,1,1,0),MDRP_MIRP.bind(void 0,1,1,1,1,1),MDRP_MIRP.bind(void 0,1,1,1,1,2),MDRP_MIRP.bind(void 0,1,1,1,1,3)],Token.prototype.setState=function(e,t){return this.state[e]=t,this.activeState={key:e,value:this.state[e]},this.activeState},Token.prototype.getState=function(e){return this.state[e]||null},Tokenizer.prototype.inboundIndex=function(e){return e>=0&&e<this.tokens.length},Tokenizer.prototype.composeRUD=function(e){var t=this,r=e.map((function(e){return t[e[0]].apply(t,e.slice(1).concat(true))})),n=function(e){return"object"==typeof e&&e.hasOwnProperty("FAIL")};if(r.every(n))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:r.filter(n)};this.dispatch("composeRUD",[r.filter((function(e){return!n(e)}))])},Tokenizer.prototype.replaceRange=function(e,t,r,n){t=null!==t?t:this.tokens.length;var a=r.every((function(e){return e instanceof Token}));if(!isNaN(e)&&this.inboundIndex(e)&&a){var o=this.tokens.splice.apply(this.tokens,[e,t].concat(r));return n||this.dispatch("replaceToken",[e,t,r]),[o,r]}return{FAIL:"replaceRange: invalid tokens or startIndex."}},Tokenizer.prototype.replaceToken=function(e,t,r){if(!isNaN(e)&&this.inboundIndex(e)&&t instanceof Token){var n=this.tokens.splice(e,1,t);return r||this.dispatch("replaceToken",[e,t]),[n[0],t]}return{FAIL:"replaceToken: invalid token or index."}},Tokenizer.prototype.removeRange=function(e,t,r){t=isNaN(t)?this.tokens.length:t;var n=this.tokens.splice(e,t);return r||this.dispatch("removeRange",[n,e,t]),n},Tokenizer.prototype.removeToken=function(e,t){if(!isNaN(e)&&this.inboundIndex(e)){var r=this.tokens.splice(e,1);return t||this.dispatch("removeToken",[r,e]),r}return{FAIL:"removeToken: invalid token index."}},Tokenizer.prototype.insertToken=function(e,t,r){return e.every((function(e){return e instanceof Token}))?(this.tokens.splice.apply(this.tokens,[t,0].concat(e)),r||this.dispatch("insertToken",[e,t]),e):{FAIL:"insertToken: invalid token(s)."}},Tokenizer.prototype.registerModifier=function(e,t,r){this.events.newToken.subscribe((function(n,a){var o=[n,a],s=[n,a];if(null===t||!0===t.apply(this,o)){var i=r.apply(this,s);n.setState(e,i)}})),this.registeredModifiers.push(e)},Event.prototype.subscribe=function(e){return"function"==typeof e?this.subscribers.push(e)-1:{FAIL:"invalid '"+this.eventId+"' event handler"}},Event.prototype.unsubscribe=function(e){this.subscribers.splice(e,1)},ContextParams.prototype.setCurrentIndex=function(e){this.index=e,this.current=this.context[e],this.backtrack=this.context.slice(0,e),this.lookahead=this.context.slice(e+1)},ContextParams.prototype.get=function(e){switch(!0){case 0===e:return this.current;case e<0&&Math.abs(e)<=this.backtrack.length:return this.backtrack.slice(e)[0];case e>0&&e<=this.lookahead.length:return this.lookahead[e-1];default:return null}},Tokenizer.prototype.rangeToText=function(e){if(e instanceof ContextRange)return this.getRangeTokens(e).map((function(e){return e.char})).join("")},Tokenizer.prototype.getText=function(){return this.tokens.map((function(e){return e.char})).join("")},Tokenizer.prototype.getContext=function(e){var t=this.registeredContexts[e];return t||null},Tokenizer.prototype.on=function(e,t){var r=this.events[e];return r?r.subscribe(t):null},Tokenizer.prototype.dispatch=function(e,t){var r=this,n=this.events[e];n instanceof Event&&n.subscribers.forEach((function(e){e.apply(r,t||[])}))},Tokenizer.prototype.registerContextChecker=function(e,t,r){if(this.getContext(e))return{FAIL:"context name '"+e+"' is already registered."};if("function"!=typeof t)return{FAIL:"missing context start check."};if("function"!=typeof r)return{FAIL:"missing context end check."};var n=new ContextChecker(e,t,r);return this.registeredContexts[e]=n,this.contextCheckers.push(n),n},Tokenizer.prototype.getRangeTokens=function(e){var t=e.startIndex+e.endOffset;return[].concat(this.tokens.slice(e.startIndex,t))},Tokenizer.prototype.getContextRanges=function(e){var t=this.getContext(e);return t?t.ranges:{FAIL:"context checker '"+e+"' is not registered."}},Tokenizer.prototype.resetContextsRanges=function(){var e=this.registeredContexts;for(var t in e){if(e.hasOwnProperty(t))e[t].ranges=[]}},Tokenizer.prototype.updateContextsRanges=function(){this.resetContextsRanges();for(var e=this.tokens.map((function(e){return e.char})),t=0;t<e.length;t++){var r=new ContextParams(e,t);this.runContextCheck(r)}this.dispatch("updateContextsRanges",[this.registeredContexts])},Tokenizer.prototype.setEndOffset=function(e,t){var r=new ContextRange(this.getContext(t).openRange.startIndex,e,t),n=this.getContext(t).ranges;return r.rangeId=t+"."+n.length,n.push(r),this.getContext(t).openRange=null,r},Tokenizer.prototype.runContextCheck=function(e){var t=this,r=e.index;this.contextCheckers.forEach((function(n){var a=n.contextName,o=t.getContext(a).openRange;if(!o&&n.checkStart(e)&&(o=new ContextRange(r,null,a),t.getContext(a).openRange=o,t.dispatch("contextStart",[a,r])),o&&n.checkEnd(e)){var s=r-o.startIndex+1,i=t.setEndOffset(s,a);t.dispatch("contextEnd",[a,i])}}))},Tokenizer.prototype.tokenize=function(e){this.tokens=[],this.resetContextsRanges();var t=Array.from(e);this.dispatch("start");for(var r=0;r<t.length;r++){var n=t[r],a=new ContextParams(t,r);this.dispatch("next",[a]),this.runContextCheck(a);var o=new Token(n);this.tokens.push(o),this.dispatch("newToken",[o,a])}return this.dispatch("end",[this.tokens]),this.tokens},FeatureQuery.prototype.getDefaultScriptFeaturesIndexes=function(){for(var e=this.font.tables.gsub.scripts,t=0;t<e.length;t++){var r=e[t];if("DFLT"===r.tag)return r.script.defaultLangSys.featureIndexes}return[]},FeatureQuery.prototype.getScriptFeaturesIndexes=function(e){if(!this.font.tables.gsub)return[];if(!e)return this.getDefaultScriptFeaturesIndexes();for(var t=this.font.tables.gsub.scripts,r=0;r<t.length;r++){var n=t[r];if(n.tag===e&&n.script.defaultLangSys)return n.script.defaultLangSys.featureIndexes;var a=n.langSysRecords;if(a)for(var o=0;o<a.length;o++){var s=a[o];if(s.tag===e)return s.langSys.featureIndexes}}return this.getDefaultScriptFeaturesIndexes()},FeatureQuery.prototype.mapTagsToFeatures=function(e,t){for(var r={},n=0;n<e.length;n++){var a=e[n].tag,o=e[n].feature;r[a]=o}this.features[t].tags=r},FeatureQuery.prototype.getScriptFeatures=function(e){var t=this.features[e];if(this.features.hasOwnProperty(e))return t;var r=this.getScriptFeaturesIndexes(e);if(!r)return null;var n=this.font.tables.gsub;return t=r.map((function(e){return n.features[e]})),this.features[e]=t,this.mapTagsToFeatures(t,e),t},FeatureQuery.prototype.getSubstitutionType=function(e,t){return e.lookupType.toString()+t.substFormat.toString()},FeatureQuery.prototype.getLookupMethod=function(e,t){var r=this;switch(this.getSubstitutionType(e,t)){case"11":return function(e){return Wt.apply(r,[e,t])};case"12":return function(e){return Vt.apply(r,[e,t])};case"63":return function(e){return Xt.apply(r,[e,t])};case"41":return function(e){return Yt.apply(r,[e,t])};case"21":return function(e){return jt.apply(r,[e,t])};default:throw new Error("lookupType: "+e.lookupType+" - substFormat: "+t.substFormat+" is not yet supported")}},FeatureQuery.prototype.lookupFeature=function(e){var t=e.contextParams,r=t.index,n=this.getFeature({tag:e.tag,script:e.script});if(!n)return new Error("font '"+this.font.names.fullName.en+"' doesn't support feature '"+e.tag+"' for script '"+e.script+"'.");for(var a=this.getFeatureLookups(n),o=[].concat(t.context),s=0;s<a.length;s++)for(var i=a[s],u=this.getLookupSubtables(i),l=0;l<u.length;l++){var p=u[l],c=this.getSubstitutionType(i,p),h=this.getLookupMethod(i,p),f=void 0;switch(c){case"11":(f=h(t.current))&&o.splice(r,1,new SubstitutionAction({id:11,tag:e.tag,substitution:f}));break;case"12":(f=h(t.current))&&o.splice(r,1,new SubstitutionAction({id:12,tag:e.tag,substitution:f}));break;case"63":f=h(t),Array.isArray(f)&&f.length&&o.splice(r,1,new SubstitutionAction({id:63,tag:e.tag,substitution:f}));break;case"41":(f=h(t))&&o.splice(r,1,new SubstitutionAction({id:41,tag:e.tag,substitution:f}));break;case"21":(f=h(t.current))&&o.splice(r,1,new SubstitutionAction({id:21,tag:e.tag,substitution:f}))}t=new ContextParams(o,r),Array.isArray(f)&&!f.length||(f=null)}return o.length?o:null},FeatureQuery.prototype.supports=function(e){if(!e.script)return!1;this.getScriptFeatures(e.script);var t=this.features.hasOwnProperty(e.script);if(!e.tag)return t;var r=this.features[e.script].some((function(t){return t.tag===e.tag}));return t&&r},FeatureQuery.prototype.getLookupSubtables=function(e){return e.subtables||null},FeatureQuery.prototype.getLookupByIndex=function(e){return this.font.tables.gsub.lookups[e]||null},FeatureQuery.prototype.getFeatureLookups=function(e){return e.lookupListIndexes.map(this.getLookupByIndex.bind(this))},FeatureQuery.prototype.getFeature=function(e){if(!this.font)return{FAIL:"No font was found"};this.features.hasOwnProperty(e.script)||this.getScriptFeatures(e.script);var t=this.features[e.script];return t?t.tags[e.tag]?this.features[e.script].tags[e.tag]:null:{FAIL:"No feature for script "+e.script}};var Zt={startCheck:function(e){var t=e.current,r=e.get(-1);return null===r&&At(t)||!At(r)&&At(t)},endCheck:function(e){var t=e.get(1);return null===t||!At(t)}};var Qt={startCheck:function(e){var t=e.current,r=e.get(-1);return(At(t)||Ht(t))&&!At(r)},endCheck:function(e){var t=e.get(1);switch(!0){case null===t:return!0;case!At(t)&&!Ht(t):var r=/\s/.test(t);if(!r)return!0;if(r){var n;if(n=e.lookahead.some((function(e){return At(e)||Ht(e)})),!n)return!0}break;default:return!1}}};var Kt={11:function(e,t,r){t[r].setState(e.tag,e.substitution)},12:function(e,t,r){t[r].setState(e.tag,e.substitution)},63:function(e,t,r){e.substitution.forEach((function(n,a){t[r+a].setState(e.tag,n)}))},41:function(e,t,r){var n=t[r];n.setState(e.tag,e.substitution.ligGlyph);for(var a=e.substitution.components.length,o=0;o<a;o++)(n=t[r+o+1]).setState("deleted",!0)}};function Jt(e,t,r){e instanceof SubstitutionAction&&Kt[e.id]&&Kt[e.id](e,t,r)}function $t(e){var t=this,r="arab",n=this.featuresTags.arab,a=this.tokenizer.getRangeTokens(e);if(1!==a.length){var o=new ContextParams(a.map((function(e){return e.getState("glyphIndex")})),0),s=new ContextParams(a.map((function(e){return e.char})),0);a.forEach((function(e,i){if(!Ht(e.char)){o.setCurrentIndex(i),s.setCurrentIndex(i);var u,l=0;switch(function(e){for(var t=[].concat(e.backtrack),r=t.length-1;r>=0;r--){var n=t[r],a=Nt(n),o=Ht(n);if(!a&&!o)return!0;if(a)return!1}return!1}(s)&&(l|=1),function(e){if(Nt(e.current))return!1;for(var t=0;t<e.lookahead.length;t++)if(!Ht(e.lookahead[t]))return!0;return!1}(s)&&(l|=2),l){case 1:u="fina";break;case 2:u="init";break;case 3:u="medi"}if(-1!==n.indexOf(u)){var p=t.query.lookupFeature({tag:u,script:r,contextParams:o});if(p instanceof Error)return console.info(p.message);p.forEach((function(e,t){e instanceof SubstitutionAction&&(Jt(e,a,t),o.context[t]=e.substitution)}))}}}))}}function er(e,t){return new ContextParams(e.map((function(e){return e.activeState.value})),t||0)}function tr(e){var t=this,r=this.tokenizer.getRangeTokens(e),n=er(r);n.context.forEach((function(e,a){n.setCurrentIndex(a);var o=t.query.lookupFeature({tag:"rlig",script:"arab",contextParams:n});o.length&&(o.forEach((function(e){return Jt(e,r,a)})),n=er(r))}))}var rr={startCheck:function(e){var t=e.current,r=e.get(-1);return null===r&&zt(t)||!zt(r)&&zt(t)},endCheck:function(e){var t=e.get(1);return null===t||!zt(t)}};function nr(e,t){return new ContextParams(e.map((function(e){return e.activeState.value})),t||0)}function ar(e){var t=this,r=this.tokenizer.getRangeTokens(e),n=nr(r);n.context.forEach((function(e,a){n.setCurrentIndex(a);var o=t.query.lookupFeature({tag:"liga",script:"latn",contextParams:n});o.length&&(o.forEach((function(e){return Jt(e,r,a)})),n=nr(r))}))}function Bidi(e){this.baseDir=e||"ltr",this.tokenizer=new Tokenizer,this.featuresTags={}}function or(e){var t=this.contextChecks[e+"Check"];return this.tokenizer.registerContextChecker(e,t.startCheck,t.endCheck)}function sr(){return or.call(this,"latinWord"),or.call(this,"arabicWord"),or.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function ir(){var e=this;this.tokenizer.getContextRanges("arabicSentence").forEach((function(t){var r=e.tokenizer.getRangeTokens(t);e.tokenizer.replaceRange(t.startIndex,t.endOffset,r.reverse())}))}function ur(){if(-1===this.tokenizer.registeredModifiers.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply arabic presentation features.")}function lr(){var e=this;this.featuresTags.hasOwnProperty("arab")&&(ur.call(this),this.tokenizer.getContextRanges("arabicWord").forEach((function(t){$t.call(e,t)})))}function pr(){var e=this,t="arab";this.featuresTags.hasOwnProperty(t)&&(-1!==this.featuresTags.arab.indexOf("rlig")&&(ur.call(this),this.tokenizer.getContextRanges("arabicWord").forEach((function(t){tr.call(e,t)}))))}function cr(){var e=this,t="latn";this.featuresTags.hasOwnProperty(t)&&(-1!==this.featuresTags.latn.indexOf("liga")&&(ur.call(this),this.tokenizer.getContextRanges("latinWord").forEach((function(t){ar.call(e,t)}))))}function Font(e){(e=e||{}).tables=e.tables||{},e.empty||(ht(e.familyName,"When creating a new Font object, familyName is required."),ht(e.styleName,"When creating a new Font object, styleName is required."),ht(e.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),ht(e.ascender,"When creating a new Font object, ascender is required."),ht(e.descender<=0,"When creating a new Font object, negative descender value is required."),this.names={fontFamily:{en:e.familyName||" "},fontSubfamily:{en:e.styleName||" "},fullName:{en:e.fullName||e.familyName+" "+e.styleName},postScriptName:{en:e.postScriptName||(e.familyName+e.styleName).replace(/\s/g,"")},designer:{en:e.designer||" "},designerURL:{en:e.designerURL||" "},manufacturer:{en:e.manufacturer||" "},manufacturerURL:{en:e.manufacturerURL||" "},license:{en:e.license||" "},licenseURL:{en:e.licenseURL||" "},version:{en:e.version||"Version 0.1"},description:{en:e.description||" "},copyright:{en:e.copyright||" "},trademark:{en:e.trademark||" "}},this.unitsPerEm=e.unitsPerEm||1e3,this.ascender=e.ascender,this.descender=e.descender,this.createdTimestamp=e.createdTimestamp,this.tables=Object.assign(e.tables,{os2:Object.assign({usWeightClass:e.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:e.widthClass||this.usWidthClasses.MEDIUM,fsSelection:e.fsSelection||this.fsSelectionValues.REGULAR},e.tables.os2)})),this.supported=!0,this.glyphs=new ie.GlyphSet(this,e.glyphs||[]),this.encoding=new DefaultEncoding(this),this.position=new Position(this),this.substitution=new Substitution(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){return this._hinting?this._hinting:"truetype"===this.outlinesFormat?this._hinting=new Hinting(this):void 0}})}function hr(e,t){var r=JSON.stringify(e),n=256;for(var a in t){var o=parseInt(a);if(o&&!(o<256)){if(JSON.stringify(t[a])===r)return o;n<=o&&(n=o+1)}}return t[n]=e,n}function fr(e,t,r){var n=hr(t.name,r);return[{name:"tag_"+e,type:"TAG",value:t.tag},{name:"minValue_"+e,type:"FIXED",value:t.minValue<<16},{name:"defaultValue_"+e,type:"FIXED",value:t.defaultValue<<16},{name:"maxValue_"+e,type:"FIXED",value:t.maxValue<<16},{name:"flags_"+e,type:"USHORT",value:0},{name:"nameID_"+e,type:"USHORT",value:n}]}function dr(e,t,r){var n={},a=new K.Parser(e,t);return n.tag=a.parseTag(),n.minValue=a.parseFixed(),n.defaultValue=a.parseFixed(),n.maxValue=a.parseFixed(),a.skip("uShort",1),n.name=r[a.parseUShort()]||{},n}function gr(e,t,r,n){for(var a=[{name:"nameID_"+e,type:"USHORT",value:hr(t.name,n)},{name:"flags_"+e,type:"USHORT",value:0}],o=0;o<r.length;++o){var s=r[o].tag;a.push({name:"axis_"+e+" "+s,type:"FIXED",value:t.coordinates[s]<<16})}return a}function vr(e,t,r,n){var a={},o=new K.Parser(e,t);a.name=n[o.parseUShort()]||{},o.skip("uShort",1),a.coordinates={};for(var s=0;s<r.length;++s)a.coordinates[r[s].tag]=o.parseFixed();return a}Bidi.prototype.setText=function(e){this.text=e},Bidi.prototype.contextChecks={latinWordCheck:rr,arabicWordCheck:Zt,arabicSentenceCheck:Qt},Bidi.prototype.registerFeatures=function(e,t){var r=this,n=t.filter((function(t){return r.query.supports({script:e,tag:t})}));this.featuresTags.hasOwnProperty(e)?this.featuresTags[e]=this.featuresTags[e].concat(n):this.featuresTags[e]=n},Bidi.prototype.applyFeatures=function(e,t){if(!e)throw new Error("No valid font was provided to apply features");this.query||(this.query=new FeatureQuery(e));for(var r=0;r<t.length;r++){var n=t[r];this.query.supports({script:n.script})&&this.registerFeatures(n.script,n.tags)}},Bidi.prototype.registerModifier=function(e,t,r){this.tokenizer.registerModifier(e,t,r)},Bidi.prototype.checkContextReady=function(e){return!!this.tokenizer.getContext(e)},Bidi.prototype.applyFeaturesToContexts=function(){this.checkContextReady("arabicWord")&&(lr.call(this),pr.call(this)),this.checkContextReady("latinWord")&&cr.call(this),this.checkContextReady("arabicSentence")&&ir.call(this)},Bidi.prototype.processText=function(e){this.text&&this.text===e||(this.setText(e),sr.call(this),this.applyFeaturesToContexts())},Bidi.prototype.getBidiText=function(e){return this.processText(e),this.tokenizer.getText()},Bidi.prototype.getTextGlyphs=function(e){this.processText(e);for(var t=[],r=0;r<this.tokenizer.tokens.length;r++){var n=this.tokenizer.tokens[r];if(!n.state.deleted){var a=n.activeState.value;t.push(Array.isArray(a)?a[0]:a)}}return t},Font.prototype.hasChar=function(e){return null!==this.encoding.charToGlyphIndex(e)},Font.prototype.charToGlyphIndex=function(e){return this.encoding.charToGlyphIndex(e)},Font.prototype.charToGlyph=function(e){var t=this.charToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},Font.prototype.updateFeatures=function(e){return this.defaultRenderOptions.features.map((function(t){return"latn"===t.script?{script:"latn",tags:t.tags.filter((function(t){return e[t]}))}:t}))},Font.prototype.stringToGlyphs=function(e,t){var r=this,n=new Bidi;n.registerModifier("glyphIndex",null,(function(e){return r.charToGlyphIndex(e.char)}));var a=t?this.updateFeatures(t.features):this.defaultRenderOptions.features;n.applyFeatures(this,a);for(var o=n.getTextGlyphs(e),s=o.length,i=new Array(s),u=this.glyphs.get(0),l=0;l<s;l+=1)i[l]=this.glyphs.get(o[l])||u;return i},Font.prototype.nameToGlyphIndex=function(e){return this.glyphNames.nameToGlyphIndex(e)},Font.prototype.nameToGlyph=function(e){var t=this.nameToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},Font.prototype.glyphIndexToName=function(e){return this.glyphNames.glyphIndexToName?this.glyphNames.glyphIndexToName(e):""},Font.prototype.getKerningValue=function(e,t){e=e.index||e,t=t.index||t;var r=this.position.defaultKerningTables;return r?this.position.getKerningValue(r,e,t):this.kerningPairs[e+","+t]||0},Font.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},Font.prototype.forEachGlyph=function(e,t,r,n,a,o){t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:72,a=Object.assign({},this.defaultRenderOptions,a);var s,i=1/this.unitsPerEm*n,u=this.stringToGlyphs(e,a);if(a.kerning){var l=a.script||this.position.getDefaultScriptName();s=this.position.getKerningTables(l,a.language)}for(var p=0;p<u.length;p+=1){var c=u[p];if(o.call(this,c,t,r,n,a),c.advanceWidth&&(t+=c.advanceWidth*i),a.kerning&&p<u.length-1)t+=(s?this.position.getKerningValue(s,c.index,u[p+1].index):this.getKerningValue(c,u[p+1]))*i;a.letterSpacing?t+=a.letterSpacing*n:a.tracking&&(t+=a.tracking/1e3*n)}return t},Font.prototype.getPath=function(e,t,r,n,a){var o=new Path;return this.forEachGlyph(e,t,r,n,a,(function(e,t,r,n){var s=e.getPath(t,r,n,a,this);o.extend(s)})),o},Font.prototype.getPaths=function(e,t,r,n,a){var o=[];return this.forEachGlyph(e,t,r,n,a,(function(e,t,r,n){var s=e.getPath(t,r,n,a,this);o.push(s)})),o},Font.prototype.getAdvanceWidth=function(e,t,r){return this.forEachGlyph(e,0,0,t,r,(function(){}))},Font.prototype.draw=function(e,t,r,n,a,o){this.getPath(t,r,n,a,o).draw(e)},Font.prototype.drawPoints=function(e,t,r,n,a,o){this.forEachGlyph(t,r,n,a,o,(function(t,r,n,a){t.drawPoints(e,r,n,a)}))},Font.prototype.drawMetrics=function(e,t,r,n,a,o){this.forEachGlyph(t,r,n,a,o,(function(t,r,n,a){t.drawMetrics(e,r,n,a)}))},Font.prototype.getEnglishName=function(e){var t=this.names[e];if(t)return t.en},Font.prototype.validate=function(){var e=this;function t(t){var r=e.getEnglishName(t);r&&r.trim().length}t("fontFamily"),t("weightName"),t("manufacturer"),t("copyright"),t("version"),this.unitsPerEm},Font.prototype.toTables=function(){return ot.fontToTable(this)},Font.prototype.toBuffer=function(){return console.warn("Font.toBuffer is deprecated. Use Font.toArrayBuffer instead."),this.toArrayBuffer()},Font.prototype.toArrayBuffer=function(){for(var e=this.toTables().encode(),t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n<e.length;n++)r[n]=e[n];return t},Font.prototype.download=function(e){var t=this.getEnglishName("fontFamily"),n=this.getEnglishName("fontSubfamily");e=e||t.replace(/\s/g,"")+"-"+n+".otf";var a=this.toArrayBuffer();if("undefined"!=typeof window)if(window.URL=window.URL||window.webkitURL,window.URL){var o=new DataView(a),s=new Blob([o],{type:"font/opentype"}),i=document.createElement("a");i.href=window.URL.createObjectURL(s),i.download=e;var u=document.createEvent("MouseEvents");u.initEvent("click",!0,!1),i.dispatchEvent(u)}else console.warn("Font file could not be downloaded. Try using a different browser.");else{var l=r(46102),p=function(e){for(var t=new Buffer(e.byteLength),r=new Uint8Array(e),n=0;n<t.length;++n)t[n]=r[n];return t}(a);l.writeFileSync(e,p)}},Font.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512},Font.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9},Font.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};var mr={make:function(e,t){var r=new V.Table("fvar",[{name:"version",type:"ULONG",value:65536},{name:"offsetToData",type:"USHORT",value:0},{name:"countSizePairs",type:"USHORT",value:2},{name:"axisCount",type:"USHORT",value:e.axes.length},{name:"axisSize",type:"USHORT",value:20},{name:"instanceCount",type:"USHORT",value:e.instances.length},{name:"instanceSize",type:"USHORT",value:4+4*e.axes.length}]);r.offsetToData=r.sizeOf();for(var n=0;n<e.axes.length;n++)r.fields=r.fields.concat(fr(n,e.axes[n],t));for(var a=0;a<e.instances.length;a++)r.fields=r.fields.concat(gr(a,e.instances[a],e.axes,t));return r},parse:function(e,t,r){var n=new K.Parser(e,t),a=n.parseULong();O.argument(65536===a,"Unsupported fvar table version.");var o=n.parseOffset16();n.skip("uShort",1);for(var s=n.parseUShort(),i=n.parseUShort(),u=n.parseUShort(),l=n.parseUShort(),p=[],c=0;c<s;c++)p.push(dr(e,t+o+c*i,r));for(var h=[],f=t+o+s*i,d=0;d<u;d++)h.push(vr(e,f+d*l,p,r));return{axes:p,instances:h}}},yr=function(){return{coverage:this.parsePointer(Parser.coverage),attachPoints:this.parseList(Parser.pointer(Parser.uShortList))}},br=function(){var e=this.parseUShort();return O.argument(1===e||2===e||3===e,"Unsupported CaretValue table version."),1===e?{coordinate:this.parseShort()}:2===e?{pointindex:this.parseShort()}:3===e?{coordinate:this.parseShort()}:void 0},Sr=function(){return this.parseList(Parser.pointer(br))},xr=function(){return{coverage:this.parsePointer(Parser.coverage),ligGlyphs:this.parseList(Parser.pointer(Sr))}},Tr=function(){return this.parseUShort(),this.parseList(Parser.pointer(Parser.coverage))};var Pr={parse:function(e,t){var r=new Parser(e,t=t||0),n=r.parseVersion(1);O.argument(1===n||1.2===n||1.3===n,"Unsupported GDEF table version.");var a={version:n,classDef:r.parsePointer(Parser.classDef),attachList:r.parsePointer(yr),ligCaretList:r.parsePointer(xr),markAttachClassDef:r.parsePointer(Parser.classDef)};return n>=1.2&&(a.markGlyphSets=r.parsePointer(Tr)),a}},kr=new Array(10);kr[1]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{posFormat:1,coverage:this.parsePointer(Parser.coverage),value:this.parseValueRecord()}:2===t?{posFormat:2,coverage:this.parsePointer(Parser.coverage),values:this.parseValueRecordList()}:void O.assert(!1,"0x"+e.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},kr[2]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();O.assert(1===t||2===t,"0x"+e.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var r=this.parsePointer(Parser.coverage),n=this.parseUShort(),a=this.parseUShort();if(1===t)return{posFormat:t,coverage:r,valueFormat1:n,valueFormat2:a,pairSets:this.parseList(Parser.pointer(Parser.list((function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(n),value2:this.parseValueRecord(a)}}))))};if(2===t){var o=this.parsePointer(Parser.classDef),s=this.parsePointer(Parser.classDef),i=this.parseUShort(),u=this.parseUShort();return{posFormat:t,coverage:r,valueFormat1:n,valueFormat2:a,classDef1:o,classDef2:s,class1Count:i,class2Count:u,classRecords:this.parseList(i,Parser.list(u,(function(){return{value1:this.parseValueRecord(n),value2:this.parseValueRecord(a)}})))}}},kr[3]=function(){return{error:"GPOS Lookup 3 not supported"}},kr[4]=function(){return{error:"GPOS Lookup 4 not supported"}},kr[5]=function(){return{error:"GPOS Lookup 5 not supported"}},kr[6]=function(){return{error:"GPOS Lookup 6 not supported"}},kr[7]=function(){return{error:"GPOS Lookup 7 not supported"}},kr[8]=function(){return{error:"GPOS Lookup 8 not supported"}},kr[9]=function(){return{error:"GPOS Lookup 9 not supported"}};var Ur=new Array(10);var Rr={parse:function(e,t){var r=new Parser(e,t=t||0),n=r.parseVersion(1);return O.argument(1===n||1.1===n,"Unsupported GPOS table version "+n),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(kr)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(kr),variations:r.parseFeatureVariationsList()}},make:function(e){return new V.Table("GPOS",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new V.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new V.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new V.LookupList(e.lookups,Ur)}])}};var Or={parse:function(e,t){var r=new K.Parser(e,t),n=r.parseUShort();if(0===n)return function(e){var t={};e.skip("uShort");var r=e.parseUShort();O.argument(0===r,"Unsupported kern sub-table version."),e.skip("uShort",2);var n=e.parseUShort();e.skip("uShort",3);for(var a=0;a<n;a+=1){var o=e.parseUShort(),s=e.parseUShort(),i=e.parseShort();t[o+","+s]=i}return t}(r);if(1===n)return function(e){var t={};e.skip("uShort"),e.parseULong()>1&&console.warn("Only the first kern subtable is supported."),e.skip("uLong");var r=255&e.parseUShort();if(e.skip("uShort"),0===r){var n=e.parseUShort();e.skip("uShort",3);for(var a=0;a<n;a+=1){var o=e.parseUShort(),s=e.parseUShort(),i=e.parseShort();t[o+","+s]=i}}return t}(r);throw new Error("Unsupported kern table version ("+n+").")}};var Er={parse:function(e,t,r,n){for(var a=new K.Parser(e,t),o=n?a.parseUShort:a.parseULong,s=[],i=0;i<r+1;i+=1){var u=o.call(a);n&&(u*=2),s.push(u)}return s}};function Dr(e,t){r(46102).readFile(e,(function(e,r){if(e)return t(e.message);t(null,ct(r))}))}function Cr(e,t){var r=new XMLHttpRequest;r.open("get",e,!0),r.responseType="arraybuffer",r.onload=function(){return r.response?t(null,r.response):t("Font could not be loaded: "+r.statusText)},r.onerror=function(){t("Font could not be loaded")},r.send()}function Lr(e,t){for(var r=[],n=12,a=0;a<t;a+=1){var o=K.getTag(e,n),s=K.getULong(e,n+4),i=K.getULong(e,n+8),u=K.getULong(e,n+12);r.push({tag:o,checksum:s,offset:i,length:u,compression:!1}),n+=16}return r}function Mr(e,t){if("WOFF"===t.compression){var r=new Uint8Array(e.buffer,t.offset+2,t.compressedLength-2),n=new Uint8Array(t.length);if(P(r,n),n.byteLength!==t.length)throw new Error("Decompression error: "+t.tag+" decompressed length doesn't match recorded length");return{data:new DataView(n.buffer,0),offset:0}}return{data:e,offset:t.offset}}function Ir(e,t){var r,n;t=null==t?{}:t;var a,o,s,i,u,l,p,c,h,f,d,g,v,m=new Font({empty:!0}),y=new DataView(e,0),b=[],S=K.getTag(y,0);if(S===String.fromCharCode(0,1,0,0)||"true"===S||"typ1"===S)m.outlinesFormat="truetype",b=Lr(y,a=K.getUShort(y,4));else if("OTTO"===S)m.outlinesFormat="cff",b=Lr(y,a=K.getUShort(y,4));else{if("wOFF"!==S)throw new Error("Unsupported OpenType signature "+S);var x=K.getTag(y,4);if(x===String.fromCharCode(0,1,0,0))m.outlinesFormat="truetype";else{if("OTTO"!==x)throw new Error("Unsupported OpenType flavor "+S);m.outlinesFormat="cff"}b=function(e,t){for(var r=[],n=44,a=0;a<t;a+=1){var o=K.getTag(e,n),s=K.getULong(e,n+4),i=K.getULong(e,n+8),u=K.getULong(e,n+12),l=void 0;l=i<u&&"WOFF",r.push({tag:o,offset:s,compression:l,compressedLength:i,length:u}),n+=20}return r}(y,a=K.getUShort(y,12))}for(var T=0;T<a;T+=1){var P=b[T],k=void 0;switch(P.tag){case"cmap":k=Mr(y,P),m.tables.cmap=$.parse(k.data,k.offset),m.encoding=new CmapEncoding(m.tables.cmap);break;case"cvt ":k=Mr(y,P),v=new K.Parser(k.data,k.offset),m.tables.cvt=v.parseShortList(P.length/2);break;case"fvar":s=P;break;case"fpgm":k=Mr(y,P),v=new K.Parser(k.data,k.offset),m.tables.fpgm=v.parseByteList(P.length);break;case"head":k=Mr(y,P),m.tables.head=Oe.parse(k.data,k.offset),m.unitsPerEm=m.tables.head.unitsPerEm,r=m.tables.head.indexToLocFormat;break;case"hhea":k=Mr(y,P),m.tables.hhea=Ee.parse(k.data,k.offset),m.ascender=m.tables.hhea.ascender,m.descender=m.tables.hhea.descender,m.numberOfHMetrics=m.tables.hhea.numberOfHMetrics;break;case"hmtx":c=P;break;case"ltag":k=Mr(y,P),n=Ce.parse(k.data,k.offset);break;case"maxp":k=Mr(y,P),m.tables.maxp=Le.parse(k.data,k.offset),m.numGlyphs=m.tables.maxp.numGlyphs;break;case"name":d=P;break;case"OS/2":k=Mr(y,P),m.tables.os2=Xe.parse(k.data,k.offset);break;case"post":k=Mr(y,P),m.tables.post=Ye.parse(k.data,k.offset),m.glyphNames=new GlyphNames(m.tables.post);break;case"prep":k=Mr(y,P),v=new K.Parser(k.data,k.offset),m.tables.prep=v.parseByteList(P.length);break;case"glyf":i=P;break;case"loca":f=P;break;case"CFF ":o=P;break;case"kern":h=P;break;case"GDEF":u=P;break;case"GPOS":l=P;break;case"GSUB":p=P;break;case"meta":g=P}}var U=Mr(y,d);if(m.tables.name=Ve.parse(U.data,U.offset,n),m.names=m.tables.name,i&&f){var R=0===r,O=Mr(y,f),E=Er.parse(O.data,O.offset,m.numGlyphs,R),D=Mr(y,i);m.glyphs=Tt.parse(D.data,D.offset,E,m,t)}else{if(!o)throw new Error("Font doesn't contain TrueType or CFF outlines.");var C=Mr(y,o);Re.parse(C.data,C.offset,m,t)}var L=Mr(y,c);if(De.parse(m,L.data,L.offset,m.numberOfHMetrics,m.numGlyphs,m.glyphs,t),ae(m,t),h){var M=Mr(y,h);m.kerningPairs=Or.parse(M.data,M.offset)}else m.kerningPairs={};if(u){var I=Mr(y,u);m.tables.gdef=Pr.parse(I.data,I.offset)}if(l){var w=Mr(y,l);m.tables.gpos=Rr.parse(w.data,w.offset),m.position.init()}if(p){var F=Mr(y,p);m.tables.gsub=Ke.parse(F.data,F.offset)}if(s){var B=Mr(y,s);m.tables.fvar=mr.parse(B.data,B.offset,m.names)}if(g){var G=Mr(y,g);m.tables.meta=Je.parse(G.data,G.offset),m.metas=m.tables.meta}return m}function wr(e,t,r){r=null==r?{}:r;var n="undefined"==typeof window&&!r.isUrl?Dr:Cr;return new Promise((function(a,o){n(e,(function(e,n){if(e){if(t)return t(e);o(e)}var s;try{s=Ir(n,r)}catch(e){if(t)return t(e,null);o(e)}if(t)return t(null,s);a(s)}))}))}function Fr(e,t){return Ir(ct(r(46102).readFileSync(e)),t)}const Br=Object.freeze({__proto__:null,Font,Glyph,Path,BoundingBox,_parse:K,parse:Ir,load:wr,loadSync:Fr})}}]);
assets/js/4548.js ADDED
@@ -0,0 +1 @@
 
1
+ (globalThis.webpackChunkweb_stories_wp=globalThis.webpackChunkweb_stories_wp||[]).push([[4548],{58140:(e,t,n)=>{var r={"./12-hours-in-barcelona/index.js":[89506,6500],"./a-day-in-the-life/index.js":[45379,1858],"./ace-hotel-kyoto-review/index.js":[88317,9607],"./album-releases/index.js":[15257,7799],"./all-about-cars/index.js":[47036,6406],"./almodos-films/index.js":[20041,8],"./an-artists-legacy/index.js":[17425,2454],"./art-books-gift-guide/index.js":[46758,7346],"./baking-bread-guide/index.js":[88635,2880],"./beauty-quiz/index.js":[13479,3969],"./belly-fat-workout/index.js":[8705,8344],"./buying-art-on-the-internet/index.js":[48873,9700],"./celebrity-life-story/index.js":[26768,1231],"./celebrity-q-and-a/index.js":[11395,6428],"./diy-home-office/index.js":[15574,5312],"./doers-get-more-done/index.js":[95023,5535],"./elegant-travel-itinerary/index.js":[2639,5040],"./experience-thailand/index.js":[79816,9603],"./fashion-inspiration/index.js":[39314,8551],"./fashion-on-the-go/index.js":[59572,354],"./fitness-apps-ranked/index.js":[79391,7131],"./food-and-stuff/index.js":[18773,9811],"./fresh-and-bright/index.js":[46499,8257],"./google-music-studio-tour/index.js":[56813,7502],"./hawaii-travel-packing-list/index.js":[97733,410],"./honeymooning-in-italy/index.js":[34683,2338],"./house-hunting/index.js":[33175,5432],"./how-contact-tracing-works/index.js":[92687,6852],"./how-video-calls-saved-the-day/index.js":[11168,3245],"./indoor-garden-oasis/index.js":[77075,4142],"./kitchen-makeover/index.js":[85085,5835],"./kitchen-stories/index.js":[86854,5543],"./laptop-buying-guide/index.js":[21343,1738],"./los-angeles-city-guide/index.js":[69351,5157],"./magazine-article/index.js":[82817,3777],"./modernist-travel-guide/index.js":[35266,3710],"./new-york-party-round-up/index.js":[33591,824],"./no-days-off/index.js":[15274,1049],"./one-day-city-itinerary/index.js":[25653,7399],"./pizzas-in-nyc/index.js":[15084,3529],"./plant-based-dyes/index.js":[90413,7586],"./pride-month-watchlist/index.js":[58372,4386],"./rock-music-festival/index.js":[61547,6188],"./sangria-artichoke/index.js":[10438,1789],"./self-care-guide/index.js":[64559,8203],"./series-best-of/index.js":[59330,3441],"./simple-tech-tutorial/index.js":[65225,2068],"./skin-care-at-home/index.js":[40947,7343],"./sleep/index.js":[25869,7441],"./sports-quiz/index.js":[79568,3304],"./street-style-on-the-go/index.js":[60428,9591],"./summer-adventure-guide/index.js":[60069,6592],"./summer-fashion-collection/index.js":[36890,6517],"./sustainability-tips/index.js":[33994,9233],"./technology-advice/index.js":[88236,5748],"./tips-for-throwing-an-outdoor-luau/index.js":[3028,9288],"./tv-show-recap/index.js":[77981,274],"./ultimate-comparison/index.js":[48210,907],"./vintage-chairs-buying-guide/index.js":[17481,6841],"./ways-to-eat-avocado/index.js":[22651,7685],"./weekly-entertainment/index.js":[63621,3772]};function a(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],a=t[0];return n.e(t[1]).then((()=>n(a)))}a.keys=()=>Object.keys(r),a.id=58140,e.exports=a},24497:(e,t,n)=>{var r={"./12-hours-in-barcelona/metaData.js":[36237,6204],"./a-day-in-the-life/metaData.js":[68333,6353],"./ace-hotel-kyoto-review/metaData.js":[90709,2374],"./album-releases/metaData.js":[42678,7952],"./all-about-cars/metaData.js":[28274,3864],"./almodos-films/metaData.js":[96544,6305],"./an-artists-legacy/metaData.js":[52745,5372],"./art-books-gift-guide/metaData.js":[27208,9074],"./baking-bread-guide/metaData.js":[91180,5397],"./beauty-quiz/metaData.js":[17294,2776],"./belly-fat-workout/metaData.js":[73045,1813],"./buying-art-on-the-internet/metaData.js":[23789,8768],"./celebrity-life-story/metaData.js":[49077,1847],"./celebrity-q-and-a/metaData.js":[39458,9557],"./diy-home-office/metaData.js":[11536,7528],"./doers-get-more-done/metaData.js":[51080,3041],"./elegant-travel-itinerary/metaData.js":[90487,6053],"./experience-thailand/metaData.js":[77909,9302],"./fashion-inspiration/metaData.js":[179,884],"./fashion-on-the-go/metaData.js":[92688,6766],"./fitness-apps-ranked/metaData.js":[59247,5553],"./food-and-stuff/metaData.js":[55621,5016],"./fresh-and-bright/metaData.js":[78130,1970],"./google-music-studio-tour/metaData.js":[85541,6311],"./hawaii-travel-packing-list/metaData.js":[9771,4178],"./honeymooning-in-italy/metaData.js":[79428,7314],"./house-hunting/metaData.js":[47908,8022],"./how-contact-tracing-works/metaData.js":[27918,827],"./how-video-calls-saved-the-day/metaData.js":[44219,6641],"./indoor-garden-oasis/metaData.js":[1614,3194],"./kitchen-makeover/metaData.js":[11431,1340],"./kitchen-stories/metaData.js":[22833,2319],"./laptop-buying-guide/metaData.js":[66953,2167],"./los-angeles-city-guide/metaData.js":[59749,1380],"./magazine-article/metaData.js":[87067,2894],"./modernist-travel-guide/metaData.js":[49411,4874],"./new-york-party-round-up/metaData.js":[34645,2830],"./no-days-off/metaData.js":[74111,1403],"./one-day-city-itinerary/metaData.js":[19934,4585],"./pizzas-in-nyc/metaData.js":[93832,6271],"./plant-based-dyes/metaData.js":[23118,4051],"./pride-month-watchlist/metaData.js":[23428,8422],"./rock-music-festival/metaData.js":[91161,533],"./sangria-artichoke/metaData.js":[30295,3289],"./self-care-guide/metaData.js":[32449,1066],"./series-best-of/metaData.js":[40912,2246],"./simple-tech-tutorial/metaData.js":[70508,9738],"./skin-care-at-home/metaData.js":[79449,7863],"./sleep/metaData.js":[34893,8856],"./sports-quiz/metaData.js":[52695,2191],"./street-style-on-the-go/metaData.js":[32490,7798],"./summer-adventure-guide/metaData.js":[34156,2235],"./summer-fashion-collection/metaData.js":[8464,5573],"./sustainability-tips/metaData.js":[96274,2558],"./technology-advice/metaData.js":[78882,5570],"./tips-for-throwing-an-outdoor-luau/metaData.js":[30025,7588],"./tv-show-recap/metaData.js":[46136,8189],"./ultimate-comparison/metaData.js":[87361,9375],"./vintage-chairs-buying-guide/metaData.js":[46639,6539],"./ways-to-eat-avocado/metaData.js":[93020,9393],"./weekly-entertainment/metaData.js":[18263,69]};function a(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],a=t[0];return n.e(t[1]).then((()=>n(a)))}a.keys=()=>Object.keys(r),a.id=24497,e.exports=a},33536:(e,t,n)=>{"use strict";n.d(t,{DATA_VERSION:()=>at,migrate:()=>ot});const r=function(e){return{pages:e}},a=1080/412,o=1920/732;function s(e){let{elements:t,...n}=e;return{elements:t.map(i),...n}}function i(e){let{x:t,y:n,width:r,height:s,fontSize:i,...c}=e;const l={x:u(t*a),y:u(n*o),width:u(r*a),height:u(s*o),...c};return"number"==typeof i&&(l.fontSize=u(i*o)),l}function u(e){return Number(e.toFixed(0))}const c=function(e){let{pages:t,...n}=e;return{pages:t.map(s),...n}};function l(e){let{elements:t,...n}=e;return{elements:t.map(p),...n}}function p(e){let{isFullbleed:t,...n}=e;return{isFill:t,...n}}const d=function(e){let{pages:t,...n}=e;return{pages:t.map(l),...n}};function m(e){let{elements:t,...n}=e;return{elements:t.map(g),...n}}function g(e){let{type:t,...n}=e;return{type:"square"===t?"shape":t,...n}}const f=function(e){let{pages:t,...n}=e;return{pages:t.map(m),...n}};function h(e){let{elements:t,...n}=e;return{elements:t.map(y),...n}}function y(e){if("image"===e.type){const{src:t,origRatio:n,width:r,height:a,mimeType:o,...s}=e;return{resource:{type:"image",src:t,width:r,height:a,mimeType:o},width:r,height:a,...s}}if("video"===e.type){const{src:t,origRatio:n,poster:r,posterId:a,videoId:o,mimeType:s,width:i,height:u,...c}=e;return{resource:{type:"video",src:t,width:i,height:u,poster:r,posterId:a,videoId:o,mimeType:s},width:i,height:u,...c}}return e}const b=function(e){let{pages:t,...n}=e;return{pages:t.map(h),...n}};function j(e){let{elements:t,...n}=e;return{elements:t.map(k),...n}}function k(e){let{opacity:t,...n}=e;return{opacity:t||100,...n}}const v=function(e){let{pages:t,...n}=e;return{pages:t.map(j),...n}};var x=n(84967);function w(e){let{elements:t,backgroundColor:n,...r}=e;return{elements:t.map(D),backgroundColor:z(n),...r}}function D(e){const t={...e};return Object.prototype.hasOwnProperty.call(e,"color")&&(t.color=z(t.color)),Object.prototype.hasOwnProperty.call(e,"backgroundColor")&&(t.backgroundColor=z(t.backgroundColor)),t}function z(e){if(!e||"transparent"===e)return null;const{red:t,green:n,blue:r,alpha:a=1}=(0,x.parseToRgb)(e);return 1===a?{color:{r:t,g:n,b:r}}:{color:{r:t,g:n,b:r,a}}}const _=function(e){let{pages:t,...n}=e;return{pages:t.map(w),...n}};function A(e){let{elements:t,...n}=e;return{elements:t.map(O),...n}}function O(e){let{flip:t,...n}=e;return{flip:t||{horizontal:!1,vertical:!1},...n}}const E=function(e){let{pages:t,...n}=e;return{pages:t.map(A),...n}};function S(e){let{elements:t,...n}=e;return{elements:t.map(T),...n}}function T(e){let{padding:t,type:n,...r}=e;if("text"!==n)return{type:n,...r};if(t&&Object.prototype.hasOwnProperty.call(t,"vertical")&&Object.prototype.hasOwnProperty.call(t,"horizontal"))return{type:n,padding:t,...r};const a=t||0;return{padding:{horizontal:a,vertical:a},type:n,...r}}const C=function(e){let{pages:t,...n}=e;return{pages:t.map(S),...n}};var N=n(44586);function I(e){let{elements:t,backgroundElementId:n,backgroundColor:r,...a}=e;if(!n){const e={type:"shape",x:270*Math.random(),y:270*Math.random(),width:360,height:360,rotationAngle:0,mask:{type:"rectangle"},flip:{vertical:!1,horizontal:!1},isBackground:!0,backgroundColor:r||{color:{r:255,g:255,b:255,a:1}},id:(0,N.default)()};t.unshift(e),n=e.id}return{backgroundElementId:n,elements:t,...a}}const M=function(e){let{pages:t,...n}=e;return{pages:t.map(I),...n}},P=Math.min(440/1080,.34375);function B(e){let{elements:t,...n}=e;return{elements:t.map($),...n}}function $(e){let{x:t,y:n,width:r,height:a,fontSize:o,padding:s,...i}=e;const u={x:R(t*P),y:R(n*P),width:R(r*P),height:R(a*P),...i};if("number"==typeof o&&(u.fontSize=R(o*P)),s){const{horizontal:e,vertical:t}=s;u.padding={horizontal:R(e*P),vertical:R(t*P)}}return u}function R(e){return Number(e.toFixed(0))}const F=function(e){let{pages:t,...n}=e;return{pages:t.map(B),...n}};const L=function(e){let{autoAdvance:t,defaultPageDuration:n,...r}=e;return{autoAdvance:void 0===t||t,defaultPageDuration:"number"==typeof n?n:7,...r}};function q(e){let{elements:t,...n}=e;return{elements:t.map(U),...n}}function U(e){const{type:t}=e;if("text"===t){const{backgroundColor:t}=e;return{backgroundTextMode:t&&"transparent"!==t?"FILL":"NONE",...e}}return e}const W=function(e){let{pages:t,...n}=e;return{pages:t.map(q),...n}};function G(e){let{elements:t,...n}=e;return{elements:t.map(V),...n}}function V(e){return e.resource&&"videoId"in e.resource&&(e.resource.id=e.resource.videoId,delete e.resource.videoId),e}const H=function(e){let{pages:t,...n}=e;return{pages:t.map(G),...n}};function J(e){let{elements:t,...n}=e;return{elements:t.map(K),...n}}function K(e){return e.link?.type&&delete e.link.type,e}const Q=function(e){let{pages:t,...n}=e;return{pages:t.map(J),...n}};function X(e){let{elements:t,...n}=e;return{elements:t.map(Z),...n}}const Y=["Arial","Arial Black","Arial Narrow","Baskerville","Brush Script MT","Copperplate","Courier New","Century Gothic","Garamond","Georgia","Gill Sans","Lucida Bright","Lucida Sans Typewriter","Palatino","Papyrus","Tahoma","Times New Roman","Trebuchet MS","Verdana"];function Z(e){let{type:t,fontFamily:n,fontFallback:r,...a}=e;if("text"!==t)return{type:t,...a};return{font:{service:Y.includes(n)?"system":"fonts.google.com",family:n,fallbacks:r},type:t,...a}}const ee=function(e){let{pages:t,...n}=e;return{pages:t.map(X),...n}};function te(e){let{elements:t,...n}=e;return{elements:t.map(ne),...n}}function ne(e){return void 0!==e.isFullbleedBackground&&delete e.isFullbleedBackground,e}const re=function(e){let{pages:t,...n}=e;return{pages:t.map(te),...n}};function ae(e){let{elements:t,...n}=e;return{elements:t.map(oe),...n}}function oe(e){return"text"===e.type?function(e){let{bold:t,fontWeight:n,fontStyle:r,textDecoration:a,letterSpacing:o,color:s,content:i,...u}=e;const c=[i].map((e=>function(e,t,n){const r="number"==typeof n&&400!==n?n:!0===t?700:null;if(r){return ue(se(e,"strong"),`font-weight: ${r}`)}return ie(e,"strong","font-weight: 700")}(e,t,n))).map((e=>function(e,t){const n="font-style: italic";if("italic"===t&&t){return ue(se(e,"em"),n)}return ie(e,"em",n)}(e,r))).map((e=>function(e,t){const n="text-decoration: underline";if("underline"===t&&t){return ue(se(e,"u"),n)}return ie(e,"u",n)}(e,a))).map((e=>function(e,t){if(!t)return e;const{color:{r:n,g:r,b:a,a:o=1}}=t;return ue(e,`color: rgba(${n}, ${r}, ${a}, ${o})`)}(e,s))).map((e=>function(e,t){if(!t)return e;return ue(e,`letter-spacing: ${t/100}em`)}(e,o))).pop();return{...u,content:c}}(e):e}function se(e,t){return e.replace(new RegExp(`</?${t}>`,"gi"),"")}function ie(e,t,n){return e.replace(new RegExp(`<${t}>`,"gi"),`<span style="${n}">`).replace(new RegExp(`</${t}>`,"gi"),"</span>")}function ue(e,t){return`<span style="${t}">${e}</span>`}const ce=function(e){let{pages:t,...n}=e;return{pages:t.map(ae),...n}};function le(e){let{elements:t,backgroundElementId:n,...r}=e;const a=t[0];let o={};return"shape"===a.type?a.isDefaultBackground=!0:o={defaultBackgroundElement:{type:"shape",x:1,y:1,width:1,height:1,rotationAngle:0,mask:{type:"rectangle"},backgroundColor:{color:{r:255,g:255,b:255,a:1}},isBackground:!0,isDefaultBackground:!0,id:(0,N.default)()}},{elements:t,...r,...o}}const pe=function(e){let{pages:t,...n}=e;return{pages:t.map(le),...n}};function de(e){let{elements:t,...n}=e;return{elements:t.map(me),...n}}function me(e){const{backgroundColor:t}=e;return"conic"!==t?.type?e:{...e,backgroundColor:{...t,type:"linear"}}}const ge=function(e){let{pages:t,...n}=e;return{pages:t.map(de),...n}};function fe(e){let{elements:t,...n}=e;return{elements:t.map(he),...n}}function he(e){let{isFill:t,...n}=e;return t?{...n,x:0,y:-61.111111111111086,width:440,height:782.2222222222222,rotationAngle:0}:n}const ye=function(e){let{pages:t,...n}=e;return{pages:t.map(fe),...n}};function be(e){const{elements:t,defaultBackgroundElement:n}=e,r=t[0]?.isDefaultBackground?t[0].backgroundColor:n?.backgroundColor;return{...e,backgroundColor:r||{type:"solid",color:{r:255,g:255,b:255}}}}const je=function(e){let{pages:t,...n}=e;return{pages:t.map(be),...n}},ke=Math.min(412/440,618/660);function ve(e){let{elements:t,...n}=e;return{elements:t.map(xe),...n}}function xe(e){let{x:t,y:n,width:r,height:a,fontSize:o,padding:s,...i}=e;const u={x:we(t*ke),y:we(n*ke),width:we(r*ke),height:we(a*ke),...i};if("number"==typeof o&&(u.fontSize=we(o*ke)),s){const{horizontal:e,vertical:t}=s;u.padding={horizontal:we(e*ke),vertical:we(t*ke)}}return u}function we(e){return Number(e.toFixed(0))}function De(e){let{elements:t,backgroundOverlay:n,...r}=e;const a=n&&["solid","linear","radial"].includes(n),o=t[0],s=["image","video"].includes(o?.type);return a&&s?{elements:[{...o,backgroundOverlay:ze(n)},...t.slice(1)],...r}:{elements:t,...r}}function ze(e){switch(e){case"solid":return{color:{r:0,g:0,b:0,a:.3}};case"linear":return{type:"linear",rotation:0,stops:[{color:{r:0,g:0,b:0,a:0},position:.4},{color:{r:0,g:0,b:0,a:1},position:1}],alpha:.9};case"radial":return{type:"radial",size:{w:.8,h:.5},stops:[{color:{r:0,g:0,b:0,a:0},position:.25},{color:{r:0,g:0,b:0,a:1},position:1}],alpha:.6};default:return null}}function _e(e){let{elements:t,...n}=e;return{elements:t.map(Ae),...n}}function Ae(e){return e?.mask?.type&&e?.mask?.type.startsWith("blob-")&&(e.mask.type="blob"),e}function Oe(e){let{animations:t,...n}=e;return{animations:(t||[]).reduce(Ee,[]),...n}}function Ee(e,t){const{targets:n,id:r,...a}=t;return n.map(((t,n)=>{e.push({id:0===n?r:(0,N.default)(),targets:[t],...a})})),e}function Se(e){let{elements:t,...n}=e;return{elements:t.map(Te),...n}}function Te(e){return void 0!==e.backgroundOverlay&&(e.overlay=e.backgroundOverlay,delete e.backgroundOverlay),e}function Ce(e){let{elements:t,...n}=e;return{elements:t.map(Ne),...n}}function Ne(e){if("video"===e.type&&e.resource&&e.resource?.lengthFormatted&&!e.resource?.length){const t=e.resource.lengthFormatted.split(":").map(Number);if(2===t.length){const[n,r]=t,a=60*n+r;e.resource.length=a}else if(3===t.length){const[n,r,a]=t,o=3600*n+60*r+a;e.resource.length=o}}return e}function Ie(e){let{elements:t,...n}=e;return{elements:t.map(Me),...n}}function Me(e){if("video"===e.type&&e.resource?.id){e.resource.id.toString().startsWith("media/coverr")&&(e.resource.isOptimized=!0)}return e}function Pe(e){let{elements:t,...n}=e;return{elements:t.map(Be),...n}}function Be(e){return"gif"===e.type&&e.resource?(e.resource.isOptimized=!0,e.resource.id||(e.resource.id=e.resource.alt),e.resource.posterId||(e.resource.posterId=e.resource.alt),e.resource.output?.poster&&(e.resource.poster=e.resource.output.poster,delete e.resource.output.poster),e.resource.output.sizes&&delete e.resource.output?.sizes,e):e}function $e(e){let{elements:t,...n}=e;return{elements:t.map(Re),...n}}function Re(e){if("video"===e.type&&e.resource?.id){e.resource.id.toString().startsWith("media/coverr")&&(e.resource.isMuted=!0)}return e}function v0031_normalizeResourceSizes_reducePage(e){let{elements:t,...n}=e;return{elements:t.map(v0031_normalizeResourceSizes_updateElement),...n}}function v0031_normalizeResourceSizes_updateElement(e){if(e.resource&&(e.resource.width=Number(e.resource.width),e.resource.height=Number(e.resource.height),e.resource.sizes))for(const t of Object.keys(e.resource.sizes)){const n=e.resource.sizes[t];e.resource.sizes[t]={...n,width:Number(n.width),height:Number(n.height)}}return e}function Fe(e){const{pageAttachment:t}=e;if(!t)return e;const{theme:n}=t;return{...e,pageAttachment:{...t,theme:n??"light"}}}function Le(e){let{elements:t,...n}=e;return{elements:t.map(qe),...n}}function qe(e){return e.resource?.title&&delete e.resource?.title,e}function Ue(e){let{elements:t,overlay:n,...r}=e;return{elements:t.map(We),...r}}function We(e){return e.isDefaultBackground&&delete e.backgroundColor,e}function Ge(e){let{elements:t,...n}=e;return{elements:t.map(Ve),...n}}function Ve(e){if(e?.resource)if(e.resource?.id){const t=e.resource.id.toString().startsWith("media/");e.resource.isExternal=t}else e.resource.isExternal=!0;return e}function He(e){let{elements:t,...n}=e;return{elements:t.map(Je),...n}}function Je(e){var t;return Array.isArray(e?.resource?.baseColor)&&(e.resource.baseColor=(t=e?.resource?.baseColor,`#${t.map((e=>e.toString(16))).map((e=>e.padStart(2,"0"))).join("")}`)),e}function Ke(e){let{elements:t,...n}=e;return{elements:t.map(Qe),...n}}function Qe(e){return e.resource?(delete e.resource.local,delete e.resource.isTrimming,delete e.resource.isTranscoding,delete e.resource.isMuting,e):e}function Xe(e){let{elements:t,...n}=e;return{elements:t.map(Ye),...n}}function Ye(e){if(e?.resource?.sizes)for(const[n,r]of Object.entries(e.resource.sizes))e.resource.sizes[n]=(t=r,Object.entries(t).reduce(((e,t)=>{let[n,r]=t;return e[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("_")||e.includes("-")?e.toLowerCase().replace(/([a-z])([_|-][a-z])/g,((e,t,n)=>t+n.toUpperCase().replace("_","").replace("-",""))):e}(n)]=r,e}),{}));var t;return e}function Ze(e){return e?.backgroundAudio&&(e.backgroundAudio={resource:e?.backgroundAudio,loop:!0,tracks:[]}),e}function et(e){let{elements:t,...n}=e;return{elements:t.map(nt),...n}}const tt={family:"Andada Pro",fallbacks:["serif"],weights:[400,500,600,700,800],styles:["regular","italic"],variants:[[0,400],[0,500],[0,600],[0,700],[0,800],[1,400],[1,500],[1,600],[1,700],[1,800]],service:"fonts.google.com",metrics:{upm:1e3,asc:942,des:-235,tAsc:942,tDes:-235,tLGap:0,wAsc:1100,wDes:390,xH:494,capH:705,yMin:-382,yMax:1068,hAsc:942,hDes:-235,lGap:0}};function nt(e){return"text"===e.type&&"Andada"===e?.font?.family&&(e.font={...e.font,...tt}),e}const rt={1:[r],2:[c],3:[d],4:[f,b],5:[v],6:[_],7:[E],8:[C],9:[M],10:[F],11:[L],12:[W],13:[H],14:[Q],15:[ee],16:[re],17:[ce],18:[pe],19:[ge],20:[ye],21:[je],22:[function(e){let{pages:t,...n}=e;return{pages:t.map(ve),...n}}],23:[function(e){let{pages:t,...n}=e;return{pages:t.map(De),...n}}],24:[function(e){let{pages:t,...n}=e;return{pages:t.map(_e),...n}}],25:[function(e){let{pages:t,...n}=e;return{pages:t.map(Oe),...n}}],26:[function(e){let{pages:t,...n}=e;return{pages:t.map(Se),...n}}],27:[function(e){let{pages:t,...n}=e;return{pages:t.map(Ce),...n}}],28:[function(e){let{pages:t,...n}=e;return{pages:t.map(Ie),...n}}],29:[function(e){let{pages:t,...n}=e;return{pages:t.map(Pe),...n}}],30:[function(e){let{pages:t,...n}=e;return{pages:t.map($e),...n}}],31:[function(e){let{pages:t,...n}=e;return{pages:t.map(v0031_normalizeResourceSizes_reducePage),...n}}],32:[function(e){let{pages:t,...n}=e;return{pages:t.map(Fe),...n}}],33:[function(e){let{pages:t,...n}=e;return{pages:t.map(Le),...n}}],34:[function(e){let{pages:t,...n}=e;return{pages:t.map(Ue),...n}}],35:[function(e){let{pages:t,...n}=e;return{pages:t.map(Ge),...n}}],36:[function(e){let{pages:t,...n}=e;return{pages:t.map(He),...n}}],37:[function(e){let{pages:t,...n}=e;return{pages:t.map(Ke),...n}}],38:[function(e){let{pages:t,...n}=e;return{pages:t.map(Xe),...n}}],39:[function(e){const t=function(e){e?.backgroundAudio&&(e.backgroundAudio={resource:e?.backgroundAudio});return e}(e),{pages:n,...r}=t;return{pages:n.map(Ze),...r}}],40:[function(e){let{pages:t,...n}=e;return{pages:t.map(et),...n}}]},at=Math.max.apply(null,Object.keys(rt).map(Number));function ot(e,t){let n=e;for(let e=t;e<at;e++){const t=rt[e+1];if(t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n=t[Number(e)](n))}return n}},67832:(e,t,n)=>{"use strict";n.d(t,{TEMPLATE_NAMES:()=>r});const r=["fresh-and-bright","food-and-stuff","doers-get-more-done","weekly-entertainment","fashion-on-the-go","no-days-off","experience-thailand","sleep","baking-bread-guide","sangria-artichoke","ways-to-eat-avocado","kitchen-stories","album-releases","almodos-films","pizzas-in-nyc","12-hours-in-barcelona","ultimate-comparison","fitness-apps-ranked","street-style-on-the-go","plant-based-dyes","indoor-garden-oasis","belly-fat-workout","tv-show-recap","pride-month-watchlist","honeymooning-in-italy","ace-hotel-kyoto-review","how-video-calls-saved-the-day","laptop-buying-guide","diy-home-office","kitchen-makeover","self-care-guide","rock-music-festival","celebrity-q-and-a","los-angeles-city-guide","hawaii-travel-packing-list","google-music-studio-tour","how-contact-tracing-works","summer-fashion-collection","buying-art-on-the-internet","house-hunting","new-york-party-round-up","a-day-in-the-life","elegant-travel-itinerary","modernist-travel-guide","simple-tech-tutorial","magazine-article","fashion-inspiration","skin-care-at-home","art-books-gift-guide","vintage-chairs-buying-guide","celebrity-life-story","series-best-of","summer-adventure-guide","one-day-city-itinerary","technology-advice","sustainability-tips","an-artists-legacy","tips-for-throwing-an-outdoor-luau","all-about-cars"]},16769:(e,t,n)=>{"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(24359),a=n(49925),o=n(67832);const __WEBPACK_DEFAULT_EXPORT__=async function(e){const t=(0,r.getTimeTracker)("load_templates"),s=await Promise.all(o.TEMPLATE_NAMES.map((t=>async function(e,t){const r=await n(58140)(`./${e}/index.js`),o={...r.default,pages:(r.default.pages||[]).map((e=>({...e,elements:e.elements?.map((e=>(e?.resource?.sizes&&(e.resource.sizes=[]),e?.resource?.src&&(e.resource.src=e.resource.src.replace("__WEB_STORIES_TEMPLATE_BASE_URL__/",t)),e?.resource?.poster&&(e.resource.poster=e.resource.poster.replace("__WEB_STORIES_TEMPLATE_BASE_URL__/",t)),e)))}))),postersByPage:r.default.pages.map(((e,n)=>{const a=`${t}images/templates/${r.default.slug}/posters/${n+1}`;return{webp:`${a}.webp`,png:`${a}.png`,type:r.default.pages[n].pageTemplateType}}))};return{...(0,a.migrate)(o,o.version),version:a.DATA_VERSION}}(t,e))));return t(),s}},30065:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e.join("-");const n=new Map;return function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];const s=t(a);if(void 0===n.get(s)){const t=e(...a);n.set(s,void 0===t?"IS_VOID":t)}if("IS_VOID"!==n.get(s))return n.get(s)}}n.d(t,{default:()=>r})}}]);
assets/js/7315.js ADDED
@@ -0,0 +1 @@
 
1
+ "use strict";(globalThis.webpackChunkweb_stories_wp=globalThis.webpackChunkweb_stories_wp||[]).push([[7315],{17445:(e,r,t)=>{t.d(r,{default:()=>f});var a=t(19013),n=t(13882);function f(e,r){(0,n.default)(2,arguments);var t=(0,a.default)(e),f=(0,a.default)(r),u=t.getTime()-f.getTime();return u>0?-1:u<0?1:u}},35173:(e,r,t)=>{t.d(r,{default:()=>k});var a=t(19013),n=t(13882);function f(e,r){(0,n.default)(2,arguments);var t=(0,a.default)(e),f=(0,a.default)(r),u=t.getTime()-f.getTime();return u<0?-1:u>0?1:u}function u(e,r){(0,n.default)(2,arguments);var t=(0,a.default)(e),f=(0,a.default)(r),u=t.getFullYear()-f.getFullYear(),o=t.getMonth()-f.getMonth();return 12*u+o}function o(e){(0,n.default)(1,arguments);var r=(0,a.default)(e);return r.setHours(23,59,59,999),r}function i(e){(0,n.default)(1,arguments);var r=(0,a.default)(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(23,59,59,999),r}function l(e){(0,n.default)(1,arguments);var r=(0,a.default)(e);return o(r).getTime()===i(r).getTime()}function d(e,r){(0,n.default)(2,arguments);var t,o=(0,a.default)(e),i=(0,a.default)(r),d=f(o,i),s=Math.abs(u(o,i));if(s<1)t=0;else{1===o.getMonth()&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-d*s);var c=f(o,i)===-d;l((0,a.default)(e))&&1===s&&1===f(e,i)&&(c=!1),t=d*(s-Number(c))}return 0===t?0:t}function s(e,r){return(0,n.default)(2,arguments),(0,a.default)(e).getTime()-(0,a.default)(r).getTime()}var c={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function h(e){return e?c[e]:c.trunc}function b(e,r,t){(0,n.default)(2,arguments);var a=s(e,r)/1e3;return h(null==t?void 0:t.roundingMethod)(a)}var g=t(4958),p=t(74385),v=t(24262),m=1440,y=43200;function w(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,n.default)(2,arguments);var u=t.locale||g.default;if(!u.formatDistance)throw new RangeError("locale must contain formatDistance property");var o=f(e,r);if(isNaN(o))throw new RangeError("Invalid time value");var i,l,s=(0,p.default)(t);s.addSuffix=Boolean(t.addSuffix),s.comparison=o,o>0?(i=(0,a.default)(r),l=(0,a.default)(e)):(i=(0,a.default)(e),l=(0,a.default)(r));var c,h=b(l,i),w=((0,v.default)(l)-(0,v.default)(i))/1e3,k=Math.round((h-w)/60);if(k<2)return t.includeSeconds?h<5?u.formatDistance("lessThanXSeconds",5,s):h<10?u.formatDistance("lessThanXSeconds",10,s):h<20?u.formatDistance("lessThanXSeconds",20,s):h<40?u.formatDistance("halfAMinute",null,s):h<60?u.formatDistance("lessThanXMinutes",1,s):u.formatDistance("xMinutes",1,s):0===k?u.formatDistance("lessThanXMinutes",1,s):u.formatDistance("xMinutes",k,s);if(k<45)return u.formatDistance("xMinutes",k,s);if(k<90)return u.formatDistance("aboutXHours",1,s);if(k<m){var D=Math.round(k/60);return u.formatDistance("aboutXHours",D,s)}if(k<2520)return u.formatDistance("xDays",1,s);if(k<y){var I=Math.round(k/m);return u.formatDistance("xDays",I,s)}if(k<86400)return c=Math.round(k/y),u.formatDistance("aboutXMonths",c,s);if((c=d(l,i))<12){var M=Math.round(k/y);return u.formatDistance("xMonths",M,s)}var _=c%12,x=Math.floor(c/12);return _<3?u.formatDistance("aboutXYears",x,s):_<9?u.formatDistance("overXYears",x,s):u.formatDistance("almostXYears",x+1,s)}function k(e,r){return(0,n.default)(1,arguments),w(e,Date.now(),r)}},42799:(e,r,t)=>{t.d(r,{default:()=>u});var a=t(19013),n=t(13882);function f(e){(0,n.default)(1,arguments);var r=(0,a.default)(e);return r.setHours(0,0,0,0),r}function u(e,r){(0,n.default)(2,arguments);var t=f(e),a=f(r);return t.getTime()===a.getTime()}},51085:(e,r,t)=>{t.d(r,{default:()=>f});var a=t(42799),n=t(13882);function f(e){return(0,n.default)(1,arguments),(0,a.default)(e,Date.now())}},55965:(e,r,t)=>{t.d(r,{default:()=>l});var a=t(42799),n=t(83946),f=t(19013),u=t(13882);function o(e,r){(0,u.default)(2,arguments);var t=(0,f.default)(e),a=(0,n.default)(r);return isNaN(a)?new Date(NaN):a?(t.setDate(t.getDate()+a),t):t}function i(e,r){(0,u.default)(2,arguments);var t=(0,n.default)(r);return o(e,-t)}function l(e){return(0,u.default)(1,arguments),(0,a.default)(e,i(Date.now(),1))}},55648:(e,r,t)=>{t.d(r,{createHashHistory:()=>i});var a,n=t(87462);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));var f=function(e){return e};var u="beforeunload",o="popstate";function i(e){void 0===e&&(e={});var r=e.window,t=void 0===r?document.defaultView:r,i=t.history;function b(){var e=h(t.location.hash.substr(1)),r=e.pathname,a=void 0===r?"/":r,n=e.search,u=void 0===n?"":n,o=e.hash,l=void 0===o?"":o,d=i.state||{};return[d.idx,f({pathname:a,search:u,hash:l,state:d.usr||null,key:d.key||"default"})]}var g=null;function p(){if(g)D.call(g),g=null;else{var e=a.Pop,r=b(),t=r[0],n=r[1];if(D.length){if(null!=t){var f=y-t;f&&(g={action:e,location:n,retry:function(){E(-1*f)}},E(f))}}else T(e)}}t.addEventListener(o,p),t.addEventListener("hashchange",(function(){c(b()[1])!==c(w)&&p()}));var v=a.Pop,m=b(),y=m[0],w=m[1],k=d(),D=d();function I(e){return function(){var e=document.querySelector("base"),r="";if(e&&e.getAttribute("href")){var a=t.location.href,n=a.indexOf("#");r=-1===n?a:a.slice(0,n)}return r}()+"#"+("string"==typeof e?e:c(e))}function M(e,r){return void 0===r&&(r=null),f((0,n.default)({pathname:w.pathname,hash:"",search:""},"string"==typeof e?h(e):e,{state:r,key:s()}))}function _(e,r){return[{usr:e.state,key:e.key,idx:r},I(e)]}function x(e,r,t){return!D.length||(D.call({action:e,location:r,retry:t}),!1)}function T(e){v=e;var r=b();y=r[0],w=r[1],k.call({action:v,location:w})}function E(e){i.go(e)}null==y&&(y=0,i.replaceState((0,n.default)({},i.state,{idx:y}),""));var O={get action(){return v},get location(){return w},createHref:I,push:function e(r,n){var f=a.Push,u=M(r,n);if(x(f,u,(function(){e(r,n)}))){var o=_(u,y+1),l=o[0],d=o[1];try{i.pushState(l,"",d)}catch(e){t.location.assign(d)}T(f)}},replace:function e(r,t){var n=a.Replace,f=M(r,t);if(x(n,f,(function(){e(r,t)}))){var u=_(f,y),o=u[0],l=u[1];i.replaceState(o,"",l),T(n)}},go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(e){return k.push(e)},block:function(e){var r=D.push(e);return 1===D.length&&t.addEventListener(u,l),function(){r(),D.length||t.removeEventListener(u,l)}}};return O}function l(e){e.preventDefault(),e.returnValue=""}function d(){var e=[];return{get length(){return e.length},push:function(r){return e.push(r),function(){e=e.filter((function(e){return e!==r}))}},call:function(r){e.forEach((function(e){return e&&e(r)}))}}}function s(){return Math.random().toString(36).substr(2,8)}function c(e){var r=e.pathname,t=void 0===r?"/":r,a=e.search,n=void 0===a?"":a,f=e.hash,u=void 0===f?"":f;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),u&&"#"!==u&&(t+="#"===u.charAt(0)?u:"#"+u),t}function h(e){var r={};if(e){var t=e.indexOf("#");t>=0&&(r.hash=e.substr(t),e=e.substr(0,t));var a=e.indexOf("?");a>=0&&(r.search=e.substr(a),e=e.substr(0,a)),e&&(r.pathname=e)}return r}},84967:(e,r,t)=>{t.d(r,{parseToRgb:()=>y,rgba:()=>I});var a=t(97326),n=t(94578),f=t(52146);var u=function(e){function PolishedError(r){var t;return t=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,(0,a.default)(t)}return(0,n.default)(PolishedError,e),PolishedError}((0,f.default)(Error));function o(e){return Math.round(255*e)}function i(e,r,t){return o(e)+","+o(r)+","+o(t)}function l(e,r,t,a){if(void 0===a&&(a=i),0===r)return a(t,t,t);var n=(e%360+360)%360/60,f=(1-Math.abs(2*t-1))*r,u=f*(1-Math.abs(n%2-1)),o=0,l=0,d=0;n>=0&&n<1?(o=f,l=u):n>=1&&n<2?(o=u,l=f):n>=2&&n<3?(l=f,d=u):n>=3&&n<4?(l=u,d=f):n>=4&&n<5?(o=u,d=f):n>=5&&n<6&&(o=f,d=u);var s=t-f/2;return a(o+s,l+s,d+s)}var d={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var s=/^#[a-fA-F0-9]{6}$/,c=/^#[a-fA-F0-9]{8}$/,h=/^#[a-fA-F0-9]{3}$/,b=/^#[a-fA-F0-9]{4}$/,g=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,p=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,v=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,m=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function y(e){if("string"!=typeof e)throw new u(3);var r=function(e){if("string"!=typeof e)return e;var r=e.toLowerCase();return d[r]?"#"+d[r]:e}(e);if(r.match(s))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(c)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(h))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(b)){var a=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:a}}var n=g.exec(r);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var f=p.exec(r.substring(0,50));if(f)return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10),alpha:parseFloat(""+f[4])};var o=v.exec(r);if(o){var i="rgb("+l(parseInt(""+o[1],10),parseInt(""+o[2],10)/100,parseInt(""+o[3],10)/100)+")",y=g.exec(i);if(!y)throw new u(4,r,i);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10)}}var w=m.exec(r.substring(0,50));if(w){var k="rgb("+l(parseInt(""+w[1],10),parseInt(""+w[2],10)/100,parseInt(""+w[3],10)/100)+")",D=g.exec(k);if(!D)throw new u(4,r,k);return{red:parseInt(""+D[1],10),green:parseInt(""+D[2],10),blue:parseInt(""+D[3],10),alpha:parseFloat(""+w[4])}}throw new u(5)}var w=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function k(e){var r=e.toString(16);return 1===r.length?"0"+r:r}function D(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return w("#"+k(e)+k(r)+k(t));if("object"==typeof e&&void 0===r&&void 0===t)return w("#"+k(e.red)+k(e.green)+k(e.blue));throw new u(6)}function I(e,r,t,a){if("string"==typeof e&&"number"==typeof r){var n=y(e);return"rgba("+n.red+","+n.green+","+n.blue+","+r+")"}if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof a)return a>=1?D(e,r,t):"rgba("+e+","+r+","+t+","+a+")";if("object"==typeof e&&void 0===r&&void 0===t&&void 0===a)return e.alpha>=1?D(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new u(7)}},73935:(e,r,t)=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(64448)},67294:(e,r,t)=>{e.exports=t(72408)}}]);
assets/js/7912.js ADDED
@@ -0,0 +1 @@
 
1
+ (globalThis.webpackChunkweb_stories_wp=globalThis.webpackChunkweb_stories_wp||[]).push([[7912],{65197:(e,t,n)=>{"use strict";n.d(t,{default:()=>sprintf});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function sprintf(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(r,(function(){var e,r,i,o,a;return e=arguments[3],r=arguments[5],"%"===(o=arguments[9])?"%":("*"===(i=arguments[7])&&(i=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(a=t[0][r]):(void 0===e&&(e=n),n++,a=t[e-1]),"f"===o?a=parseFloat(a)||0:"d"===o&&(a=parseInt(a)||0),void 0!==i&&("f"===o?a=a.toFixed(i):"s"===o&&(a=a.substr(0,i))),null!=a?a:"")}))}},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},43832:(e,t)=>{var n;function Tokenizer(e,t){var n=[],r=0;function i(e){return n.push(e),t}function o(){return n[r++]}return{tokenize:function(t){return t.replace(e,i)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),o)}}}n=new function CSSJanus(){var e="(?:[0-9]*\\.[0-9]+|[0-9]+)",t="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",n="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",r="(?:[_a-z0-9-]|[^\\u0020-\\u007e]|"+n+")",i=e+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|[^\\u0020-\\u007e]|(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f]))(?:[_a-z0-9-]|[^\\u0020-\\u007e]|(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f]))*)?",o="((?:-?"+i+")|(?:inherit|auto))",a="(#?"+r+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",s="(?:[!#$%&*-~]|[^\\u0020-\\u007e]|"+n+")*?",u="(?!("+r+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'])*?{)",l="(?!"+s+"['\"]?\\s*\\))",c="(?="+s+"['\"]?\\s*\\))",f="(\\s*(?:!important\\s*)?[;}])",d=new RegExp("`TMP`","g"),p=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),h=new RegExp("("+t+u+"[^;}]+;?)","gi"),g=new RegExp("("+t+"[^\\}]*?})","gi"),v=new RegExp("(direction\\s*:\\s*)ltr","gi"),m=new RegExp("(direction\\s*:\\s*)rtl","gi"),y=new RegExp("(^|[^a-zA-Z])(left)(?![a-zA-Z])"+l+u,"gi"),b=new RegExp("(^|[^a-zA-Z])(right)(?![a-zA-Z])"+l+u,"gi"),w=new RegExp("(^|[^a-zA-Z])(left)"+c,"gi"),S=new RegExp("(^|[^a-zA-Z])(right)"+c,"gi"),E=new RegExp("(^|[^a-zA-Z])(ltr)"+c,"gi"),x=new RegExp("(^|[^a-zA-Z])(rtl)"+c,"gi"),_=new RegExp("(^|[^a-zA-Z])([ns]?)e-resize","gi"),k=new RegExp("(^|[^a-zA-Z])([ns]?)w-resize","gi"),C=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+o+"(\\s+)"+o+"(\\s+)"+o+"(\\s+)"+o+f,"gi"),O=new RegExp("((?:-color|border-style)\\s*:\\s*)"+a+"(\\s+)"+a+"(\\s+)"+a+"(\\s+)"+a+f,"gi"),M=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+i+")","gi"),D=new RegExp("(background-position-x\\s*:\\s*)(-?"+e+"%)","gi"),T=new RegExp("(border-radius\\s*:\\s*)"+o+"(?:(?:\\s+"+o+")(?:\\s+"+o+")?(?:\\s+"+o+")?)?(?:(?:(?:\\s*\\/\\s*)"+o+")(?:\\s+"+o+")?(?:\\s+"+o+")?(?:\\s+"+o+")?)?"+f,"gi"),I=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+o,"gi"),P=new RegExp("(text-shadow\\s*:\\s*)"+o+"(\\s*)"+a,"gi"),R=new RegExp("(text-shadow\\s*:\\s*)"+a+"(\\s*)"+o,"gi"),A=new RegExp("(text-shadow\\s*:\\s*)"+o,"gi"),N=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),L=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi");function B(e,t,n){var r,i;return"%"===n.slice(-1)&&(-1!==(r=n.indexOf("."))?(i=n.length-r-2,n=(n=100-parseFloat(n)).toFixed(i)+"%"):n=100-parseFloat(n)+"%"),t+n}function F(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function z(e,t){var n=[].slice.call(arguments),r=n.slice(2,6).filter((function(e){return e})),i=n.slice(6,10).filter((function(e){return e})),o=n[10]||"";return t+(i.length?F(r)+" / "+F(i):F(r))+o}function j(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function K(e,t,n){return t+j(n)}function U(e,t,n,r,i){return t+n+j(r)+i}function q(e,t,n,r,i){return t+n+r+j(i)}return{transform:function(e,t){var n=new Tokenizer(h,"`NOFLIP_SINGLE`"),r=new Tokenizer(g,"`NOFLIP_CLASS`"),i=new Tokenizer(p,"`COMMENT`");return e=i.tokenize(r.tokenize(n.tokenize(e.replace("`","%60")))),t.transformDirInUrl&&(e=e.replace(E,"$1`TMP`").replace(x,"$1ltr").replace(d,"rtl")),t.transformEdgeInUrl&&(e=e.replace(w,"$1`TMP`").replace(S,"$1left").replace(d,"right")),e=e.replace(v,"$1`TMP`").replace(m,"$1ltr").replace(d,"rtl").replace(y,"$1`TMP`").replace(b,"$1left").replace(d,"right").replace(_,"$1$2`TMP`").replace(k,"$1$2e-resize").replace(d,"w-resize").replace(T,z).replace(I,K).replace(P,q).replace(R,q).replace(A,K).replace(N,U).replace(L,U).replace(C,"$1$2$3$8$5$6$7$4$9").replace(O,"$1$2$3$8$5$6$7$4$9").replace(M,B).replace(D,B),e=n.detokenize(r.detokenize(i.detokenize(e)))}}},e.exports?t.transform=function(e,t,r){var i;return"object"==typeof t?i=t:(i={},"boolean"==typeof t&&(i.transformDirInUrl=t),"boolean"==typeof r&&(i.transformEdgeInUrl=r)),n.transform(e,i)}:"undefined"!=typeof window&&(window.cssjanus=n)},69853:(e,t,n)=>{"use strict";function r(e,t){var n=function(e){if(!o[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===t;o[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return o[e]}(t);return n.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],o=0;o<n.length;o++){var a=i[n[o].type];a>=0&&(r[a]=parseInt(n[o].value,10))}return r}(n,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(n,e)}n.d(t,{default:()=>u});var i={year:0,month:1,day:2,hour:3,minute:4,second:5};var o={};var a=36e5,s={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function u(e,t,n){var r,i,o;if(""===e)return 0;if(r=s.timezoneZ.exec(e))return 0;if(r=s.timezoneHH.exec(e))return c(o=parseInt(r[2],10))?(i=o*a,"+"===r[1]?-i:i):NaN;if(r=s.timezoneHHMM.exec(e)){o=parseInt(r[2],10);var u=parseInt(r[3],10);return c(o,u)?(i=o*a+6e4*u,"+"===r[1]?-i:i):NaN}if(function(e){if(f[e])return!0;try{return Intl.DateTimeFormat(void 0,{timeZone:e}),f[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var d=n?t:function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}(t),p=l(d,e),h=n?p:function(e,t,n){var r=e.getTime()-t,i=l(new Date(r),n);if(t===i)return t;r-=i-t;var o=l(new Date(r),n);if(i===o)return i;return Math.max(i,o)}(t,p,e);return-h}return NaN}function l(e,t){var n=r(e,t),i=Date.UTC(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5]),o=e.getTime(),a=o%1e3;return i-(o-=a>=0?a:1e3+a)}function c(e,t){return!(null!=t&&(t<0||t>59))}var f={}},69122:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/},58786:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(83285);function i(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){var n=e.formatToParts(t);return n[n.length-1].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)}var o=n(69853),a=6e4;function s(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function u(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+s(Math.floor(i/60),2)+n+s(i%60,2)}function l(e,t){return e%60==0?(e>0?"-":"+")+s(Math.abs(e)/60,2):u(e,t)}const c={X:function(e,t,n,r){var i=r._originalDate||e,s=r.timeZone?(0,o.default)(r.timeZone,i,!0)/a:i.getTimezoneOffset();if(0===s)return"Z";switch(t){case"X":return l(s);case"XXXX":case"XX":return u(s);default:return u(s,":")}},x:function(e,t,n,r){var i=r._originalDate||e,s=r.timeZone?(0,o.default)(r.timeZone,i,!0)/a:i.getTimezoneOffset();switch(t){case"x":return l(s);case"xxxx":case"xx":return u(s);default:return u(s,":")}},O:function(e,t,n,r){var i=r._originalDate||e,l=r.timeZone?(0,o.default)(r.timeZone,i,!0)/a:i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+s(o,2)}(l,":");default:return"GMT"+u(l,":")}},z:function(e,t,n,r){var o=r._originalDate||e;switch(t){case"z":case"zz":case"zzz":return i("short",o,r);default:return i("long",o,r)}}};var f=n(18444),d=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function p(e,t,n){var i=String(t),o=n||{},a=i.match(d);if(a){var s=(0,f.default)(e,o);i=a.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],i=e.replace(t,"'"+c[t[0]](s,t,null,o)+"'");return r?i.substring(0,n-1)+i.substring(n+1):i}),i)}return(0,r.default)(e,i,o)}},18444:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(83946),i=n(24262),o=n(69853),a=n(69122),s=36e5,u={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:a.default};function l(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},a=null==n.additionalDigits?2:(0,r.default)(n.additionalDigits);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var s=c(e),u=f(s.date,a),l=u.year,h=u.restDateString,g=d(h,l);if(isNaN(g))return new Date(NaN);if(g){var v,m=g.getTime(),y=0;if(s.time&&(y=p(s.time),isNaN(y)))return new Date(NaN);if(s.timeZone||n.timeZone){if(v=(0,o.default)(s.timeZone||n.timeZone,new Date(m+y)),isNaN(v))return new Date(NaN)}else v=(0,i.default)(new Date(m+y)),v=(0,i.default)(new Date(m+y+v));return new Date(m+y+v)}return new Date(NaN)}function c(e){var t,n={},r=u.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=u.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){var i=u.timeZone.exec(t);i?(n.time=t.replace(i[1],""),n.timeZone=i[1].trim()):n.time=t}return n}function f(e,t){var n,r=u.YYY[t],i=u.YYYYY[t];if(n=u.YYYY.exec(e)||i.exec(e)){var o=n[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(n=u.YY.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}function d(e,t){if(null===t)return null;var n,r,i,o;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=u.MM.exec(e))return r=new Date(0),y(t,i=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,i),r):new Date(NaN);if(n=u.DDD.exec(e)){r=new Date(0);var a=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=m(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,a)?(r.setUTCFullYear(t,0,a),r):new Date(NaN)}if(n=u.MMDD.exec(e)){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return y(t,i,s)?(r.setUTCFullYear(t,i,s),r):new Date(NaN)}if(n=u.Www.exec(e))return b(t,o=parseInt(n[1],10)-1)?h(t,o):new Date(NaN);if(n=u.WwwD.exec(e)){o=parseInt(n[1],10)-1;var l=parseInt(n[2],10)-1;return b(t,o,l)?h(t,o,l):new Date(NaN)}return null}function p(e){var t,n,r;if(t=u.HH.exec(e))return w(n=parseFloat(t[1].replace(",",".")))?n%24*s:NaN;if(t=u.HHMM.exec(e))return w(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*s+6e4*r:NaN;if(t=u.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return w(n,r,i)?n%24*s+6e4*r+1e3*i:NaN}return null}function h(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}var g=[31,28,31,30,31,30,31,31,30,31,30,31],v=[31,29,31,30,31,30,31,31,30,31,30,31];function m(e){return e%400==0||e%4==0&&e%100!=0}function y(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=m(e);if(r&&n>v[t])return!1;if(!r&&n>g[t])return!1}return!0}function b(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function w(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}},41036:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(74385),i=n(18444),o=n(69122),a=n(69853);function s(e,t,n){if("string"==typeof e&&!e.match(o.default)){var s=(0,r.default)(n);return s.timeZone=t,(0,i.default)(e,s)}var u=(0,i.default)(e,n),l=Date.UTC(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()),c=(0,a.default)(t,new Date(l));return new Date(l+c)}},74385:(e,t,n)=>{"use strict";function r(e){return function(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}({},e)}n.d(t,{default:()=>r})},24262:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{default:()=>r})},13882:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{default:()=>r})},83946:(e,t,n)=>{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{default:()=>r})},51820:(e,t,n)=>{"use strict";n.d(t,{default:()=>a});var r=n(83946),i=n(19013),o=n(13882);function a(e,t){(0,o.default)(2,arguments);var n=(0,i.default)(e).getTime(),a=(0,r.default)(t);return new Date(n+a)}},83285:(e,t,n)=>{"use strict";n.d(t,{default:()=>H});var r=n(49599),i=n(4958),o=n(83946),a=n(51820),s=n(13882);function u(e,t){(0,s.default)(2,arguments);var n=(0,o.default)(t);return(0,a.default)(e,-n)}var l=n(19013),c=864e5;function f(e){(0,s.default)(1,arguments);var t=1,n=(0,l.default)(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function d(e){(0,s.default)(1,arguments);var t=(0,l.default)(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=f(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=f(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function p(e){(0,s.default)(1,arguments);var t=d(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=f(n);return r}var h=6048e5;function g(e,t){(0,s.default)(1,arguments);var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:(0,o.default)(i),u=null==n.weekStartsOn?a:(0,o.default)(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=(0,l.default)(e),f=c.getUTCDay(),d=(f<u?7:0)+f-u;return c.setUTCDate(c.getUTCDate()-d),c.setUTCHours(0,0,0,0),c}function v(e,t){(0,s.default)(1,arguments);var n=(0,l.default)(e),r=n.getUTCFullYear(),i=t||{},a=i.locale,u=a&&a.options&&a.options.firstWeekContainsDate,c=null==u?1:(0,o.default)(u),f=null==i.firstWeekContainsDate?c:(0,o.default)(i.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(r+1,0,f),d.setUTCHours(0,0,0,0);var p=g(d,t),h=new Date(0);h.setUTCFullYear(r,0,f),h.setUTCHours(0,0,0,0);var v=g(h,t);return n.getTime()>=p.getTime()?r+1:n.getTime()>=v.getTime()?r:r-1}function m(e,t){(0,s.default)(1,arguments);var n=t||{},r=n.locale,i=r&&r.options&&r.options.firstWeekContainsDate,a=null==i?1:(0,o.default)(i),u=null==n.firstWeekContainsDate?a:(0,o.default)(n.firstWeekContainsDate),l=v(e,t),c=new Date(0);c.setUTCFullYear(l,0,u),c.setUTCHours(0,0,0,0);var f=g(c,t);return f}var y=6048e5;function b(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}const w={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return b("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):b(n+1,2)},d:function(e,t){return b(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return b(e.getUTCHours()%12||12,t.length)},H:function(e,t){return b(e.getUTCHours(),t.length)},m:function(e,t){return b(e.getUTCMinutes(),t.length)},s:function(e,t){return b(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return b(Math.floor(r*Math.pow(10,n-3)),t.length)}};var S="midnight",E="noon",x="morning",_="afternoon",k="evening",C="night";function O(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+b(o,2)}function M(e,t){return e%60==0?(e>0?"-":"+")+b(Math.abs(e)/60,2):D(e,t)}function D(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+b(Math.floor(i/60),2)+n+b(i%60,2)}const T={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return w.y(e,t)},Y:function(e,t,n,r){var i=v(e,r),o=i>0?i:1-i;return"YY"===t?b(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):b(o,t.length)},R:function(e,t){return b(d(e),t.length)},u:function(e,t){return b(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return b(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return b(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return w.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return b(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=function(e,t){(0,s.default)(1,arguments);var n=(0,l.default)(e),r=g(n,t).getTime()-m(n,t).getTime();return Math.round(r/y)+1}(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):b(i,t.length)},I:function(e,t,n){var r=function(e){(0,s.default)(1,arguments);var t=(0,l.default)(e),n=f(t).getTime()-p(t).getTime();return Math.round(n/h)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):b(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):w.d(e,t)},D:function(e,t,n){var r=function(e){(0,s.default)(1,arguments);var t=(0,l.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/c)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):b(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return b(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return b(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return b(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?E:0===i?S:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?k:i>=12?_:i>=4?x:C,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return w.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):w.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):b(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):b(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):w.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):w.s(e,t)},S:function(e,t){return w.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return M(i);case"XXXX":case"XX":return D(i);default:return D(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return M(i);case"xxxx":case"xx":return D(i);default:return D(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+O(i,":");default:return"GMT"+D(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+O(i,":");default:return"GMT"+D(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return b(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return b((r._originalDate||e).getTime(),t.length)}};function I(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function P(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}const R={p:P,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return I(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",I(i,t)).replace("{{time}}",P(o,t))}};var A=n(24262),N=["D","DD"],L=["YY","YYYY"];function B(e){return-1!==N.indexOf(e)}function F(e){return-1!==L.indexOf(e)}function z(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var j=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,U=/^'([^]*?)'?$/,q=/''/g,W=/[a-zA-Z]/;function H(e,t,n){(0,s.default)(2,arguments);var a=String(t),c=n||{},f=c.locale||i.default,d=f.options&&f.options.firstWeekContainsDate,p=null==d?1:(0,o.default)(d),h=null==c.firstWeekContainsDate?p:(0,o.default)(c.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=f.options&&f.options.weekStartsOn,v=null==g?0:(0,o.default)(g),m=null==c.weekStartsOn?v:(0,o.default)(c.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!f.localize)throw new RangeError("locale must contain localize property");if(!f.formatLong)throw new RangeError("locale must contain formatLong property");var y=(0,l.default)(e);if(!(0,r.default)(y))throw new RangeError("Invalid time value");var b=(0,A.default)(y),w=u(y,b),S={firstWeekContainsDate:h,weekStartsOn:m,locale:f,_originalDate:y},E=a.match(K).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,R[t])(e,f.formatLong,S):e})).join("").match(j).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return G(n);var i=T[r];if(i)return!c.useAdditionalWeekYearTokens&&F(n)&&z(n,t,e),!c.useAdditionalDayOfYearTokens&&B(n)&&z(n,t,e),i(w,n,f.localize,S);if(r.match(W))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return E}function G(e){return e.match(U)[1].replace(q,"'")}},30890:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(19013),i=n(13882);function o(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=t.getMonth(),a=new Date(0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()}},56491:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(19013),i=n(13882);function o(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear();return n%400==0||n%4==0&&n%100!=0}},49599:(e,t,n)=>{"use strict";n.d(t,{default:()=>a});var r=n(13882);function i(e){return(0,r.default)(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}var o=n(19013);function a(e){if((0,r.default)(1,arguments),!i(e)&&"number"!=typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))}},4958:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const i=function(e,t,n){var i,o=r[e];return i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return function(t,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=i.width?String(i.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,u=i.width?String(i.width):e.defaultWidth;r=e.values[u]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a,s=o[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(u)?f(u,(function(e){return e.test(s)})):c(u,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(l):l,a=n.valueCallback?n.valueCallback(a):a;var d=t.slice(s.length);return{value:a,rest:d}}}function c(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function f(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var d;const p={code:"en-US",formatDistance:i,formatLong:a,formatRelative:function(e,t,n,r){return s[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(d.matchPattern);if(!n)return null;var r=n[0],i=e.match(d.parsePattern);if(!i)return null;var o=d.valueCallback?d.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var a=e.slice(r.length);return{value:o,rest:a}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},19013:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(13882);function i(e){(0,r.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},20289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}},e.exports=t.default},16245:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=i.width?String(i.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,u=i.width?String(i.width):e.defaultWidth;r=e.values[u]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default},95927:(e,t)=>{"use strict";function n(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function r(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var u,l=s[0],c=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?r(c,(function(e){return e.test(l)})):n(c,(function(e){return e.test(l)}));u=e.valueCallback?e.valueCallback(f):f,u=i.valueCallback?i.valueCallback(u):u;var d=t.slice(l.length);return{value:u,rest:d}}},e.exports=t.default},78926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}},e.exports=t.default},71924:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(e,t,r){var i,o=n[e];return i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};t.default=r,e.exports=t.default},95062:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(20289))&&r.__esModule?r:{default:r};var o={date:(0,i.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=o,e.exports=t.default},5102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(e,t,r,i){return n[e]};t.default=r,e.exports=t.default},87839:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(16245))&&r.__esModule?r:{default:r};var o={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,i.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,i.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,i.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,i.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,i.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=o,e.exports=t.default},9796:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(95927));function i(e){return e&&e.__esModule?e:{default:e}}var o={ordinalNumber:(0,i(n(78926)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,r.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.default=o,e.exports=t.default},82512:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(71924)),i=u(n(95062)),o=u(n(5102)),a=u(n(87839)),s=u(n(9796));function u(e){return e&&e.__esModule?e:{default:e}}var l={code:"en-US",formatDistance:r.default,formatLong:i.default,formatRelative:o.default,localize:a.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=l,e.exports=t.default},46276:(e,t,n)=>{"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,{stateToHTML:()=>F});const u=function(e,t){if(null==e)return t;for(var n=s(t,2),i=n[0],a=n[1],u=o({},i),l=r(a),c=0,f=Object.keys(e);c<f.length;c++){var d=f[c];if(i.hasOwnProperty(d)){var p=i[d];u[d]=o({},p,{},e[d])}else u[d]=e[d],l.push(d)}return[u,l]};var l={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};const helpers_normalizeAttributes=function(e){if(null==e)return e;for(var t={},n=!1,r=0,i=Object.keys(e);r<i.length;r++){var o=i[r],a=o;l.hasOwnProperty(o)&&(a=l[o],n=!0),t[a]=e[o]}return n?t:e};var c=/^(moz|ms|o|webkit)-/,f=/^\d+$/,d=/([A-Z])/g,p={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const h=function(e){return Object.keys(e).map((function(t){var n=function(e,t){var n;return"string"==typeof t?n=f.test(t):(n=!0,t=String(t)),n&&"0"!==t&&!0!==p[e]?t+"px":t}(t,e[t]),r=function(e){return e.replace(d,"-$1").toLowerCase().replace(c,"-$1-")}(t);return"".concat(r,": ").concat(n)})).join("; ")};var g,v,m,y=n(25134);function b(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function stateToHTML_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=y.INLINE_STYLE.BOLD,k=y.INLINE_STYLE.CODE,C=y.INLINE_STYLE.ITALIC,O=y.INLINE_STYLE.STRIKETHROUGH,M=y.INLINE_STYLE.UNDERLINE,D="<br>",T=/^data-([a-z0-9-]+)$/,I=(x(g={},_,{element:"strong"}),x(g,k,{element:"code"}),x(g,C,{element:"em"}),x(g,O,{element:"del"}),x(g,M,{element:"u"}),g),P=[_,C,M,O,k],R=(x(v={},y.ENTITY_TYPE.LINK,{url:"href",href:"href",rel:"rel",target:"target",title:"title",className:"class"}),x(v,y.ENTITY_TYPE.IMAGE,{src:"src",height:"height",width:"width",alt:"alt",className:"class"}),v),A=(x(m={},y.ENTITY_TYPE.LINK,(function(e,t){for(var n=R.hasOwnProperty(e)?R[e]:{},r=t.getData(),i={},o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],u=r[s];if(n.hasOwnProperty(s))i[n[s]]=u;else T.test(s)&&(i[s]=u)}return i})),x(m,y.ENTITY_TYPE.IMAGE,(function(e,t){for(var n=R.hasOwnProperty(e)?R[e]:{},r=t.getData(),i={},o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],u=r[s];if(n.hasOwnProperty(s))i[n[s]]=u;else T.test(s)&&(i[s]=u)}return i})),m);function N(e,t){switch(e){case y.BLOCK_TYPE.HEADER_ONE:return["h1"];case y.BLOCK_TYPE.HEADER_TWO:return["h2"];case y.BLOCK_TYPE.HEADER_THREE:return["h3"];case y.BLOCK_TYPE.HEADER_FOUR:return["h4"];case y.BLOCK_TYPE.HEADER_FIVE:return["h5"];case y.BLOCK_TYPE.HEADER_SIX:return["h6"];case y.BLOCK_TYPE.UNORDERED_LIST_ITEM:case y.BLOCK_TYPE.ORDERED_LIST_ITEM:return["li"];case y.BLOCK_TYPE.BLOCKQUOTE:return["blockquote"];case y.BLOCK_TYPE.CODE:return["pre","code"];case y.BLOCK_TYPE.ATOMIC:return["figure"];default:return null===t?[]:[t||"p"]}}var L=function(){function MarkupGenerator(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,MarkupGenerator),x(this,"blocks",void 0),x(this,"contentState",void 0),x(this,"currentBlock",void 0),x(this,"indentLevel",void 0),x(this,"output",void 0),x(this,"totalBlocks",void 0),x(this,"wrapperTag",void 0),x(this,"options",void 0),x(this,"inlineStyles",void 0),x(this,"inlineStyleFn",void 0),x(this,"styleOrder",void 0),null==t&&(t={}),this.contentState=e,this.options=t;var n=S(u(t.inlineStyles,[I,P]),2),r=n[0],i=n[1];this.inlineStyles=r,this.inlineStyleFn=t.inlineStyleFn,this.styleOrder=i}var e,t,n;return e=MarkupGenerator,(t=[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlocksAsArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.indentLevel=0,this.wrapperTag=null;this.currentBlock<this.totalBlocks;)this.processBlock();return this.closeWrapperTag(),this.output.join("").trim()}},{key:"processBlock",value:function(){var e=this.options,t=e.blockRenderers,n=e.defaultBlockTag,r=this.blocks[this.currentBlock],i=r.getType(),o=function(e){switch(e){case y.BLOCK_TYPE.UNORDERED_LIST_ITEM:return"ul";case y.BLOCK_TYPE.ORDERED_LIST_ITEM:return"ol";default:return null}}(i);this.wrapperTag!==o&&(this.wrapperTag&&this.closeWrapperTag(),o&&this.openWrapperTag(o)),this.indent();var a=null!=t&&t.hasOwnProperty(i)?t[i]:null,s=a?a(r):null;if(null!=s)return this.output.push(s),this.output.push("\n"),void(this.currentBlock+=1);this.writeStartTag(r,n),this.output.push(this.renderBlockContent(r));var u=this.getNextBlock();if(function(e){switch(e){case y.BLOCK_TYPE.UNORDERED_LIST_ITEM:case y.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}(i)&&u&&u.getDepth()===r.getDepth()+1){this.output.push("\n");var l=this.wrapperTag;this.wrapperTag=null,this.indentLevel+=1,this.currentBlock+=1,this.processBlocksAtDepth(u.getDepth()),this.wrapperTag=l,this.indentLevel-=1,this.indent()}else this.currentBlock+=1;this.writeEndTag(r,n)}},{key:"processBlocksAtDepth",value:function(e){for(var t=this.blocks[this.currentBlock];t&&t.getDepth()===e;)this.processBlock(),t=this.blocks[this.currentBlock];this.closeWrapperTag()}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"writeStartTag",value:function(e,t){var n,r=N(e.getType(),t);if(this.options.blockStyleFn){var i=this.options.blockStyleFn(e)||{},o=i.attributes,a=i.style;if(o=helpers_normalizeAttributes(o),null!=a){var s=h(a);o=null==o?{style:s}:w({},o,{style:s})}n=B(o)}else n="";var u=!0,l=!1,c=void 0;try{for(var f,d=r[Symbol.iterator]();!(u=(f=d.next()).done);u=!0){var p=f.value;this.output.push("<".concat(p).concat(n,">"))}}catch(e){l=!0,c=e}finally{try{u||null==d.return||d.return()}finally{if(l)throw c}}}},{key:"writeEndTag",value:function(e,t){var n=N(e.getType(),t);if(1===n.length)this.output.push("</".concat(n[0],">\n"));else{var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;r.unshift("</".concat(l,">"))}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}this.output.push(r.join("")+"\n")}}},{key:"openWrapperTag",value:function(e){this.wrapperTag=e,this.indent(),this.output.push("<".concat(e,">\n")),this.indentLevel+=1}},{key:"closeWrapperTag",value:function(){var e=this.wrapperTag;e&&(this.indentLevel-=1,this.indent(),this.output.push("</".concat(e,">\n")),this.wrapperTag=null)}},{key:"indent",value:function(){this.output.push(" ".repeat(this.indentLevel))}},{key:"withCustomInlineStyles",value:function(e,t){if(!this.inlineStyleFn)return e;var n=this.inlineStyleFn(t);if(!n)return e;var r=n.element,i=void 0===r?"span":r,o=n.attributes,a=n.style,s=B(w({},o,{style:a&&h(a)}));return"<".concat(i).concat(s,">").concat(e,"</").concat(i,">")}},{key:"renderBlockContent",value:function(e){var t=this,n=e.getType(),r=e.getText();if(""===r)return D;r=this.preserveWhitespace(r);var i=e.getCharacterList();return(0,y.getEntityRanges)(r,i).map((function(e){var r,i=S(e,2),o=i[0],a=i[1].map((function(e){var r=S(e,2),i=r[0],o=r[1],a=function(e){return e.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split(" ").join("&nbsp;").split("\n").join("<br>\n")}(i),s=!0,u=!1,l=void 0;try{for(var c,f=t.styleOrder[Symbol.iterator]();!(s=(c=f.next()).done);s=!0){var d=c.value;if((d!==k||n!==y.BLOCK_TYPE.CODE)&&o.has(d)){var p=t.inlineStyles[d],g=p.element,v=p.attributes,m=p.style;if(null==g&&(g="span"),v=helpers_normalizeAttributes(v),null!=m){var b=h(m);v=null==v?{style:b}:w({},v,{style:b})}var E=B(v);a="<".concat(g).concat(E,">").concat(a,"</").concat(g,">")}}}catch(e){u=!0,l=e}finally{try{s||null==f.return||f.return()}finally{if(u)throw l}}return t.withCustomInlineStyles(a,o)})).join(""),s=o?t.contentState.getEntity(o):null,u=null==s?null:s.getType().toUpperCase();if(null!=s&&t.options.entityStyleFn&&(r=t.options.entityStyleFn(s))){var l=r,c=l.element,f=l.attributes,d=l.style;if(null==c&&(c="span"),f=helpers_normalizeAttributes(f),null!=d){var p=h(d);f=null==f?{style:p}:w({},f,{style:p})}var g=B(f);return"<".concat(c).concat(g,">").concat(a,"</").concat(c,">")}if(null!=u&&u===y.ENTITY_TYPE.LINK){var v=B(A.hasOwnProperty(u)?A[u](u,s):null);return"<a".concat(v,">").concat(a,"</a>")}if(null!=u&&u===y.ENTITY_TYPE.IMAGE){var m=B(A.hasOwnProperty(u)?A[u](u,s):null);return"<img".concat(m,"/>")}return a})).join("")}},{key:"preserveWhitespace",value:function(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)" "!==e[r]||0!==r&&r!==t-1&&" "!==e[r-1]?n[r]=e[r]:n[r]=" ";return n.join("")}}])&&E(e.prototype,t),n&&E(e,n),MarkupGenerator}();function B(e){if(null==e)return"";for(var t=[],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i];null!=o&&t.push(" ".concat(i,'="').concat((o+"").split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;"),'"'))}return t.join("")}function F(e,t){return new L(e,t).generate()}},19225:(e,t,n)=>{"use strict";function r(e,t,n){for(var r=e.text,o=e.characterMeta,a=t.length,s=n.length,u=[],l=o.slice(0,0),c=0,f=r.indexOf(t);-1!==f;)u.push(r.slice(c,f)+n),l=l.concat(o.slice(c,f),i(o.slice(f,f+1),s)),c=f+a,f=r.indexOf(t,c);return u.push(r.slice(c)),l=l.concat(o.slice(c)),{text:u.join(""),characterMeta:l}}function i(e,t){for(var n=e.slice(0,0);t-- >0;)n=n.concat(e);return n}n.d(t,{stateFromHTML:()=>I});var o=n(9041),a=n(43393),s=n(25134);var u={a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1,q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,var:1,video:1,wbr:1,acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1},l={area:1,base:1,br:1,col:1,colgroup:1,command:1,dl:1,embed:1,head:1,hgroup:1,hr:1,iframe:1,img:1,input:1,keygen:1,link:1,meta:1,ol:1,optgroup:1,option:1,param:1,script:1,select:1,source:1,style:1,table:1,tbody:1,textarea:1,tfoot:1,thead:1,title:1,tr:1,track:1,ul:1,wbr:1,basefont:1,dialog:1,dir:1,isindex:1},c={img:1};function f(e){return f="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},f(e)}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=/^data:/i,m=(0,a.OrderedSet)(),y=new o.ContentBlock({key:(0,o.genKey)(),text:"",type:s.BLOCK_TYPE.UNSTYLED,characterList:(0,a.List)(),depth:0}),b=/(\r\n|\r|\n)/g,w="\r",S=/^data-([a-z0-9-]+)$/,E={a:{href:"url",rel:"rel",target:"target",title:"title"},img:{src:"src",alt:"alt",width:"width",height:"height"}},x=function(e,t){var n={};if(E.hasOwnProperty(e))for(var r=E[e],i=0;i<t.attributes.length;i++){var o=t.attributes[i],a=o.name,s=o.value;if("string"==typeof s){var u=s;if(r.hasOwnProperty(a))n[r[a]]=u;else S.test(a)&&(n[a]=u)}}return n},_={a:function(e,t,n){var r,i=x(t,n);if(null!=(r=i.url)&&!r.match(v))return e.createEntity(s.ENTITY_TYPE.LINK,i)},img:function(e,t,n){var r=x(t,n);if(null!=r.src)return e.createEntity(s.ENTITY_TYPE.IMAGE,r)}},k=function(){function ContentGenerator(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(this,ContentGenerator),g(this,"contentStateForEntities",void 0),g(this,"blockStack",void 0),g(this,"blockList",void 0),g(this,"depth",void 0),g(this,"options",void 0),g(this,"inlineCreators",{Style:function(e){function Style(t){return e.apply(this,arguments)}return Style.toString=function(){return e.toString()},Style}((function(e){return{type:"STYLE",style:e}})),Entity:function Entity(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MUTABLE";return{type:"ENTITY",entityKey:e.createEntity(t,C(n),r)}}}),this.options=t,this.contentStateForEntities=o.ContentState.createFromBlockArray([]),this.blockStack=[],this.blockList=[],this.depth=0}var e,t,n;return e=ContentGenerator,t=[{key:"process",value:function(e){this.processBlockElement(e);var t=[];return this.blockList.forEach((function(e){var n=function(e){var t="",n=(0,a.Seq)();return e.forEach((function(e){t+=e.text,n=n.concat(e.characterMeta)})),{text:t,characterMeta:n}}(e.textFragments),i=n.text,s=n.characterMeta,u=!1;if(i===w&&(u=!0,i=""),"pre"===e.tagName){var l=function(e,t){return"\n"===e.charAt(0)&&(e=e.slice(1),t=t.slice(1)),{text:e,characterMeta:t}}(i,s);i=l.text,s=l.characterMeta}else{var c=function(e,t){var n=function(e,t){for(;" "===e.charAt(0);)e=e.slice(1),t=t.slice(1);return{text:e,characterMeta:t}}(e=e.replace(/[ \t\n]/g," "),t);e=n.text,t=n.characterMeta;var i=function(e,t){for(;" "===e.slice(-1);)e=e.slice(0,-1),t=t.slice(0,-1);return{text:e,characterMeta:t}}(e,t);e=i.text,t=i.characterMeta;for(var o=e.length;o--;)" "===e.charAt(o)&&" "===e.charAt(o-1)&&(e=e.slice(0,o)+e.slice(o+1),t=t.slice(0,o).concat(t.slice(o+1)));var a=r({text:e,characterMeta:t},"\r ",w);e=a.text,t=a.characterMeta;var s=r({text:e,characterMeta:t}," \r",w);return e=s.text,t=s.characterMeta,{text:e,characterMeta:t}}(i,s);i=c.text,s=c.characterMeta}((i=i.split(w).join("\n")).length||u)&&t.push(new o.ContentBlock({key:(0,o.genKey)(),text:i,type:e.type,characterList:s.toList(),depth:e.depth,data:e.data?(0,a.Map)(e.data):(0,a.Map)()}))})),t.length||(t=[y]),o.ContentState.createFromBlockArray(t,this.contentStateForEntities.getEntityMap())}},{key:"getBlockTypeFromTagName",value:function(e){var t=this.options.blockTypes;if(t&&t[e])return t[e];switch(e){case"li":return"ol"===this.blockStack.slice(-1)[0].tagName?s.BLOCK_TYPE.ORDERED_LIST_ITEM:s.BLOCK_TYPE.UNORDERED_LIST_ITEM;case"blockquote":return s.BLOCK_TYPE.BLOCKQUOTE;case"h1":return s.BLOCK_TYPE.HEADER_ONE;case"h2":return s.BLOCK_TYPE.HEADER_TWO;case"h3":return s.BLOCK_TYPE.HEADER_THREE;case"h4":return s.BLOCK_TYPE.HEADER_FOUR;case"h5":return s.BLOCK_TYPE.HEADER_FIVE;case"h6":return s.BLOCK_TYPE.HEADER_SIX;case"pre":return s.BLOCK_TYPE.CODE;case"figure":return s.BLOCK_TYPE.ATOMIC;default:return s.BLOCK_TYPE.UNSTYLED}}},{key:"processBlockElement",value:function(e){if(e){var t,n,r=this.options.customBlockFn,i=e.nodeName.toLowerCase();if(r){var o=r(e);null!=o&&(t=o.type,n=o.data)}var a=!0;if(null==t&&(a=!1,t=this.getBlockTypeFromTagName(i)),t===s.BLOCK_TYPE.CODE){var u=e.getAttribute("data-language");u&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{language:u}))}var c=function(e){switch(e){case s.BLOCK_TYPE.UNORDERED_LIST_ITEM:case s.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}(t),f=!l.hasOwnProperty(i);if(!a&&t===s.BLOCK_TYPE.UNSTYLED){var p=this.blockStack.slice(-1)[0];p&&(t=p.type)}var h={tagName:i,textFragments:[],type:t,styleStack:[m],entityStack:[null],depth:c?this.depth:0,data:n};f&&(this.blockList.push(h),c&&(this.depth+=1)),this.blockStack.push(h),null!=e.childNodes&&Array.from(e.childNodes).forEach(this.processNode,this),this.blockStack.pop(),f&&c&&(this.depth-=1)}}},{key:"processInlineElement",value:function(e){var t=e.nodeName.toLowerCase();if("br"!==t){var n=this.blockStack.slice(-1)[0],r=n.styleStack.slice(-1)[0],i=n.entityStack.slice(-1)[0],o=this.options.customInlineFn,a=o?o(e,this.inlineCreators):null;if(null!=a)switch(a.type){case"STYLE":[].concat(a.style).forEach((e=>{r=r.add(e)}));break;case"ENTITY":i=a.entityKey}else r=function(e,t,n){switch(t){case"b":case"strong":return e.add(s.INLINE_STYLE.BOLD);case"i":case"em":return e.add(s.INLINE_STYLE.ITALIC);case"u":case"ins":return e.add(s.INLINE_STYLE.UNDERLINE);case"code":return e.add(s.INLINE_STYLE.CODE);case"s":case"del":return e.add(s.INLINE_STYLE.STRIKETHROUGH);default:return n&&n[t]?e.add(n[t]):e}}(r,t,this.options.elementStyles),_.hasOwnProperty(t)&&(i=_[t](this,t,e)||i);n.styleStack.push(r),n.entityStack.push(i),null!=e.childNodes&&Array.from(e.childNodes).forEach(this.processNode,this),c.hasOwnProperty(t)&&this.processText(" "),n.entityStack.pop(),n.styleStack.pop()}else this.processText(w)}},{key:"processTextNode",value:function(e){var t=e.nodeValue;t=(t=t.replace(b,"\n")).split("​").join(w),this.processText(t)}},{key:"processText",value:function(e){var t=this.blockStack.slice(-1)[0],n=t.styleStack.slice(-1)[0],r=t.entityStack.slice(-1)[0],i=o.CharacterMetadata.create({style:n,entity:r}),s=(0,a.Repeat)(i,e.length);t.textFragments.push({text:e,characterMeta:s})}},{key:"processNode",value:function(e){if(1===e.nodeType){var t=e,n=t.nodeName.toLowerCase();u.hasOwnProperty(n)?this.processInlineElement(t):this.processBlockElement(t)}else 3===e.nodeType&&this.processTextNode(e)}},{key:"createEntity",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MUTABLE";return this.contentStateForEntities=this.contentStateForEntities.createEntity(e,n,t),this.contentStateForEntities.getLastCreatedEntityKey()}}],t&&h(e.prototype,t),n&&h(e,n),ContentGenerator}();function C(e){var t={};if(null!==e&&"object"===f(e)&&!Array.isArray(e))for(var n=e,r=0,i=Object.keys(n);r<i.length;r++){var o=i[r],a=n[o];"string"==typeof a&&(t[o]=a)}return t}function O(e,t){return new k(t).process(e)}function M(e){var t;"undefined"!=typeof DOMParser?t=(new DOMParser).parseFromString(e,"text/html"):(t=document.implementation.createHTMLDocument("")).documentElement&&(t.documentElement.innerHTML=e);return t.body||t.createElement("body")}function D(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var T={};function I(e,t){var n=t||T,r=n.parser,i=D(n,["parser"]);return null==r&&(r=M),O(r(e),i)}},25134:(e,t,n)=>{"use strict";n.d(t,{BLOCK_TYPE:()=>r,ENTITY_TYPE:()=>i,INLINE_STYLE:()=>o,getEntityRanges:()=>u});var r={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},i={LINK:"LINK",IMAGE:"IMAGE",EMBED:"embed"},o={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"};var a=n(43393),s=new a.OrderedSet;function u(e,t){for(var n=null,r=null,i=[],o=0,a=0,s=e.length;a<s;a++){r=n;var u=t.get(a);n=u?u.getEntity():null,a>0&&n!==r&&(i.push([r,l(e.slice(o,a),t.slice(o,a))]),o=a)}return i.push([n,l(e.slice(o),t.slice(o))]),i}function l(e,t){for(var n=s,r=s,i=[],o=0,u=0,l=e.length;u<l;u++){r=n;var c=t.get(u);n=c?c.getStyle():s,u>0&&!(0,a.is)(n,r)&&(i.push([e.slice(o,u),r]),o=u)}return i.push([e.slice(o),n]),i}n(9041)},19785:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(10329),a=n(4516),s=n(38777),u=n(67953),l=n(42307),c=n(14289),f=n(25027),d=n(68642),p=n(43393),h=n(61173),g=d("draft_tree_data_support"),v=g?u:s,m=p.List,y=p.Repeat,b={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),s=e.getSelection(),u=l.removeRange(i,s,"backward"),d=u.getSelectionAfter(),p=l.splitBlock(u,d),h=p.getSelectionAfter(),b=l.setBlockType(p,h,"atomic"),w=a.create({entity:t}),S={key:f(),type:"atomic",text:n,characterList:m(y(w,n.length))},E={key:f(),type:"unstyled"};g&&(S=r({},S,{nextSibling:E.key}),E=r({},E,{prevSibling:S.key}));var x=[new v(S),new v(E)],_=o.createFromArray(x),k=l.replaceWithFragment(b,h,_),C=k.merge({selectionBefore:s,selectionAfter:k.getSelectionAfter().set("hasFocus",!0)});return c.push(e,C,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=h(o,t,s,r)}else{var u=l.removeRange(o,n,"backward"),f=u.getSelectionAfter(),d=u.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=h(u,t,d,"before");else if(f.getEndOffset()===d.getLength())i=h(u,t,d,"after");else{var p=l.splitBlock(u,f),g=p.getSelectionAfter(),v=p.getBlockForKey(g.getFocusKey());i=h(p,t,v,"before")}}var m=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return c.push(e,m,"move-block")}};e.exports=b},10329:(e,t,n)=>{"use strict";var r=n(43393).OrderedMap,i={createFromArray:function(e){return r(e.map((function(e){return[e.getKey(),e]})))}};e.exports=i},34365:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(29407),o=n(96495),a=n(43393),s=a.List,u=a.Repeat,l=a.Record,c=function(){return!0},f=l({start:null,end:null}),d=l({start:null,end:null,decoratorKey:null,leaves:null}),p={generate:function(e,t,n){var r=t.getLength();if(!r)return s.of(new d({start:0,end:0,decoratorKey:null,leaves:s.of(new f({start:0,end:0}))}));var o=[],a=n?n.getDecorations(t,e):s(u(null,r)),l=t.getCharacterList();return i(a,g,c,(function(e,t){o.push(new d({start:e,end:t,decoratorKey:a.get(e),leaves:h(l.slice(e,t).toList(),e)}))})),s(o)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new d(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}({},n,{leaves:null!=t?s(Array.isArray(t)?t:o(t)).map((function(e){return f(e)})):null}))}};function h(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return i(r,g,c,(function(e,r){n.push(new f({start:e+t,end:r+t}))})),s(n)}function g(e,t){return e===t}e.exports=p},4516:(e,t,n)=>{"use strict";var r=n(43393),i=r.Map,o=r.OrderedSet,a=r.Record,s=o(),u={style:s,entity:null},l=function(e){var t,n;function CharacterMetadata(){return e.apply(this,arguments)||this}n=e,(t=CharacterMetadata).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=CharacterMetadata.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},CharacterMetadata.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return CharacterMetadata.create(n)},CharacterMetadata.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return CharacterMetadata.create(n)},CharacterMetadata.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return CharacterMetadata.create(n)},CharacterMetadata.create=function(e){if(!e)return c;var t=i({style:s,entity:null}).merge(e),n=f.get(t);if(n)return n;var r=new CharacterMetadata(t);return f=f.set(t,r),r},CharacterMetadata.fromJS=function(e){var t=e.style,n=e.entity;return new CharacterMetadata({style:Array.isArray(t)?o(t):t,entity:Array.isArray(n)?o(n):n})},CharacterMetadata}(a(u)),c=new l,f=i([[i(u),c]]);l.EMPTY=c,e.exports=l},25369:(e,t,n)=>{"use strict";var r=n(43393).List,i=function(){function CompositeDraftDecorator(e){var t,n,r;r=void 0,(n="_decorators")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this._decorators=e.slice()}var e=CompositeDraftDecorator.prototype;return e.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),r(n)},e.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},e.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},CompositeDraftDecorator}();e.exports=i},38777:(e,t,n)=>{"use strict";var r=n(4516),i=n(29407),o=n(43393),a=o.List,s=o.Map,u=o.OrderedSet,l=o.Record,c=o.Repeat,f=u(),d=l({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}),p=function(e){var t,n;function ContentBlock(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(c(r.EMPTY,n.length))),e}(t))||this}n=e,(t=ContentBlock).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=ContentBlock.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},o.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},o.findStyleRanges=function(e,t){i(this.getCharacterList(),h,e,t)},o.findEntityRanges=function(e,t){i(this.getCharacterList(),g,e,t)},ContentBlock}(d);function h(e,t){return e.getStyle()===t.getStyle()}function g(e,t){return e.getEntity()===t.getEntity()}e.exports=p},67953:(e,t,n)=>{"use strict";var r=n(4516),i=n(29407),o=n(43393),a=o.List,s=o.Map,u=o.OrderedSet,l=o.Record,c=o.Repeat,f=u(),d={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},p=function(e,t){return e.getStyle()===t.getStyle()},h=function(e,t){return e.getEntity()===t.getEntity()},g=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(c(r.EMPTY,n.length))),e},v=function(e){var t,n;function ContentBlockNode(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return e.call(this,g(t))||this}n=e,(t=ContentBlockNode).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=ContentBlockNode.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){i(this.getCharacterList(),p,e,t)},r.findEntityRanges=function(e,t){i(this.getCharacterList(),h,e,t)},ContentBlockNode}(l(d));e.exports=v},66912:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(10329),a=n(4516),s=n(38777),u=n(67953),l=n(82222),c=n(25110),f=n(25027),d=n(96495),p=n(68642),h=n(43393),g=n(55283),v=h.List,m=h.Record,y=h.Repeat,b=h.Map,w=h.OrderedMap,S=m({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),E=p("draft_tree_data_support")?u:s,x=function(e){var t,n;function ContentState(){return e.apply(this,arguments)||this}n=e,(t=ContentState).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=ContentState.prototype;return i.getEntityMap=function(){return l},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return l.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return l.__create(e,t,n),this},i.mergeEntityData=function(e,t){return l.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return l.__replaceData(e,t),this},i.addEntity=function(e){return l.__add(e),this},i.getEntity=function(e){return l.__get(e)},i.getAllEntities=function(){return l.__getAll()},i.loadWithEntities=function(e){return l.__loadWithEntities(e)},ContentState.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=o.createFromArray(n),i=r.isEmpty()?new c:c.createEmpty(r.first().getKey());return new ContentState({blockMap:r,entityMap:t||l,selectionBefore:i,selectionAfter:i})},ContentState.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=g(e),new E({key:f(),text:e,type:"unstyled",characterList:v(y(a.EMPTY,e.length))})}));return ContentState.createFromBlockArray(r)},ContentState.fromJS=function(e){return new ContentState(r({},e,{blockMap:w(e.blockMap).map(ContentState.createContentBlockFromJS),selectionBefore:new c(e.selectionBefore),selectionAfter:new c(e.selectionAfter)}))},ContentState.createContentBlockFromJS=function(e){var t=e.characterList;return new E(r({},e,{data:b(e.data),characterList:null!=t?v((Array.isArray(t)?t:d(t)).map((function(e){return a.fromJS(e)}))):void 0}))},ContentState}(S);e.exports=x},13483:(e,t,n)=>{"use strict";var r=n(4516),i=n(43393).Map,o={add:function(e,t,n){return a(e,t,n,!0)},remove:function(e,t,n){return a(e,t,n,!1)}};function a(e,t,n,o){var a=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),l=t.getEndKey(),c=t.getEndOffset(),f=a.skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===l})).concat(i([[l,a.get(l)]])).map((function(e,t){var i,a;s===l?(i=u,a=c):(i=t===s?u:0,a=t===l?c:e.getLength());for(var f,d=e.getCharacterList();i<a;)f=d.get(i),d=d.set(i,o?r.applyStyle(f,n):r.removeStyle(f,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:a.merge(f),selectionBefore:t,selectionAfter:t})}e.exports=o},77907:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(4856),o=n(69270),a=n(48083),s=n(43393),u=n(73759),l=n(22045),c=s.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},d=i.isBrowser("IE <= 11"),p=function(){function DOMObserver(e){var t=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=e,this.mutations=c();var n=a(e);n.MutationObserver&&!d?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||u(!1),t.registerMutation({type:"characterData",target:e.target})}}var e=DOMObserver.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=c(),t},e.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},e.getMutationTextContent=function(e){var t=e.type,n=e.target,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return d?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=l(o(e.target));this.mutations=this.mutations.set(n,t)}},DOMObserver}();e.exports=p},526:(e,t,n)=>{"use strict";var r=n(67294),i=n(62620),o=(0,n(43393).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=o},37619:e=>{"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},9041:(e,t,n)=>{"use strict";var r=n(19785),i=n(10329),o=n(4516),a=n(25369),s=n(38777),u=n(66912),l=n(526),c=n(37619),f=n(87210),d=n(37898),p=n(82222),h=n(42307),g=n(39006),v=n(14289),m=n(47387),y=n(70054),b=n(41947),w=n(25110),S=n(79981),E=n(99607),x=n(25027),_=n(41714),k=n(96629),C={Editor:f,EditorBlock:d,EditorState:v,CompositeDecorator:a,Entity:p,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:u,RawDraftContentState:y,SelectionState:w,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:h,RichUtils:b,DefaultDraftBlockRenderMap:l,DefaultDraftInlineStyle:c,convertFromHTML:n(67841),convertFromRaw:E,convertToRaw:S,genKey:x,getDefaultKeyBinding:_,getVisibleSelectionRect:k};e.exports=C},87210:(e,t,n)=>{"use strict";var r=n(27418);function i(){return i=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var l=n(526),c=n(37619),f=n(33418),d=n(87791),p=n(61494),h=n(19394),g=n(4083),v=n(28094),m=n(5880),y=n(14289),b=n(67294),w=n(65994),S=n(19051),E=n(4856),x=n(62620),_=n(25027),k=n(41714),C=n(79749),O=n(68642),M=n(73759),D=n(20717),T=n(22045),I=E.isBrowser("IE"),P=!I,R={edit:h,composite:f,drag:p,cut:null,render:null},A=!1,N=function(e){function UpdateDraftEditorFlags(){return e.apply(this,arguments)||this}u(UpdateDraftEditorFlags,e);var t=UpdateDraftEditorFlags.prototype;return t.render=function(){return null},t.componentDidMount=function(){this._update()},t.componentDidUpdate=function(){this._update()},t._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},UpdateDraftEditorFlags}(b.Component),L=function(e){function DraftEditor(t){var n;return s(a(n=e.call(this,t)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),s(a(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=S.getScrollParent(i),a=e||C(o),s=a.x,u=a.y;D(i)||M(!1),i.focus(),o===window?window.scrollTo(s,u):w.setTop(o,u),r||n.update(y.forceSelection(t,t.getSelection()))}})),s(a(n),"blur",(function(){var e=n.editor;e&&(D(e)||M(!1),e.blur())})),s(a(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,a=t.onCopy,s=o({},R.edit);r&&(s.onPaste=r),i&&(s.onCut=i),a&&(s.onCopy=a);var u=o({},R,{edit:s});n._handler=u[e]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),s(a(n),"setClipboard",(function(e){n._clipboard=e})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||_(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}u(DraftEditor,e);var t=DraftEditor.prototype;return t._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(g?g((function(){return r(t,n)})):r(t,n))}}},t._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},t._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:T(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(v,e)}return null},t._renderARIADescribedBy=function(){var e=this.props.ariaDescribedBy||"",t=this._showPlaceholder()?this._placeholderAccessibilityID:"";return e.replace("{{editor_id_placeholder}}",t)||void 0},t.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleFn,s=e.customStyleMap,u=e.editorState,l=e.preventScroll,f=e.readOnly,p=e.textAlignment,h=e.textDirectionality,g=x({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===p,"DraftEditor/alignRight":"right"===p,"DraftEditor/alignCenter":"center"===p}),v=this.props.role||"textbox",m="combobox"===v?!!this.props.ariaExpanded:null,y={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:o({},c,s),customStyleFn:a,editorKey:this._editorKey,editorState:u,preventScroll:l,textDirectionality:h};return b.createElement("div",{className:g},this._renderPlaceholder(),b.createElement("div",{className:x("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":f?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:x({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:f?null:v,spellCheck:P&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(N,{editor:this,editorState:u}),b.createElement(d,i({},y,{key:"contents"+this.state.contentsKey})))))},t.componentDidMount=function(){this._blockSelectEvents=!1,!A&&O("draft_ods_enabled")&&(A=!0,m.initODS()),this.setMode("edit"),I&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},t.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},DraftEditor}(b.Component);s(L,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:l,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:k,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),e.exports=L},37898:(e,t,n)=>{"use strict";var r=n(27418);function i(){return i=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(42282),u=n(22146),l=n(67294),c=n(65994),f=n(19051),d=n(54191),p=n(16633),h=n(62620),g=n(55258),v=n(79749),m=n(70746),y=n(73759),b=n(20717),w=n(22045),S=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},E=function(e){var t,n;function DraftEditorBlock(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return a(o(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=DraftEditorBlock).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=DraftEditorBlock.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||S(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var r,i=f.getScrollParent(n),o=v(i);if(i===window){var a=g(n);(r=a.y+a.height-m().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{b(n)||y(!1),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&c.setTop(i,c.getTop(i)+r+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),o=this.props.tree.size-1,a=S(this.props.selection,n);return this.props.tree.map((function(c,f){var h=c.get("leaves");if(0===h.size)return null;var g=h.size-1,v=h.map((function(i,c){var d=u.encode(n,f,c),p=i.get("start"),h=i.get("end");return l.createElement(s,{key:d,offsetKey:d,block:t,start:p,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(p,h),styleSet:t.getInlineStyleAt(p),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:f===o&&c===g})})).toArray(),m=c.get("decoratorKey");if(null==m)return v;if(!e.props.decorator)return v;var y=w(e.props.decorator),b=y.getComponentForKey(m);if(!b)return v;var S=y.getPropsForKey(m),E=u.encode(n,f,0),x=h.first().get("start"),_=h.last().get("end"),k=r.slice(x,_),C=t.getEntityAt(c.get("start")),O=p.getHTMLDirIfDifferent(d.getDirection(k),e.props.direction),M={contentState:e.props.contentState,decoratedText:k,dir:O,start:x,end:_,blockKey:n,entityKey:C,offsetKey:E};return l.createElement(b,i({},S,M,{key:E}),v)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return l.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},DraftEditorBlock}(l.Component);e.exports=E},25821:(e,t,n)=>{"use strict";var r=n(27418);function i(){return i=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=n(59513),l=n(22146),c=n(67294),f=n(65994),d=n(19051),p=n(55258),h=n(79749),g=n(70746),v=n(43393),m=n(73759),y=n(20717),b=(v.List,function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t}),w=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},S=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},E=function(e,t,n,r,i,o){var s={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},u=r(e);return u&&(s.className=u),void 0!==i.customEditable&&(s=a({},s,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),s},x=function(e){var t,n;function DraftEditorBlockNode(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return s(o(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",c.createRef()),t}n=e,(t=DraftEditorBlockNode).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=DraftEditorBlockNode.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||b(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,i=d.getScrollParent(n),o=h(i);if(i===window){var a=p(n);(r=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{y(n)||m(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&f.setTop(i,f.getTop(i)+r+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,s=t.blockStyleFn,f=t.contentState,d=t.decorator,p=t.editorKey,h=t.editorState,g=t.customStyleFn,v=t.customStyleMap,m=t.direction,y=t.forceSelection,x=t.selection,_=t.tree,k=null;n.children.size&&(k=n.children.reduce((function(t,n){var i=l.encode(n,0,0),u=f.getBlockForKey(n),d=S(u,o),g=d.CustomComponent||DraftEditorBlockNode,v=w(u,r),m=v.Element,y=v.wrapperTemplate,b=E(u,p,i,s,d,null),x=a({},e.props,{tree:h.getBlockTree(n),blockProps:d.customProps,offsetKey:i,block:u});return t.push(c.createElement(m,b,c.createElement(g,x))),!y||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(u,f)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var f=s.value;if(f.type!==t)break;r.push(f)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),p=d[0].key;n.push(c.cloneElement(e,{key:"".concat(p,"-wrap"),"data-offset-key":l.encode(p,0,0)},d))}(y,m,t),t}),[]));var C=n.getKey(),O=l.encode(C,0,0),M=S(n,o),D=M.CustomComponent,T=null!=D?c.createElement(D,i({},this.props,{tree:h.getBlockTree(C),blockProps:M.customProps,offsetKey:O,block:n})):c.createElement(u,{block:n,children:k,contentState:f,customStyleFn:g,customStyleMap:v,decorator:d,direction:m,forceSelection:y,hasSelection:b(x,C),selection:x,tree:_});if(n.getParentKey())return T;var I=w(n,r).Element,P=E(n,p,O,s,M,this.wrapperRef);return c.createElement(I,P,T)},DraftEditorBlockNode}(c.Component);e.exports=x},33418:(e,t,n)=>{"use strict";var r=n(77907),i=n(42307),o=n(22146),a=n(14289),s=n(25399),u=n(4856),l=n(14507),c=n(84907),f=n(1244),d=n(42128),p=n(22045),h=u.isBrowser("IE"),g=!1,v=!1,m=null;var y={onCompositionStart:function(e){v=!0,function(e){m||(m=new r(c(e))).start()}(e)},onCompositionEnd:function(e){g=!1,v=!1,setTimeout((function(){g||y.resolveComposition(e)}),20)},onSelect:l,onKeyDown:function(e,t){if(!v)return y.resolveComposition(e),void e._onKeyDown(t);t.which!==s.RIGHT&&t.which!==s.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!v){var t=p(m).stopAndFlushMutations();m=null,g=!0;var n=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var s=o.decode(t),u=s.blockKey,l=s.decoratorKey,c=s.leafKey,f=n.getBlockTree(u).getIn([l,"leaves",c]),p=f.start,h=f.end,g=n.getSelection().merge({anchorKey:u,focusKey:u,anchorOffset:p,focusOffset:h,isBackward:!1}),v=d(r,g),m=r.getBlockForKey(u).getInlineStyleAt(p);r=i.replaceText(r,g,e,m,v),n=a.set(n,{currentContent:r})}));var s=f(n,c(e)).selectionState;e.restoreEditorDOM();var u=h?a.forceSelection(n,s):a.acceptSelection(n,s);e.update(a.push(u,r,"insert-characters"))}else e.update(n)}}};e.exports=y},88795:(e,t,n)=>{"use strict";var r=n(27418);function i(){return i=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(37898),u=n(22146),l=n(67294),c=n(62620),f=n(71108),d=n(22045),p=function(e,t,n,r){return c({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(e){var t,n;function DraftEditorContents(){return e.apply(this,arguments)||this}n=e,(t=DraftEditorContents).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=DraftEditorContents.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),l=n.getDecorator();return i!==o||a!==s||u!==l||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleMap,c=e.customStyleFn,h=e.editorState,g=e.editorKey,v=e.preventScroll,m=e.textDirectionality,y=h.getCurrentContent(),b=h.getSelection(),w=h.mustForceSelection(),S=h.getDecorator(),E=d(h.getDirectionMap()),x=y.getBlocksAsArray(),_=[],k=null,C=null,O=0;O<x.length;O++){var M=x[O],D=M.getKey(),T=M.getType(),I=n(M),P=void 0,R=void 0,A=void 0;I&&(P=I.component,R=I.props,A=I.editable);var N=m||E.get(D),L=u.encode(D,0,0),B={contentState:y,block:M,blockProps:R,blockStyleFn:r,customStyleMap:a,customStyleFn:c,decorator:S,direction:N,forceSelection:w,offsetKey:L,preventScroll:v,selection:b,tree:h.getBlockTree(D)},F=t.get(T)||t.get("unstyled"),z=F.wrapper,j=F.element||t.get("unstyled").element,K=M.getDepth(),U="";if(r&&(U=r(M)),"li"===j)U=f(U,p(T,K,C!==z||null===k||K>k,N));var q=P||s,W={className:U,"data-block":!0,"data-editor":g,"data-offset-key":L,key:D};void 0!==A&&(W=o({},W,{contentEditable:A,suppressContentEditableWarning:!0}));var H=l.createElement(j,W,l.createElement(q,i({},B,{key:D})));_.push({block:H,wrapperTemplate:z,key:D,offsetKey:L}),k=z?M.getDepth():null,C=z}for(var G=[],Y=0;Y<_.length;){var V=_[Y];if(V.wrapperTemplate){var $=[];do{$.push(_[Y].block),Y++}while(Y<_.length&&_[Y].wrapperTemplate===V.wrapperTemplate);var X=l.cloneElement(V.wrapperTemplate,{key:V.key+"-wrap","data-offset-key":V.offsetKey},$);G.push(X)}else G.push(V.block),Y++}return l.createElement("div",{"data-contents":"true"},G)},DraftEditorContents}(l.Component);e.exports=h},87791:(e,t,n)=>{"use strict";var r=n(68642)("draft_tree_data_support");e.exports=n(r?69459:88795)},69459:(e,t,n)=>{"use strict";var r=n(27418);function i(){return i=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=n(25821),a=n(22146),s=n(67294),u=n(22045),l=function(e){var t,n;function DraftEditorContentsExperimental(){return e.apply(this,arguments)||this}n=e,(t=DraftEditorContentsExperimental).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=DraftEditorContentsExperimental.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),l=n.getDecorator();return i!==o||a!==s||u!==l||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,l=e.customStyleMap,c=e.customStyleFn,f=e.editorState,d=e.editorKey,p=e.textDirectionality,h=f.getCurrentContent(),g=f.getSelection(),v=f.mustForceSelection(),m=f.getDecorator(),y=u(f.getDirectionMap()),b=[],w=h.getBlocksAsArray()[0];w;){var S=w.getKey(),E={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:c,customStyleMap:l,decorator:m,editorKey:d,editorState:f,forceSelection:v,selection:g,block:w,direction:p||y.get(S),tree:f.getBlockTree(S)},x=(t.get(w.getType())||t.get("unstyled")).wrapper;b.push({block:s.createElement(o,i({key:S},E)),wrapperTemplate:x,key:S,offsetKey:a.encode(S,0,0)});var _=w.getNextSiblingKey();w=_?h.getBlockForKey(_):null}for(var k=[],C=0;C<b.length;){var O=b[C];if(O.wrapperTemplate){var M=[];do{M.push(b[C].block),C++}while(C<b.length&&b[C].wrapperTemplate===O.wrapperTemplate);var D=s.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},M);k.push(D)}else k.push(O.block),C++}return s.createElement("div",{"data-contents":"true"},k)},DraftEditorContentsExperimental}(s.Component);e.exports=l},3259:(e,t,n)=>{"use strict";var r=n(27418);function i(){return i=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=n(22146),a=n(67294),s=n(54191),u=n(16633),l=function(e){var t,n;function DraftEditorDecoratedLeaves(){return e.apply(this,arguments)||this}return n=e,(t=DraftEditorDecoratedLeaves).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,DraftEditorDecoratedLeaves.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,l=e.decorator,c=e.decoratorKey,f=e.direction,d=e.leafSet,p=e.text,h=t.getKey(),g=d.get("leaves"),v=l.getComponentForKey(c),m=l.getPropsForKey(c),y=o.encode(h,parseInt(c,10),0),b=p.slice(g.first().get("start"),g.last().get("end")),w=u.getHTMLDirIfDifferent(s.getDirection(b),f);return a.createElement(v,i({},m,{contentState:r,decoratedText:b,dir:w,key:y,entityKey:t.getEntityAt(d.get("start")),offsetKey:y}),n)},DraftEditorDecoratedLeaves}(a.Component);e.exports=l},61494:(e,t,n)=>{"use strict";var r=n(44891),i=n(42307),o=n(14289),a=n(69270),s=n(75795),u=n(21738),l=n(94486),c=n(48083),f=n(42177),d=n(22045);var p={onDragEnd:function(e){e.exitCurrentMode(),h(e)},onDrop:function(e,t){var n=new r(t.nativeEvent.dataTransfer),c=e._latestEditorState,p=function(e,t){var n=null,r=null,i=s(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=d(n),r=d(r);var u=d(a(n));return l(t,u,r,u,r)}(t.nativeEvent,c);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=p){var v=n.getFiles();if(v.length>0){if(e.props.handleDroppedFiles&&f(e.props.handleDroppedFiles(p,v)))return;u(v,(function(t){t&&e.update(g(c,p,t))}))}else{var m=e._internalDrag?"internal":"external";e.props.handleDrop&&f(e.props.handleDrop(p,n,m))||(e._internalDrag?e.update(function(e,t){var n=i.moveText(e.getCurrentContent(),e.getSelection(),t);return o.push(e,n,"insert-fragment")}(c,p)):e.update(g(c,p,n.getText()))),h(e)}}}};function h(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:c(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function g(e,t,n){var r=i.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return o.push(e,r,"insert-fragment")}e.exports=p},19394:(e,t,n)=>{"use strict";var r=n(4856),i=n(26396),o=n(43421),a=n(6155),s=n(69328),u=n(88922),l=n(39499),c=n(80981),f=n(62186),d=n(29971),p=n(46397),h=n(6089),g=n(14507),v=r.isBrowser("Chrome"),m=r.isBrowser("Firefox"),y=v||m?g:function(e){},b={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:s,onCut:u,onDragOver:l,onDragStart:c,onFocus:f,onInput:d,onKeyDown:p,onPaste:h,onSelect:g,onMouseUp:y,onKeyUp:y};e.exports=b},4083:(e,t,n)=>{"use strict";var r=n(73935).unstable_flushControlled;e.exports=r},42282:(e,t,n)=>{"use strict";var r=n(27418);function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(80052),s=n(67294),u=n(73759),l=n(16581),c=n(45412).setDraftEditorSelection,f=function(e){var t,n;function DraftEditorLeaf(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return o(i(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=DraftEditorLeaf).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var f=DraftEditorLeaf.prototype;return f._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||u(!1);var f,d=s.firstChild;d||u(!1),d.nodeType===Node.TEXT_NODE?f=d:l(d)?f=s:(f=d.firstChild)||u(!1),c(e,f,o,r,a)}}},f.shouldComponentUpdate=function(e){var t=this.leaf;return t||u(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},f.componentDidUpdate=function(){this._setSelection()},f.componentDidMount=function(){this._setSelection()},f.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,o=i.customStyleMap,u=i.customStyleFn,l=i.offsetKey,c=i.styleSet,f=c.reduce((function(e,t){var n={},i=o[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),r(e,i,n)}),{});if(u){var d=u(c,t);f=r(f,d)}return s.createElement("span",{"data-offset-key":l,ref:function(t){return e.leaf=t},style:f},s.createElement(a,null,n))},DraftEditorLeaf}(s.Component);e.exports=f},59513:(e,t,n)=>{"use strict";var r=n(3259),i=n(42282),o=n(22146),a=n(43393),s=n(67294),u=n(62620),l=(a.List,function(e){var t,n;function DraftEditorNode(){return e.apply(this,arguments)||this}return n=e,(t=DraftEditorNode).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,DraftEditorNode.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,a=e.customStyleFn,l=e.customStyleMap,c=e.decorator,f=e.direction,d=e.forceSelection,p=e.hasSelection,h=e.selection,g=e.tree,v=t.getKey(),m=t.getText(),y=g.size-1,b=this.props.children||g.map((function(e,u){var g=e.get("decoratorKey"),b=e.get("leaves"),w=b.size-1,S=b.map((function(e,n){var r=o.encode(v,u,n),c=e.get("start"),f=e.get("end");return s.createElement(i,{key:r,offsetKey:r,block:t,start:c,selection:p?h:null,forceSelection:d,text:m.slice(c,f),styleSet:t.getInlineStyleAt(c),customStyleMap:l,customStyleFn:a,isLast:g===y&&n===w})})).toArray();return g&&c?s.createElement(r,{block:t,children:S,contentState:n,decorator:c,decoratorKey:g,direction:f,leafSet:e,text:m,key:u}):S})).toArray();return s.createElement("div",{"data-offset-key":o.encode(v,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},b)},DraftEditorNode}(s.Component));e.exports=l},28094:(e,t,n)=>{"use strict";var r=n(67294),i=n(62620),o=function(e){var t,n;function DraftEditorPlaceholder(){return e.apply(this,arguments)||this}n=e,(t=DraftEditorPlaceholder).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=DraftEditorPlaceholder.prototype;return o.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},o.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return r.createElement("div",{className:t},r.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},DraftEditorPlaceholder}(r.Component);e.exports=o},80052:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(67294),a=n(4856),s=n(73759),u=n(84368),l=a.isBrowser("IE <= 11");var c=function(e){var t,n;function DraftEditorTextNode(t){var n;return i(r(n=e.call(this,t)||this),"_forceFlag",void 0),i(r(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=DraftEditorTextNode).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=DraftEditorTextNode.prototype;return a.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;u(t)||s(!1);var r=t;return n?!function(e){return l?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},a.componentDidMount=function(){this._forceFlag=!this._forceFlag},a.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},a.render=function(){var e=this;return""===this.props.children?this._forceFlag?function NEWLINE_A(e){return l?o.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):o.createElement("br",{key:"A","data-text":"true",ref:e})}((function(t){return e._node=t})):function NEWLINE_B(e){return l?o.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):o.createElement("br",{key:"B","data-text":"true",ref:e})}((function(t){return e._node=t})):o.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},DraftEditorTextNode}(o.Component);e.exports=c},5880:e=>{"use strict";e.exports={initODS:function(){},handleExtensionCausedError:function(){}}},82222:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(39006),o=n(43393),a=n(73759),s=n(76363),u=(0,o.Map)(),l=s();function c(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var f={getLastCreatedEntityKey:function(){return c("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),f.__getLastCreatedEntityKey()},create:function(e,t,n){return c("DraftEntity.create","contentState.createEntity"),f.__create(e,t,n)},add:function(e){return c("DraftEntity.add","contentState.addEntity"),f.__add(e)},get:function(e){return c("DraftEntity.get","contentState.getEntity"),f.__get(e)},__getAll:function __getAll(){return u},__loadWithEntities:function __loadWithEntities(e){u=e,l=s()},mergeData:function(e,t){return c("DraftEntity.mergeData","contentState.mergeEntityData"),f.__mergeData(e,t)},replaceData:function(e,t){return c("DraftEntity.replaceData","contentState.replaceEntityData"),f.__replaceData(e,t)},__getLastCreatedEntityKey:function __getLastCreatedEntityKey(){return l},__create:function __create(e,t,n){return f.__add(new i({type:e,mutability:t,data:n||{}}))},__add:function __add(e){return l=s(),u=u.set(l,e),l},__get:function __get(e){var t=u.get(e);return t||a(!1),t},__mergeData:function __mergeData(e,t){var n=f.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}({},n.getData(),t),o=n.set("data",i);return u=u.set(e,o),o},__replaceData:function __replaceData(e,t){var n=f.__get(e).set("data",t);return u=u.set(e,n),n}};e.exports=f},39006:(e,t,n)=>{"use strict";var r=function(e){var t,n;function DraftEntityInstance(){return e.apply(this,arguments)||this}n=e,(t=DraftEntityInstance).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=DraftEntityInstance.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},DraftEntityInstance}((0,n(43393).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));e.exports=r},5195:e=>{"use strict";e.exports={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,u=null,l=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==u||(u=s),l=a;else if(null!==u)break;s=a}var f=r+n.length,d=u===r,p=l===f;return(!d&&p||d&&!p)&&("forward"===i?l!==f&&l++:u!==r&&u--),{start:u,end:l}}}},97432:e=>{"use strict";e.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},42307:(e,t,n)=>{"use strict";var r=n(4516),i=n(13483),o=n(68750),a=n(81446),s=n(88687),u=n(43393),l=n(54542),c=n(18467),f=n(73759),d=n(57429),p=n(14017),h=n(54879),g=n(36043),v=u.OrderedSet,m={replaceText:function(e,t,n,i,o){var a=p(e,t),s=h(a,t),u=r.create({style:i||v(),entity:o||null});return c(s,s.getSelectionAfter(),n,u)},insertText:function(e,t,n,r,i){return t.isCollapsed()||f(!1),m.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=s(e,t),i=m.removeRange(e,t,"backward");return m.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=p(e,t),o=h(i,t);return l(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,s;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),s=e.getBlockForKey(i);var u=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(u),f=s.getEntityAt(l-1);if(r===i&&c&&c===f){var d=a(e.getEntityMap(),o,s,t,n);return h(e,d)}var g=p(e,t);return h(g,t)},splitBlock:function(e,t){var n=p(e,t),r=h(n,t);return g(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return i.add(e,t,n)},removeInlineStyle:function(e,t,n){return i.remove(e,t,n)},setBlockType:function(e,t,n){return d(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return d(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return d(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=p(e,t);return o(r,t,n)}};e.exports=m},22146:e=>{"use strict";var t="-",n={encode:function(e,n,r){return e+t+n+t+r},decode:function(e){var n=e.split(t).reverse(),r=n[0],i=n[1];return{blockKey:n.slice(2).reverse().join(t),decoratorKey:parseInt(i,10),leafKey:parseInt(r,10)}}};e.exports=n},45712:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(38777),o=n(67953),a=n(67841),s=n(25027),u=n(69769),l=n(68642),c=n(43393),f=n(55283),d=c.List,p=c.Repeat,h=l("draft_tree_data_support"),g=h?o:i,v={processHTML:function(e,t){return a(e,u,t)},processText:function(e,t,n){return e.reduce((function(e,i,o){i=f(i);var a=s(),u={key:a,type:n,text:i,characterList:d(p(t,i.length))};if(h&&0!==o){var l=o-1;u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}({},u,{prevSibling:(e[l]=e[l].merge({nextSibling:a})).getKey()})}return e.push(new g(u)),e}),[])}};e.exports=v},73932:(e,t,n)=>{"use strict";var r="\\s|(?![_])"+n(65724).getPunctuation(),i=new RegExp("^(?:"+r+")*(?:"+"['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),o=new RegExp("(?:(?!"+r+").)(?:"+"['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(e,t){var n=t?o.exec(e):i.exec(e);return n?n[0]:e}var s={getBackward:function(e){return a(e,!0)},getForward:function(e){return a(e,!1)}};e.exports=s},86155:e=>{"use strict";var t={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=t},68957:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(25027),a=n(73759),s=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},u={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||a(!1),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||a(!1),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=r({},e);s(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?r({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=s(e),a=e.depth||0,u=r({},e,{children:[]});if(i){var l=n[0];if(null==l&&0===a)t.push(u);else if(null==l||l.depth<a-1){var c={key:o(),text:"",depth:a-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(c),1===a?t.push(c):null!=l&&l.children.push(c),c.children.push(u)}else if(l.depth===a-1)l.children.push(u);else{for(;null!=l&&l.depth>=a;)n.shift(),l=n[0];a>0?l.children.push(u):t.push(u)}}else t.push(u)})),r({},e,{blocks:t})}};e.exports=u},12119:(e,t,n)=>{"use strict";n(63620);e.exports={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return!1;return(null===o||null===i||i!==o)&&!(""!=e.text&&e.getChildKeys().size>0)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return!1;r=u.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}}},33337:(e,t,n)=>{"use strict";var r,i=n(7902),o=n(43393),a=n(22045),s=o.OrderedMap,u={getDirectionMap:function(e,t){r?r.reset():r=new i;var n=e.getBlockMap(),u=n.valueSeq().map((function(e){return a(r).getDirection(e.getText())})),l=s(n.keySeq().zip(u));return null!=t&&o.is(t,l)?t:l}};e.exports=u},14289:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(34365),a=n(66912),s=n(33337),u=n(25110),l=n(43393),c=l.OrderedSet,f=l.Record,d=l.Stack,p=l.OrderedMap,h=l.List,g=f({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:d(),selection:null,treeMap:null,undoStack:d()}),v=function(){EditorState.createEmpty=function(e){return this.createWithText("",e)},EditorState.createWithText=function(e,t){return EditorState.createWithContent(a.createFromText(e),t)},EditorState.createWithContent=function(e,t){if(0===e.getBlockMap().count())return EditorState.createEmpty(t);var n=e.getBlockMap().first().getKey();return EditorState.create({currentContent:e,undoStack:d(),redoStack:d(),decorator:t||null,selection:u.createEmpty(n)})},EditorState.create=function(e){var t=e.currentContent,n=r({},e,{treeMap:y(t,e.decorator),directionMap:s.getDirectionMap(t)});return new EditorState(new g(n))},EditorState.fromJS=function(e){return new EditorState(new g(r({},e,{directionMap:null!=e.directionMap?p(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?c(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?a.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?d(e.redoStack.map((function(e){return a.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new u(e.selection):e.selection,treeMap:null!=e.treeMap?p(e.treeMap).map((function(e){return h(e).map((function(e){return o.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?d(e.undoStack.map((function(e){return a.fromJS(e)}))):e.undoStack,currentContent:a.fromJS(e.currentContent)})))},EditorState.set=function(e,t){return new EditorState(e.getImmutable().withMutations((function(n){var r=n.get("decorator"),i=r;null===t.decorator?i=null:t.decorator&&(i=t.decorator);var a=t.currentContent||e.getCurrentContent();if(i!==r){var s,u=n.get("treeMap");return s=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return o.generate(e,t,r)})))}(a,a.getBlockMap(),u,i,r):y(a,i),void n.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&n.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),a=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return o.generate(i,e,r)})))}(e,a.getBlockMap(),a.getEntityMap(),i)),n.merge(t)})))};var e=EditorState.prototype;function EditorState(e){i(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},EditorState.setInlineStyleOverride=function(e,t){return EditorState.set(e,{inlineStyleOverride:t})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return w(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return w(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},EditorState.acceptSelection=function(e,t){return m(e,t,!1)},EditorState.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),m(e,t,!0)},EditorState.moveSelectionToEnd=function(e){var t=e.getCurrentContent().getLastBlock(),n=t.getKey(),r=t.getLength();return EditorState.acceptSelection(e,new u({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}))},EditorState.moveFocusToEnd=function(e){var t=EditorState.moveSelectionToEnd(e);return EditorState.forceSelection(t,t.getSelection())},EditorState.push=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===t)return e;var i=s.getDirectionMap(t,e.getDirectionMap());if(!e.getAllowUndo())return EditorState.set(e,{currentContent:t,directionMap:i,lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),a=e.getCurrentContent(),u=e.getUndoStack(),l=t;o!==a.getSelectionAfter()||b(e,n)?(u=u.push(a),l=l.set("selectionBefore",o)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(l=l.set("selectionBefore",a.getSelectionBefore()));var c=e.getInlineStyleOverride(),f=["adjust-depth","change-block-type","split-block"];-1===f.indexOf(n)&&(c=null);var p={currentContent:l,directionMap:i,undoStack:u,redoStack:d(),lastChangeType:n,selection:t.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return EditorState.set(e,p)},EditorState.undo=function(e){if(!e.getAllowUndo())return e;var t=e.getUndoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),i=s.getDirectionMap(n,e.getDirectionMap());return EditorState.set(e,{currentContent:n,directionMap:i,undoStack:t.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},EditorState.redo=function(e){if(!e.getAllowUndo())return e;var t=e.getRedoStack(),n=t.peek();if(!n)return e;var r=e.getCurrentContent(),i=s.getDirectionMap(n,e.getDirectionMap());return EditorState.set(e,{currentContent:n,directionMap:i,undoStack:e.getUndoStack().push(r),redoStack:t.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},EditorState}();function m(e,t,n){return v.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function y(e,t){return e.getBlockMap().map((function(n){return o.generate(e,n,t)})).toOrderedMap()}function b(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function w(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):c()}e.exports=v},47387:(e,t,n)=>{"use strict";var r=n(4856),i=n(17797),o=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return o&&e.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(e){return o?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:i};e.exports=a},70054:()=>{},41947:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289),o=n(1665),a=n(22045),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=i.push(e,t,"insert-characters");return i.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),o=n.getBlockBefore(r);if(o&&"atomic"===o.getType()){var a=n.getBlockMap().delete(o.getKey()),u=n.merge({blockMap:a,selectionAfter:t});if(u!==n)return i.push(e,u,"remove-range")}var l=s.tryToRemoveBlockStyle(e);return l?i.push(e,l,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),o=t.getStartKey(),a=n.getBlockForKey(o).getLength();if(t.getStartOffset()<a)return null;var s=n.getBlockAfter(o);if(!s||"atomic"!==s.getType())return null;var u=t.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),l=r.removeRange(n,u,"forward");return l!==n?i.push(e,l,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return t;var s=t.getCurrentContent(),u=s.getBlockForKey(a),l=u.getType();if("unordered-list-item"!==l&&"ordered-list-item"!==l)return t;e.preventDefault();var c=u.getDepth();if(!e.shiftKey&&c===n)return t;var f=o(s,r,e.shiftKey?-1:1,n);return i.push(t,f,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),o=n.getStartKey(),s=n.getEndKey(),u=e.getCurrentContent(),l=n;if(o!==s&&0===n.getEndOffset()){var c=a(u.getBlockBefore(s));s=c.getKey(),l=l.merge({anchorKey:o,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:c.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile((function(e,t){return t!==o})).reverse().skipWhile((function(e,t){return t!==s})).some((function(e){return"atomic"===e.getType()})))return e;var f=u.getBlockForKey(o).getType()===t?"unstyled":t;return i.push(e,r.setBlockType(u,l,f),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),o=e.getCurrentInlineStyle();if(n.isCollapsed())return i.setInlineStyleOverride(e,o.has(t)?o.remove(t):o.add(t));var a,s=e.getCurrentContent();return a=o.has(t)?r.removeInlineStyle(s,n,t):r.applyInlineStyle(s,n,t),i.push(e,a,"change-inline-style")},toggleLink:function(e,t,n){var o=r.applyEntity(e.getCurrentContent(),t,n);return i.push(e,o,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),o=e.getCurrentContent(),a=o.getBlockForKey(i).getType(),s=o.getBlockBefore(i);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(o,t,"unstyled")}return null}};e.exports=s},83751:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289),o=n(88687),a=n(22045),s=null,u={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),u=null;if(n.isCollapsed()){var l=n.getAnchorKey(),c=t.getBlockForKey(l).getLength();if(c===n.getAnchorOffset()){var f=t.getKeyAfter(l);if(null==f)return e;u=n.set("focusKey",f).set("focusOffset",0)}else u=n.set("focusOffset",c)}else u=n;u=a(u),s=o(t,u);var d=r.removeRange(t,u,"forward");return d===t?e:i.push(e,d,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return i.push(e,t,"insert-fragment")}};e.exports=u},25110:(e,t,n)=>{"use strict";var r=function(e){var t,n;function SelectionState(){return e.apply(this,arguments)||this}n=e,(t=SelectionState).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=SelectionState.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},SelectionState.createEmpty=function(e){return new SelectionState({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},SelectionState}((0,n(43393).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},1665:e=>{"use strict";e.exports=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},2835:(e,t,n)=>{"use strict";var r=n(4516);e.exports=function(e,t,n,i){for(var o=t,a=e.getCharacterList();o<n;)a=a.set(o,r.applyEntity(a.get(o),i)),o++;return e.set("characterList",a)}},68750:(e,t,n)=>{"use strict";var r=n(2835),i=n(43393);e.exports=function(e,t,n){var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=t.getEndKey(),l=t.getEndOffset(),c=o.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===u})).toOrderedMap().merge(i.OrderedMap([[u,o.get(u)]])).map((function(e,t){var i=t===a?s:0,o=t===u?l:e.getLength();return r(e,i,o,n)}));return e.merge({blockMap:o.merge(c),selectionBefore:t,selectionAfter:t})}},79981:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(38777),o=n(67953),a=n(86155),s=n(56265),u=n(31487),l=n(73759),c=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:u(e),entityRanges:s(e,t),data:e.getData().toObject()}},f=function(e,t,n,a){if(e instanceof i)n.push(c(e,t));else{e instanceof o||l(!1);var s=e.getParentKey(),u=a[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}({},c(e,t),{children:[]});s?a[s].children.push(u):n.push(u)}};e.exports=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},s=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=a.stringify(r);o[i]||(o[i]=r,n[i]="".concat(s),s++)})),f(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(a.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t}},67841:(e,t,n)=>{"use strict";var r;function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(4516),s=n(38777),u=n(67953),l=n(526),c=n(82222),f=n(61425),d=n(62620),p=n(25027),h=n(69769),g=n(68642),v=n(43393),m=v.List,y=v.Map,b=v.OrderedSet,w=n(78241),S=n(16581),E=n(20717),x=n(35039),_=g("draft_tree_data_support"),k=new RegExp("\r","g"),C=new RegExp("\n","g"),O=new RegExp("^\n","g"),M=new RegExp("&nbsp;","g"),D=new RegExp("&#13;?","g"),T=new RegExp("&#8203;?","g"),I=["bold","bolder","500","600","700","800","900"],P=["light","lighter","normal","100","200","300","400"],R=["className","href","rel","target","title"],A=["alt","className","height","src","width"],N=(o(r={},d("public/DraftStyleDefault/depth0"),0),o(r,d("public/DraftStyleDefault/depth1"),1),o(r,d("public/DraftStyleDefault/depth2"),2),o(r,d("public/DraftStyleDefault/depth3"),3),o(r,d("public/DraftStyleDefault/depth4"),4),r),L=y({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),B=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),y(t)},F=function(e){if(E(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(N).some((function(n){e.classList.contains(n)&&(t=N[n])})),t},j=function(e){if(!w(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{new f(t.href);return!0}catch(e){return!1}},K=function(e){if(!x(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},U=function(e,t){if(!E(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){I.indexOf(r)>=0?e.add("BOLD"):P.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},q=function(e){return"ul"===e||"ol"===e},W=function(){function ContentBlocksBuilder(e,t){o(this,"characterList",m()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",c),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var e=ContentBlocksBuilder.prototype;return e.clear=function(){this.characterList=m(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=c,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(_?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||p(),n=i({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:m(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=m(),this.currentBlockType="unstyled",this.currentText="",n},e._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||q(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;q(o)&&(this.wrapper=o,q(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(K(i))this._addImgNode(i,t);else if(j(i))this._addAnchorNode(i,n,t);else{var l=t;L.has(o)&&(l=l.add(L.get(o))),l=U(i,l);var c=F(i);null!=c&&(l=l.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),l))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var f=this.currentDepth,d=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!_&&E(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var h=i;this.currentDepth=z(h,this.currentDepth)}var g=p(),v=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:g,childConfigs:v,type:u})),this.currentDepth=f,this.wrapper=d}}}return n},e._appendText=function(e,t){var n;this.currentText+=e;var r=a.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},e._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=m()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},e._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(O,"")).replace(C," ")),this._appendText(n,t)},e._addBreakNode=function(e,t){S(e)&&this._appendText("\n",t)},e._addImgNode=function(e,t){if(x(e)){var n=e,r={};A.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},e._addAnchorNode=function(e,t,n){if(w(e)){var r=e,i={};R.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new f(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,r=0;r<=n;r++){var o=e[r];o.parent=t,o.prevSibling=r>0?e[r-1].key:null,o.nextSibling=r<n?e[r+1].key:null,o.children=m(o.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new u(i({},o))),this._toContentBlocks(o.childConfigs,o.key)}},e._hoistContainersInBlockConfigs=function(e){var t=this;return m(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},e._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),r=n.text,o=n.characterList;t.contentBlocks.push(new s(i({},e,{text:e.text+r,characterList:e.characterList.concat(o)})))}))},e._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=m(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},ContentBlocksBuilder}();e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=t(e=e.trim().replace(k,"").replace(M," ").replace(D,"").replace(T,""));if(!r)return null;var i=B(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new W(i,o).addDOMNode(r).getContentBlocks()}},99607:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(38777),a=n(67953),s=n(66912),u=n(82222),l=n(68957),c=(n(12119),n(25110)),f=n(86019),d=n(67134),p=n(59672),h=n(25027),g=n(68642),v=n(43393),m=n(73759),y=g("draft_tree_data_support"),b=v.List,w=v.Map,S=v.OrderedMap,E=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||h(),data:w(i),characterList:x(e,t)}},x=function(e,t){var n=e.text,i=e.entityRanges,o=e.inlineStyleRanges,a=i||[];return f(p(n,o||[]),d(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return r({},e,{key:t[e.key]})}))))},_=function(e){return r({},e,{key:e.key||h()})},k=function(e,t,n){var i=t.map((function(e){return r({},e,{parentRef:n})}));return e.concat(i.reverse())},C=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=y&&!n?l.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!y)return function(e,t){return S(e.map((function(e){var n=new o(E(e,t));return[n.getKey(),n]})))}(n?l.fromRawTreeStateToRawState(e).blocks:i,t);var s=function(e,t){return e.map(_).reduce((function(n,i,o){Array.isArray(i.children)||m(!1);var s=i.children.map(_),u=new a(r({},E(i,t),{prevSibling:0===o?null:e[o-1].key,nextSibling:o===e.length-1?null:e[o+1].key,children:b(s.map((function(e){return e.key})))}));n=n.set(u.getKey(),u);for(var l=k([],s,u);l.length>0;){var c=l.pop(),f=c.parentRef,d=f.getChildKeys(),p=d.indexOf(c.key),h=Array.isArray(c.children);if(!h){h||m(!1);break}var g=c.children.map(_),v=new a(r({},E(c,t),{parent:f.getKey(),children:b(g.map((function(e){return e.key}))),prevSibling:0===p?null:d.get(p-1),nextSibling:p===d.size-1?null:d.get(p+1)}));n=n.set(v.getKey(),v),l=k(l,g,v)}return n}),S())}(i,t);return s};e.exports=function(e){Array.isArray(e.blocks)||m(!1);var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=u.__create(i,o,a||{})})),n}(e),n=C(e,t),r=n.isEmpty()?new c:c.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},86019:(e,t,n)=>{"use strict";var r=n(4516),i=n(43393).List;e.exports=function(e,t){var n=e.map((function(e,n){var i=t[n];return r.create({style:e,entity:i})}));return i(n)}},67134:(e,t,n)=>{"use strict";var r=n(38935).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=r(e,0,t.offset).length,o=i+r(e,t.offset,t.length).length,a=i;a<o;a++)n[a]=t.key})),n}},59672:(e,t,n)=>{"use strict";var r=n(38935),i=n(43393).OrderedSet,o=r.substr,a=i();e.exports=function(e,t){var n=Array(e.length).fill(a);return t&&t.forEach((function(t){for(var r=o(e,0,t.offset).length,i=r+o(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n}},99407:e=>{"use strict";e.exports={notEmptyKey:function(e){return null!=e&&""!=e}}},26396:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289),o=n(4856),a=n(42128),s=n(42177),u=n(40258),l=n(22045),c=n(56926),f=o.isBrowser("Firefox");function d(e,t,n,o,a){var s=r.replaceText(e.getCurrentContent(),e.getSelection(),t,n,o);return i.push(e,s,"insert-characters",a)}e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&s(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var o=n.getSelection(),p=o.getStartOffset(),h=o.getAnchorKey();if(!o.isCollapsed())return t.preventDefault(),void e.update(d(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var g,v=d(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),m=!1;if(m||(m=u(e._latestCommittedEditorState)),!m){var y=n.getBlockTree(h),b=v.getBlockTree(h);m=y.size!==b.size||y.zip(b).some((function(e){var t=e[0],n=e[1],i=t.get("start"),o=i+(i>=p?r.length:0),a=t.get("end"),s=a+(a>=p?r.length:0),u=n.get("start"),l=n.get("end"),c=n.get("decoratorKey");return t.get("decoratorKey")!==c||t.get("leaves").size!==n.get("leaves").size||o!==u||s!==l||null!=c&&l-u!=a-i}))}if(m||(g=r,m=f&&("'"==g||"/"==g)),m||(m=l(v.getDirectionMap()).get(h)!==l(n.getDirectionMap()).get(h)),m)return t.preventDefault(),v=i.set(v,{forceSelection:!0}),void e.update(v);v=i.set(v,{nativelyRenderedContent:v.getCurrentContent()}),e._pendingStateFromBeforeInput=v,c((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}}},43421:(e,t,n)=>{"use strict";var r=n(14289),i=n(67476),o=n(31003);e.exports=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&o(n)===n.body){var a=n.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&i(s,a.anchorNode)&&i(s,a.focusNode)&&a.removeAllRanges()}var u=e._latestEditorState,l=u.getSelection();if(l.getHasFocus()){var c=l.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(r.acceptSelection(u,c))}}},6155:(e,t,n)=>{"use strict";var r=n(14289);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},69328:(e,t,n)=>{"use strict";var r=n(94882);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},88922:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289),o=n(19051),a=n(94882),s=n(79749),u=n(80809);e.exports=function(e,t){var n,l=e._latestEditorState,c=l.getSelection(),f=t.target;if(c.isCollapsed())t.preventDefault();else{if(u(f)){var d=f;n=s(o.getScrollParent(d))}var p=a(l);e.setClipboard(p),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=r.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return i.push(e,t,"remove-range")}(l))}),0)}}},39499:e=>{"use strict";e.exports=function(e,t){e.setMode("drag"),t.preventDefault()}},80981:e=>{"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},62186:(e,t,n)=>{"use strict";var r=n(14289),i=n(4856);e.exports=function(e,t){var n=e._latestEditorState,o=n.getSelection();if(!o.getHasFocus()){var a=o.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),i.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},29971:(e,t,n)=>{"use strict";var r=n(42307),i=n(22146),o=n(14289),a=n(4856),s=n(99407).notEmptyKey,u=n(69270),l=n(62800),c=n(22045),f=a.isEngine("Gecko");e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,d=n.isCollapsed,p=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!p){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var v=a.textContent,m=e._latestEditorState,y=c(u(a)),b=i.decode(y),w=b.blockKey,S=b.decoratorKey,E=b.leafKey,x=m.getBlockTree(w).getIn([S,"leaves",E]),_=x.start,k=x.end,C=m.getCurrentContent(),O=C.getBlockForKey(w),M=O.getText().slice(_,k);if(v.endsWith("\n\n")&&(v=v.slice(0,-1)),v!==M){var D,T,I,P,R=m.getSelection(),A=R.merge({anchorOffset:_,focusOffset:k,isBackward:!1}),N=O.getEntityAt(_),L=s(N)?C.getEntity(N):null,B="MUTABLE"===(null!=L?L.getMutability():null),F=B?"spellcheck-change":"apply-entity",z=r.replaceText(C,A,v,O.getInlineStyleAt(_),B?O.getEntityAt(_):null);if(f)D=n.anchorOffset,T=n.focusOffset,P=(I=_+Math.min(D,T))+Math.abs(D-T),D=I,T=P;else{var j=v.length-M.length;I=R.getStartOffset(),P=R.getEndOffset(),D=d?P+j:I,T=P+j}var K=z.merge({selectionBefore:C.getSelectionAfter(),selectionAfter:R.merge({anchorOffset:D,focusOffset:T})});e.update(o.push(m,K,F))}else{var U=t.nativeEvent.inputType;if(U){var q=function(e,t){return"deleteContentBackward"===e?l(t):t}(U,m);if(q!==m)return e.restoreEditorDOM(),void e.update(q)}}}}},46397:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289),o=n(47387),a=n(25399),s=n(83751),u=n(4856),l=n(42177),c=n(49779),f=n(51050),d=n(13767),p=n(77978),h=n(67217),g=n(8425),v=n(62800),m=n(13998),y=n(53318),b=n(87051),w=o.isOptionKeyCommand,S=u.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,o=e._latestEditorState;function u(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&l(e.props.handleReturn(t,o)))return;break;case a.ESC:if(t.preventDefault(),u("onEscape"))return;break;case a.TAB:if(u("onTab"))return;break;case a.UP:if(u("onUpArrow"))return;break;case a.RIGHT:if(u("onRightArrow"))return;break;case a.DOWN:if(u("onDownArrow"))return;break;case a.LEFT:if(u("onLeftArrow"))return;break;case a.SPACE:S&&w(t)&&t.preventDefault()}var E=e.props.keyBindingFn(t);if(null!=E&&""!==E)if("undo"!==E){if(t.preventDefault(),!e.props.handleKeyCommand||!l(e.props.handleKeyCommand(E,o,t.timeStamp))){var x=function(e,t,n){switch(e){case"redo":return i.redo(t);case"delete":return m(t);case"delete-word":return d(t);case"backspace":return v(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return c(t,n);case"split-block":return p(t);case"transpose-characters":return y(t);case"move-selection-to-start-of-block":return g(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(E,o,t);x!==o&&e.update(x)}}else b(t,o,e.update);else if(n===a.SPACE&&S&&w(t)){var _=r.replaceText(o.getCurrentContent(),o.getSelection()," ");e.update(i.push(o,_,"insert-characters"))}}},6089:(e,t,n)=>{"use strict";var r=n(10329),i=n(4516),o=n(44891),a=n(42307),s=n(45712),u=n(14289),l=n(41947),c=n(42128),f=n(21738),d=n(42177),p=n(44300);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return u.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new o(t.clipboardData);if(!n.isRichText()){var g=n.getFiles(),v=n.getText();if(g.length>0){if(e.props.handlePastedFiles&&d(e.props.handlePastedFiles(g)))return;return void f(g,(function(t){if(t=t||v){var n=e._latestEditorState,o=p(t),f=i.create({style:n.getCurrentInlineStyle(),entity:c(n.getCurrentContent(),n.getSelection())}),d=l.getCurrentBlockType(n),h=s.processText(o,f,d),g=r.createFromArray(h),m=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);e.update(u.push(n,m,"insert-fragment"))}}))}}var m=[],y=n.getText(),b=n.getHTML(),w=e._latestEditorState;if(e.props.formatPastedText){var S=e.props.formatPastedText(y,b);y=S.text,b=S.html}if(!e.props.handlePastedText||!d(e.props.handlePastedText(y,b,w))){if(y&&(m=p(y)),!e.props.stripPastedStyles){var E,x=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&x){if(-1!==(null===(E=b)||void 0===E?void 0:E.indexOf(e.getEditorKey()))||1===m.length&&1===x.size&&x.first().getText()===y)return void e.update(h(e._latestEditorState,x))}else if(x&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(m,x))return void e.update(h(e._latestEditorState,x));if(b){var _=s.processHTML(b,e.props.blockRenderMap);if(_){var k=_.contentBlocks,C=_.entityMap;if(k){var O=r.createFromArray(k);return void e.update(h(e._latestEditorState,O,C))}}}e.setClipboard(null)}if(m.length){var M=i.create({style:w.getCurrentInlineStyle(),entity:c(w.getCurrentContent(),w.getSelection())}),D=l.getCurrentBlockType(w),T=s.processText(m,M,D),I=r.createFromArray(T);e.update(h(e._latestEditorState,I))}}}},14507:(e,t,n)=>{"use strict";var r=n(97432),i=n(14289),o=n(84907),a=n(1244);e.exports=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,s=a(n,o(e)),u=s.selectionState;u!==n.getSelection()&&(n=s.needsRecovery?i.forceSelection(n,u):i.acceptSelection(n,u),e.update(n))}}},56265:(e,t,n)=>{"use strict";var r=n(86155),i=n(38935).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(o,a){var s=e.getText(),u=e.getEntityAt(o);n.push({offset:i(s.slice(0,o)),length:i(s.slice(o,a)),key:Number(t[r.stringify(u)])})})),n}},31487:(e,t,n)=>{"use strict";var r=n(38935),i=n(29407),o=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var s=[],u=t.map((function(e){return e.has(n)})).toList();return i(u,o,a,(function(t,i){var o=e.getText();s.push({offset:r.strlen(o.slice(0,t)),length:r.strlen(o.slice(t,i)),style:n})})),s}(e,t,n)}));return Array.prototype.concat.apply(s,n.toJS())}},88182:(e,t,n)=>{"use strict";var r=n(38935),i=n(75795),o=n(6092),a=n(73759);function s(e,t){for(var n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function u(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}e.exports=function(e){e.collapsed||a(!1);var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=i(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var o=n.body;o||a(!1),o.appendChild(r);var s=r.getBoundingClientRect();return o.removeChild(r),s.height}(t),l=e.endContainer,c=e.endOffset;for(e.setStart(e.startContainer,0);s(o(e),n)&&(l=e.startContainer,c=e.startOffset,l.parentNode||a(!1),e.setStartBefore(l),1!==l.nodeType||"inline"===getComputedStyle(l).display););for(var f=l,d=c-1;;){for(var p=f.nodeValue,h=d;h>=0;h--)if(!(null!=p&&h>0&&r.isSurrogatePair(p,h-1))){if(e.setStart(f,h),!s(o(e),n))break;l=f,c=h}if(-1===h||0===f.childNodes.length)break;d=u(f=f.childNodes[h])}return e.setStart(l,c),e}},69270:(e,t,n)=>{"use strict";var r=n(75795),i=n(93578);e.exports=function(e){for(var t=e;t&&t!==r(e).documentElement;){var n=i(t);if(null!=n)return n;t=t.parentNode}return null}},29407:e=>{"use strict";e.exports=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}}},25027:e=>{"use strict";var t={},n=Math.pow(2,24);e.exports=function(){for(var e;void 0===e||t.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*n).toString(32);return t[e]=!0,e}},81446:(e,t,n)=>{"use strict";var r=n(5195),i=n(64994),o=n(73759);function a(e,t,n,a,s,u,l){var c=n.getStartOffset(),f=n.getEndOffset(),d=e.__get(s).getMutability(),p=l?c:f;if("MUTABLE"===d)return n;var h=i(t,s).filter((function(e){return p<=e.end&&p>=e.start}));1!=h.length&&o(!1);var g=h[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});u||(l?f=g.end:c=g.start);var v=r.getRemovalRange(c,f,t.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:v.start,focusOffset:v.end,isBackward:!1})}e.exports=function(e,t,n,r,i){var o=r.getStartOffset(),s=r.getEndOffset(),u=t.getEntityAt(o),l=n.getEntityAt(s-1);if(!u&&!l)return r;var c=r;if(u&&u===l)c=a(e,t,c,i,u,!0,!0);else if(u&&l){var f=a(e,t,c,i,u,!1,!0),d=a(e,n,c,i,l,!1,!1);c=c.merge({anchorOffset:f.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(u){var p=a(e,t,c,i,u,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=a(e,n,c,i,l,!1,!1);c=c.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return c}},84907:(e,t,n)=>{"use strict";var r=n(73759),i=n(20717);e.exports=function(e){var t=e.editorContainer;return t||r(!1),i(t.firstChild)||r(!1),t.firstChild}},88687:(e,t,n)=>{"use strict";var r=n(98555),i=n(14017);e.exports=function(e,t){var n=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=i(e,t).getBlockMap(),l=u.keySeq(),c=l.indexOf(n),f=l.indexOf(a)+1;return r(u.slice(c,f).map((function(e,t){var r=e.getText(),i=e.getCharacterList();return n===a?e.merge({text:r.slice(o,s),characterList:i.slice(o,s)}):t===n?e.merge({text:r.slice(o),characterList:i.slice(o)}):t===a?e.merge({text:r.slice(0,s),characterList:i.slice(0,s)}):e})))}},75795:e=>{"use strict";e.exports=function(e){return e&&e.ownerDocument?e.ownerDocument:document}},41714:(e,t,n)=>{"use strict";var r=n(47387),i=n(25399),o=n(4856),a=o.isPlatform("Mac OS X"),s=a&&o.isBrowser("Firefox < 29"),u=r.hasCommandModifier,l=r.isCtrlKeyCommand;function c(e){return a&&e.altKey||l(e)}e.exports=function(e){switch(e.keyCode){case 66:return u(e)?"bold":null;case 68:return l(e)?"delete":null;case 72:return l(e)?"backspace":null;case 73:return u(e)?"italic":null;case 74:return u(e)?"code":null;case 75:return a&&l(e)?"secondary-cut":null;case 77:case 79:return l(e)?"split-block":null;case 84:return a&&l(e)?"transpose-characters":null;case 85:return u(e)?"underline":null;case 87:return a&&l(e)?"backspace-word":null;case 89:return l(e)?a?"secondary-paste":"redo":null;case 90:return function(e){return u(e)?e.shiftKey?"redo":"undo":null}(e)||null;case i.RETURN:return"split-block";case i.DELETE:return function(e){return!a&&e.shiftKey?null:c(e)?"delete-word":"delete"}(e);case i.BACKSPACE:return function(e){return u(e)&&a?"backspace-to-start-of-line":c(e)?"backspace-word":"backspace"}(e);case i.LEFT:return s&&u(e)?"move-selection-to-start-of-block":null;case i.RIGHT:return s&&u(e)?"move-selection-to-end-of-block":null;default:return null}}},1244:(e,t,n)=>{"use strict";var r=n(8101);e.exports=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,o=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,t,i,o,a,s)}},8101:(e,t,n)=>{"use strict";var r=n(69270),i=n(93578),o=n(94486),a=n(73759),s=n(84368),u=n(22045);function l(e,t,n){var o=t,l=r(o);(null!=l||e&&(e===o||e.firstChild===o)||a(!1),e===o)&&(o=o.firstChild,s(o)||a(!1),"true"!==(o=o).getAttribute("data-contents")&&a(!1),n>0&&(n=o.childNodes.length));if(0===n){var f=null;if(null!=l)f=l;else{var d=function(e){for(;e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||i(e.firstChild));)e=e.firstChild;return e}(o);f=u(i(d))}return{key:f,offset:0}}var p=o.childNodes[n-1],h=null,g=null;if(i(p)){var v=function(e){for(;e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||i(e.lastChild));)e=e.lastChild;return e}(p);h=u(i(v)),g=c(v)}else h=u(l),g=c(p);return{key:h,offset:g}}function c(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,i,a,s){var c=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(c&&f)return{selectionState:o(e,u(r(n)),i,u(r(a)),s),needsRecovery:!1};var d=null,p=null,h=!0;return c?(d={key:u(r(n)),offset:i},p=l(t,a,s)):f?(p={key:u(r(a)),offset:s},d=l(t,n,i)):(d=l(t,n,i),p=l(t,a,s),n===a&&i===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:o(e,d.key,d.offset,p.key,p.offset),needsRecovery:h}}},42128:(e,t,n)=>{"use strict";var r=n(99407).notEmptyKey;function i(e,t){return r(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),o=t.getAnchorOffset();return o>0?(n=e.getBlockForKey(r).getEntityAt(o-1))!==e.getBlockForKey(r).getEntityAt(o)?null:i(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),u=e.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),i(e.getEntityMap(),n)}},94882:(e,t,n)=>{"use strict";var r=n(88687);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},39506:(e,t,n)=>{"use strict";var r=n(67953);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var o=t.get(i);o&&!o.getNextSiblingKey();){var a=o.getParentKey();o=a?t.get(a):null}return o?o.getNextSiblingKey():null}},96495:e=>{"use strict";e.exports=function(e){return Object.keys(e).map((function(t){return e[t]}))}},98056:(e,t,n)=>{"use strict";var r=n(6092);e.exports=function(e){var t=r(e),n=0,i=0,o=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,i=s.right,o=s.bottom,a=s.left}else{var u=t[0];n=u.top,i=u.right,o=u.bottom,a=u.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),i=Math.max(i,c.right),o=Math.max(o,c.bottom),a=Math.min(a,c.left))}}return{top:n,right:i,bottom:o,left:a,width:i-a,height:o-n}}},6092:(e,t,n)=>{"use strict";var r=n(4856),i=n(73759);var o=r.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var o=r===e.commonAncestorContainer;o?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,s=Array.from(t.getClientRects());if(n.push(s),o)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(r)}i(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=o},64994:(e,t,n)=>{"use strict";var r=n(73759);e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||r(!1),n}},69769:(e,t,n)=>{"use strict";var r=n(4856),i=n(73759),o=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},93578:(e,t,n)=>{"use strict";var r=n(84368);e.exports=function e(t){if(r(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var o=0;o<n.childNodes.length;o++){var a=e(n.childNodes[o]);if(a)return a}}return null}},21738:(e,t,n)=>{"use strict";var r=n(73759),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};e.exports=function(e,t){var a=0,s=[];e.forEach((function(u){!function(e,t){if(!n.g.FileReader||e.type&&!(e.type in o))return void t("");if(""===e.type){var a="";return i.test(e.name)&&(a=e.name.replace(i,"")),void t(a)}var s=new FileReader;s.onload=function(){var e=s.result;"string"!=typeof e&&r(!1),t(e)},s.onerror=function(){t("")},s.readAsText(e)}(u,(function(n){a++,n&&s.push(n.slice(0,5e3)),a==e.length&&t(s.join("\r"))}))}))}},94486:(e,t,n)=>{"use strict";var r=n(22146),i=n(22045);e.exports=function(e,t,n,o,a){var s=i(e.getSelection());if(!t||!o)return s;var u=r.decode(t),l=u.blockKey,c=e.getBlockTree(l),f=c&&c.getIn([u.decoratorKey,"leaves",u.leafKey]),d=r.decode(o),p=d.blockKey,h=e.getBlockTree(p),g=h&&h.getIn([d.decoratorKey,"leaves",d.leafKey]);if(!f||!g)return s;var v=f.get("start"),m=g.get("start"),y=f?v+n:null,b=g?m+a:null;if(s.getAnchorKey()===l&&s.getAnchorOffset()===y&&s.getFocusKey()===p&&s.getFocusOffset()===b)return s;var w=!1;if(l===p){var S=f.get("end"),E=g.get("end");w=m===v&&E===S?a<n:m<v}else{w=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===l||e===p})).first()===p}return s.merge({anchorKey:l,anchorOffset:y,focusKey:p,focusOffset:b,isBackward:w})}},96629:(e,t,n)=>{"use strict";var r=n(98056);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=r(n),o=i.top,a=i.right,s=i.bottom,u=i.left;return 0===o&&0===a&&0===s&&0===u?null:i}},48083:e=>{"use strict";e.exports=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}},68642:e=>{"use strict";e.exports=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]}},54542:(e,t,n)=>{"use strict";var r=n(10329),i=n(67953),o=n(43393),a=n(40779),s=n(73759),u=n(98555),l=o.List,c=function(e,t,n,r,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",u=n.get(i),l=u.getText(),c=u.getCharacterList(),f=i,d=o+r.getText().length,p=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":p=r.getData().merge(u.getData());break;case"REPLACE_WITH_NEW_DATA":p=r.getData()}var h=u.getType();l&&"unstyled"===h&&(h=r.getType());var g=u.merge({text:l.slice(0,o)+r.getText()+l.slice(o),characterList:a(c,r.getCharacterList(),o),type:h,data:p});return e.merge({blockMap:n.set(i,g),selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:d,focusKey:f,focusOffset:d,isBackward:!1})})},f=function(e,t,n,o,a,s){var u=n.first()instanceof i,c=[],f=o.size,d=n.get(a),p=o.first(),h=o.last(),g=h.getLength(),v=h.getKey(),m=u&&(!d.getChildKeys().isEmpty()||!p.getChildKeys().isEmpty());n.forEach((function(e,t){t===a?(m?c.push(e):c.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,s,o)),o.slice(m?0:1,f-1).forEach((function(e){return c.push(e)})),c.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,s,o))):c.push(e)}));var y=r.createFromArray(c);return u&&(y=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=u[u.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var f=e.get(s).getChildKeys(),d=f.indexOf(i)+1,p=f.toArray();p.splice.apply(p,[d,0].concat(u)),t.setIn([s,"children"],l(p))}}))}(y,0,d,p)),e.merge({blockMap:y,selectionBefore:t,selectionAfter:t.merge({anchorKey:v,anchorOffset:g,focusKey:v,focusOffset:g,isBackward:!1})})};e.exports=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var o=e.getBlockMap(),a=u(n),l=t.getStartKey(),d=t.getStartOffset(),p=o.get(l);return p instanceof i&&(p.getChildKeys().isEmpty()||s(!1)),1===a.size?c(e,t,o,a.first(),l,d,r):f(e,t,o,a,l,d)}},40779:e=>{"use strict";e.exports=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r}},18467:(e,t,n)=>{"use strict";var r=n(43393),i=n(40779),o=n(73759),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||o(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return e;var u=e.getBlockMap(),l=t.getStartKey(),c=t.getStartOffset(),f=u.get(l),d=f.getText(),p=f.merge({text:d.slice(0,c)+n+d.slice(c,f.getLength()),characterList:i(f.getCharacterList(),a(r,s).toList(),c)}),h=c+s;return e.merge({blockMap:u.set(l,p),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},84368:e=>{"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}},42177:e=>{"use strict";e.exports=function(e){return"handled"===e||!0===e}},78241:(e,t,n)=>{"use strict";var r=n(84368);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"A"===e.nodeName)}},16581:(e,t,n)=>{"use strict";var r=n(84368);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"BR"===e.nodeName)}},20717:e=>{"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}},35039:(e,t,n)=>{"use strict";var r=n(84368);e.exports=function(e){return!(!e||!e.ownerDocument)&&(r(e)&&"IMG"===e.nodeName)}},80809:e=>{"use strict";e.exports=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}},40258:e=>{"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o}},17797:(e,t,n)=>{"use strict";var r=n(25399);e.exports=function(e){return e.which===r.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}},49779:(e,t,n)=>{"use strict";var r=n(14289),i=n(88182),o=n(8101),a=n(53268),s=n(14730);e.exports=function(e,t){var n=s(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=i(r),o(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:r.push(e,n,"remove-range")}},51050:(e,t,n)=>{"use strict";var r=n(73932),i=n(14289),o=n(53268),a=n(14730);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return o(e,1);var i=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),s=r.getBackward(a);return o(e,s.length||1)}),"backward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}},13767:(e,t,n)=>{"use strict";var r=n(73932),i=n(14289),o=n(19417),a=n(14730);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(i).getText().slice(n),s=r.getForward(a);return o(e,s.length||1)}),"forward");return t===e.getCurrentContent()?e:i.push(e,t,"remove-range")}},77978:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289);e.exports=function(e){var t=r.splitBlock(e.getCurrentContent(),e.getSelection());return i.push(e,t,"split-block")}},67217:(e,t,n)=>{"use strict";var r=n(14289);e.exports=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}},8425:(e,t,n)=>{"use strict";var r=n(14289);e.exports=function(e){var t=e.getSelection(),n=t.getStartKey();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},62800:(e,t,n)=>{"use strict";var r=n(14289),i=n(38935),o=n(53268),a=n(14730);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return o(e,s?i.getUTF16Length(s,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},13998:(e,t,n)=>{"use strict";var r=n(14289),i=n(38935),o=n(19417),a=n(14730);e.exports=function(e){var t=a(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return o(e,s?i.getUTF16Length(s,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},53318:(e,t,n)=>{"use strict";var r=n(42307),i=n(14289),o=n(88687);e.exports=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var a,s,u=t.getAnchorKey(),l=e.getCurrentContent(),c=l.getBlockForKey(u).getLength();if(c<=1)return e;n===c?(a=t.set("anchorOffset",n-1),s=t):s=(a=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=o(l,a),d=r.removeRange(l,a,"backward"),p=d.getSelectionAfter(),h=p.getAnchorOffset()-1,g=p.merge({anchorOffset:h,focusOffset:h}),v=r.replaceWithFragment(d,g,f),m=i.push(e,v,"insert-fragment");return i.acceptSelection(m,s)}},87051:(e,t,n)=>{"use strict";var r=n(14289);e.exports=function(e,t,n){var i=r.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(r.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var o=i.getCurrentContent();n(r.set(i,{nativelyRenderedContent:o}))}}},57429:(e,t,n)=>{"use strict";var r=n(43393).Map;e.exports=function(e,t,n){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===o})).concat(r([[o,a.get(o)]])).map(n);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}},61173:(e,t,n)=>{"use strict";var r=n(67953),i=n(39506),o=n(43393),a=n(73759),s=o.OrderedMap,u=o.List,l=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},c=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),c=t.getParentKey(),f=t.getNextSiblingKey(),d=t.getPrevSiblingKey(),p=n.getParentKey(),h=o?n.getNextSiblingKey():s,g=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){l(c,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),l(d,e,(function(e){return e.merge({nextSibling:f})})),l(f,e,(function(e){return e.merge({prevSibling:d})})),l(h,e,(function(e){return e.merge({prevSibling:a})})),l(g,e,(function(e){return e.merge({nextSibling:a})})),l(p,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:u(i)})})),l(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:g,parent:p})}))}))};e.exports=function(e,t,n,o){"replace"===o&&a(!1);var u=n.getKey(),l=t.getKey();l===u&&a(!1);var f=e.getBlockMap(),d=t instanceof r,p=[t],h=f.delete(l);d&&(p=[],h=f.withMutations((function(e){var n=t.getNextSiblingKey(),r=i(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===l})).takeWhile((function(e){var t=e.getKey(),i=t===l,o=n&&t!==n,a=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||o||a)})).forEach((function(t){p.push(t),e.delete(t.getKey())}))})));var g=h.toSeq().takeUntil((function(e){return e===n})),v=h.toSeq().skipUntil((function(e){return e===n})).skip(1),m=p.map((function(e){return[e.getKey(),e]})),y=s();if("before"===o){var b=e.getBlockBefore(u);b&&b.getKey()===t.getKey()&&a(!1),y=g.concat([].concat(m,[[u,n]]),v).toOrderedMap()}else if("after"===o){var w=e.getBlockAfter(u);w&&w.getKey()===l&&a(!1),y=g.concat([[u,n]].concat(m),v).toOrderedMap()}return e.merge({blockMap:c(y,t,n,o,d),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:l,focusKey:l})})}},53268:(e,t,n)=>{"use strict";n(63620);e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var u=r.getKeyBefore(i);if(null==u)a=i;else a=u,s=r.getBlockForKey(u).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},19417:(e,t,n)=>{"use strict";n(63620);e.exports=function(e,t){var n,r=e.getSelection(),i=r.getStartKey(),o=r.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),n=0):n=o+t,r.merge({focusKey:s,focusOffset:n})}},98555:(e,t,n)=>{"use strict";var r=n(67953),i=n(25027),o=n(43393).OrderedMap;e.exports=function(e){return e.first()instanceof r?function(e){var t,n={};return o(e.withMutations((function(e){e.forEach((function(r,o){var a=r.getKey(),s=r.getNextSiblingKey(),u=r.getPrevSiblingKey(),l=r.getChildKeys(),c=r.getParentKey(),f=i();if(n[a]=f,s&&(e.get(s)?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null)),u&&(e.get(u)?e.setIn([u,"nextSibling"],f):e.setIn([a,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),f))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([a,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return o(e.toArray().map((function(e){var t=i();return[t,e.set("key",t)]})))}(e)}},14017:(e,t,n)=>{"use strict";var r=n(4516),i=n(29407),o=n(73759);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,u=n<a.count()?a.get(n):void 0,l=s?s.getEntity():void 0,c=u?u.getEntity():void 0;if(c&&c===l&&"MUTABLE"!==e.__get(c).getMutability()){for(var f,d=function(e,t,n){var r;return i(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&o(!1),r}(a,c,n),p=d.start,h=d.end;p<h;)f=a.get(p),a=a.set(p,r.applyEntity(f,null)),p++;return t.set("characterList",a)}return t}e.exports=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),s=t.getStartOffset(),u=n.get(o),l=a(r,u,s);l!==u&&(i[o]=l);var c=t.getEndKey(),f=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var p=a(r,d,f);return p!==d&&(i[c]=p),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)}},54879:(e,t,n)=>{"use strict";var r=n(67953),i=n(39506),o=n(43393),a=(o.List,o.Map),s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},l=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},c=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},f=function(e,t,n,r){return e.withMutations((function(o){if(s(t.getKey(),o,(function(e){return e.merge({nextSibling:l(e,o,r),prevSibling:c(e,o,r)})})),s(n.getKey(),o,(function(e){return e.merge({nextSibling:l(e,o,r),prevSibling:c(e,o,r)})})),u(t.getKey(),r).forEach((function(e){return s(e,o,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return o.get(e)})),nextSibling:l(e,o,r),prevSibling:c(e,o,r)})}))})),s(t.getNextSiblingKey(),o,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s(t.getPrevSiblingKey(),o,(function(e){return e.merge({nextSibling:l(e,o,r)})})),s(n.getNextSiblingKey(),o,(function(e){return e.merge({prevSibling:c(e,o,r)})})),s(n.getPrevSiblingKey(),o,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),u(n.getKey(),r).forEach((function(e){s(e,o,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return o.get(e)})),nextSibling:l(e,o,r),prevSibling:c(e,o,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=i(e,t);r&&t.get(r);){var o=t.get(r);n.push(r),r=o.getParentKey()?i(o,t):null}return n}(n,r).forEach((function(e){return s(e,o,(function(e){return e.merge({nextSibling:l(e,o,r),prevSibling:c(e,o,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();s(n.getKey(),o,(function(e){return e.merge({prevSibling:a})})),s(a,o,(function(e){return e.merge({nextSibling:n.getKey()})}));var f=a?e.get(a):null,d=f?f.getParentKey():null;if(t.getChildKeys().forEach((function(e){s(e,o,(function(e){return e.merge({parent:d})}))})),null!=d){var p=e.get(d);s(d,o,(function(e){return e.merge({children:p.getChildKeys().concat(t.getChildKeys())})}))}s(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),o,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},d=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n,o=e.getBlockMap(),s=t.getStartKey(),l=t.getStartOffset(),c=t.getEndKey(),p=t.getEndOffset(),h=o.get(s),g=o.get(c),v=h instanceof r,m=[];if(v){var y=g.getChildKeys(),b=u(c,o);g.getNextSiblingKey()&&(m=m.concat(b)),y.isEmpty()||(m=m.concat(b.concat([c]))),m=m.concat(u(i(g,o),o))}n=h===g?d(h.getCharacterList(),l,p):h.getCharacterList().slice(0,l).concat(g.getCharacterList().slice(p));var w=h.merge({text:h.getText().slice(0,l)+g.getText().slice(p),characterList:n}),S=v&&0===l&&0===p&&g.getParentKey()===s&&null==g.getPrevSiblingKey()?a([[s,null]]):o.toSeq().skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===c})).filter((function(e,t){return-1===m.indexOf(t)})).concat(a([[c,null]])).map((function(e,t){return t===s?w:null})),E=o.merge(S).filter((function(e){return!!e}));return v&&h!==g&&(E=f(E,h,g,o)),e.merge({blockMap:E,selectionBefore:t,selectionAfter:t.merge({anchorKey:s,anchorOffset:l,focusKey:s,focusOffset:l,isBackward:!1})})}},14730:(e,t,n)=>{"use strict";var r=n(42307),i=n(68642)("draft_tree_data_support");e.exports=function(e,t,n){var o=e.getSelection(),a=e.getCurrentContent(),s=o,u=o.getAnchorKey(),l=o.getFocusKey(),c=a.getBlockForKey(u);if(i&&"forward"===n&&u!==l)return a;if(o.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return a;if(i)if(o.getAnchorOffset()===a.getBlockForKey(u).getLength()){var f=a.getBlockForKey(c.nextSibling);if(!f||0===f.getLength())return a}}else if(e.isSelectionAtStartOfContent())return a;if((s=t(e))===o)return a}return r.removeRange(a,s,n)}},55283:e=>{"use strict";var t=new RegExp("\r","g");e.exports=function(e){return e.replace(t,"")}},45412:(e,t,n)=>{"use strict";var r=n(5880),i=n(97432),o=n(4856),a=n(67476),s=n(31003),u=n(75795),l=n(73759),c=n(84368),f=o.isBrowser("IE");function d(e,t){if(!e)return"[empty]";var n=p(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(c(n)||l(!1),n.outerHTML)}function p(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return u(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(p(o[a],t));return i}function h(e,t){for(var n=e,r=n;n;){if(c(n)&&r.hasAttribute("contenteditable"))return d(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function g(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function v(e,t,n,r){var o=s();if(e.extend&&null!=t&&a(o,t)){n>g(t)&&i.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var u=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw i.logSelectionStateFailure({anonymizedDom:h(t,(function(t){var n=[];return t===o&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:u,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var l=e.getRangeAt(0);l.setEnd(t,n),e.addRange(l.cloneRange())}}function m(e,t,n,o){var a=u(t).createRange();if(n>g(t)&&(i.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(o.toJS())}),r.handleExtensionCausedError()),a.setStart(t,n),f)try{e.addRange(a)}catch(e){0}else e.addRange(a)}e.exports={setDraftEditorSelection:function(e,t,n,r,i){var o=u(t);if(a(o.documentElement,t)){var s=o.defaultView.getSelection(),l=e.getAnchorKey(),c=e.getAnchorOffset(),f=e.getFocusKey(),d=e.getFocusOffset(),p=e.getIsBackward();if(!s.extend&&p){var h=l,g=c;l=f,c=d,f=h,d=g,p=!1}var y=l===n&&r<=c&&i>=c,b=f===n&&r<=d&&i>=d;if(y&&b)return s.removeAllRanges(),m(s,t,c-r,e),void v(s,t,d-r,e);if(p){if(b&&(s.removeAllRanges(),m(s,t,d-r,e)),y){var w=s.focusNode,S=s.focusOffset;s.removeAllRanges(),m(s,t,c-r,e),v(s,w,S,e)}}else y&&(s.removeAllRanges(),m(s,t,c-r,e)),b&&v(s,t,d-r,e)}},addFocusToSelection:v}},36043:(e,t,n)=>{"use strict";var r=n(67953),i=n(25027),o=n(43393),a=n(73759),s=n(57429),u=o.List,l=o.Map,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),o=e.getBlockMap(),f=o.get(n),d=f.getText();if(!d){var p=f.getType();if("unordered-list-item"===p||"ordered-list-item"===p)return s(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var h=t.getAnchorOffset(),g=f.getCharacterList(),v=i(),m=f instanceof r,y=f.merge({text:d.slice(0,h),characterList:g.slice(0,h)}),b=y.merge({key:v,text:d.slice(h),characterList:g.slice(h),data:l()}),w=o.toSeq().takeUntil((function(e){return e===f})),S=o.toSeq().skipUntil((function(e){return e===f})).rest(),E=w.concat([[n,y],[v,b]],S).toOrderedMap();return m&&(f.getChildKeys().isEmpty()||a(!1),E=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();c(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:u(o)})})),c(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),c(r,e,(function(e){return e.merge({nextSibling:i})})),c(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(E,y,b)),e.merge({blockMap:E,selectionBefore:t,selectionAfter:t.merge({anchorKey:v,anchorOffset:0,focusKey:v,focusOffset:0,isBackward:!1})})}},44300:e=>{"use strict";var t=/\r\n?|\n/g;e.exports=function(e){return e.split(t)}},76363:e=>{"use strict";e.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}},58875:(e,t,n)=>{var r;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},44891:(e,t,n)=>{"use strict";var r=n(51006),i=n(89825),o=n(60139),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(e){if("file"==e.kind)return e.getAsFile()}var l=function(){function DataTransfer(e){this.data=e,this.types=e.types?i(e.types):[]}var e=DataTransfer.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return s[e]}))},e.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!r.isImage(i))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},DataTransfer}();e.exports=l},25399:e=>{"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},51006:e=>{"use strict";var t={isImage:function(e){return"image"===n(e)[0]},isJpeg:function(e){var r=n(e);return t.isImage(e)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(e){return e.split("/")}e.exports=t},65994:e=>{"use strict";function t(e,t){return!!t&&(e===t.documentElement||e===t.body)}var n={getTop:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollTop||n.documentElement.scrollTop:e.scrollTop},setTop:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollTop=r.documentElement.scrollTop=n:e.scrollTop=n},getLeft:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollLeft||n.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:e.scrollLeft=n}};e.exports=n},19051:(e,t,n)=>{"use strict";function r(e,t){var n=i.get(e,t);return"auto"===n||"scroll"===n}var i={get:n(85466),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=i},65724:e=>{"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},61425:e=>{"use strict";var t=function(){function URI(e){var t,n,r;r=void 0,(n="_uri")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this._uri=e}return URI.prototype.toString=function(){return this._uri},URI}();e.exports=t},54191:(e,t,n)=>{"use strict";var r=n(16633),i=n(73759),o="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+o+a+"]"),u=new RegExp("["+o+a+"]");function l(e){var t=s.exec(e);return null==t?null:t[0]}function c(e){var t=l(e);return null==t?r.NEUTRAL:u.exec(t)?r.RTL:r.LTR}function f(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=c(e);return n===r.NEUTRAL?t:n}function d(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||i(!1),f(e,t)}var p={firstStrongChar:l,firstStrongCharDir:c,resolveBlockDir:f,getDirection:d,isDirectionLTR:function(e,t){return d(e,t)===r.LTR},isDirectionRTL:function(e,t){return d(e,t)===r.RTL}};e.exports=p},16633:(e,t,n)=>{"use strict";var r=n(73759),i="LTR",o=null;function a(e){return e===i||"RTL"===e}function s(e){return a(e)||r(!1),e===i?"ltr":"rtl"}function u(e){o=e}var l={NEUTRAL:"NEUTRAL",LTR:i,RTL:"RTL",isStrong:a,getHTMLDir:s,getHTMLDirIfDifferent:function(e,t){return a(e)||r(!1),a(t)||r(!1),e===t?null:s(e)},setGlobalDir:u,initGlobalDir:function(){u(i)},getGlobalDir:function(){return o||this.initGlobalDir(),o||r(!1),o}};e.exports=l},7902:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(54191),o=n(16633),a=n(73759),s=function(){function UnicodeBidiService(e){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),e?o.isStrong(e)||a(!1):e=o.getGlobalDir(),this._defaultDir=e,this.reset()}var e=UnicodeBidiService.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(e){return this._lastDir=i.getDirection(e,this._lastDir),this._lastDir},UnicodeBidiService}();e.exports=s},38935:(e,t,n)=>{"use strict";var r=n(73759),i=/[\uD800-\uDFFF]/;function o(e){return 55296<=e&&e<=57343}function a(e){return i.test(e)}function s(e,t){return 1+o(e.charCodeAt(t))}function u(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!a(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=s(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=s(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=s(e,o);return e.substring(i,o)}var l={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=s(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:s,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:o,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||r(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!a(e))return e.length;for(var t=0,n=0;n<e.length;n+=s(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-t);return u(e,t=t<n?t:n,r)},substr:u};e.exports=l},4856:(e,t,n)=>{"use strict";var r=n(95845),i=n(59859),o=n(79467),a=n(51767);function s(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var o=n.slice(e.length);return!!t&&(o=r?r(o):o,i.contains(o,t))}function u(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var l={isBrowser:function(e){return s(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(r.browserArchitecture,null,e)},isDevice:function(e){return s(r.deviceName,null,e)},isEngine:function(e){return s(r.engineName,r.engineVersion,e)},isPlatform:function(e){return s(r.platformName,r.platformFullVersion,e,u)},isPlatformArchitecture:function(e){return s(r.platformArchitecture,null,e)}};e.exports=o(l,a)},95845:(e,t,n)=>{"use strict";var r=n(42238),i="Unknown",o={"Mac OS":"Mac OS X"};var a,s=(new r).getResult(),u=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(s.browser.version),l={browserArchitecture:s.cpu.architecture||i,browserFullVersion:s.browser.version||i,browserMinorVersion:u.minor||i,browserName:s.browser.name||i,browserVersion:s.browser.major||i,deviceName:s.device.model||i,engineName:s.engine.name||i,engineVersion:s.engine.version||i,platformArchitecture:s.cpu.architecture||i,platformName:(a=s.os.name,o[a]||a||i),platformVersion:s.os.version||i,platformFullVersion:s.os.version||i};e.exports=l},59859:(e,t,n)=>{"use strict";var r=n(73759),i=/\./,o=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function l(e,t){var n=e.split(o);return n.length>1?n.some((function(e){return w.contains(e,t)})):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return c(n[0],t);var i=n[0],o=n[1];return g(i)&&g(o)||r(!1),c(">="+i,t)&&c("<="+o,t)}(e=n[0].trim(),t)}function c(e,t){if(""===(e=e.trim()))return!0;var n,r=t.split(i),o=p(e),a=o.modifier,s=o.rangeComponents;switch(a){case"<":return f(r,s);case"<=":return-1===(n=b(r,s))||0===n;case">=":return d(r,s);case">":return function(e,t){return 1===b(e,t)}(r,s);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);h(o)&&(r[i]=o+1+"");return d(e,n)&&f(e,r)}(r,s);default:return function(e,t){return 0===b(e,t)}(r,s)}}function f(e,t){return-1===b(e,t)}function d(e,t){var n=b(e,t);return 1===n||0===n}function p(e){var t=e.split(i),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function h(e){return!isNaN(e)&&isFinite(e)}function g(e){return!p(e).modifier}function v(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function m(e,t){var n=e.match(u)[1],r=t.match(u)[1],i=parseInt(n,10),o=parseInt(r,10);return h(i)&&h(o)&&i!==o?y(i,o):y(e,t)}function y(e,t){return typeof e!=typeof t&&r(!1),e>t?1:e<t?-1:0}function b(e,t){for(var n=function(e,t){v(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return v(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=m(r[o],i[o]);if(a)return a}return 0}var w={contains:function(e,t){return l(e.trim(),t.trim())}};e.exports=w},52297:e=>{"use strict";var t=/-(.)/g;e.exports=function(e){return e.replace(t,(function(e,t){return t.toUpperCase()}))}},67476:(e,t,n)=>{"use strict";var r=n(52334);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},89825:(e,t,n)=>{"use strict";var r=n(73759);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]}},62620:e=>{"use strict";function t(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(t).join(" "):Array.prototype.map.call(arguments,t).join(" ")}},60139:e=>{"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},31003:e=>{"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},35179:e=>{"use strict";var t="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:t||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},55258:(e,t,n)=>{"use strict";var r=n(23123);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},23123:(e,t,n)=>{"use strict";var r=n(67476);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!r(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},79749:(e,t,n)=>{"use strict";var r=n(35179),i=n(30787);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=i(e),o=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-o.clientWidth,s=e.scrollHeight-o.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},85466:(e,t,n)=>{"use strict";var r=n(52297),i=n(89349);function o(e){return null==e?e:String(e)}e.exports=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return o(n.getPropertyValue(i(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return o(n.getPropertyValue(i(t)));if("display"===t)return"none"}return e.currentStyle?o("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):o(e.style&&e.style[r(t)])}},30787:e=>{"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},70746:e=>{"use strict";function t(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function n(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function r(){return{width:window.innerWidth||t(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:t(),height:n()}},e.exports=r},89349:e=>{"use strict";var t=/([A-Z])/g;e.exports=function(e){return e.replace(t,"-$1").toLowerCase()}},73759:e=>{"use strict";var t=function(e){};e.exports=function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(t(n),!e){var a;if(void 0===n)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;(a=new Error(n.replace(/%s/g,(function(){return String(i[s++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},20901:e=>{"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},52334:(e,t,n)=>{"use strict";var r=n(20901);e.exports=function(e){return r(e)&&3==e.nodeType}},71108:e=>{"use strict";e.exports=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t}},79467:e=>{"use strict";var t=Object.prototype.hasOwnProperty;e.exports=function(e,n,r){if(!e)return null;var i={};for(var o in e)t.call(e,o)&&(i[o]=n.call(r,e[o],o,e));return i}},51767:e=>{"use strict";e.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},22045:e=>{"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},56926:(e,t,n)=>{"use strict";n(24889),e.exports=n.g.setImmediate},63620:(e,t,n)=>{"use strict";var r=n(60139);e.exports=r},1745:(e,t,n)=>{"use strict";n.d(t,{FlagsProvider:()=>FlagsProvider,useFeature:()=>u,useFeatures:()=>s});var r=n(67294);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=(0,r.createContext)({});function a(e){return Array.isArray(e)?Object.fromEntries(e.map((function(e){return[e,!0]}))):e}function FlagsProvider(e){var t,n,u=e.features,l=void 0===u?{}:u,c=e.children,f=s();return(0,r.createElement)(o.Provider,{value:(t=a(f),n=a(l),i({},t,n))},c)}function s(){return(0,r.useContext)(o)}function u(e){var t=s();return Array.isArray(t)?t.includes(e):"boolean"==typeof t[e]?t[e]:e.split("/").reduce((function(e,t){return"boolean"==typeof e?e:void 0!==e[t]&&e[t]}),t)}},8679:(e,t,n)=>{"use strict";var r=n(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=u(t),g=u(n),v=0;v<a.length;++v){var m=a[v];if(!(o[m]||r&&r[m]||g&&g[m]||s&&s[m])){var y=d(n,m);try{l(t,m,y)}catch(e){}}}}return t}},96103:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case g:case u:return e;default:return t}}case i:return t}}}function E(e){return S(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=v,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||S(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===d},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===m)},t.typeOf=S},21296:(e,t,n)=>{"use strict";e.exports=n(96103)},43393:function(e){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function Iterable(e){return n(e)?e:Seq(e)}function KeyedIterable(e){return r(e)?e:KeyedSeq(e)}function IndexedIterable(e){return i(e)?e:IndexedSeq(e)}function SetIterable(e){return n(e)&&!o(e)?e:SetSeq(e)}function n(e){return!(!e||!e[s])}function r(e){return!(!e||!e[u])}function i(e){return!(!e||!e[l])}function o(e){return r(e)||i(e)}function a(e){return!(!e||!e[c])}t(KeyedIterable,Iterable),t(IndexedIterable,Iterable),t(SetIterable,Iterable),Iterable.isIterable=n,Iterable.isKeyed=r,Iterable.isIndexed=i,Iterable.isAssociative=o,Iterable.isOrdered=a,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var s="@@__IMMUTABLE_ITERABLE__@@",u="@@__IMMUTABLE_KEYED__@@",l="@@__IMMUTABLE_INDEXED__@@",c="@@__IMMUTABLE_ORDERED__@@",f="delete",d=5,p=1<<d,h=p-1,g={},v={value:!1},m={value:!1};function MakeRef(e){return e.value=!1,e}function SetRef(e){e&&(e.value=!0)}function OwnerID(){}function y(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function b(e){return void 0===e.size&&(e.size=e.__iterate(S)),e.size}function w(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?b(e)+t:t}function S(){return!0}function E(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function x(e,t){return k(e,t,0)}function _(e,t){return k(e,t,t)}function k(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var C=0,O=1,M=2,D="function"==typeof Symbol&&Symbol.iterator,T="@@iterator",I=D||T;function Iterator(e){this.next=e}function P(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function R(){return{value:void 0,done:!0}}function A(e){return!!B(e)}function N(e){return e&&"function"==typeof e.next}function L(e){var t=B(e);return t&&t.call(e)}function B(e){var t=e&&(D&&e[D]||e[T]);if("function"==typeof t)return t}function F(e){return e&&"number"==typeof e.length}function Seq(e){return null==e?W():n(e)?e.toSeq():Y(e)}function KeyedSeq(e){return null==e?W().toKeyedSeq():n(e)?r(e)?e.toSeq():e.fromEntrySeq():H(e)}function IndexedSeq(e){return null==e?W():n(e)?r(e)?e.entrySeq():e.toIndexedSeq():G(e)}function SetSeq(e){return(null==e?W():n(e)?r(e)?e.entrySeq():e:G(e)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=C,Iterator.VALUES=O,Iterator.ENTRIES=M,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[I]=function(){return this},t(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(e,t){return $(this,e,t,!0)},Seq.prototype.__iterator=function(e,t){return X(this,e,t,!0)},t(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},t(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(e,t){return $(this,e,t,!1)},IndexedSeq.prototype.__iterator=function(e,t){return X(this,e,t,!1)},t(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=q,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var z,j,K,U="@@__IMMUTABLE_SEQ__@@";function ArraySeq(e){this._array=e,this.size=e.length}function ObjectSeq(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function IterableSeq(e){this._iterable=e,this.size=e.length||e.size}function IteratorSeq(e){this._iterator=e,this._iteratorCache=[]}function q(e){return!(!e||!e[U])}function W(){return z||(z=new ArraySeq([]))}function H(e){var t=Array.isArray(e)?new ArraySeq(e).fromEntrySeq():N(e)?new IteratorSeq(e).fromEntrySeq():A(e)?new IterableSeq(e).fromEntrySeq():"object"==typeof e?new ObjectSeq(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function G(e){var t=V(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function Y(e){var t=V(e)||"object"==typeof e&&new ObjectSeq(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function V(e){return F(e)?new ArraySeq(e):N(e)?new IteratorSeq(e):A(e)?new IterableSeq(e):void 0}function $(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function X(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new Iterator((function(){var e=i[n?o-a:a];return a++>o?R():P(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function Q(e,t){return t?Z(t,e,"",{"":e}):J(e)}function Z(e,t,n,r){return Array.isArray(t)?e.call(r,n,IndexedSeq(t).map((function(n,r){return Z(e,n,r,t)}))):ee(t)?e.call(r,n,KeyedSeq(t).map((function(n,r){return Z(e,n,r,t)}))):t}function J(e){return Array.isArray(e)?IndexedSeq(e).map(J).toList():ee(e)?KeyedSeq(e).map(J).toMap():e}function ee(e){return e&&(e.constructor===Object||void 0===e.constructor)}function te(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ne(e,t){if(e===t)return!0;if(!n(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||r(e)!==r(t)||i(e)!==i(t)||a(e)!==a(t))return!1;if(0===e.size&&0===t.size)return!0;var s=!o(e);if(a(e)){var u=e.entries();return t.every((function(e,t){var n=u.next().value;return n&&te(n[1],e)&&(s||te(n[0],t))}))&&u.next().done}var l=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{l=!0;var c=e;e=t,t=c}var f=!0,d=t.__iterate((function(t,n){if(s?!e.has(t):l?!te(t,e.get(n,g)):!te(e.get(n,g),t))return f=!1,!1}));return f&&e.size===d}function Repeat(e,t){if(!(this instanceof Repeat))return new Repeat(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(j)return j;j=this}}function re(e,t){if(!e)throw new Error(t)}function Range(e,t,n){if(!(this instanceof Range))return new Range(e,t,n);if(re(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(K)return K;K=this}}function Collection(){throw TypeError("Abstract")}function KeyedCollection(){}function IndexedCollection(){}function SetCollection(){}Seq.prototype[U]=!0,t(ArraySeq,IndexedSeq),ArraySeq.prototype.get=function(e,t){return this.has(e)?this._array[w(this,e)]:t},ArraySeq.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},ArraySeq.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new Iterator((function(){return i>r?R():P(e,i,n[t?r-i++:i++])}))},t(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ObjectSeq.prototype.has=function(e){return this._object.hasOwnProperty(e)},ObjectSeq.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ObjectSeq.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new Iterator((function(){var a=r[t?i-o:o];return o++>i?R():P(e,a,n[a])}))},ObjectSeq.prototype[c]=!0,t(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=L(this._iterable),r=0;if(N(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},IterableSeq.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=L(this._iterable);if(!N(n))return new Iterator(R);var r=0;return new Iterator((function(){var t=n.next();return t.done?t:P(e,r++,t.value)}))},t(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},IteratorSeq.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new Iterator((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return P(e,i,r[i++])}))},t(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(e,t){return this.has(e)?this._value:t},Repeat.prototype.includes=function(e){return te(this._value,e)},Repeat.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:new Repeat(this._value,_(t,n)-x(e,n))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(e){return te(this._value,e)?0:-1},Repeat.prototype.lastIndexOf=function(e){return te(this._value,e)?this.size:-1},Repeat.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},Repeat.prototype.__iterator=function(e,t){var n=this,r=0;return new Iterator((function(){return r<n.size?P(e,r++,n._value):R()}))},Repeat.prototype.equals=function(e){return e instanceof Repeat?te(this._value,e._value):ne(e)},t(Range,IndexedSeq),Range.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Range.prototype.get=function(e,t){return this.has(e)?this._start+w(this,e)*this._step:t},Range.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Range.prototype.slice=function(e,t){return E(e,t,this.size)?this:(e=x(e,this.size),(t=_(t,this.size))<=e?new Range(0,0):new Range(this.get(e,this._end),this.get(t,this._end),this._step))},Range.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Range.prototype.lastIndexOf=function(e){return this.indexOf(e)},Range.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},Range.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new Iterator((function(){var a=i;return i+=t?-r:r,o>n?R():P(e,o++,a)}))},Range.prototype.equals=function(e){return e instanceof Range?this._start===e._start&&this._end===e._end&&this._step===e._step:ne(this,e)},t(Collection,Iterable),t(KeyedCollection,Collection),t(IndexedCollection,Collection),t(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var ie="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function oe(e){return e>>>1&1073741824|3221225471&e}function ae(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return oe(n)}if("string"===t)return e.length>me?se(e):ue(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return ue(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function se(e){var t=we[e];return void 0===t&&(t=ue(e),be===ye&&(be=0,we={}),be++,we[e]=t),t}function ue(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return oe(t)}function le(e){var t;if(he&&void 0!==(t=pe.get(e)))return t;if(void 0!==(t=e[ve]))return t;if(!fe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ve]))return t;if(void 0!==(t=de(e)))return t}if(t=++ge,1073741824&ge&&(ge=0),he)pe.set(e,t);else{if(void 0!==ce&&!1===ce(e))throw new Error("Non-extensible objects are not allowed as keys.");if(fe)Object.defineProperty(e,ve,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[ve]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ve]=t}}return t}var ce=Object.isExtensible,fe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function de(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var pe,he="function"==typeof WeakMap;he&&(pe=new WeakMap);var ge=0,ve="__immutablehash__";"function"==typeof Symbol&&(ve=Symbol(ve));var me=16,ye=255,be=0,we={};function Se(e){re(e!==1/0,"Cannot perform this action with an infinite size.")}function Map(e){return null==e?qe():xe(e)&&!a(e)?e:qe().withMutations((function(t){var n=KeyedIterable(e);Se(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function xe(e){return!(!e||!e[ke])}t(Map,KeyedCollection),Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Map.prototype.set=function(e,t){return Ye(this,e,t)},Map.prototype.setIn=function(e,t){return this.updateIn(e,g,(function(){return t}))},Map.prototype.remove=function(e){return Ye(this,e,g)},Map.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return g}))},Map.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Map.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=st(this,an(e),t,n);return r===g?void 0:r},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):qe()},Map.prototype.merge=function(){return rt(this,void 0,arguments)},Map.prototype.mergeWith=function(t){return rt(this,t,e.call(arguments,1))},Map.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,qe(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Map.prototype.mergeDeep=function(){return rt(this,it,arguments)},Map.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return rt(this,ot(t),n)},Map.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,qe(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Map.prototype.sort=function(e){return OrderedMap(Vt(this,e))},Map.prototype.sortBy=function(e,t){return OrderedMap(Vt(this,t,e))},Map.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(e,t){return new MapIterator(this,e,t)},Map.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Map.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?je(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Map.isMap=xe;var _e,ke="@@__IMMUTABLE_MAP__@@",Ie=Map.prototype;function ArrayMapNode(e,t){this.ownerID=e,this.entries=t}function BitmapIndexedNode(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function HashArrayMapNode(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function HashCollisionNode(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ValueNode(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function MapIterator(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&ze(e._root)}function Pe(e,t){return P(e,t[0],t[1])}function ze(e,t){return{node:e,index:0,__prev:t}}function je(e,t,n,r){var i=Object.create(Ie);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function qe(){return _e||(_e=je(0))}function Ye(e,t,n){var r,i;if(e._root){var o=MakeRef(v),a=MakeRef(m);if(r=$e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===g?-1:1:0)}else{if(n===g)return e;i=1,r=new ArrayMapNode(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?je(i,r):qe()}function $e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===g?e:(SetRef(s),SetRef(a),new ValueNode(t,r,[i,o]))}function Xe(e){return e.constructor===ValueNode||e.constructor===HashCollisionNode}function Qe(e,t,n,r,i){if(e.keyHash===r)return new HashCollisionNode(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&h,s=(0===n?r:r>>>n)&h;return new BitmapIndexedNode(t,1<<a|1<<s,a===s?[Qe(e,t,n+d,r,i)]:(o=new ValueNode(t,r,i),a<s?[e,o]:[o,e]))}function et(e,t,n,r){e||(e=new OwnerID);for(var i=new ValueNode(e,ae(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function tt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,l=t.length;s<l;s++,u<<=1){var c=t[s];void 0!==c&&s!==r&&(i|=u,a[o++]=c)}return new BitmapIndexedNode(e,i,a)}function nt(e,t,n,r,i){for(var o=0,a=new Array(p),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new HashArrayMapNode(e,o+1,a)}function rt(e,t,r){for(var i=[],o=0;o<r.length;o++){var a=r[o],s=KeyedIterable(a);n(a)||(s=s.map((function(e){return Q(e)}))),i.push(s)}return at(e,t,i)}function it(e,t,r){return e&&e.mergeDeep&&n(t)?e.mergeDeep(t):te(e,t)?e:t}function ot(e){return function(t,r,i){if(t&&t.mergeDeepWith&&n(r))return t.mergeDeepWith(e,r);var o=e(t,r,i);return te(t,o)?t:o}}function at(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,g,(function(e){return e===g?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function st(e,t,n,r){var i=e===g,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}re(i||e&&e.set,"invalid keyPath");var u=o.value,l=i?g:e.get(u,g),c=st(l,t,n,r);return c===l?e:c===g?e.remove(u):(i?qe():e).set(u,c)}function ut(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function lt(e,t,n,r){var i=r?e:y(e);return i[t]=n,i}function ct(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function ft(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ie[ke]=!0,Ie[f]=Ie.remove,Ie.removeIn=Ie.deleteIn,ArrayMapNode.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(te(n,i[o][0]))return i[o][1];return r},ArrayMapNode.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===g,u=this.entries,l=0,c=u.length;l<c&&!te(r,u[l][0]);l++);var f=l<c;if(f?u[l][1]===i:s)return this;if(SetRef(a),(s||!f)&&SetRef(o),!s||1!==u.length){if(!f&&!s&&u.length>=dt)return et(e,u,r,i);var d=e&&e===this.ownerID,p=d?u:y(u);return f?s?l===c-1?p.pop():p[l]=p.pop():p[l]=[r,i]:p.push([r,i]),d?(this.entries=p,this):new ArrayMapNode(e,p)}},BitmapIndexedNode.prototype.get=function(e,t,n,r){void 0===t&&(t=ae(n));var i=1<<((0===e?t:t>>>e)&h),o=this.bitmap;return 0==(o&i)?r:this.nodes[ut(o&i-1)].get(e+d,t,n,r)},BitmapIndexedNode.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=ae(r));var s=(0===t?n:n>>>t)&h,u=1<<s,l=this.bitmap,c=0!=(l&u);if(!c&&i===g)return this;var f=ut(l&u-1),p=this.nodes,v=c?p[f]:void 0,m=$e(v,e,t+d,n,r,i,o,a);if(m===v)return this;if(!c&&m&&p.length>=pt)return nt(e,p,l,s,m);if(c&&!m&&2===p.length&&Xe(p[1^f]))return p[1^f];if(c&&m&&1===p.length&&Xe(m))return m;var y=e&&e===this.ownerID,b=c?m?l:l^u:l|u,w=c?m?lt(p,f,m,y):ft(p,f,y):ct(p,f,m,y);return y?(this.bitmap=b,this.nodes=w,this):new BitmapIndexedNode(e,b,w)},HashArrayMapNode.prototype.get=function(e,t,n,r){void 0===t&&(t=ae(n));var i=(0===e?t:t>>>e)&h,o=this.nodes[i];return o?o.get(e+d,t,n,r):r},HashArrayMapNode.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=ae(r));var s=(0===t?n:n>>>t)&h,u=i===g,l=this.nodes,c=l[s];if(u&&!c)return this;var f=$e(c,e,t+d,n,r,i,o,a);if(f===c)return this;var p=this.count;if(c){if(!f&&--p<ht)return tt(e,l,p,s)}else p++;var v=e&&e===this.ownerID,m=lt(l,s,f,v);return v?(this.count=p,this.nodes=m,this):new HashArrayMapNode(e,p,m)},HashCollisionNode.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(te(n,i[o][0]))return i[o][1];return r},HashCollisionNode.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=ae(r));var s=i===g;if(n!==this.keyHash)return s?this:(SetRef(a),SetRef(o),Qe(this,e,t,n,[r,i]));for(var u=this.entries,l=0,c=u.length;l<c&&!te(r,u[l][0]);l++);var f=l<c;if(f?u[l][1]===i:s)return this;if(SetRef(a),(s||!f)&&SetRef(o),s&&2===c)return new ValueNode(e,this.keyHash,u[1^l]);var d=e&&e===this.ownerID,p=d?u:y(u);return f?s?l===c-1?p.pop():p[l]=p.pop():p[l]=[r,i]:p.push([r,i]),d?(this.entries=p,this):new HashCollisionNode(e,this.keyHash,p)},ValueNode.prototype.get=function(e,t,n,r){return te(n,this.entry[0])?this.entry[1]:r},ValueNode.prototype.update=function(e,t,n,r,i,o,a){var s=i===g,u=te(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(SetRef(a),s?void SetRef(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new ValueNode(e,this.keyHash,[r,i]):(SetRef(o),Qe(this,e,t,ae(r),[r,i])))},ArrayMapNode.prototype.iterate=HashCollisionNode.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},BitmapIndexedNode.prototype.iterate=HashArrayMapNode.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},ValueNode.prototype.iterate=function(e,t){return e(this.entry)},t(MapIterator,Iterator),MapIterator.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return Pe(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Pe(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Pe(e,o.entry);t=this._stack=ze(o,t)}continue}t=this._stack=this._stack.__prev}return R()};var dt=p/4,pt=p/2,ht=p/4;function List(e){var t=xt();if(null==e)return t;if(gt(e))return e;var n=IndexedIterable(e),r=n.size;return 0===r?t:(Se(r),r>0&&r<p?Et(0,r,d,null,new VNode(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function gt(e){return!(!e||!e[vt])}t(List,IndexedCollection),List.of=function(){return this(arguments)},List.prototype.toString=function(){return this.__toString("List [","]")},List.prototype.get=function(e,t){if((e=w(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&h]}return t},List.prototype.set=function(e,t){return _t(this,e,t)},List.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},List.prototype.insert=function(e,t){return this.splice(e,0,t)},List.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=d,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):xt()},List.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Mt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},List.prototype.pop=function(){return Mt(this,0,-1)},List.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Mt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},List.prototype.shift=function(){return Mt(this,1)},List.prototype.merge=function(){return Dt(this,void 0,arguments)},List.prototype.mergeWith=function(t){return Dt(this,t,e.call(arguments,1))},List.prototype.mergeDeep=function(){return Dt(this,it,arguments)},List.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Dt(this,ot(t),n)},List.prototype.setSize=function(e){return Mt(this,0,e)},List.prototype.slice=function(e,t){var n=this.size;return E(e,t,n)?this:Mt(this,x(e,n),_(t,n))},List.prototype.__iterator=function(e,t){var n=0,r=St(this,t);return new Iterator((function(){var t=r();return t===wt?R():P(e,n++,t)}))},List.prototype.__iterate=function(e,t){for(var n,r=0,i=St(this,t);(n=i())!==wt&&!1!==e(n,r++,this););return r},List.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Et(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},List.isList=gt;var vt="@@__IMMUTABLE_LIST__@@",mt=List.prototype;function VNode(e,t){this.array=e,this.ownerID=t}mt[vt]=!0,mt[f]=mt.remove,mt.setIn=Ie.setIn,mt.deleteIn=mt.removeIn=Ie.removeIn,mt.update=Ie.update,mt.updateIn=Ie.updateIn,mt.mergeIn=Ie.mergeIn,mt.mergeDeepIn=Ie.mergeDeepIn,mt.withMutations=Ie.withMutations,mt.asMutable=Ie.asMutable,mt.asImmutable=Ie.asImmutable,mt.wasAltered=Ie.wasAltered,VNode.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&h;if(r>=this.array.length)return new VNode([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-d,n))===a&&o)return this}if(o&&!i)return this;var s=Ct(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},VNode.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&h;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-d,n))===o&&i===this.array.length-1)return this}var a=Ct(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var yt,bt,wt={};function St(e,t){var n=e._origin,r=e._capacity,i=Tt(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,l=r-a;return l>p&&(l=p),function(){if(u===l)return wt;var e=t?--l:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,l=o>n?0:n-o>>i,c=1+(r-o>>i);return c>p&&(c=p),function(){for(;;){if(s){var e=s();if(e!==wt)return e;s=null}if(l===c)return wt;var n=t?--c:l++;s=a(u&&u[n],i-d,o+(n<<i))}}}}function Et(e,t,n,r,i,o,a){var s=Object.create(mt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function xt(){return yt||(yt=Et(0,0,d))}function _t(e,t,n){if((t=w(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Mt(e,t).set(0,n):Mt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=MakeRef(m);return t>=Tt(e._capacity)?r=kt(r,e.__ownerID,0,t,n,o):i=kt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Et(e._origin,e._capacity,e._level,i,r):e}function kt(e,t,n,r,i,o){var a,s=r>>>n&h,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var l=e&&e.array[s],c=kt(l,t,n-d,r,i,o);return c===l?e:((a=Ct(e,t)).array[s]=c,a)}return u&&e.array[s]===i?e:(SetRef(o),a=Ct(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Ct(e,t){return t&&e&&t===e.ownerID?e:new VNode(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Tt(e._capacity))return e._tail;if(t<1<<e._level+d){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&h],r-=d;return n}}function Mt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new OwnerID,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,l=e._root,c=0;a+c<0;)l=new VNode(l&&l.array.length?[void 0,l]:[],r),c+=1<<(u+=d);c&&(a+=c,i+=c,s+=c,o+=c);for(var f=Tt(o),p=Tt(s);p>=1<<u+d;)l=new VNode(l&&l.array.length?[l]:[],r),u+=d;var g=e._tail,v=p<f?Ot(e,s-1):p>f?new VNode([],r):g;if(g&&p>f&&a<o&&g.array.length){for(var m=l=Ct(l,r),y=u;y>d;y-=d){var b=f>>>y&h;m=m.array[b]=Ct(m.array[b],r)}m.array[f>>>d&h]=g}if(s<o&&(v=v&&v.removeAfter(r,0,s)),a>=p)a-=p,s-=p,u=d,l=null,v=v&&v.removeBefore(r,0,a);else if(a>i||p<f){for(c=0;l;){var w=a>>>u&h;if(w!==p>>>u&h)break;w&&(c+=(1<<u)*w),u-=d,l=l.array[w]}l&&a>i&&(l=l.removeBefore(r,u,a-c)),l&&p<f&&(l=l.removeAfter(r,u,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=l,e._tail=v,e.__hash=void 0,e.__altered=!0,e):Et(a,s,u,l,v)}function Dt(e,t,r){for(var i=[],o=0,a=0;a<r.length;a++){var s=r[a],u=IndexedIterable(s);u.size>o&&(o=u.size),n(s)||(u=u.map((function(e){return Q(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),at(e,t,i)}function Tt(e){return e<p?0:e-1>>>d<<d}function OrderedMap(e){return null==e?Rt():It(e)?e:Rt().withMutations((function(t){var n=KeyedIterable(e);Se(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function It(e){return xe(e)&&a(e)}function Pt(e,t,n,r){var i=Object.create(OrderedMap.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Rt(){return bt||(bt=Pt(qe(),xt()))}function At(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===g){if(!u)return e;a.size>=p&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Pt(r,i)}function ToKeyedSequence(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ToIndexedSequence(e){this._iter=e,this.size=e.size}function ToSetSequence(e){this._iter=e,this.size=e.size}function FromEntriesSequence(e){this._iter=e,this.size=e.size}function Nt(e){var t=nn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=rn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===M){var r=e.__iterator(t,n);return new Iterator((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===O?C:O,n)},t}function Lt(e,t,n){var r=nn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,g);return o===g?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(M,i);return new Iterator((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return P(r,s,t.call(n,a[1],s,e),i)}))},r}function Bt(e,t){var n=nn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Nt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=rn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Ft(e,t,n,r){var i=nn(e);return r&&(i.has=function(r){var i=e.get(r,g);return i!==g&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,g);return o!==g&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(M,o),s=0;return new Iterator((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,l=u[0],c=u[1];if(t.call(n,c,l,e))return P(i,r?l:s++,c,o)}}))},i}function zt(e,t,n){var r=Map().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function jt(e,t,n){var i=r(e),o=(a(e)?OrderedMap():Map()).asMutable();e.__iterate((function(r,a){o.update(t.call(n,r,a,e),(function(e){return(e=e||[]).push(i?[a,r]:r),e}))}));var s=tn(e);return o.map((function(t){return Zt(e,s(t))}))}function Kt(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),E(t,n,i))return e;var o=x(t,i),a=_(n,i);if(o!=o||a!=a)return Kt(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var l=nn(e);return l.size=0===s?s:e.size&&s||void 0,!r&&q(e)&&s>=0&&(l.get=function(t,n){return(t=w(this,t))>=0&&t<s?e.get(t+o,n):n}),l.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,l=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return l++,!1!==t(e,r?n:l-1,i)&&l!==s})),l},l.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new Iterator((function(){for(;a++<o;)i.next();if(++u>s)return R();var e=i.next();return r||t===O?e:P(t,u-1,t===C?void 0:e.value[1],e)}))},l}function Ut(e,t,n){var r=nn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(M,i),s=!0;return new Iterator((function(){if(!s)return R();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],l=i[1];return t.call(n,l,u,o)?r===M?e:P(r,u,l,e):(s=!1,R())}))},r}function qt(e,t,n,r){var i=nn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,l){if(!s||!(s=t.call(n,e,o,l)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(M,o),u=!0,l=0;return new Iterator((function(){var e,o,c;do{if((e=s.next()).done)return r||i===O?e:P(i,l++,i===C?void 0:e.value[1],e);var f=e.value;o=f[0],c=f[1],u&&(u=t.call(n,c,o,a))}while(u);return i===M?e:P(i,o,c,e)}))},i}function Wt(e,t){var o=r(e),a=[e].concat(t).map((function(e){return n(e)?o&&(e=KeyedIterable(e)):e=o?H(e):G(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===a.length)return e;if(1===a.length){var s=a[0];if(s===e||o&&r(s)||i(e)&&i(s))return s}var u=new ArraySeq(a);return o?u=u.toKeyedSeq():i(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=a.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function Ht(e,t,r){var i=nn(e);return i.__iterateUncached=function(i,o){var a=0,s=!1;function u(e,l){var c=this;e.__iterate((function(e,o){return(!t||l<t)&&n(e)?u(e,l+1):!1===i(e,r?o:a++,c)&&(s=!0),!s}),o)}return u(e,0),a},i.__iteratorUncached=function(i,o){var a=e.__iterator(i,o),s=[],u=0;return new Iterator((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(i===M&&(l=l[1]),t&&!(s.length<t)||!n(l))return r?e:P(i,u++,l,e);s.push(a),a=l.__iterator(i,o)}else a=s.pop()}return R()}))},i}function Gt(e,t,n){var r=tn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function Yt(e,t){var n=nn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(O,r),a=0;return new Iterator((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?P(n,a++,t):P(n,a++,i.value,i)}))},n}function Vt(e,t,n){t||(t=on);var o=r(e),a=0,s=e.toSeq().map((function(t,r){return[r,t,a++,n?n(t,r,e):t]})).toArray();return s.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(o?function(e,t){s[t].length=2}:function(e,t){s[t]=e[1]}),o?KeyedSeq(s):i(e)?IndexedSeq(s):SetSeq(s)}function $t(e,t,n){if(t||(t=on),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Xt(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Xt(t,e,n)?n:e}))}function Xt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function Qt(e,t,n){var r=nn(e);return r.size=new ArraySeq(n).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,r=this.__iterator(O,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},r.__iteratorUncached=function(e,r){var i=n.map((function(e){return e=Iterable(e),L(r?e.reverse():e)})),o=0,a=!1;return new Iterator((function(){var n;return a||(n=i.map((function(e){return e.next()})),a=n.some((function(e){return e.done}))),a?R():P(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function Zt(e,t){return q(e)?t:e.constructor(t)}function Jt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function en(e){return Se(e.size),b(e)}function tn(e){return r(e)?KeyedIterable:i(e)?IndexedIterable:SetIterable}function nn(e){return Object.create((r(e)?KeyedSeq:i(e)?IndexedSeq:SetSeq).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function on(e,t){return e>t?1:e<t?-1:0}function an(e){var t=L(e);if(!t){if(!F(e))throw new TypeError("Expected iterable or array-like: "+e);t=L(Iterable(e))}return t}function Record(e,t){var n,r=function Record(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);cn(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Map(o)},i=r.prototype=Object.create(sn);return i.constructor=r,r}t(OrderedMap,Map),OrderedMap.of=function(){return this(arguments)},OrderedMap.prototype.toString=function(){return this.__toString("OrderedMap {","}")},OrderedMap.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},OrderedMap.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Rt()},OrderedMap.prototype.set=function(e,t){return At(this,e,t)},OrderedMap.prototype.remove=function(e){return At(this,e,g)},OrderedMap.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},OrderedMap.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},OrderedMap.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},OrderedMap.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Pt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},OrderedMap.isOrderedMap=It,OrderedMap.prototype[c]=!0,OrderedMap.prototype[f]=OrderedMap.prototype.remove,t(ToKeyedSequence,KeyedSeq),ToKeyedSequence.prototype.get=function(e,t){return this._iter.get(e,t)},ToKeyedSequence.prototype.has=function(e){return this._iter.has(e)},ToKeyedSequence.prototype.valueSeq=function(){return this._iter.valueSeq()},ToKeyedSequence.prototype.reverse=function(){var e=this,t=Bt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},ToKeyedSequence.prototype.map=function(e,t){var n=this,r=Lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},ToKeyedSequence.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?en(this):0,function(i){return e(i,t?--n:n++,r)}),t)},ToKeyedSequence.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(O,t),r=t?en(this):0;return new Iterator((function(){var i=n.next();return i.done?i:P(e,t?--r:r++,i.value,i)}))},ToKeyedSequence.prototype[c]=!0,t(ToIndexedSequence,IndexedSeq),ToIndexedSequence.prototype.includes=function(e){return this._iter.includes(e)},ToIndexedSequence.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},ToIndexedSequence.prototype.__iterator=function(e,t){var n=this._iter.__iterator(O,t),r=0;return new Iterator((function(){var t=n.next();return t.done?t:P(e,r++,t.value,t)}))},t(ToSetSequence,SetSeq),ToSetSequence.prototype.has=function(e){return this._iter.includes(e)},ToSetSequence.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},ToSetSequence.prototype.__iterator=function(e,t){var n=this._iter.__iterator(O,t);return new Iterator((function(){var t=n.next();return t.done?t:P(e,t.value,t.value,t)}))},t(FromEntriesSequence,KeyedSeq),FromEntriesSequence.prototype.entrySeq=function(){return this._iter.toSeq()},FromEntriesSequence.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate((function(t){if(t){Jt(t);var i=n(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],r)}}),t)},FromEntriesSequence.prototype.__iterator=function(e,t){var r=this._iter.__iterator(O,t);return new Iterator((function(){for(;;){var t=r.next();if(t.done)return t;var i=t.value;if(i){Jt(i);var o=n(i);return P(e,o?i.get(0):i[0],o?i.get(1):i[1],t)}}}))},ToIndexedSequence.prototype.cacheResult=ToKeyedSequence.prototype.cacheResult=ToSetSequence.prototype.cacheResult=FromEntriesSequence.prototype.cacheResult=rn,t(Record,KeyedCollection),Record.prototype.toString=function(){return this.__toString(ln(this)+" {","}")},Record.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Record.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Record.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=un(this,qe()))},Record.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+ln(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:un(this,n)},Record.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:un(this,t)},Record.prototype.wasAltered=function(){return this._map.wasAltered()},Record.prototype.__iterator=function(e,t){var n=this;return KeyedIterable(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Record.prototype.__iterate=function(e,t){var n=this;return KeyedIterable(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Record.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?un(this,t,e):(this.__ownerID=e,this._map=t,this)};var sn=Record.prototype;function un(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function ln(e){return e._name||e.constructor.name||"Record"}function cn(e,t){try{t.forEach(fn.bind(void 0,e))}catch(e){}}function fn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){re(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Set(e){return null==e?yn():dn(e)&&!a(e)?e:yn().withMutations((function(t){var n=SetIterable(e);Se(n.size),n.forEach((function(e){return t.add(e)}))}))}function dn(e){return!(!e||!e[hn])}sn[f]=sn.remove,sn.deleteIn=sn.removeIn=Ie.removeIn,sn.merge=Ie.merge,sn.mergeWith=Ie.mergeWith,sn.mergeIn=Ie.mergeIn,sn.mergeDeep=Ie.mergeDeep,sn.mergeDeepWith=Ie.mergeDeepWith,sn.mergeDeepIn=Ie.mergeDeepIn,sn.setIn=Ie.setIn,sn.update=Ie.update,sn.updateIn=Ie.updateIn,sn.withMutations=Ie.withMutations,sn.asMutable=Ie.asMutable,sn.asImmutable=Ie.asImmutable,t(Set,SetCollection),Set.of=function(){return this(arguments)},Set.fromKeys=function(e){return this(KeyedIterable(e).keySeq())},Set.prototype.toString=function(){return this.__toString("Set {","}")},Set.prototype.has=function(e){return this._map.has(e)},Set.prototype.add=function(e){return vn(this,this._map.set(e,!0))},Set.prototype.remove=function(e){return vn(this,this._map.remove(e))},Set.prototype.clear=function(){return vn(this,this._map.clear())},Set.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)SetIterable(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Set.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return SetIterable(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Set.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return SetIterable(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Set.prototype.merge=function(){return this.union.apply(this,arguments)},Set.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Set.prototype.sort=function(e){return OrderedSet(Vt(this,e))},Set.prototype.sortBy=function(e,t){return OrderedSet(Vt(this,t,e))},Set.prototype.wasAltered=function(){return this._map.wasAltered()},Set.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Set.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Set.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Set.isSet=dn;var pn,hn="@@__IMMUTABLE_SET__@@",gn=Set.prototype;function vn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function mn(e,t){var n=Object.create(gn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function yn(){return pn||(pn=mn(qe()))}function OrderedSet(e){return null==e?xn():bn(e)?e:xn().withMutations((function(t){var n=SetIterable(e);Se(n.size),n.forEach((function(e){return t.add(e)}))}))}function bn(e){return dn(e)&&a(e)}gn[hn]=!0,gn[f]=gn.remove,gn.mergeDeep=gn.merge,gn.mergeDeepWith=gn.mergeWith,gn.withMutations=Ie.withMutations,gn.asMutable=Ie.asMutable,gn.asImmutable=Ie.asImmutable,gn.__empty=yn,gn.__make=mn,t(OrderedSet,Set),OrderedSet.of=function(){return this(arguments)},OrderedSet.fromKeys=function(e){return this(KeyedIterable(e).keySeq())},OrderedSet.prototype.toString=function(){return this.__toString("OrderedSet {","}")},OrderedSet.isOrderedSet=bn;var wn,Sn=OrderedSet.prototype;function En(e,t){var n=Object.create(Sn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function xn(){return wn||(wn=En(Rt()))}function Stack(e){return null==e?Dn():_n(e)?e:Dn().unshiftAll(e)}function _n(e){return!(!e||!e[Cn])}Sn[c]=!0,Sn.__empty=xn,Sn.__make=En,t(Stack,IndexedCollection),Stack.of=function(){return this(arguments)},Stack.prototype.toString=function(){return this.__toString("Stack [","]")},Stack.prototype.get=function(e,t){var n=this._head;for(e=w(this,e);n&&e--;)n=n.next;return n?n.value:t},Stack.prototype.peek=function(){return this._head&&this._head.value},Stack.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Mn(e,t)},Stack.prototype.pushAll=function(e){if(0===(e=IndexedIterable(e)).size)return this;Se(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Mn(t,n)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(e){return this.pushAll(e)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Dn()},Stack.prototype.slice=function(e,t){if(E(e,t,this.size))return this;var n=x(e,this.size);if(_(t,this.size)!==this.size)return IndexedCollection.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Mn(r,i)},Stack.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Stack.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Stack.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new Iterator((function(){if(r){var t=r.value;return r=r.next,P(e,n++,t)}return R()}))},Stack.isStack=_n;var kn,Cn="@@__IMMUTABLE_STACK__@@",On=Stack.prototype;function Mn(e,t,n,r){var i=Object.create(On);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Dn(){return kn||(kn=Mn(0))}function Tn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}On[Cn]=!0,On.withMutations=Ie.withMutations,On.asMutable=Ie.asMutable,On.asImmutable=Ie.asImmutable,On.wasAltered=Ie.wasAltered,Iterable.Iterator=Iterator,Tn(Iterable,{toArray:function(){Se(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){Se(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(r(this)?this.valueSeq():this)},toSet:function(){return Set(r(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return i(this)?this.toIndexedSeq():r(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(r(this)?this.valueSeq():this)},toList:function(){return List(r(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return Zt(this,Wt(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return te(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){Se(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return Zt(this,Ft(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Se(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Se(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(C)},map:function(e,t){return Zt(this,Lt(this,e,t))},reduce:function(e,t,n){var r,i;return Se(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Zt(this,Bt(this,!0))},slice:function(e,t){return Zt(this,Kt(this,e,t,!0))},some:function(e,t){return!this.every(Nn(e),t)},sort:function(e){return Zt(this,Vt(this,e))},values:function(){return this.__iterator(O)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return b(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return zt(this,e,t)},equals:function(e){return ne(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ArraySeq(e._cache);var t=e.toSeq().map(An).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Nn(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(S)},flatMap:function(e,t){return Zt(this,Gt(this,e,t))},flatten:function(e){return Zt(this,Ht(this,e,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(e,t){return this.find((function(t,n){return te(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=an(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,g):g)===g)return t}return r},groupBy:function(e,t){return jt(this,e,t)},has:function(e){return this.get(e,g)!==g},hasIn:function(e){return this.getIn(e,g)!==g},isSubset:function(e){return e="function"==typeof e.includes?e:Iterable(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:Iterable(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Rn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return $t(this,e)},maxBy:function(e,t){return $t(this,t,e)},min:function(e){return $t(this,e?Ln(e):zn)},minBy:function(e,t){return $t(this,t?Ln(t):zn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Zt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Zt(this,qt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Nn(e),t)},sortBy:function(e,t){return Zt(this,Vt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Zt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Zt(this,Ut(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Nn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=jn(this))}});var In=Iterable.prototype;In[s]=!0,In[I]=In.values,In.__toJS=In.toArray,In.__toStringMapper=Bn,In.inspect=In.toSource=function(){return this.toString()},In.chain=In.flatMap,In.contains=In.includes,function(){try{Object.defineProperty(In,"length",{get:function(){if(!Iterable.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Tn(KeyedIterable,{flip:function(){return Zt(this,Nt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return te(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return te(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return Zt(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Zt(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Pn=KeyedIterable.prototype;function Rn(e,t){return t}function An(e,t){return[t,e]}function Nn(e){return function(){return!e.apply(this,arguments)}}function Ln(e){return function(){return-e.apply(this,arguments)}}function Bn(e){return"string"==typeof e?JSON.stringify(e):e}function Fn(){return y(arguments)}function zn(e,t){return e<t?1:e>t?-1:0}function jn(e){if(e.size===1/0)return 0;var t=a(e),n=r(e),i=t?1:0;return Kn(e.__iterate(n?t?function(e,t){i=31*i+Un(ae(e),ae(t))|0}:function(e,t){i=i+Un(ae(e),ae(t))|0}:t?function(e){i=31*i+ae(e)|0}:function(e){i=i+ae(e)|0}),i)}function Kn(e,t){return t=ie(t,3432918353),t=ie(t<<15|t>>>-15,461845907),t=ie(t<<13|t>>>-13,5),t=ie((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=oe((t=ie(t^t>>>13,3266489909))^t>>>16)}function Un(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Pn[u]=!0,Pn[I]=In.entries,Pn.__toJS=In.toObject,Pn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Bn(e)},Tn(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(e,t){return Zt(this,Ft(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return Zt(this,Bt(this,!1))},slice:function(e,t){return Zt(this,Kt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=x(e,e<0?this.count():this.size);var r=this.slice(0,e);return Zt(this,1===n?r:r.concat(y(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Zt(this,Ht(this,e,!1))},get:function(e,t){return(e=w(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=w(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Zt(this,Yt(this,e))},interleave:function(){var e=[this].concat(y(arguments)),t=Qt(this.toSeq(),IndexedSeq.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Zt(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Zt(this,qt(this,e,t,!1))},zip:function(){return Zt(this,Qt(this,Fn,[this].concat(y(arguments))))},zipWith:function(e){var t=y(arguments);return t[0]=this,Zt(this,Qt(this,e,t))}}),IndexedIterable.prototype[l]=!0,IndexedIterable.prototype[c]=!0,Tn(SetIterable,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),SetIterable.prototype.has=In.includes,Tn(KeyedSeq,KeyedIterable.prototype),Tn(IndexedSeq,IndexedIterable.prototype),Tn(SetSeq,SetIterable.prototype),Tn(KeyedCollection,KeyedIterable.prototype),Tn(IndexedCollection,IndexedIterable.prototype),Tn(SetCollection,SetIterable.prototype),{Iterable,Seq,Collection,Map,OrderedMap,List,Stack,Set,OrderedSet,Record,Range,Repeat,is:te,fromJS:Q}}()},42441:(e,t,n)=>{var r;!function(i,o,a){if(i){for(var s,u={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)u[111+d]="f"+d;for(d=0;d<=9;++d)u[d+96]=d.toString();Mousetrap.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},Mousetrap.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},Mousetrap.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},Mousetrap.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},Mousetrap.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(y(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},Mousetrap.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},Mousetrap.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(u[t]=e[t]);s=null},Mousetrap.init=function(){var e=Mousetrap(o);for(var t in e)"_"!==t.charAt(0)&&(Mousetrap[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},Mousetrap.init(),i.Mousetrap=Mousetrap,e.exports&&(e.exports=Mousetrap),void 0===(r=function(){return Mousetrap}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function h(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return u[e.which]?u[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function g(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!s)for(var e in s={},u)e>95&&e<112||u.hasOwnProperty(e)&&(s[u[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function m(e,t){var n,r,i,o=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),i=0;i<n.length;++i)r=n[i],f[r]&&(r=f[r]),t&&"keypress"!=t&&c[r]&&(r=c[r],o.push("shift")),g(r)&&o.push(r);return{key:r,modifiers:o,action:t=v(r,o,t)}}function y(e,t){return null!==e&&e!==o&&(e===t||y(e.parentNode,t))}function Mousetrap(e){var t=this;if(e=e||o,!(t instanceof Mousetrap))return new Mousetrap(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},i=!1,a=!1,s=!1;function u(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function l(e,n,i,o,a,s){var u,l,c,f,d=[],p=i.type;if(!t._callbacks[e])return[];for("keyup"==p&&g(e)&&(n=[e]),u=0;u<t._callbacks[e].length;++u)if(l=t._callbacks[e][u],(o||!l.seq||r[l.seq]==l.level)&&p==l.action&&("keypress"==p&&!i.metaKey&&!i.ctrlKey||(c=n,f=l.modifiers,c.sort().join(",")===f.sort().join(",")))){var h=!o&&l.combo==a,v=o&&l.seq==o&&l.level==s;(h||v)&&t._callbacks[e].splice(u,1),d.push(l)}return d}function c(e,n,r,i){t.stopCallback(n,n.target||n.srcElement,r,i)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function f(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=h(e);n&&("keyup"!=e.type||i!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):i=!1)}function d(e,t,o,a){function l(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(u,1e3)}}function f(t){c(o,t,e),"keyup"!==a&&(i=h(t)),setTimeout(u,10)}r[e]=0;for(var d=0;d<t.length;++d){var p=d+1===t.length?f:l(a||m(t[d+1]).action);v(t[d],p,a,e,d)}}function v(e,n,r,i,o){t._directMap[e+":"+r]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?d(e,s,n,r):(a=m(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],l(a.key,a.modifiers,{type:a.action},i,e,o),t._callbacks[a.key][i?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:i,level:o,combo:e}))}t._handleKey=function(e,t,n){var r,i=l(e,t,n),o={},f=0,d=!1;for(r=0;r<i.length;++r)i[r].seq&&(f=Math.max(f,i[r].level));for(r=0;r<i.length;++r)if(i[r].seq){if(i[r].level!=f)continue;d=!0,o[i[r].seq]=1,c(i[r].callback,n,i[r].combo,i[r].seq)}else d||c(i[r].callback,n,i[r].combo);var p="keypress"==n.type&&a;n.type!=s||g(e)||p||u(o),a=d&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)v(e[r],t,n)},p(e,"keypress",f),p(e,"keydown",f),p(e,"keyup",f)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},27418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,u=i(e),l=1;l<arguments.length;l++){for(var c in a=Object(arguments[l]))n.call(a,c)&&(u[c]=a[c]);if(t){s=t(a);for(var f=0;f<s.length;f++)r.call(a,s[f])&&(u[s[f]]=a[s[f]])}}return u}},92703:(e,t,n)=>{"use strict";var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:(e,t,n)=>{e.exports=n(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38698:(e,t,n)=>{"use strict";var r=n(27418),i=n(67294);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=60106,s=60107,u=60108,l=60114,c=60109,f=60110,d=60112,p=60113,h=60120,g=60115,v=60116,m=60121,y=60117,b=60119,w=60129,S=60131;if("function"==typeof Symbol&&Symbol.for){var E=Symbol.for;a=E("react.portal"),s=E("react.fragment"),u=E("react.strict_mode"),l=E("react.profiler"),c=E("react.provider"),f=E("react.context"),d=E("react.forward_ref"),p=E("react.suspense"),h=E("react.suspense_list"),g=E("react.memo"),v=E("react.lazy"),m=E("react.block"),y=E("react.fundamental"),b=E("react.scope"),w=E("react.debug_trace_mode"),S=E("react.legacy_hidden")}function x(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case s:return"Fragment";case a:return"Portal";case l:return"Profiler";case u:return"StrictMode";case p:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case f:return(e.displayName||"Context")+".Consumer";case c:return(e._context.displayName||"Context")+".Provider";case d:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case g:return x(e.type);case m:return x(e._render);case v:t=e._payload,e=e._init;try{return x(e(t))}catch(e){}}return null}var _=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k={};function C(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var O=new Uint16Array(16),M=0;15>M;M++)O[M]=M+1;O[15]=0;var D=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T=Object.prototype.hasOwnProperty,I={},P={};function R(e){return!!T.call(P,e)||!T.call(I,e)&&(D.test(e)?P[e]=!0:(I[e]=!0,!1))}function A(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){N[e]=new A(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];N[t]=new A(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){N[e]=new A(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){N[e]=new A(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){N[e]=new A(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){N[e]=new A(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){N[e]=new A(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){N[e]=new A(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){N[e]=new A(e,5,!1,e.toLowerCase(),null,!1,!1)}));var L=/[\-:]([a-z])/g;function B(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(L,B);N[t]=new A(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(L,B);N[t]=new A(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(L,B);N[t]=new A(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){N[e]=new A(e,1,!1,e.toLowerCase(),null,!1,!1)})),N.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){N[e]=new A(e,1,!1,e.toLowerCase(),null,!0,!0)}));var F=/["'&<>]/;function z(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=F.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}i!==n&&(r+=e.substring(i,n)),i=n+1,r+=t}e=i!==n?r+e.substring(i,n):r}return e}function j(e,t){var n,r=N.hasOwnProperty(e)?N[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,r,!1)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+z(t)+'"')):R(e)?e+'="'+z(t)+'"':""}var K="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},U=null,q=null,W=null,H=!1,G=!1,Y=null,V=0;function $(){if(null===U)throw Error(o(321));return U}function Ba(){if(0<V)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Ca(){return null===W?null===q?(H=!1,q=W=Ba()):(H=!0,W=q):null===W.next?(H=!1,W=W.next=Ba()):(H=!0,W=W.next),W}function Da(e,t,n,r){for(;G;)G=!1,V+=1,W=null,n=e(t,r);return Ea(),n}function Ea(){U=null,G=!1,q=null,V=0,W=Y=null}function Fa(e,t){return"function"==typeof t?t(e):t}function Ga(e,t,n){if(U=$(),W=Ca(),H){var r=W.queue;if(t=r.dispatch,null!==Y&&void 0!==(n=Y.get(r))){Y.delete(r),r=W.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return W.memoizedState=r,[r,t]}return[W.memoizedState,t]}return e=e===Fa?"function"==typeof t?t():t:void 0!==n?n(t):t,W.memoizedState=e,e=(e=W.queue={last:null,dispatch:null}).dispatch=Ha.bind(null,U,e),[W.memoizedState,e]}function Ia(e,t){if(U=$(),t=void 0===t?null:t,null!==(W=Ca())){var n=W.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!K(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),W.memoizedState=[e,t],e}function Ha(e,t,n){if(!(25>V))throw Error(o(301));if(e===U)if(G=!0,e={action:n,next:null},null===Y&&(Y=new Map),void 0===(n=Y.get(t)))Y.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Ja(){}var X=null,Q={readContext:function(e){var t=X.threadID;return C(e,t),e[t]},useContext:function(e){$();var t=X.threadID;return C(e,t),e[t]},useMemo:Ia,useReducer:Ga,useRef:function(e){U=$();var t=(W=Ca()).memoizedState;return null===t?(e={current:e},W.memoizedState=e):t},useState:function(e){return Ga(Fa,e)},useLayoutEffect:function(){},useCallback:function(e,t){return Ia((function(){return e}),t)},useImperativeHandle:Ja,useEffect:Ja,useDebugValue:Ja,useDeferredValue:function(e){return $(),e},useTransition:function(){return $(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(X.identifierPrefix||"")+"R:"+(X.uniqueID++).toString(36)},useMutableSource:function(e,t){return $(),t(e._source)}},Z="http://www.w3.org/1999/xhtml";function Ma(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var J={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ee=r({menuitem:!0},J),te={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ne=["Webkit","ms","Moz","O"];Object.keys(te).forEach((function(e){ne.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),te[t]=te[e]}))}));var re=/([A-Z])/g,ie=/^ms-/,oe=i.Children.toArray,ae=_.ReactCurrentDispatcher,se={listing:!0,pre:!0,textarea:!0},ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le={},ce={};var fe=Object.prototype.hasOwnProperty,de={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function pe(e,t){if(void 0===e)throw Error(o(152,x(t)||"Component"))}function he(e,t,n){function a(i,a){var s=a.prototype&&a.prototype.isReactComponent,u=function(e,t,n,r){if(r&&"object"==typeof(r=e.contextType)&&null!==r)return C(r,n),r[n];if(e=e.contextTypes){for(var i in n={},e)n[i]=t[i];t=n}else t=k;return t}(a,t,n,s),l=[],c=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===l)return null},enqueueReplaceState:function(e,t){c=!0,l=[t]},enqueueSetState:function(e,t){if(null===l)return null;l.push(t)}};if(s){if(s=new a(i.props,u,f),"function"==typeof a.getDerivedStateFromProps){var d=a.getDerivedStateFromProps.call(null,i.props,s.state);null!=d&&(s.state=r({},s.state,d))}}else if(U={},s=a(i.props,u,f),null==(s=Da(a,i.props,s,u))||null==s.render)return void pe(e=s,a);if(s.props=i.props,s.context=u,s.updater=f,void 0===(f=s.state)&&(s.state=f=null),"function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount)if("function"==typeof s.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),l.length){f=l;var p=c;if(l=null,c=!1,p&&1===f.length)s.state=f[0];else{d=p?f[0]:s.state;var h=!0;for(p=p?1:0;p<f.length;p++){var g=f[p];null!=(g="function"==typeof g?g.call(s,d,i.props,u):g)&&(h?(h=!1,d=r({},d,g)):r(d,g))}s.state=d}}else l=null;if(pe(e=s.render(),a),"function"==typeof s.getChildContext&&"object"==typeof(i=a.childContextTypes)){var v=s.getChildContext();for(var m in v)if(!(m in i))throw Error(o(108,x(a)||"Unknown",m))}v&&(t=r({},t,v))}for(;i.isValidElement(e);){var s=e,u=s.type;if("function"!=typeof u)break;a(s,u)}return{child:e,context:t}}var ge=function(){function e(e,t,n){i.isValidElement(e)?e.type!==s?e=[e]:(e=e.props.children,e=i.isValidElement(e)?[e]:oe(e)):e=oe(e),e={type:null,domNamespace:Z,children:e,childIndex:0,context:k,footer:""};var r=O[0];if(0===r){var a=O,u=2*(r=a.length);if(!(65536>=u))throw Error(o(304));var l=new Uint16Array(u);for(l.set(a),(O=l)[0]=r+1,a=r;a<u-1;a++)O[a]=a+1;O[u-1]=0}else O[0]=O[r];this.threadID=r,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=n&&n.identifierPrefix||""}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;C(n,r);var i=n[r];this.contextStack[t]=n,this.contextValueStack[t]=i,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=X;X=this;var n=ae.current;ae.current=Q;try{for(var r=[""],i=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;O[a]=O[0],O[0]=a;break}var s=this.stack[this.stack.length-1];if(i||s.childIndex>=s.children.length){var u=s.footer;if(""!==u&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===c)this.popProvider(s.type);else if(s.type===p){this.suspenseDepth--;var l=r.pop();if(i){i=!1;var f=s.fallbackFrame;if(!f)throw Error(o(303));this.stack.push(f),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=l}r[this.suspenseDepth]+=u}else{var d=s.children[s.childIndex++],h="";try{h+=this.render(d,s.context,s.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(o(294));throw e}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{ae.current=n,X=t,Ea()}},t.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?z(n):this.previousWasTextNode?"\x3c!-- --\x3e"+z(n):(this.previousWasTextNode=!0,z(n));if(e=(t=he(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!i.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===a)throw Error(o(257));throw Error(o(258,n.toString()))}return e=oe(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var m=e.type;if("string"==typeof m)return this.renderDOM(e,t,n);switch(m){case S:case w:case u:case l:case h:case s:return e=oe(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case p:throw Error(o(294));case b:throw Error(o(343))}if("object"==typeof m&&null!==m)switch(m.$$typeof){case d:U={};var E=m.render(e.props,e.ref);return E=Da(m.render,e.props,E,e.ref),E=oe(E),this.stack.push({type:null,domNamespace:n,children:E,childIndex:0,context:t,footer:""}),"";case g:return e=[i.createElement(m.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case c:return n={type:e,domNamespace:n,children:m=oe(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case f:m=e.type,E=e.props;var x=this.threadID;return C(m,x),m=oe(E.children(m[x])),this.stack.push({type:e,domNamespace:n,children:m,childIndex:0,context:t,footer:""}),"";case y:throw Error(o(338));case v:return m=(E=(m=e.type)._init)(m._payload),e=[i.createElement(m,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}throw Error(o(130,null==m?m:typeof m,""))},t.renderDOM=function(e,t,n){var a=e.type.toLowerCase();if(n===Z&&Ma(a),!le.hasOwnProperty(a)){if(!ue.test(a))throw Error(o(65,a));le[a]=!0}var s=e.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var u=s.value;if(null==u){u=s.defaultValue;var l=s.children;if(null!=l){if(null!=u)throw Error(o(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(o(93));l=l[0]}u=""+l}null==u&&(u="")}s=r({},s,{value:void 0,children:""+u})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){l=this.currentSelectValue;var c=function Xa(e){if(null==e)return e;var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=l){var f=null!=s.value?s.value+"":c;if(u=!1,Array.isArray(l)){for(var d=0;d<l.length;d++)if(""+l[d]===f){u=!0;break}}else u=""+l===f;s=r({selected:void 0,children:void 0},s,{selected:u,children:c})}}if(u=s){if(ee[a]&&(null!=u.children||null!=u.dangerouslySetInnerHTML))throw Error(o(137,a));if(null!=u.dangerouslySetInnerHTML){if(null!=u.children)throw Error(o(60));if("object"!=typeof u.dangerouslySetInnerHTML||!("__html"in u.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=u.style&&"object"!=typeof u.style)throw Error(o(62))}u=s,l=this.makeStaticMarkup,c=1===this.stack.length,f="<"+e.type;e:if(-1===a.indexOf("-"))d="string"==typeof u.is;else switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":d=!1;break e;default:d=!0}for(S in u)if(fe.call(u,S)){var p=u[S];if(null!=p){if("style"===S){var h=void 0,g="",v="";for(h in p)if(p.hasOwnProperty(h)){var m=0===h.indexOf("--"),y=p[h];if(null!=y){if(m)var b=h;else if(b=h,ce.hasOwnProperty(b))b=ce[b];else{var w=b.replace(re,"-$1").toLowerCase().replace(ie,"-ms-");b=ce[b]=w}g+=v+b+":",v=h,g+=m=null==y||"boolean"==typeof y||""===y?"":m||"number"!=typeof y||0===y||te.hasOwnProperty(v)&&te[v]?(""+y).trim():y+"px",v=";"}}p=g||null}h=null,d?de.hasOwnProperty(S)||(h=R(h=S)&&null!=p?h+'="'+z(p)+'"':""):h=j(S,p),h&&(f+=" "+h)}}l||c&&(f+=' data-reactroot=""');var S=f;u="",J.hasOwnProperty(a)?S+="/>":(S+=">",u="</"+e.type+">");e:{if(null!=(l=s.dangerouslySetInnerHTML)){if(null!=l.__html){l=l.__html;break e}}else if("string"==typeof(l=s.children)||"number"==typeof l){l=z(l);break e}l=null}return null!=l?(s=[],se.hasOwnProperty(a)&&"\n"===l.charAt(0)&&(S+="\n"),S+=l):s=oe(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?Ma(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:t,footer:u}),this.previousWasTextNode=!1,S},e}();t.renderToStaticMarkup=function(e,t){e=new ge(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}}},64448:(e,t,n)=>{"use strict";var r=n(67294),i=n(27418),o=n(63840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,u={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(u[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},g={};function v(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!p.call(g,e)||!p.call(h,e)&&(d.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,x=60106,_=60107,k=60108,C=60114,O=60109,M=60110,D=60112,T=60113,I=60120,P=60115,R=60116,A=60121,N=60128,L=60129,B=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var z=Symbol.for;E=z("react.element"),x=z("react.portal"),_=z("react.fragment"),k=z("react.strict_mode"),C=z("react.profiler"),O=z("react.provider"),M=z("react.context"),D=z("react.forward_ref"),T=z("react.suspense"),I=z("react.suspense_list"),P=z("react.memo"),R=z("react.lazy"),A=z("react.block"),z("react.scope"),N=z("react.opaque.id"),L=z("react.debug_trace_mode"),B=z("react.offscreen"),F=z("react.legacy_hidden")}var j,K="function"==typeof Symbol&&Symbol.iterator;function La(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=K&&e[K]||e["@@iterator"])?e:null}function Na(e){if(void 0===j)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var U=!1;function Pa(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Na(e):""}function Qa(e){switch(e.tag){case 5:return Na(e.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 2:case 15:return e=Pa(e.type,!1);case 11:return e=Pa(e.type.render,!1);case 22:return e=Pa(e.type._render,!1);case 1:return e=Pa(e.type,!0);default:return""}}function Ra(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case x:return"Portal";case C:return"Profiler";case k:return"StrictMode";case T:return"Suspense";case I:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case D:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case P:return Ra(e.type);case A:return Ra(e._render);case R:t=e._payload,e=e._init;try{return Ra(e(t))}catch(e){}}return null}function Sa(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ta(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Va(e){e._valueTracker||(e._valueTracker=function Ua(e){var t=Ta(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Wa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ta(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Xa(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ya(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Za(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Sa(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function q(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function W(e,t){q(e,t);var n=Sa(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?G(e,t.type,n):t.hasOwnProperty("defaultValue")&&G(e,t.type,Sa(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function H(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function G(e,t,n){"number"===t&&Xa(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Y(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function V(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Sa(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function $(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function X(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Sa(n)}}function Q(e,t){var n=Sa(t.value),r=Sa(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Z(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var J="http://www.w3.org/1999/xhtml",ee="http://www.w3.org/2000/svg";function te(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ne(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?te(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var re,ie,oe=(ie=function(e,t){if(e.namespaceURI!==ee||"innerHTML"in e)e.innerHTML=t;else{for((re=re||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=re.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ie(e,t)}))}:ie);function ae(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var se={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ue=["Webkit","ms","Moz","O"];function le(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||se.hasOwnProperty(e)&&se[e]?(""+t).trim():t+"px"}function ce(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=le(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(se).forEach((function(e){ue.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),se[t]=se[e]}))}));var fe=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function de(e,t){if(t){if(fe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function pe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function he(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ge=null,ve=null,me=null;function Bb(e){if(e=Cb(e)){if("function"!=typeof ge)throw Error(a(280));var t=e.stateNode;t&&(t=Db(t),ge(e.stateNode,e.type,t))}}function Eb(e){ve?me?me.push(e):me=[e]:ve=e}function Fb(){if(ve){var e=ve,t=me;if(me=ve=null,Bb(e),t)for(e=0;e<t.length;e++)Bb(t[e])}}function Gb(e,t){return e(t)}function Hb(e,t,n,r,i){return e(t,n,r,i)}function Ib(){}var ye=Gb,be=!1,we=!1;function Mb(){null===ve&&null===me||(Ib(),Fb())}function Ob(e,t){var n=e.stateNode;if(null===n)return null;var r=Db(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Se=!1;if(f)try{var xe={};Object.defineProperty(xe,"passive",{get:function(){Se=!0}}),window.addEventListener("test",xe,xe),window.removeEventListener("test",xe,xe)}catch(ie){Se=!1}function Rb(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var _e=!1,ke=null,Ie=!1,Pe=null,ze={onError:function(e){_e=!0,ke=e}};function Xb(e,t,n,r,i,o,a,s,u){_e=!1,ke=null,Rb.apply(ze,arguments)}function Zb(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(Zb(e)!==e)throw Error(a(188))}function Ye(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Zb(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return qe(i),e;if(o===r)return qe(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function $e(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var Xe,Qe,et,tt,nt=!1,rt=[],it=null,ot=null,at=null,st=new Map,ut=new Map,lt=[],ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ft(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function dt(e,t){switch(e){case"focusin":case"focusout":it=null;break;case"dragenter":case"dragleave":ot=null;break;case"mouseover":case"mouseout":at=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function pt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=ft(t,n,r,i,o),null!==t&&(null!==(t=Cb(t))&&Qe(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function ht(e){var t=Cr(e.target);if(null!==t){var n=Zb(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=je(n)))return e.blockedOn=t,void tt(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){et(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ft(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Cb(n))&&Qe(t),e.blockedOn=n,!1;t.shift()}return!0}function vt(e,t,n){gt(e)&&n.delete(t)}function Ac(){for(nt=!1;0<rt.length;){var e=rt[0];if(null!==e.blockedOn){null!==(e=Cb(e.blockedOn))&&Xe(e);break}for(var t=e.targetContainers;0<t.length;){var n=Ft(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&rt.shift()}null!==it&&gt(it)&&(it=null),null!==ot&&gt(ot)&&(ot=null),null!==at&&gt(at)&&(at=null),st.forEach(vt),ut.forEach(vt)}function Bc(e,t){e.blockedOn===t&&(e.blockedOn=null,nt||(nt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ac)))}function Cc(e){function t(t){return Bc(t,e)}if(0<rt.length){Bc(rt[0],e);for(var n=1;n<rt.length;n++){var r=rt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==it&&Bc(it,e),null!==ot&&Bc(ot,e),null!==at&&Bc(at,e),st.forEach(t),ut.forEach(t),n=0;n<lt.length;n++)(r=lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<lt.length&&null===(n=lt[0]).blockedOn;)ht(n),null===n.blockedOn&&lt.shift()}function Dc(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var mt={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},yt={},bt={};function Hc(e){if(yt[e])return yt[e];if(!mt[e])return e;var t,n=mt[e];for(t in n)if(n.hasOwnProperty(t)&&t in bt)return yt[e]=n[t];return e}f&&(bt=document.createElement("div").style,"AnimationEvent"in window||(delete mt.animationend.animation,delete mt.animationiteration.animation,delete mt.animationstart.animation),"TransitionEvent"in window||delete mt.transitionend.transition);var wt=Hc("animationend"),St=Hc("animationiteration"),Et=Hc("animationstart"),xt=Hc("transitionend"),_t=new Map,kt=new Map,Ct=["abort","abort",wt,"animationEnd",St,"animationIteration",Et,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",xt,"transitionEnd","waiting","waiting"];function Pc(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),kt.set(r,t),_t.set(r,i),l(i,[r])}}(0,o.unstable_now)();var Ot=8;function Rc(e){if(0!=(1&e))return Ot=15,1;if(0!=(2&e))return Ot=14,2;if(0!=(4&e))return Ot=13,4;var t=24&e;return 0!==t?(Ot=12,t):0!=(32&e)?(Ot=11,32):0!==(t=192&e)?(Ot=10,t):0!=(256&e)?(Ot=9,256):0!==(t=3584&e)?(Ot=8,t):0!=(4096&e)?(Ot=7,4096):0!==(t=4186112&e)?(Ot=6,t):0!==(t=62914560&e)?(Ot=5,t):67108864&e?(Ot=4,67108864):0!=(134217728&e)?(Ot=3,134217728):0!==(t=805306368&e)?(Ot=2,t):0!=(1073741824&e)?(Ot=1,1073741824):(Ot=8,e)}function Uc(e,t){var n=e.pendingLanes;if(0===n)return Ot=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,i=Ot=15;else if(0!==(o=134217727&n)){var u=o&~a;0!==u?(r=Rc(u),i=Ot):0!==(s&=o)&&(r=Rc(s),i=Ot)}else 0!==(o=n&~a)?(r=Rc(o),i=Ot):0!==s&&(r=Rc(s),i=Ot);if(0===r)return 0;if(r=n&((0>(r=31-Dt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Rc(t),i<=Ot)return t;Ot=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Dt(t)),r|=e[n],t&=~i;return r}function Wc(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Xc(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Yc(24&~t))?Xc(10,t):e;case 10:return 0===(e=Yc(192&~t))?Xc(8,t):e;case 8:return 0===(e=Yc(3584&~t))&&(0===(e=Yc(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Yc(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Yc(e){return e&-e}function Zc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Mt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Dt(t)]=n}var Dt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Tt(e)/It|0)|0},Tt=Math.log,It=Math.LN2;var Pt=o.unstable_UserBlockingPriority,Rt=o.unstable_runWithPriority,At=!0;function Nt(e,t,n,r){be||Ib();var i=Bt,o=be;be=!0;try{Hb(i,e,t,n,r)}finally{(be=o)||Mb()}}function Lt(e,t,n,r){Rt(Pt,Bt.bind(null,e,t,n,r))}function Bt(e,t,n,r){var i;if(At)if((i=0==(4&t))&&0<rt.length&&-1<ct.indexOf(e))e=ft(null,e,t,n,r),rt.push(e);else{var o=Ft(e,t,n,r);if(null===o)i&&dt(e,r);else{if(i){if(-1<ct.indexOf(e))return e=ft(o,e,t,n,r),void rt.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return it=pt(it,e,t,n,r,i),!0;case"dragenter":return ot=pt(ot,e,t,n,r,i),!0;case"mouseover":return at=pt(at,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return st.set(o,pt(st.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ut.set(o,pt(ut.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;dt(e,r)}or(e,t,r,null,n)}}}function Ft(e,t,n,r){var i=he(r);if(null!==(i=Cr(i))){var o=Zb(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=je(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return or(e,t,r,i,n),null}var zt=null,jt=null,Kt=null;function Ut(){if(Kt)return Kt;var e,t,n=jt,r=n.length,i="value"in zt?zt.value:zt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Kt=i.slice(e,1<t?1-t:void 0)}function qt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Wt(){return!0}function Ht(){return!1}function Gt(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Wt:Ht,this.isPropagationStopped=Ht,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wt)},persist:function(){},isPersistent:Wt}),t}var Yt,Vt,$t,Xt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qt=Gt(Xt),Zt=i({},Xt,{view:0,detail:0}),Jt=Gt(Zt),en=i({},Zt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==$t&&($t&&"mousemove"===e.type?(Yt=e.screenX-$t.screenX,Vt=e.screenY-$t.screenY):Vt=Yt=0,$t=e),Yt)},movementY:function(e){return"movementY"in e?e.movementY:Vt}}),tn=Gt(en),nn=Gt(i({},en,{dataTransfer:0})),rn=Gt(i({},Zt,{relatedTarget:0})),on=Gt(i({},Xt,{animationName:0,elapsedTime:0,pseudoElement:0})),an=i({},Xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sn=Gt(an),un=Gt(i({},Xt,{data:0})),ln={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=fn[e])&&!!t[e]}function dn(){return Pd}var pn=i({},Zt,{key:function(e){if(e.key){var t=ln[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dn,charCode:function(e){return"keypress"===e.type?qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),hn=Gt(pn),gn=Gt(i({},en,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),vn=Gt(i({},Zt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dn})),mn=Gt(i({},Xt,{propertyName:0,elapsedTime:0,pseudoElement:0})),yn=i({},en,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),bn=Gt(yn),wn=[9,13,27,32],Sn=f&&"CompositionEvent"in window,En=null;f&&"documentMode"in document&&(En=document.documentMode);var xn=f&&"TextEvent"in window&&!En,_n=f&&(!Sn||En&&8<En&&11>=En),kn=String.fromCharCode(32),Cn=!1;function On(e,t){switch(e){case"keyup":return-1!==wn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Dn=!1;var Tn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function In(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tn[e.type]:"textarea"===t}function Pn(e,t,n,r){Eb(r),0<(t=sr(t,"onChange")).length&&(n=new Qt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Rn=null,An=null;function Nn(e){Jn(e,0)}function Ln(e){if(Wa(Or(e)))return e}function Bn(e,t){if("change"===e)return t}var Fn=!1;if(f){var zn;if(f){var jn="oninput"in document;if(!jn){var Kn=document.createElement("div");Kn.setAttribute("oninput","return;"),jn="function"==typeof Kn.oninput}zn=jn}else zn=!1;Fn=zn&&(!document.documentMode||9<document.documentMode)}function Ae(){Rn&&(Rn.detachEvent("onpropertychange",Be),An=Rn=null)}function Be(e){if("value"===e.propertyName&&Ln(An)){var t=[];if(Pn(t,An,e,he(e)),e=Nn,be)e(t);else{be=!0;try{Gb(e,t)}finally{be=!1,Mb()}}}}function Ce(e,t,n){"focusin"===e?(Ae(),An=n,(Rn=t).attachEvent("onpropertychange",Be)):"focusout"===e&&Ae()}function De(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ln(An)}function Ee(e,t){if("click"===e)return Ln(t)}function Fe(e,t){if("input"===e||"change"===e)return Ln(t)}var Un="function"==typeof Object.is?Object.is:function Ge(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},qn=Object.prototype.hasOwnProperty;function Je(e,t){if(Un(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!qn.call(t,n[r])||!Un(e[n[r]],t[n[r]]))return!1;return!0}function Ke(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Le(e,t){var n,r=Ke(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ke(r)}}function Me(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Me(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ne(){for(var e=window,t=Xa();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Xa((e=t.contentWindow).document)}return t}function Oe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Wn=f&&"documentMode"in document&&11>=document.documentMode,Hn=null,Gn=null,Yn=null,Vn=!1;function Ue(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Vn||null==Hn||Hn!==Xa(r)||("selectionStart"in(r=Hn)&&Oe(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Yn&&Je(Yn,r)||(Yn=r,0<(r=sr(Gn,"onSelect")).length&&(t=new Qt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Hn)))}Pc("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Pc("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Pc(Ct,2);for(var $n="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Xn=0;Xn<$n.length;Xn++)kt.set($n[Xn],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Zn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qn));function Ze(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function Yb(e,t,n,r,i,o,s,u,l){if(Xb.apply(this,arguments),_e){if(!_e)throw Error(a(198));var c=ke;_e=!1,ke=null,Ie||(Ie=!0,Pe=c)}}(r,t,void 0,e),e.currentTarget=null}function Jn(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;Ze(i,s,l),o=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,l=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;Ze(i,s,l),o=u}}}if(Ie)throw e=Pe,Ie=!1,Pe=null,e}function er(e,t){var n=Mr(t),r=e+"__bubble";n.has(r)||(ir(t,e,2,!1),n.add(r))}var tr="_reactListening"+Math.random().toString(36).slice(2);function nr(e){e[tr]||(e[tr]=!0,s.forEach((function(t){Zn.has(t)||rr(t,!1,e,null),rr(t,!0,e,null)})))}function rr(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Zn.has(e)){if("scroll"!==e)return;i|=2,o=r}var a=Mr(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),ir(o,e,i,t),a.add(s))}function ir(e,t,n,r){var i=kt.get(t);switch(void 0===i?2:i){case 0:i=Nt;break;case 1:i=Lt;break;default:i=Bt}n=i.bind(null,t,n,e),i=void 0,!Se||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function or(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=Cr(s)))return;if(5===(u=a.tag)||6===u){r=o=a;continue e}s=s.parentNode}}r=r.return}!function Nb(e,t,n){if(we)return e(t,n);we=!0;try{return ye(e,t,n)}finally{we=!1,Mb()}}((function(){var r=o,i=he(n),a=[];e:{var s=_t.get(e);if(void 0!==s){var u=Qt,l=e;switch(e){case"keypress":if(0===qt(n))break e;case"keydown":case"keyup":u=hn;break;case"focusin":l="focus",u=rn;break;case"focusout":l="blur",u=rn;break;case"beforeblur":case"afterblur":u=rn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=tn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=nn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=vn;break;case wt:case St:case Et:u=on;break;case xt:u=mn;break;case"scroll":u=Jt;break;case"wheel":u=bn;break;case"copy":case"cut":case"paste":u=sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=gn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==d&&(null!=(g=Ob(h,d))&&c.push(ar(h,g,p)))),f)break;h=h.return}0<c.length&&(s=new u(s,l,null,n,i),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(l=n.relatedTarget||n.fromElement)||!Cr(l)&&!l[_r])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?Cr(l):null)&&(l!==(f=Zb(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=tn,g="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=gn,g="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?s:Or(u),p=null==l?s:Or(l),(s=new c(g,h+"leave",u,n,i)).target=f,s.relatedTarget=p,g=null,Cr(i)===r&&((c=new c(d,h+"enter",l,n,i)).target=p,c.relatedTarget=f,g=c),f=g,u&&l)e:{for(d=l,h=0,p=c=u;p;p=ur(p))h++;for(p=0,g=d;g;g=ur(g))p++;for(;0<h-p;)c=ur(c),h--;for(;0<p-h;)d=ur(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=ur(c),d=ur(d)}c=null}else c=null;null!==u&&lr(a,s,u,c,!1),null!==l&&null!==f&&lr(a,f,l,c,!0)}if("select"===(u=(s=r?Or(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var v=Bn;else if(In(s))if(Fn)v=Fe;else{v=De;var m=Ce}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=Ee);switch(v&&(v=v(e,r))?Pn(a,v,n,i):(m&&m(e,s,r),"focusout"===e&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&G(s,"number",s.value)),m=r?Or(r):window,e){case"focusin":(In(m)||"true"===m.contentEditable)&&(Hn=m,Gn=r,Yn=null);break;case"focusout":Yn=Gn=Hn=null;break;case"mousedown":Vn=!0;break;case"contextmenu":case"mouseup":case"dragend":Vn=!1,Ue(a,n,i);break;case"selectionchange":if(Wn)break;case"keydown":case"keyup":Ue(a,n,i)}var y;if(Sn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Dn?On(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(_n&&"ko"!==n.locale&&(Dn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Dn&&(y=Ut()):(jt="value"in(zt=i)?zt.value:zt.textContent,Dn=!0)),0<(m=sr(r,b)).length&&(b=new un(b,e,null,n,i),a.push({event:b,listeners:m}),y?b.data=y:null!==(y=Mn(n))&&(b.data=y))),(y=xn?function(e,t){switch(e){case"compositionend":return Mn(t);case"keypress":return 32!==t.which?null:(Cn=!0,kn);case"textInput":return(e=t.data)===kn&&Cn?null:e;default:return null}}(e,n):function(e,t){if(Dn)return"compositionend"===e||!Sn&&On(e,t)?(e=Ut(),Kt=jt=zt=null,Dn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=sr(r,"onBeforeInput")).length&&(i=new un("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y))}Jn(a,t)}))}function ar(e,t,n){return{instance:e,listener:t,currentTarget:n}}function sr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ob(e,n))&&r.unshift(ar(e,o,i)),null!=(o=Ob(e,t))&&r.push(ar(e,o,i))),e=e.return}return r}function ur(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function lr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,i?null!=(u=Ob(n,o))&&a.unshift(ar(n,u,s)):i||null!=(u=Ob(n,o))&&a.push(ar(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function cr(){}var fr=null,dr=null;function pr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var gr="function"==typeof setTimeout?setTimeout:void 0,vr="function"==typeof clearTimeout?clearTimeout:void 0;function mr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function yr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function br(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var wr=0;var Sr=Math.random().toString(36).slice(2),Er="__reactFiber$"+Sr,xr="__reactProps$"+Sr,_r="__reactContainer$"+Sr,kr="__reactEvents$"+Sr;function Cr(e){var t=e[Er];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_r]||n[Er]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=br(e);null!==e;){if(n=e[Er])return n;e=br(e)}return t}n=(e=n).parentNode}return null}function Cb(e){return!(e=e[Er]||e[_r])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Or(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Db(e){return e[xr]||null}function Mr(e){var t=e[kr];return void 0===t&&(t=e[kr]=new Set),t}var Dr=[],Tr=-1;function Bf(e){return{current:e}}function Ir(e){0>Tr||(e.current=Dr[Tr],Dr[Tr]=null,Tr--)}function Pr(e,t){Tr++,Dr[Tr]=e.current,e.current=t}var Rr={},Ar=Bf(Rr),Nr=Bf(!1),Lr=Rr;function Ef(e,t){var n=e.type.contextTypes;if(!n)return Rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ff(e){return null!=(e=e.childContextTypes)}function Gf(){Ir(Nr),Ir(Ar)}function Hf(e,t,n){if(Ar.current!==Rr)throw Error(a(168));Pr(Ar,t),Pr(Nr,n)}function If(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,Ra(t)||"Unknown",o));return i({},n,r)}function Jf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rr,Lr=Ar.current,Pr(Ar,e),Pr(Nr,Nr.current),!0}function Kf(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=If(e,t,Lr),r.__reactInternalMemoizedMergedChildContext=e,Ir(Nr),Ir(Ar),Pr(Ar,e)):Ir(Nr),Pr(Nr,n)}var Br=null,Fr=null,zr=o.unstable_runWithPriority,jr=o.unstable_scheduleCallback,Kr=o.unstable_cancelCallback,Ur=o.unstable_shouldYield,qr=o.unstable_requestPaint,Wr=o.unstable_now,Hr=o.unstable_getCurrentPriorityLevel,Gr=o.unstable_ImmediatePriority,Yr=o.unstable_UserBlockingPriority,Vr=o.unstable_NormalPriority,$r=o.unstable_LowPriority,Xr=o.unstable_IdlePriority,Qr={},Zr=void 0!==qr?qr:function(){},Jr=null,ei=null,ti=!1,ni=Wr(),ri=1e4>ni?Wr:function(){return Wr()-ni};function ii(){switch(Hr()){case Gr:return 99;case Yr:return 98;case Vr:return 97;case $r:return 96;case Xr:return 95;default:throw Error(a(332))}}function oi(e){switch(e){case 99:return Gr;case 98:return Yr;case 97:return Vr;case 96:return $r;case 95:return Xr;default:throw Error(a(332))}}function ai(e,t){return e=oi(e),zr(e,t)}function si(e,t,n){return e=oi(e),jr(e,t,n)}function ui(){if(null!==ei){var e=ei;ei=null,Kr(e)}li()}function li(){if(!ti&&null!==Jr){ti=!0;var e=0;try{var t=Jr;ai(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Jr=null}catch(t){throw null!==Jr&&(Jr=Jr.slice(e+1)),jr(Gr,ui),t}finally{ti=!1}}}var ci=S.ReactCurrentBatchConfig;function fi(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var di=Bf(null),pi=null,hi=null,gi=null;function vi(){gi=hi=pi=null}function mi(e){var t=di.current;Ir(di),e.type._context._currentValue=t}function yi(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function bi(e,t){pi=e,gi=hi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Po=!0),e.firstContext=null)}function wi(e,t){if(gi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(gi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===hi){if(null===pi)throw Error(a(308));hi=t,pi.dependencies={lanes:0,firstContext:t,responders:null}}else hi=hi.next=t;return e._currentValue}var Ei=!1;function xi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function _i(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ki(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ag(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Bg(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Cg(e,t,n,r){var o=e.updateQueue;Ei=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var l=u,c=l.next;l.next=null,null===s?a=c:s.next=c,s=l;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==s&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=l)}}if(null!==a){for(d=o.baseState,s=0,f=c=l=null;;){u=a.lane;var p=a.eventTime;if((r&u)===u){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(u=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,u);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(u="function"==typeof(h=g.payload)?h.call(p,d,u):h))break e;d=i({},d,u);break e;case 2:Ei=!0}}null!==a.callback&&(e.flags|=32,null===(u=o.effects)?o.effects=[a]:u.push(a))}else p={eventTime:p,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(c=f=p,l=d):f=f.next=p,s|=u;if(null===(a=a.next)){if(null===(u=o.shared.pending))break;a=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}null===f&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=f,Aa|=s,e.lanes=s,e.memoizedState=d}}function Eg(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(a(191,i));i.call(r)}}}var Ci=(new r.Component).refs;function Gg(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Oi={isMounted:function(e){return!!(e=e._reactInternals)&&Zb(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Hg(),i=Ig(e),o=ki(r,i);o.payload=t,null!=n&&(o.callback=n),Ag(e,o),Jg(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Hg(),i=Ig(e),o=ki(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),Ag(e,o),Jg(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Hg(),r=Ig(e),i=ki(n,r);i.tag=2,null!=t&&(i.callback=t),Ag(e,i),Jg(e,r,n)}};function Lg(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Je(n,r)||!Je(i,o))}function Mg(e,t,n){var r=!1,i=Rr,o=t.contextType;return"object"==typeof o&&null!==o?o=wi(o):(i=Ff(t)?Lr:Ar.current,o=(r=null!=(r=t.contextTypes))?Ef(e,i):Rr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Oi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ng(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Oi.enqueueReplaceState(t,t.state,null)}function Og(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ci,xi(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=wi(o):(o=Ff(t)?Lr:Ar.current,i.context=Ef(e,o)),Cg(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Gg(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Oi.enqueueReplaceState(i,i.state,null),Cg(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var Di=Array.isArray;function Qg(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===Ci&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Rg(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Sg(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Tg(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Ug(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Qg(e,t,n),r.return=e,r):((r=Vg(n.type,n.key,n.props,null,e.mode,r)).ref=Qg(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wg(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Xg(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ug(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Vg(t.type,t.key,t.props,null,e.mode,n)).ref=Qg(e,null,t),n.return=e,n;case x:return(t=Wg(t,e.mode,n)).return=e,t}if(Di(t)||La(t))return(t=Xg(t,e.mode,n,null)).return=e,t;Rg(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===i?n.type===_?f(e,t,n.props.children,r,i):l(e,t,n,r):null;case x:return n.key===i?c(e,t,n,r):null}if(Di(n)||La(n))return null!==i?null:f(e,t,n,r,null);Rg(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===_?f(t,e,r.props.children,i,r.key):l(t,e,r,i);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Di(r)||La(r))return f(t,e=e.get(n)||null,r,i,null);Rg(t,r)}return null}function g(i,a,s,u){for(var l=null,c=null,f=a,g=a=0,v=null;null!==f&&g<s.length;g++){f.index>g?(v=f,f=null):v=f.sibling;var m=p(i,f,s[g],u);if(null===m){null===f&&(f=v);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,g),null===c?l=m:c.sibling=m,c=m,f=v}if(g===s.length)return n(i,f),l;if(null===f){for(;g<s.length;g++)null!==(f=d(i,s[g],u))&&(a=o(f,a,g),null===c?l=f:c.sibling=f,c=f);return l}for(f=r(i,f);g<s.length;g++)null!==(v=h(f,i,g,s[g],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?g:v.key),a=o(v,a,g),null===c?l=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(i,e)})),l}function v(i,s,u,l){var c=La(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,g=s,v=s=0,m=null,y=u.next();null!==g&&!y.done;v++,y=u.next()){g.index>v?(m=g,g=null):m=g.sibling;var b=p(i,g,y.value,l);if(null===b){null===g&&(g=m);break}e&&g&&null===b.alternate&&t(i,g),s=o(b,s,v),null===f?c=b:f.sibling=b,f=b,g=m}if(y.done)return n(i,g),c;if(null===g){for(;!y.done;v++,y=u.next())null!==(y=d(i,y.value,l))&&(s=o(y,s,v),null===f?c=y:f.sibling=y,f=y);return c}for(g=r(i,g);!y.done;v++,y=u.next())null!==(y=h(g,i,v,y.value,l))&&(e&&null!==y.alternate&&g.delete(null===y.key?v:y.key),s=o(y,s,v),null===f?c=y:f.sibling=y,f=y);return e&&g.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var l="object"==typeof o&&null!==o&&o.type===_&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case E:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){if(7===l.tag){if(o.type===_){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}}else if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=Qg(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===_?((r=Xg(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Vg(o.type,o.key,o.props,null,e.mode,u)).ref=Qg(e,r,o),u.return=e,e=u)}return s(e);case x:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Wg(o,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Ug(o,e.mode,u)).return=e,e=r),s(e);if(Di(o))return g(e,r,o,u);if(La(o))return v(e,r,o,u);if(c&&Rg(e,o),void 0===o&&!l)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Ra(e.type)||"Component"))}return n(e,r)}}var Ti=Sg(!0),Ri=Sg(!1),Bi={},zi=Bf(Bi),ji=Bf(Bi),Ui=Bf(Bi);function qi(e){if(e===Bi)throw Error(a(174));return e}function Hi(e,t){switch(Pr(Ui,t),Pr(ji,e),Pr(zi,Bi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ne(null,"");break;default:t=ne(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ir(zi),Pr(zi,t)}function $i(){Ir(zi),Ir(ji),Ir(Ui)}function Qi(e){qi(Ui.current);var t=qi(zi.current),n=ne(t,e.type);t!==n&&(Pr(ji,e),Pr(zi,n))}function Ji(e){ji.current===e&&(Ir(zi),Ir(ji))}var eo=Bf(0);function to(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var no=null,ro=null,io=!1;function oo(e,t){var n=Ds(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ao(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function so(e){if(io){var t=ro;if(t){var n=t;if(!ao(e,t)){if(!(t=yr(n.nextSibling))||!ao(e,t))return e.flags=-1025&e.flags|2,io=!1,void(no=e);oo(no,n)}no=e,ro=yr(t.firstChild)}else e.flags=-1025&e.flags|2,io=!1,no=e}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function lo(e){if(e!==no)return!1;if(!io)return uo(e),io=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!hr(t,e.memoizedProps))for(t=ro;t;)oo(e,t),t=yr(t.nextSibling);if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=yr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?yr(e.stateNode.nextSibling):null;return!0}function co(){ro=no=null,io=!1}var fo=[];function po(){for(var e=0;e<fo.length;e++)fo[e]._workInProgressVersionPrimary=null;fo.length=0}var ho=S.ReactCurrentDispatcher,go=S.ReactCurrentBatchConfig,vo=0,mo=null,yo=null,bo=null,wo=!1,So=!1;function Ah(){throw Error(a(321))}function Bh(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Un(e[n],t[n]))return!1;return!0}function Ch(e,t,n,r,i,o){if(vo=o,mo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ho.current=null===e||null===e.memoizedState?Mo:Do,e=n(r,i),So){o=0;do{if(So=!1,!(25>o))throw Error(a(301));o+=1,bo=yo=null,t.updateQueue=null,ho.current=To,e=n(r,i)}while(So)}if(ho.current=Oo,t=null!==yo&&null!==yo.next,vo=0,bo=yo=mo=null,wo=!1,t)throw Error(a(300));return e}function Hh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bo?mo.memoizedState=bo=e:bo=bo.next=e,bo}function Ih(){if(null===yo){var e=mo.alternate;e=null!==e?e.memoizedState:null}else e=yo.next;var t=null===bo?mo.memoizedState:bo.next;if(null!==t)bo=t,yo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(yo=e).memoizedState,baseState:yo.baseState,baseQueue:yo.baseQueue,queue:yo.queue,next:null},null===bo?mo.memoizedState=bo=e:bo=bo.next=e}return bo}function Jh(e,t){return"function"==typeof t?t(e):t}function Kh(e){var t=Ih(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=yo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=s=o=null,l=i;do{var c=l.lane;if((vo&c)===c)null!==u&&(u=u.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var f={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===u?(s=u=f,o=r):u=u.next=f,mo.lanes|=c,Aa|=c}l=l.next}while(null!==l&&l!==i);null===u?o=r:u.next=s,Un(r,t.memoizedState)||(Po=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Lh(e){var t=Ih(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Un(o,t.memoizedState)||(Po=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Mh(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(vo&e)===e)&&(t._workInProgressVersionPrimary=r,fo.push(t))),e)return n(t._source);throw fo.push(t),Error(a(350))}function Nh(e,t,n,r){var i=ma;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),u=ho.current,l=u.useState((function(){return Mh(i,t,n)})),c=l[1],f=l[0];l=bo;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,g=d.source;d=d.subscribe;var v=mo;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!Un(s,e)){e=n(t._source),Un(f,e)||(c(e),e=Ig(v),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,a=e;0<a;){var u=31-Dt(a),l=1<<u;r[u]|=e,a&=~l}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=Ig(v);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),Un(h,n)&&Un(g,t)&&Un(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:f}).dispatch=c=Oh.bind(null,mo,e),l.queue=e,l.baseQueue=null,f=Mh(i,t,n),l.memoizedState=l.baseState=f),f}function Ph(e,t,n){return Nh(Ih(),e,t,n)}function Qh(e){var t=Hh();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:e}).dispatch=Oh.bind(null,mo,e),[t.memoizedState,e]}function Rh(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mo.updateQueue)?(t={lastEffect:null},mo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Sh(e){return e={current:e},Hh().memoizedState=e}function Th(){return Ih().memoizedState}function Uh(e,t,n,r){var i=Hh();mo.flags|=e,i.memoizedState=Rh(1|t,n,void 0,void 0===r?null:r)}function Vh(e,t,n,r){var i=Ih();r=void 0===r?null:r;var o=void 0;if(null!==yo){var a=yo.memoizedState;if(o=a.destroy,null!==r&&Bh(r,a.deps))return void Rh(t,n,o,r)}mo.flags|=e,i.memoizedState=Rh(1|t,n,o,r)}function Wh(e,t){return Uh(516,4,e,t)}function Xh(e,t){return Vh(516,4,e,t)}function Yh(e,t){return Vh(4,2,e,t)}function Zh(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Eo(e,t,n){return n=null!=n?n.concat([e]):null,Vh(4,2,Zh.bind(null,t,e),n)}function xo(){}function _o(e,t){var n=Ih();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Bh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ko(e,t){var n=Ih();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Bh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Co(e,t){var n=ii();ai(98>n?98:n,(function(){e(!0)})),ai(97<n?97:n,(function(){var n=go.transition;go.transition=1;try{e(!1),t()}finally{go.transition=n}}))}function Oh(e,t,n){var r=Hg(),i=Ig(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===mo||null!==a&&a===mo)So=wo=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,u=a(s,n);if(o.eagerReducer=a,o.eagerState=u,Un(u,s))return}catch(e){}Jg(e,i,r)}}var Oo={readContext:wi,useCallback:Ah,useContext:Ah,useEffect:Ah,useImperativeHandle:Ah,useLayoutEffect:Ah,useMemo:Ah,useReducer:Ah,useRef:Ah,useState:Ah,useDebugValue:Ah,useDeferredValue:Ah,useTransition:Ah,useMutableSource:Ah,useOpaqueIdentifier:Ah,unstable_isNewReconciler:!1},Mo={readContext:wi,useCallback:function(e,t){return Hh().memoizedState=[e,void 0===t?null:t],e},useContext:wi,useEffect:Wh,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Uh(4,2,Zh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Uh(4,2,e,t)},useMemo:function(e,t){var n=Hh();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Hh();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Oh.bind(null,mo,e),[r.memoizedState,e]},useRef:Sh,useState:Qh,useDebugValue:xo,useDeferredValue:function(e){var t=Qh(e),n=t[0],r=t[1];return Wh((function(){var t=go.transition;go.transition=1;try{r(e)}finally{go.transition=t}}),[e]),n},useTransition:function(){var e=Qh(!1),t=e[0];return Sh(e=Co.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=Hh();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Nh(r,e,t,n)},useOpaqueIdentifier:function(){if(io){var e=!1,t=function(e){return{$$typeof:N,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(wr++).toString(36))),Error(a(355))})),n=Qh(t)[1];return 0==(2&mo.mode)&&(mo.flags|=516,Rh(5,(function(){n("r:"+(wr++).toString(36))}),void 0,null)),t}return Qh(t="r:"+(wr++).toString(36)),t},unstable_isNewReconciler:!1},Do={readContext:wi,useCallback:_o,useContext:wi,useEffect:Xh,useImperativeHandle:Eo,useLayoutEffect:Yh,useMemo:ko,useReducer:Kh,useRef:Th,useState:function(){return Kh(Jh)},useDebugValue:xo,useDeferredValue:function(e){var t=Kh(Jh),n=t[0],r=t[1];return Xh((function(){var t=go.transition;go.transition=1;try{r(e)}finally{go.transition=t}}),[e]),n},useTransition:function(){var e=Kh(Jh)[0];return[Th().current,e]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Kh(Jh)[0]},unstable_isNewReconciler:!1},To={readContext:wi,useCallback:_o,useContext:wi,useEffect:Xh,useImperativeHandle:Eo,useLayoutEffect:Yh,useMemo:ko,useReducer:Lh,useRef:Th,useState:function(){return Lh(Jh)},useDebugValue:xo,useDeferredValue:function(e){var t=Lh(Jh),n=t[0],r=t[1];return Xh((function(){var t=go.transition;go.transition=1;try{r(e)}finally{go.transition=t}}),[e]),n},useTransition:function(){var e=Lh(Jh)[0];return[Th().current,e]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Lh(Jh)[0]},unstable_isNewReconciler:!1},Io=S.ReactCurrentOwner,Po=!1;function Ro(e,t,n,r){t.child=null===e?Ri(t,null,n,r):Ti(t,e.child,n,r)}function Ao(e,t,n,r,i){n=n.render;var o=t.ref;return bi(t,i),r=Ch(e,t,n,r,o,i),null===e||Po?(t.flags|=1,Ro(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Jo(e,t,i))}function No(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Ts(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Vg(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Lo(e,t,a,r,i,o))}return a=e.child,0==(i&o)&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Je)(i,r)&&e.ref===t.ref)?Jo(e,t,o):(t.flags|=1,(e=Tg(a,r)).ref=t.ref,e.return=t,t.child=e)}function Lo(e,t,n,r,i,o){if(null!==e&&Je(e.memoizedProps,r)&&e.ref===t.ref){if(Po=!1,0==(o&i))return t.lanes=e.lanes,Jo(e,t,o);0!=(16384&e.flags)&&(Po=!0)}return zo(e,t,n,r,o)}function Bo(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},bs(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},bs(t,e),null;t.memoizedState={baseLanes:0},bs(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,bs(t,r);return Ro(e,t,i,n),t.child}function Fo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function zo(e,t,n,r,i){var o=Ff(n)?Lr:Ar.current;return o=Ef(t,o),bi(t,i),n=Ch(e,t,n,r,o,i),null===e||Po?(t.flags|=1,Ro(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Jo(e,t,i))}function jo(e,t,n,r,i){if(Ff(n)){var o=!0;Jf(t)}else o=!1;if(bi(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Mg(t,n,r),Og(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=wi(l):l=Ef(t,l=Ff(n)?Lr:Ar.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&Ng(t,a,r,l),Ei=!1;var d=t.memoizedState;a.state=d,Cg(t,r,a,i),u=t.memoizedState,s!==r||d!==u||Nr.current||Ei?("function"==typeof c&&(Gg(t,n,c,r),u=t.memoizedState),(s=Ei||Lg(t,n,s,r,d,u,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,_i(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:fi(t.type,s),a.props=l,f=t.pendingProps,d=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=wi(u):u=Ef(t,u=Ff(n)?Lr:Ar.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==u)&&Ng(t,a,r,u),Ei=!1,d=t.memoizedState,a.state=d,Cg(t,r,a,i);var h=t.memoizedState;s!==f||d!==h||Nr.current||Ei?("function"==typeof p&&(Gg(t,n,p,r),h=t.memoizedState),(l=Ei||Lg(t,n,l,r,d,h,u))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Ko(e,t,n,r,o,i)}function Ko(e,t,n,r,i,o){Fo(e,t);var a=0!=(64&t.flags);if(!r&&!a)return i&&Kf(t,n,!1),Jo(e,t,o);r=t.stateNode,Io.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ti(t,e.child,null,o),t.child=Ti(t,null,s,o)):Ro(e,t,s,o),t.memoizedState=r.state,i&&Kf(t,n,!0),t.child}function Uo(e){var t=e.stateNode;t.pendingContext?Hf(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Hf(0,t.context,!1),Hi(e,t.containerInfo)}var qo,Wo,Ho,Go={dehydrated:null,retryLane:0};function Yo(e,t,n){var r,i=t.pendingProps,o=eo.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),Pr(eo,1&o),null===e?(void 0!==i.fallback&&so(t),e=i.children,o=i.fallback,a?(e=Vo(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Go,e):"number"==typeof i.unstable_expectedLoadTime?(e=Vo(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Go,t.lanes=33554432,e):((n=Is({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(i=Xo(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Go,i):(n=$o(e,t,i.children,n),t.memoizedState=null,n))}function Vo(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Is(t,i,0,null),n=Xg(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function $o(e,t,n,r){var i=e.child;return e=i.sibling,n=Tg(i,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Xo(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0==(2&o)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Tg(a,s),null!==e?r=Tg(e,r):(r=Xg(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Qo(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),yi(e.return,t)}function Zo(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function Ai(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ro(e,t,r.children,n),0!=(2&(r=eo.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qo(e,n);else if(19===e.tag)Qo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Pr(eo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===to(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Zo(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===to(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Zo(t,!0,n,null,o,t.lastEffect);break;case"together":Zo(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Jo(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Aa|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Tg(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Tg(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Fi(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gi(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Ff(t.type)&&Gf(),null;case 3:return $i(),Ir(Nr),Ir(Ar),po(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(lo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ji(t);var o=qi(Ui.current);if(n=t.type,null!==e&&null!=t.stateNode)Wo(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=qi(zi.current),lo(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Er]=t,r[xr]=s,n){case"dialog":er("cancel",r),er("close",r);break;case"iframe":case"object":case"embed":er("load",r);break;case"video":case"audio":for(e=0;e<Qn.length;e++)er(Qn[e],r);break;case"source":er("error",r);break;case"img":case"image":case"link":er("error",r),er("load",r);break;case"details":er("toggle",r);break;case"input":Za(r,s),er("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},er("invalid",r);break;case"textarea":X(r,s),er("invalid",r)}for(var l in de(n,s),e=null,s)s.hasOwnProperty(l)&&(o=s[l],"children"===l?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):u.hasOwnProperty(l)&&null!=o&&"onScroll"===l&&er("scroll",r));switch(n){case"input":Va(r),H(r,s,!0);break;case"textarea":Va(r),Z(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=cr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(l=9===o.nodeType?o:o.ownerDocument,e===J&&(e=te(n)),e===J?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Er]=t,e[xr]=r,qo(e,t),t.stateNode=e,l=pe(n,r),n){case"dialog":er("cancel",e),er("close",e),o=r;break;case"iframe":case"object":case"embed":er("load",e),o=r;break;case"video":case"audio":for(o=0;o<Qn.length;o++)er(Qn[o],e);o=r;break;case"source":er("error",e),o=r;break;case"img":case"image":case"link":er("error",e),er("load",e),o=r;break;case"details":er("toggle",e),o=r;break;case"input":Za(e,r),o=Ya(e,r),er("invalid",e);break;case"option":o=Y(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=i({},r,{value:void 0}),er("invalid",e);break;case"textarea":X(e,r),o=$(e,r),er("invalid",e);break;default:o=r}de(n,o);var c=o;for(s in c)if(c.hasOwnProperty(s)){var f=c[s];"style"===s?ce(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&oe(e,f):"children"===s?"string"==typeof f?("textarea"!==n||""!==f)&&ae(e,f):"number"==typeof f&&ae(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(u.hasOwnProperty(s)?null!=f&&"onScroll"===s&&er("scroll",e):null!=f&&w(e,s,f,l))}switch(n){case"input":Va(e),H(e,r,!1);break;case"textarea":Va(e),Z(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Sa(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?V(e,!!r.multiple,s,!1):null!=r.defaultValue&&V(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=cr)}pr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ho(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=qi(Ui.current),qi(zi.current),lo(t)?(r=t.stateNode,n=t.memoizedProps,r[Er]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Er]=t,t.stateNode=r)}return null;case 13:return Ir(eo),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&lo(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&eo.current)?0===_a&&(_a=3):(0!==_a&&3!==_a||(_a=4),null===ma||0==(134217727&Aa)&&0==(134217727&za)||Ii(ma,ba))),(r||n)&&(t.flags|=4),null);case 4:return $i(),null===e&&nr(t.stateNode.containerInfo),null;case 10:return mi(t),null;case 19:if(Ir(eo),null===(r=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(l=r.rendering))if(s)Fi(r,!1);else{if(0!==_a||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(l=to(e))){for(t.flags|=64,Fi(r,!1),null!==(s=l.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pr(eo,1&eo.current|2),t.child}e=e.sibling}null!==r.tail&&ri()>$a&&(t.flags|=64,s=!0,Fi(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=to(l))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Fi(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate&&!io)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*ri()-r.renderingStartTime>$a&&1073741824!==n&&(t.flags|=64,s=!0,Fi(r,!1),t.lanes=33554432);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=ri(),n.sibling=null,t=eo.current,Pr(eo,s?1&t|2:1&t),n):null;case 23:case 24:return Ki(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function Li(e){switch(e.tag){case 1:Ff(e.type)&&Gf();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if($i(),Ir(Nr),Ir(Ar),po(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Ji(e),null;case 13:return Ir(eo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return Ir(eo),null;case 4:return $i(),null;case 10:return mi(e),null;case 23:case 24:return Ki(),null;default:return null}}function Mi(e,t){try{var n="",r=t;do{n+=Qa(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function Ni(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}qo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wo=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,qi(zi.current);var a,s=null;switch(n){case"input":o=Ya(e,o),r=Ya(e,r),s=[];break;case"option":o=Y(e,o),r=Y(e,r),s=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":o=$(e,o),r=$(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=cr)}for(f in de(n,r),n=null,o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var l=o[f];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in r){var c=r[f];if(l=null!=o?o[f]:void 0,r.hasOwnProperty(f)&&c!==l&&(null!=c||null!=l))if("style"===f)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(s||(s=[]),s.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(s=s||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(s=s||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&er("scroll",e),s||l===c||(s=[])):"object"==typeof c&&null!==c&&c.$$typeof===N?c.toString():(s=s||[]).push(f,c))}n&&(s=s||[]).push("style",n);var f=s;(t.updateQueue=f)&&(t.flags|=4)}},Ho=function(e,t,n,r){n!==r&&(t.flags|=4)};var ea="function"==typeof WeakMap?WeakMap:Map;function Pi(e,t,n){(n=ki(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){rs||(rs=!0,is=r),Ni(0,t)},n}function Si(e,t,n){(n=ki(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Ni(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===os?os=new Set([this]):os.add(this),Ni(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ta="function"==typeof WeakSet?WeakSet:Set;function Vi(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Wi(e,t)}else t.current=null}function Xi(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:fi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&mr(t.stateNode.containerInfo))}throw Error(a(163))}function Yi(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(Zi(n,e),_s(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:fi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&Eg(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}Eg(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&pr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Cc(n)))))}throw Error(a(163))}function na(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=le("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ra(e,t){if(Fr&&"function"==typeof Fr.onCommitFiberUnmount)try{Fr.onCommitFiberUnmount(Br,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))Zi(t,n);else{r=t;try{i()}catch(e){Wi(r,e)}}n=n.next}while(n!==e)}break;case 1:if(Vi(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Wi(t,e)}break;case 5:Vi(t);break;case 4:la(e,t)}}function ia(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function oa(e){return 5===e.tag||3===e.tag||4===e.tag}function aa(e){e:{for(var t=e.return;null!==t;){if(oa(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ae(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||oa(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?sa(e,n,t):ua(e,n,t)}function sa(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cr));else if(4!==r&&null!==(e=e.child))for(sa(e,t,n),e=e.sibling;null!==e;)sa(e,t,n),e=e.sibling}function ua(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ua(e,t,n),e=e.sibling;null!==e;)ua(e,t,n),e=e.sibling}function la(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,u=i,l=u;;)if(ra(s,l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===u)break e;for(;null===l.sibling;){if(null===l.return||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(s=n,u=i.stateNode,8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(ra(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function ca(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[xr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&q(n,r),pe(e,i),t=pe(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?ce(n,u):"dangerouslySetInnerHTML"===s?oe(n,u):"children"===s?ae(n,u):w(n,s,u,t)}switch(e){case"input":W(n,r);break;case"textarea":Q(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?V(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?V(n,!!r.multiple,r.defaultValue,!0):V(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Cc(n.containerInfo)));case 13:return null!==t.memoizedState&&(qa=ri(),na(t.child,!0)),void fa(t);case 19:return void fa(t);case 23:case 24:return void na(t,null!==t.memoizedState)}throw Error(a(163))}function fa(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ta),t.forEach((function(t){var r=Os.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function da(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var pa=Math.ceil,ha=S.ReactCurrentDispatcher,ga=S.ReactCurrentOwner,va=0,ma=null,ya=null,ba=0,wa=0,xa=Bf(0),_a=0,ka=null,Oa=0,Aa=0,za=0,ja=0,Ka=null,qa=0,$a=1/0;function es(){$a=ri()+500}var ts,ns=null,rs=!1,is=null,os=null,as=!1,ss=null,us=90,ls=[],cs=[],fs=null,ds=0,ps=null,hs=-1,gs=0,vs=0,ms=null,ys=!1;function Hg(){return 0!=(48&va)?ri():-1!==hs?hs:hs=ri()}function Ig(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===ii()?1:2;if(0===gs&&(gs=Oa),0!==ci.transition){0!==vs&&(vs=null!==Ka?Ka.pendingLanes:0),e=gs;var t=4186112&~vs;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=ii(),0!=(4&va)&&98===e?e=Xc(12,gs):e=Xc(e=function Sc(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),gs),e}function Jg(e,t,n){if(50<ds)throw ds=0,ps=null,Error(a(185));if(null===(e=Kj(e,t)))return null;Mt(e,t,n),e===ma&&(za|=t,4===_a&&Ii(e,ba));var r=ii();1===t?0!=(8&va)&&0==(48&va)?Lj(e):(Mj(e,n),0===va&&(es(),ui())):(0==(4&va)||98!==r&&99!==r||(null===fs?fs=new Set([e]):fs.add(e)),Mj(e,n)),Ka=e}function Kj(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Mj(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var u=31-Dt(s),l=1<<u,c=o[u];if(-1===c){if(0==(l&r)||0!=(l&i)){c=t,Rc(l);var f=Ot;o[u]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=l);s&=~l}if(r=Uc(e,e===ma?ba:0),t=Ot,0===r)null!==n&&(n!==Qr&&Kr(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Qr&&Kr(n)}15===t?(n=Lj.bind(null,e),null===Jr?(Jr=[n],ei=jr(Gr,li)):Jr.push(n),n=Qr):14===t?n=si(99,Lj.bind(null,e)):(n=function Tc(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=si(n,Nj.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function Nj(e){if(hs=-1,vs=gs=0,0!=(48&va))throw Error(a(327));var t=e.callbackNode;if(Oj()&&e.callbackNode!==t)return null;var n=Uc(e,e===ma?ba:0);if(0===n)return null;var r=n,i=va;va|=16;var o=Pj();for(ma===e&&ba===r||(es(),Qj(e,r));;)try{Rj();break}catch(t){Sj(e,t)}if(vi(),ha.current=o,va=i,null!==ya?r=0:(ma=null,ba=0,r=_a),0!=(Oa&za))Qj(e,0);else if(0!==r){if(2===r&&(va|=64,e.hydrate&&(e.hydrate=!1,mr(e.containerInfo)),0!==(n=Wc(e))&&(r=Tj(e,n))),1===r)throw t=ka,Qj(e,0),Ii(e,n),Mj(e,ri()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Uj(e);break;case 3:if(Ii(e,n),(62914560&n)===n&&10<(r=qa+500-ri())){if(0!==Uc(e,0))break;if(((i=e.suspendedLanes)&n)!==n){Hg(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=gr(Uj.bind(null,e),r);break}Uj(e);break;case 4:if(Ii(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Dt(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=ri()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*pa(n/1960))-n)){e.timeoutHandle=gr(Uj.bind(null,e),n);break}Uj(e);break;default:throw Error(a(329))}}return Mj(e,ri()),e.callbackNode===t?Nj.bind(null,e):null}function Ii(e,t){for(t&=~ja,t&=~za,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Dt(t),r=1<<n;e[n]=-1,t&=~r}}function Lj(e){if(0!=(48&va))throw Error(a(327));if(Oj(),e===ma&&0!=(e.expiredLanes&ba)){var t=ba,n=Tj(e,t);0!=(Oa&za)&&(n=Tj(e,t=Uc(e,t)))}else n=Tj(e,t=Uc(e,0));if(0!==e.tag&&2===n&&(va|=64,e.hydrate&&(e.hydrate=!1,mr(e.containerInfo)),0!==(t=Wc(e))&&(n=Tj(e,t))),1===n)throw n=ka,Qj(e,0),Ii(e,t),Mj(e,ri()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Uj(e),Mj(e,ri()),null}function Wj(e,t){var n=va;va|=1;try{return e(t)}finally{0===(va=n)&&(es(),ui())}}function Xj(e,t){var n=va;va&=-2,va|=8;try{return e(t)}finally{0===(va=n)&&(es(),ui())}}function bs(e,t){Pr(xa,wa),wa|=t,Oa|=t}function Ki(){wa=xa.current,Ir(xa)}function Qj(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,vr(n)),null!==ya)for(n=ya.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Gf();break;case 3:$i(),Ir(Nr),Ir(Ar),po();break;case 5:Ji(r);break;case 4:$i();break;case 13:case 19:Ir(eo);break;case 10:mi(r);break;case 23:case 24:Ki()}n=n.return}ma=e,ya=Tg(e.current,null),ba=wa=Oa=t,_a=0,ka=null,ja=za=Aa=0}function Sj(e,t){for(;;){var n=ya;try{if(vi(),ho.current=Oo,wo){for(var r=mo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}wo=!1}if(vo=0,bo=yo=mo=null,So=!1,ga.current=null,null===n||null===n.return){_a=1,ka=t,ya=null;break}e:{var o=e,a=n.return,s=n,u=t;if(t=ba,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var l=u;if(0==(2&s.mode)){var c=s.alternate;c?(s.updateQueue=c.updateQueue,s.memoizedState=c.memoizedState,s.lanes=c.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=0!=(1&eo.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var g=d.memoizedProps;p=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!f)}}if(p){var v=d.updateQueue;if(null===v){var m=new Set;m.add(l),d.updateQueue=m}else v.add(l);if(0==(2&d.mode)){if(d.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=ki(-1,1);y.tag=2,Ag(s,y)}s.lanes|=1;break e}u=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ea,u=new Set,b.set(l,u)):void 0===(u=b.get(l))&&(u=new Set,b.set(l,u)),!u.has(s)){u.add(s);var w=Yj.bind(null,o,l,s);l.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((Ra(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==_a&&(_a=2),u=Mi(u,s),d=a;do{switch(d.tag){case 3:o=u,d.flags|=4096,t&=-t,d.lanes|=t,Bg(d,Pi(0,o,t));break e;case 1:o=u;var S=d.type,E=d.stateNode;if(0==(64&d.flags)&&("function"==typeof S.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===os||!os.has(E)))){d.flags|=4096,t&=-t,d.lanes|=t,Bg(d,Si(d,o,t));break e}}d=d.return}while(null!==d)}Zj(n)}catch(e){t=e,ya===n&&null!==n&&(ya=n=n.return);continue}break}}function Pj(){var e=ha.current;return ha.current=Oo,null===e?Oo:e}function Tj(e,t){var n=va;va|=16;var r=Pj();for(ma===e&&ba===t||Qj(e,t);;)try{ws();break}catch(t){Sj(e,t)}if(vi(),va=n,ha.current=r,null!==ya)throw Error(a(261));return ma=null,ba=0,_a}function ws(){for(;null!==ya;)Ss(ya)}function Rj(){for(;null!==ya&&!Ur();)Ss(ya)}function Ss(e){var t=ts(e.alternate,e,wa);e.memoizedProps=e.pendingProps,null===t?Zj(e):ya=t,ga.current=null}function Zj(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Gi(n,t,wa)))return void(ya=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&wa)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=Li(t)))return n.flags&=2047,void(ya=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(ya=t);ya=t=e}while(null!==t);0===_a&&(_a=5)}function Uj(e){var t=ii();return ai(99,Es.bind(null,e,t)),null}function Es(e,t){do{Oj()}while(null!==ss);if(0!=(48&va))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,u=e.expirationTimes;0<o;){var l=31-Dt(o),c=1<<l;i[l]=0,s[l]=-1,u[l]=-1,o&=~c}if(null!==fs&&0==(24&r)&&fs.has(e)&&fs.delete(e),e===ma&&(ya=ma=null,ba=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=va,va|=32,ga.current=null,fr=At,Oe(s=Ne())){if("selectionStart"in s)u={start:s.selectionStart,end:s.selectionEnd};else e:if(u=(u=s.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&0!==c.rangeCount){u=c.anchorNode,o=c.anchorOffset,l=c.focusNode,c=c.focusOffset;try{u.nodeType,l.nodeType}catch(e){u=null;break e}var f=0,d=-1,p=-1,h=0,g=0,v=s,m=null;t:for(;;){for(var y;v!==u||0!==o&&3!==v.nodeType||(d=f+o),v!==l||0!==c&&3!==v.nodeType||(p=f+c),3===v.nodeType&&(f+=v.nodeValue.length),null!==(y=v.firstChild);)m=v,v=y;for(;;){if(v===s)break t;if(m===u&&++h===o&&(d=f),m===l&&++g===c&&(p=f),null!==(y=v.nextSibling))break;m=(v=m).parentNode}v=y}u=-1===d||-1===p?null:{start:d,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;dr={focusedElem:s,selectionRange:u},At=!1,ms=null,ys=!1,ns=r;do{try{xs()}catch(e){if(null===ns)throw Error(a(330));Wi(ns,e),ns=ns.nextEffect}}while(null!==ns);ms=null,ns=r;do{try{for(s=e;null!==ns;){var b=ns.flags;if(16&b&&ae(ns.stateNode,""),128&b){var w=ns.alternate;if(null!==w){var S=w.ref;null!==S&&("function"==typeof S?S(null):S.current=null)}}switch(1038&b){case 2:aa(ns),ns.flags&=-3;break;case 6:aa(ns),ns.flags&=-3,ca(ns.alternate,ns);break;case 1024:ns.flags&=-1025;break;case 1028:ns.flags&=-1025,ca(ns.alternate,ns);break;case 4:ca(ns.alternate,ns);break;case 8:la(s,u=ns);var E=u.alternate;ia(u),null!==E&&ia(E)}ns=ns.nextEffect}}catch(e){if(null===ns)throw Error(a(330));Wi(ns,e),ns=ns.nextEffect}}while(null!==ns);if(S=dr,w=Ne(),b=S.focusedElem,s=S.selectionRange,w!==b&&b&&b.ownerDocument&&Me(b.ownerDocument.documentElement,b)){null!==s&&Oe(b)&&(w=s.start,void 0===(S=s.end)&&(S=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(S,b.value.length)):(S=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(S=S.getSelection(),u=b.textContent.length,E=Math.min(s.start,u),s=void 0===s.end?E:Math.min(s.end,u),!S.extend&&E>s&&(u=s,s=E,E=u),u=Le(b,E),o=Le(b,s),u&&o&&(1!==S.rangeCount||S.anchorNode!==u.node||S.anchorOffset!==u.offset||S.focusNode!==o.node||S.focusOffset!==o.offset)&&((w=w.createRange()).setStart(u.node,u.offset),S.removeAllRanges(),E>s?(S.addRange(w),S.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),S.addRange(w))))),w=[];for(S=b;S=S.parentNode;)1===S.nodeType&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(S=w[b]).element.scrollLeft=S.left,S.element.scrollTop=S.top}At=!!fr,dr=fr=null,e.current=n,ns=r;do{try{for(b=e;null!==ns;){var x=ns.flags;if(36&x&&Yi(b,ns.alternate,ns),128&x){w=void 0;var _=ns.ref;if(null!==_){var k=ns.stateNode;ns.tag,w=k,"function"==typeof _?_(w):_.current=w}}ns=ns.nextEffect}}catch(e){if(null===ns)throw Error(a(330));Wi(ns,e),ns=ns.nextEffect}}while(null!==ns);ns=null,Zr(),va=i}else e.current=n;if(as)as=!1,ss=e,us=t;else for(ns=r;null!==ns;)t=ns.nextEffect,ns.nextEffect=null,8&ns.flags&&((x=ns).sibling=null,x.stateNode=null),ns=t;if(0===(r=e.pendingLanes)&&(os=null),1===r?e===ps?ds++:(ds=0,ps=e):ds=0,n=n.stateNode,Fr&&"function"==typeof Fr.onCommitFiberRoot)try{Fr.onCommitFiberRoot(Br,n,void 0,64==(64&n.current.flags))}catch(e){}if(Mj(e,ri()),rs)throw rs=!1,e=is,is=null,e;return 0!=(8&va)||ui(),null}function xs(){for(;null!==ns;){var e=ns.alternate;ys||null===ms||(0!=(8&ns.flags)?$e(ns,ms)&&(ys=!0):13===ns.tag&&da(e,ns)&&$e(ns,ms)&&(ys=!0));var t=ns.flags;0!=(256&t)&&Xi(e,ns),0==(512&t)||as||(as=!0,si(97,(function(){return Oj(),null}))),ns=ns.nextEffect}}function Oj(){if(90!==us){var e=97<us?97:us;return us=90,ai(e,ks)}return!1}function _s(e,t){ls.push(t,e),as||(as=!0,si(97,(function(){return Oj(),null})))}function Zi(e,t){cs.push(t,e),as||(as=!0,si(97,(function(){return Oj(),null})))}function ks(){if(null===ss)return!1;var e=ss;if(ss=null,0!=(48&va))throw Error(a(331));var t=va;va|=32;var n=cs;cs=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(a(330));Wi(o,e)}}for(n=ls,ls=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var u=i.create;i.destroy=u()}catch(e){if(null===o)throw Error(a(330));Wi(o,e)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return va=t,ui(),!0}function Cs(e,t,n){Ag(e,t=Pi(0,t=Mi(n,t),1)),t=Hg(),null!==(e=Kj(e,1))&&(Mt(e,1,t),Mj(e,t))}function Wi(e,t){if(3===e.tag)Cs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Cs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===os||!os.has(r))){var i=Si(n,e=Mi(t,e),1);if(Ag(n,i),i=Hg(),null!==(n=Kj(n,1)))Mt(n,1,i),Mj(n,i);else if("function"==typeof r.componentDidCatch&&(null===os||!os.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Yj(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Hg(),e.pingedLanes|=e.suspendedLanes&n,ma===e&&(ba&n)===n&&(4===_a||3===_a&&(62914560&ba)===ba&&500>ri()-qa?Qj(e,0):ja|=n),Mj(e,t)}function Os(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===ii()?1:2:(0===gs&&(gs=Oa),0===(t=Yc(62914560&~gs))&&(t=4194304))),n=Hg(),null!==(e=Kj(e,t))&&(Mt(e,t,n),Mj(e,n))}function Ms(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ds(e,t,n,r){return new Ms(e,t,n,r)}function Ts(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Tg(e,t){var n=e.alternate;return null===n?((n=Ds(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Vg(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Ts(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case _:return Xg(n.children,i,o,t);case L:s=8,i|=16;break;case k:s=8,i|=1;break;case C:return(e=Ds(12,n,t,8|i)).elementType=C,e.type=C,e.lanes=o,e;case T:return(e=Ds(13,n,t,i)).type=T,e.elementType=T,e.lanes=o,e;case I:return(e=Ds(19,n,t,i)).elementType=I,e.lanes=o,e;case B:return Is(n,i,o,t);case F:return(e=Ds(24,n,t,i)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:s=10;break e;case M:s=9;break e;case D:s=11;break e;case P:s=14;break e;case R:s=16,r=null;break e;case A:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ds(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Xg(e,t,n,r){return(e=Ds(7,e,r,t)).lanes=n,e}function Is(e,t,n,r){return(e=Ds(23,e,r,t)).elementType=B,e.lanes=n,e}function Ug(e,t,n){return(e=Ds(6,e,null,t)).lanes=n,e}function Wg(e,t,n){return(t=Ds(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ps(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Zc(0),this.expirationTimes=Zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zc(0),this.mutableSourceEagerHydrationData=null}function Rs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function As(e,t,n,r){var i=t.current,o=Hg(),s=Ig(i);e:if(n){t:{if(Zb(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Ff(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(Ff(l)){n=If(n,l,u);break e}}n=u}else n=Rr;return null===t.context?t.context=n:t.pendingContext=n,(t=ki(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),Ag(i,t),Jg(i,s,o),s}function Ns(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ls(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Bs(e,t){Ls(e,t),(e=e.alternate)&&Ls(e,t)}function Fs(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ps(e,t,null!=n&&!0===n.hydrate),t=Ds(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,xi(t),e[_r]=n.current,nr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function zs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function js(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Ns(a);s.call(e)}}As(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Fs(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=Ns(a);u.call(e)}}Xj((function(){As(t,a,e,i)}))}return Ns(a)}function Ks(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zs(t))throw Error(a(200));return Rs(e,t,null,n)}ts=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||Nr.current)Po=!0;else{if(0==(n&r)){switch(Po=!1,t.tag){case 3:Uo(t),co();break;case 5:Qi(t);break;case 1:Ff(t.type)&&Jf(t);break;case 4:Hi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;Pr(di,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Yo(e,t,n):(Pr(eo,1&eo.current),null!==(t=Jo(e,t,n))?t.sibling:null);Pr(eo,1&eo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Ai(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Pr(eo,eo.current),r)break;return null;case 23:case 24:return t.lanes=0,Bo(e,t,n)}return Jo(e,t,n)}Po=0!=(16384&e.flags)}else Po=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=Ef(t,Ar.current),bi(t,n),i=Ch(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ff(r)){var o=!0;Jf(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,xi(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&Gg(t,r,s,e),i.updater=Oi,t.stateNode=i,i._reactInternals=t,Og(t,r,e,n),t=Ko(null,t,r,!0,o,n)}else t.tag=0,Ro(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Ts(e)?1:0;if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===P)return 14}return 2}(i),e=fi(i,e),o){case 0:t=zo(null,t,i,e,n);break e;case 1:t=jo(null,t,i,e,n);break e;case 11:t=Ao(null,t,i,e,n);break e;case 14:t=No(null,t,i,fi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,zo(e,t,r,i=t.elementType===r?i:fi(r,i),n);case 1:return r=t.type,i=t.pendingProps,jo(e,t,r,i=t.elementType===r?i:fi(r,i),n);case 3:if(Uo(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,_i(e,t),Cg(t,r,null,n),(r=t.memoizedState.element)===i)co(),t=Jo(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(ro=yr(t.stateNode.containerInfo.firstChild),no=t,o=io=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],fo.push(o);for(n=Ri(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ro(e,t,r,n),co();t=t.child}return t;case 5:return Qi(t),null===e&&so(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,hr(r,i)?s=null:null!==o&&hr(r,o)&&(t.flags|=16),Fo(e,t),Ro(e,t,s,n),t.child;case 6:return null===e&&so(t),null;case 13:return Yo(e,t,n);case 4:return Hi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ti(t,null,r,n):Ro(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ao(e,t,r,i=t.elementType===r?i:fi(r,i),n);case 7:return Ro(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ro(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var u=t.type._context;if(Pr(di,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=Un(u,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!Nr.current){t=Jo(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){s=u.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===u.tag&&((c=ki(-1,n&-n)).tag=2,Ag(u,c)),u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),yi(u.return,n),l.lanes|=n;break}c=c.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Ro(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,bi(t,n),r=r(i=wi(i,o.unstable_observedBits)),t.flags|=1,Ro(e,t,r,n),t.child;case 14:return o=fi(i=t.type,t.pendingProps),No(e,t,i,o=fi(i.type,o),r,n);case 15:return Lo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:fi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ff(r)?(e=!0,Jf(t)):e=!1,bi(t,n),Mg(t,r,i),Og(t,r,i,n),Ko(null,t,r,!0,e,n);case 19:return Ai(e,t,n);case 23:case 24:return Bo(e,t,n)}throw Error(a(156,t.tag))},Fs.prototype.render=function(e){As(e,this._internalRoot,null,null)},Fs.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;As(null,e,null,(function(){t[_r]=null}))},Xe=function(e){13===e.tag&&(Jg(e,4,Hg()),Bs(e,4))},Qe=function(e){13===e.tag&&(Jg(e,67108864,Hg()),Bs(e,67108864))},et=function(e){if(13===e.tag){var t=Hg(),n=Ig(e);Jg(e,n,t),Bs(e,n)}},tt=function(e,t){return t()},ge=function(e,t,n){switch(t){case"input":if(W(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Db(r);if(!i)throw Error(a(90));Wa(r),W(r,i)}}}break;case"textarea":Q(e,n);break;case"select":null!=(t=n.value)&&V(e,!!n.multiple,t,!1)}},Gb=Wj,Hb=function(e,t,n,r,i){var o=va;va|=4;try{return ai(98,e.bind(null,t,n,r,i))}finally{0===(va=o)&&(es(),ui())}},Ib=function(){0==(49&va)&&(function Vj(){if(null!==fs){var e=fs;fs=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Mj(e,ri())}))}ui()}(),Oj())},ye=function(e,t){var n=va;va|=2;try{return e(t)}finally{0===(va=n)&&(es(),ui())}};var Us={Events:[Cb,Or,Db,Eb,Fb,Oj,{current:!1}]},qs={findFiberByHostInstance:Cr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Ws={bundleType:qs.bundleType,version:qs.version,rendererPackageName:qs.rendererPackageName,rendererConfig:qs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ye(e))?null:e.stateNode},findFiberByHostInstance:qs.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Hs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hs.isDisabled&&Hs.supportsFiber)try{Br=Hs.inject(Ws),Fr=Hs}catch(ie){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Us,t.createPortal=Ks,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Ye(t))?null:e.stateNode},t.flushSync=function(e,t){var n=va;if(0!=(48&n))return e(t);va|=1;try{if(e)return ai(99,e.bind(null,t))}finally{va=n,ui()}},t.hydrate=function(e,t,n){if(!zs(t))throw Error(a(200));return js(null,e,t,!0,n)},t.render=function(e,t,n){if(!zs(t))throw Error(a(200));return js(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!zs(e))throw Error(a(40));return!!e._reactRootContainer&&(Xj((function(){js(null,null,e,!1,(function(){e._reactRootContainer=null,e[_r]=null}))})),!0)},t.unstable_batchedUpdates=Wj,t.unstable_createPortal=function(e,t){return Ks(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!zs(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return js(e,t,n,!1,r)},t.version="17.0.2"},97762:(e,t,n)=>{"use strict";e.exports=n(38698)},69921:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,u=60110,l=60112,c=60113,f=60120,d=60115,p=60116,h=60121,g=60122,v=60117,m=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),l=b("react.forward_ref"),c=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),p=b("react.lazy"),h=b("react.block"),g=b("react.server.block"),v=b("react.fundamental"),m=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case l:case p:case d:case s:return e;default:return t}}case r:return t}}}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===m||e===o||e===c||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===s||e.$$typeof===u||e.$$typeof===l||e.$$typeof===v||e.$$typeof===h||e[0]===g)},t.typeOf=w},59864:(e,t,n)=>{"use strict";e.exports=n(69921)},46871:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(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,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\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=r,t.componentWillReceiveProps=i),"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=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},29983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),a=h(o),s=h(n(73935)),u=h(n(45697)),l=h(n(28747)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(57149)),f=n(51112),d=h(f),p=n(46871);function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=t.portalClassName="ReactModalPortal",y=t.bodyOpenClassName="ReactModal__Body--open",b=f.canUseDOM&&void 0!==s.default.createPortal,w=function(e){return document.createElement(e)},S=function(){return b?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function E(e){return e()}var x=function(e){function Modal(){var e,t,n;g(this,Modal);for(var i=arguments.length,o=Array(i),u=0;u<i;u++)o[u]=arguments[u];return t=n=v(this,(e=Modal.__proto__||Object.getPrototypeOf(Modal)).call.apply(e,[this].concat(o))),n.removePortal=function(){!b&&s.default.unmountComponentAtNode(n.node);var e=E(n.props.parentSelector);e&&e.contains(n.node)?e.removeChild(n.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},n.portalRef=function(e){n.portal=e},n.renderPortal=function(e){var t=S()(n,a.default.createElement(l.default,r({defaultStyles:Modal.defaultStyles},e)),n.node);n.portalRef(t)},v(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Modal,e),i(Modal,[{key:"componentDidMount",value:function(){f.canUseDOM&&(b||(this.node=w("div")),this.node.className=this.props.portalClassName,E(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:E(e.parentSelector),nextParent:E(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||i)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&b?(!this.node&&b&&(this.node=w("div")),S()(a.default.createElement(l.default,r({ref:this.portalRef,defaultStyles:Modal.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),Modal}(o.Component);x.propTypes={isOpen:u.default.bool.isRequired,style:u.default.shape({content:u.default.object,overlay:u.default.object}),portalClassName:u.default.string,bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,className:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),overlayClassName:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),appElement:u.default.oneOfType([u.default.instanceOf(d.default),u.default.instanceOf(f.SafeHTMLCollection),u.default.instanceOf(f.SafeNodeList),u.default.arrayOf(u.default.instanceOf(d.default))]),onAfterOpen:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,ariaHideApp:u.default.bool,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,preventScroll:u.default.bool,parentSelector:u.default.func,aria:u.default.object,data:u.default.object,role:u.default.string,contentLabel:u.default.string,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func,id:u.default.string,overlayElement:u.default.func,contentElement:u.default.func},x.defaultProps={isOpen:!1,portalClassName:m,bodyOpenClassName:y,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},x.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(x),t.default=x},28747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(67294),s=v(n(45697)),u=g(n(99685)),l=v(n(88338)),c=g(n(57149)),f=g(n(32409)),d=n(51112),p=v(d),h=v(n(89623));function g(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}n(35063);var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,b=function(e){function ModalPortal(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ModalPortal);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(ModalPortal.__proto__||Object.getPrototypeOf(ModalPortal)).call(this,e));return t.setOverlayRef=function(e){t.overlay=e,t.props.overlayRef&&t.props.overlayRef(e)},t.setContentRef=function(e){t.content=e,t.props.contentRef&&t.props.contentRef(e)},t.afterClose=function(){var e=t.props,n=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&f.remove(document.body,o),i&&f.remove(document.getElementsByTagName("html")[0],i),r&&y>0&&0===(y-=1)&&c.show(n),t.props.shouldFocusAfterRender&&(t.props.shouldReturnFocusAfterClose?(u.returnFocus(t.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),t.props.onAfterClose&&t.props.onAfterClose(),h.default.deregister(t)},t.open=function(){t.beforeOpen(),t.state.afterOpen&&t.state.beforeClose?(clearTimeout(t.closeTimer),t.setState({beforeClose:!1})):(t.props.shouldFocusAfterRender&&(u.setupScopedFocus(t.node),u.markForFocusLater()),t.setState({isOpen:!0},(function(){t.openAnimationFrame=requestAnimationFrame((function(){t.setState({afterOpen:!0}),t.props.isOpen&&t.props.onAfterOpen&&t.props.onAfterOpen({overlayEl:t.overlay,contentEl:t.content})}))})))},t.close=function(){t.props.closeTimeoutMS>0?t.closeWithTimeout():t.closeWithoutTimeout()},t.focusContent=function(){return t.content&&!t.contentHasFocus()&&t.content.focus({preventScroll:!0})},t.closeWithTimeout=function(){var e=Date.now()+t.props.closeTimeoutMS;t.setState({beforeClose:!0,closesAt:e},(function(){t.closeTimer=setTimeout(t.closeWithoutTimeout,t.state.closesAt-Date.now())}))},t.closeWithoutTimeout=function(){t.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},t.afterClose)},t.handleKeyDown=function(e){9===e.keyCode&&(0,l.default)(t.content,e),t.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),t.requestClose(e))},t.handleOverlayOnClick=function(e){null===t.shouldClose&&(t.shouldClose=!0),t.shouldClose&&t.props.shouldCloseOnOverlayClick&&(t.ownerHandlesClose()?t.requestClose(e):t.focusContent()),t.shouldClose=null},t.handleContentOnMouseUp=function(){t.shouldClose=!1},t.handleOverlayOnMouseDown=function(e){t.props.shouldCloseOnOverlayClick||e.target!=t.overlay||e.preventDefault()},t.handleContentOnClick=function(){t.shouldClose=!1},t.handleContentOnMouseDown=function(){t.shouldClose=!1},t.requestClose=function(e){return t.ownerHandlesClose()&&t.props.onRequestClose(e)},t.ownerHandlesClose=function(){return t.props.onRequestClose},t.shouldBeClosed=function(){return!t.state.isOpen&&!t.state.beforeClose},t.contentHasFocus=function(){return document.activeElement===t.content||t.content.contains(document.activeElement)},t.buildClassName=function(e,n){var r="object"===(void 0===n?"undefined":i(n))?n:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},o=r.base;return t.state.afterOpen&&(o=o+" "+r.afterOpen),t.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof n&&n?o+" "+n:o},t.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},t.state={afterOpen:!1,beforeClose:!1},t.shouldClose=null,t.moveFromContentToOverlay=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(ModalPortal,e),o(ModalPortal,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName;i&&f.add(document.body,i),r&&f.add(document.getElementsByTagName("html")[0],r),n&&(y+=1,c.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,a=e.children,s=n?{}:o.content,u=i?{}:o.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:r({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(c,a);return this.props.overlayElement(l,f)}}]),ModalPortal}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(d.SafeHTMLCollection),s.default.instanceOf(d.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=b,e.exports=t.default},57149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){0},t.assertNodeList=u,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);u(n,t),t=n}return s=t||s},t.validateElement=l,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=l(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=l(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,i=n(42473),o=(r=i)&&r.__esModule?r:{default:r},a=n(51112);var s=null;function u(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},35063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,s],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}a=s=null,u=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(u.length);for(var e=[a,s],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,i=n(89623),o=(r=i)&&r.__esModule?r:{default:r};var a=void 0,s=void 0,u=[];function l(){0!==u.length&&u[u.length-1].focusContent()}o.default.subscribe((function(e,t){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",l),(s=a.cloneNode()).addEventListener("focus",l)),(u=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},32409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)i(e,n[t]);var o=document.body;for(var a in r)i(o,r[a]);n={},r={}},t.log=function(){0};var n={},r={};function i(e,t){e.classList.remove(t)}t.add=function(e,t){return i=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(o,e),i.add(e)}));var i,o},t.remove=function(e,t){return i=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(o,e),0===o[e]&&i.remove(e)}));var i,o}},99685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){0},t.handleBlur=l,t.handleFocus=c,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",c))};var r,i=n(37845),o=(r=i)&&r.__esModule?r:{default:r};var a=[],s=null,u=!1;function l(){u=!0}function c(){if(u){if(u=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,o.default)(s)[0]||s).focus()}),0)}}},89623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function PortalOpenInstances(){var e=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,PortalOpenInstances),this.register=function(t){-1===e.openInstances.indexOf(t)&&(e.openInstances.push(t),e.emit("register"))},this.deregister=function(t){var n=e.openInstances.indexOf(t);-1!==n&&(e.openInstances.splice(n,1),e.emit("deregister"))},this.subscribe=function(t){e.subscribers.push(t)},this.emit=function(t){e.subscribers.forEach((function(n){return n(t,e.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},51112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,i=n(58875);var o=((r=i)&&r.__esModule?r:{default:r}).default,a=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM;t.default=a},88338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,i=t.shiftKey,s=n[0],u=n[n.length-1],l=a();if(e===l){if(!i)return;r=u}u!==l||i||(r=s);s===l&&i&&(r=u);if(r)return t.preventDefault(),void r.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||"Chrome"==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var f=n.indexOf(l);f>-1&&(f+=i?-1:1);if(void 0===(r=n[f]))return t.preventDefault(),void(r=i?u:s).focus();t.preventDefault(),r.focus()};var r,i=n(37845),o=(r=i)&&r.__esModule?r:{default:r};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?a(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},37845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function i(e,t){var i=e.nodeName.toLowerCase();return(n.test(i)&&!e.disabled||"a"===i&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&i(e,!n)}e.exports=t.default},83253:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(29983),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},29154:(e,t,n)=>{"use strict";function r(e,t){for(var n=e.length,r=0;r<n;++r)if(t(e[r],r))return!0;return!1}function i(e,t){for(var n=e.length,r=0;r<n;++r)if(t(e[r],r))return e[r];return null}function o(e,t){try{return new RegExp(e,"g").exec(t)}catch(e){return null}}function a(){if("undefined"==typeof navigator||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!(!t||!t.length)}function s(e){return e.replace(/_/g,".")}function u(e,t){var n=null,i="-1";return r(e,(function(e){var r=o("("+e.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!(!r||e.brand)&&(n=e,i=r[3]||"-1",e.versionAlias?i=e.versionAlias:e.versionTest&&(i=function(e,t){var n=o("("+e+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return n?n[3]:""}(e.versionTest.toLowerCase(),t)||i),i=s(i),!0)})),{preset:n,version:i}}function l(e,t){return i(e,(function(e){var n=e.brand;return o(""+t.test,n.toLowerCase())}))}n.d(t,{default:()=>oa});var c=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],f=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",brand:!0}],d=[{test:"applewebkit",id:"webkit"}],p=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],h=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"mac os x",id:"mac"},{test:"android",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function g(e){var t=navigator.userAgentData,n=(t.uaList||t.brands).slice(),o=t.mobile||!1,a=n[0],u={name:a.brand,version:a.version,majorVersion:-1,webkit:!1,webview:r(p,(function(e){return l(n,e)})),chromium:r(f,(function(e){return l(n,e)}))},g={name:"unknown",version:"-1",majorVersion:-1};if(u.webkit=!u.chromium&&r(d,(function(e){return l(n,e)})),e){var v=e.platform.toLowerCase(),m=i(h,(function(e){return new RegExp(""+e.test,"g").exec(v)}));g.name=m?m.id:v,g.version=e.platformVersion}return r(c,(function(t){var r=l(n,t);return!!r&&(u.name=t.id,u.version=e?e.uaFullVersion:r.version,!0)})),"Linux armv8l"===navigator.platform?g.name="android":u.webkit&&(g.name=o?"ios":"mac"),"ios"===g.name&&u.webview&&(u.version="-1"),g.version=s(g.version),u.version=s(u.version),g.majorVersion=parseInt(g.version,10),u.majorVersion=parseInt(u.version,10),{browser:u,os:g,isMobile:o,isHints:!0}}function v(e){var t=function(e){var t=e;if(void 0===t){if("undefined"==typeof navigator||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}(e),n=!!/mobi/g.exec(t),r={name:"unknown",version:"-1",majorVersion:-1,webview:!!u(p,t).preset,chromium:!!u(f,t).preset,webkit:!1},i={name:"unknown",version:"-1",majorVersion:-1},o=u(c,t),a=o.preset,s=o.version,l=u(h,t),g=l.preset,v=l.version;return r.webkit=!r.chromium&&!!u(d,t).preset,g&&(i.name=g.id,i.version=v,i.majorVersion=parseInt(v,10)),a&&(r.name=a.id,r.version=s,r.webview&&"ios"===i.name&&"safari"!==r.name&&(r.webview=!1)),r.majorVersion=parseInt(r.version,10),{browser:r,os:i,isMobile:n,isHints:!1}}function m(e){return void 0===e&&a()?g():v(e)}const y=m;function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.map((function(t){return t.split(" ").map((function(t){return t?""+e+t:""})).join(" ")})).join(" ")}function w(e,t){return function(n){n&&(e[t]=n)}}function S(e,t,n){return function(r){r&&(e[t][n]=r)}}var E="undefined",x=(typeof document!==E&&document,[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}]),_=1e-7,k={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return void 0===t&&(t=window.innerWidth),e/100*t},vh:function(e,t){return void 0===t&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return void 0===t&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return void 0===t&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function C(e){return typeof e===E}function O(e){return e&&"object"==typeof e}function M(e){return Array.isArray(e)}function D(e){return"string"==typeof e}function T(e){return"function"==typeof e}function I(e,t,n,r,i){return P(e,t,n)?n:function(e,t,n,r,i){for(var o,a=function(n){var a=t[n].trim();if(a===e.close&&!P(e,t,n))return{value:n};var s=n,u=j(i,(function(e){return e.open===a}));if(u&&(s=I(u,t,n,r,i)),-1===s)return o=n,"break";o=n=s},s=n;s<r;++s){var u=a(s);if(s=o,"object"==typeof u)return u.value;if("break"===u)break}return-1}(e,t,n+1,r,i)}function P(e,t,n){if(!e.ignore)return null;var r=t.slice(Math.max(n-3,0),n+3).join("");return new RegExp(e.ignore).exec(r)}function R(e,t){var n=D(t)?{separator:t}:t,r=n.separator,i=void 0===r?",":r,o=n.isSeparateFirst,a=n.isSeparateOnlyOpenClose,s=n.isSeparateOpenClose,u=void 0===s?a:s,l=n.openCloseCharacters,c=void 0===l?x:l,f=c.map((function(e){var t=e.open,n=e.close;return t===n?t:t+"|"+n})).join("|"),d=new RegExp("(\\s*"+i+"\\s*|"+f+"|\\s+)","g"),p=e.split(d).filter(Boolean),h=p.length,g=[],v=[];function m(){return!!v.length&&(g.push(v.join("")),v=[],!0)}for(var y,b=function(e){var t=p[e].trim(),n=e,r=j(c,(function(e){return e.open===t})),s=j(c,(function(e){return e.close===t}));if(r){if(-1!==(n=I(r,p,e,h,c))&&u)return m()&&o?(y=e,"break"):(g.push(p.slice(e,n+1).join("")),e=n,o?(y=e,"break"):(y=e,"continue"))}else{if(s&&!P(s,p,e))throw new Error("invalid format: "+s.close);if(function(e,t){return(""===t||" "==t)&&(""===e||" "==e)||e===t}(t,i)&&!a)return m(),o?(y=e,"break"):(y=e,"continue")}-1===n&&(n=h-1),v.push(p.slice(e,n+1).join("")),y=e=n},w=0;w<h;++w){var S=b(w);if(w=y,"break"===S)break}return v.length&&g.push(v.join("")),g}function A(e){return R(e,"")}function N(e){return R(e,",")}function L(e){var t=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(e);return!t||t.length<4?{}:{prefix:t[1],value:t[2],suffix:t[3]}}function B(e){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(e);if(!t)return{prefix:"",unit:"",value:NaN};var n=t[1],r=t[2];return{prefix:n,unit:t[3],value:parseFloat(r)}}function F(){return Date.now?Date.now():(new Date).getTime()}function z(e,t,n){void 0===n&&(n=-1);for(var r=e.length,i=0;i<r;++i)if(t(e[i],i,e))return i;return n}function j(e,t,n){var r=z(e,t);return r>-1?e[r]:n}function K(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in t)t.push(n);return t}function U(e,t){var n=B(e),r=n.value,i=n.unit;if(O(t)){var o=t[i];if(o){if(T(o))return o(r);if(k[i])return k[i](r,o)}}else if("%"===i)return r*t/100;return k[i]?k[i](r):r}function q(e,t,n){return[[$(t[0],_),$(t[0]*e[1]/e[0],_)],[$(t[1]*e[0]/e[1],_),$(t[1],_)]].filter((function(e){return e.every((function(e,r){return n?e<=t[r]:e>=t[r]}))}))[0]||e}function W(e,t,n,r){if(!r)return e.map((function(e,r){return function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t[r],n[r])}));var i=e[0],o=e[1],a=q(e,t,!1),s=a[0],u=a[1],l=q(e,n,!0),c=l[0],f=l[1];return i<s||o<u?(i=s,o=u):(i>c||o>f)&&(i=c,o=f),[i,o]}function H(e){for(var t=e.length,n=0,r=t-1;r>=0;--r)n+=e[r];return t?n/t:0}function G(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=Math.atan2(r,n);return i>=0?i:i+2*Math.PI}function Y(e){var t=function(e){return[0,1].map((function(t){return H(e.map((function(e){return e[t]})))}))}(e),n=G(t,e[0]),r=G(t,e[1]);return n<r&&r-n<Math.PI||n>r&&r-n<-Math.PI?1:-1}function V(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function $(e,t){return t?Math.round(e/t)*t:e}function X(e,t){return e.forEach((function(n,r){e[r]=$(e[r],t)})),e}function Q(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function Z(e,t,n,r){e.addEventListener(t,n,r)}function J(e,t,n,r){e.removeEventListener(t,n,r)}function ee(e,t,n,r,i,o){for(var a=0;a<i;++a){var s=n+a*i,u=r+a*i;e[s]+=e[u]*o,t[s]+=t[u]*o}}function te(e,t,n,r,i){for(var o=0;o<i;++o){var a=n+o*i,s=r+o*i,u=e[a],l=t[a];e[a]=e[s],e[s]=u,t[a]=t[s],t[s]=l}}function ne(e,t,n,r,i){for(var o=0;o<r;++o){var a=n+o*r;e[a]/=i,t[a]/=i}}function re(e,t,n){void 0===n&&(n=Math.sqrt(e.length));for(var r=e.slice(),i=0;i<n;++i)r[i*n+t-1]=0,r[(t-1)*n+i]=0;return r[(t-1)*(n+1)]=1,r}function ie(e,t){void 0===t&&(t=Math.sqrt(e.length));for(var n=e.slice(),r=Se(t),i=0;i<t;++i){var o=t*i+i;if(!$(n[o],_))for(var a=i+1;a<t;++a)if(n[t*i+a]){te(n,r,i,a,t);break}if(!$(n[o],_))return[];ne(n,r,i,t,n[o]);for(a=0;a<t;++a){var s=a,u=n[a+i*t];$(u,_)&&i!==a&&ee(n,r,s,i,t,-u)}}return r}function oe(e,t){for(var n=e.slice(),r=e.length;r<t-1;++r)n[r]=0;return n[t-1]=1,n}function ae(e,t,n){if(void 0===t&&(t=Math.sqrt(e.length)),t===n)return e;for(var r=Se(n),i=Math.min(t,n),o=0;o<i-1;++o){for(var a=0;a<i-1;++a)r[o*n+a]=e[o*t+a];r[(o+1)*n-1]=e[(o+1)*t-1],r[(n-1)*n+o]=e[(t-1)*t+o]}return r[n*n-1]=e[t*t-1],r}function se(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Se(e);return t.forEach((function(t){r=ue(r,t,e)})),r}function ue(e,t,n){void 0===n&&(n=Math.sqrt(e.length));var r=[],i=e.length/n,o=t.length/i;if(!i)return t;if(!o)return e;for(var a=0;a<n;++a)for(var s=0;s<o;++s){r[s*n+a]=0;for(var u=0;u<i;++u)r[s*n+a]+=e[u*n+a]*t[s*i+u]}return r}function le(e,t){for(var n=Math.min(e.length,t.length),r=e.slice(),i=0;i<n;++i)r[i]=r[i]+t[i];return r}function ce(e,t){for(var n=Math.min(e.length,t.length),r=e.slice(),i=0;i<n;++i)r[i]=r[i]-t[i];return r}function fe(e,t){return void 0===t&&(t=9===e.length),t?[e[0],e[1],e[3],e[4],e[6],e[7]]:e}function de(e,t,n){void 0===n&&(n=t.length);var r=ue(e,t,n),i=r[n-1];return r.map((function(e){return e/i}))}function pe(e,t){return ue(e,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function he(e,t){return ue(e,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function ge(e,t){return ue(e,we(t,4))}function ve(e,t){var n=t[0],r=void 0===n?1:n,i=t[1],o=void 0===i?1:i,a=t[2];return ue(e,[r,0,0,0,0,o,0,0,0,0,void 0===a?1:a,0,0,0,0,1],4)}function me(e,t){return de(we(t,3),oe(e,3))}function ye(e,t){var n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2];return ue(e,[1,0,0,0,0,1,0,0,0,0,1,0,r,o,void 0===a?0:a,1],4)}function be(e,t){return ue(e,t,4)}function we(e,t){var n=Math.cos(e),r=Math.sin(e),i=Se(t);return i[0]=n,i[1]=r,i[t]=-r,i[t+1]=n,i}function Se(e){for(var t=e*e,n=[],r=0;r<t;++r)n[r]=r%(e+1)?0:1;return n}function xe(e,t){for(var n=Se(t),r=Math.min(e.length,t-1),i=0;i<r;++i)n[(t+1)*i]=e[i];return n}function _e(e,t){for(var n=Se(t),r=Math.min(e.length,t-1),i=0;i<r;++i)n[t*(t-1)+i]=e[i];return n}function ke(e,t,n,r,i,o,a,s){var u=e[0],l=e[1],c=t[0],f=t[1],d=n[0],p=n[1],h=r[0],g=r[1],v=i[0],m=i[1],y=o[0],b=o[1],w=a[0],S=a[1],E=s[0],x=s[1],_=ie([u,0,c,0,d,0,h,0,l,0,f,0,p,0,g,0,1,0,1,0,1,0,1,0,0,u,0,c,0,d,0,h,0,l,0,f,0,p,0,g,0,1,0,1,0,1,0,1,-v*u,-m*u,-y*c,-b*c,-w*d,-S*d,-E*h,-x*h,-v*l,-m*l,-y*f,-b*f,-w*p,-S*p,-E*g,-x*g],8);if(!_.length)return[];var k=ue(_,[v,m,y,b,w,S,E,x],8);return k[8]=1,ae(function(e,t){void 0===t&&(t=Math.sqrt(e.length));for(var n=[],r=0;r<t;++r)for(var i=0;i<t;++i)n[i*t+r]=e[t*r+i];return n}(k),3,4)}function Ie(e){return Pe(ze(e))}function Pe(e){var t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach((function(e){var n=e.matrixFunction,r=e.functionValue;n&&(t=n(t,r))})),t}function ze(e){return(M(e)?e:A(e)).map((function(e){var t=L(e),n=t.prefix,r=t.value,i=null,o=n,a="";if("translate"===n||"translateX"===n||"translate3d"===n){var s=N(r).map((function(e){return parseFloat(e)})),u=s[0],l=s[1],c=void 0===l?0:l,f=s[2];i=ye,a=[u,c,void 0===f?0:f]}else if("translateY"===n){i=ye,a=[0,c=parseFloat(r),0]}else if("translateZ"===n){i=ye,a=[0,0,parseFloat(r)]}else if("scale"===n||"scale3d"===n){var d=N(r).map((function(e){return parseFloat(e)})),p=d[0],h=d[1],g=void 0===h?p:h,v=d[2];i=ve,a=[p,g,void 0===v?1:v]}else if("scaleX"===n){i=ve,a=[p=parseFloat(r),1,1]}else if("scaleY"===n){i=ve,a=[1,g=parseFloat(r),1]}else if("scaleZ"===n){i=ve,a=[1,1,parseFloat(r)]}else if("rotate"===n||"rotateZ"===n||"rotateX"===n||"rotateY"===n){var m=B(r),y=m.unit,b=m.value;"rotate"===n||"rotateZ"===n?(o="rotateZ",i=ge):"rotateX"===n?i=pe:"rotateY"===n&&(i=he),a="rad"===y?b:b*Math.PI/180}else if("matrix3d"===n)i=be,a=N(r).map((function(e){return parseFloat(e)}));else if("matrix"===n){var w=N(r).map((function(e){return parseFloat(e)}));i=be,a=[w[0],w[1],0,0,w[2],w[3],0,0,0,0,1,0,w[4],w[5],0,1]}else o="";return{name:n,functionName:o,value:r,matrixFunction:i,functionValue:a}}))}var je=function(){function PolyMap(){this.keys=[],this.values=[]}var e=PolyMap.prototype;return e.get=function(e){return this.values[this.keys.indexOf(e)]},e.set=function(e,t){var n=this.keys,r=this.values,i=n.indexOf(e),o=-1===i?n.length:i;n[o]=e,r[o]=t},PolyMap}(),qe=function(){function HashMap(){this.object={}}var e=HashMap.prototype;return e.get=function(e){return this.object[e]},e.set=function(e,t){this.object[e]=t},HashMap}(),Ye="function"==typeof Map,$e=function(){function Link(){}var e=Link.prototype;return e.connect=function(e,t){this.prev=e,this.next=t,e&&(e.next=this),t&&(t.prev=this)},e.disconnect=function(){var e=this.prev,t=this.next;e&&(e.next=t),t&&(t.prev=e)},e.getIndex=function(){for(var e=this,t=-1;e;)e=e.prev,++t;return t},Link}();var Xe=function(){function Result(e,t,n,r,i,o,a,s){this.prevList=e,this.list=t,this.added=n,this.removed=r,this.changed=i,this.maintained=o,this.changedBeforeAdded=a,this.fixed=s}var e=Result.prototype;return Object.defineProperty(e,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(e,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),e.caculateOrdered=function(){var e=function(e,t){var n=[],r=[];return e.forEach((function(e){var t=e[0],i=e[1],o=new $e;n[t]=o,r[i]=o})),n.forEach((function(e,t){e.connect(n[t-1])})),e.filter((function(e,n){return!t[n]})).map((function(e,t){var i=e[0],o=e[1];if(i===o)return[0,0];var a=n[i],s=r[o-1],u=a.getIndex();return a.disconnect(),s?a.connect(s,s.next):a.connect(void 0,n[0]),[u,a.getIndex()]}))}(this.changedBeforeAdded,this.fixed),t=this.changed,n=[];this.cacheOrdered=e.filter((function(e,r){var i=e[0],o=e[1],a=t[r],s=a[0],u=a[1];if(i!==o)return n.push([s,u]),!0})),this.cachePureChanged=n},Result}();function Qe(e,t,n){var r=Ye?Map:n?qe:je,i=n||function(e){return e},o=[],a=[],s=[],u=e.map(i),l=t.map(i),c=new r,f=new r,d=[],p=[],h={},g=[],v=0,m=0;return u.forEach((function(e,t){c.set(e,t)})),l.forEach((function(e,t){f.set(e,t)})),u.forEach((function(e,t){var n=f.get(e);void 0===n?(++m,a.push(t)):h[n]=m})),l.forEach((function(e,t){var n=c.get(e);void 0===n?(o.push(t),++v):(s.push([n,t]),m=h[t]||0,d.push([n-m,t-v]),p.push(t===n),n!==t&&g.push([n,t]))})),a.reverse(),new Xe(e,t,o,a,g,s,d,p)}var et=function(){function ListDiffer(e,t){void 0===e&&(e=[]),this.findKeyCallback=t,this.list=[].slice.call(e)}return ListDiffer.prototype.update=function(e){var t=[].slice.call(e),n=Qe(this.list,t,this.findKeyCallback);return this.list=t,n},ListDiffer}();var tt=function(e,t){return tt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},tt(e,t)};var nt,rt="function"==typeof Map?void 0:(nt=0,function(e){return e.__DIFF_KEY__||(e.__DIFF_KEY__=++nt)});const it=function(e){function ChildrenDiffer(t){return void 0===t&&(t=[]),e.call(this,t,rt)||this}return function __extends(e,t){function __(){this.constructor=e}tt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(ChildrenDiffer,e),ChildrenDiffer}(et);function ot(e){return e.length<3?0:Math.abs(function(e){for(var t=0,n=e.length-1;n>=0;--n)t+=e[n];return t}(e.map((function(t,n){var r=e[n+1]||e[0];return t[0]*r[1]-r[0]*t[1]}))))/2}function at(e,t){var n=t.width,r=t.height,i=t.left,o=t.top,a=st(e),s=a.minX,u=a.minY,l=a.maxX,c=a.maxY,f=n/(l-s),d=r/(c-u);return e.map((function(e){return[i+(e[0]-s)*f,o+(e[1]-u)*d]}))}function st(e){var t=e.map((function(e){return e[0]})),n=e.map((function(e){return e[1]}));return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,n),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,n)}}function ut(e,t,n){var r=e[0],i=e[1],o=st(t),a=o.minX,s=o.minY,u=o.maxX,l=o.maxY,c=[[a,i],[u,i]],f=[[r,s],[r,l]],d=lt(c[0],c[1]),p=lt(f[0],f[1]),h=dt(t),g=[],v=[];return h.forEach((function(e){var t=lt(e[0],e[1]),n=ft(ct(d,t),[c,e]),o=ft(ct(p,t),[f,e]);1===n.length&&e[0][1]===i||g.push.apply(g,n),1===o.length&&e[0][0]===r||v.push.apply(v,o),t[0]||g.push.apply(g,n),t[1]||v.push.apply(v,o)})),!n&&(z(g,(function(e){return e[0]===r}))>-1||z(v,(function(e){return e[1]===i}))>-1)||!!(g.filter((function(e){return e[0]>r})).length%2&&v.filter((function(e){return e[1]>i})).length%2)}function lt(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];if(n===i&&r===o)return[0,0,0];if(n===i)return[1,0,-n];if(r===o)return[0,1,-r];var a=(i-n)/(r-o);return[1,a,-n-a*r]}function ct(e,t){var n,r,i=e[0],o=e[1],a=e[2],s=t[0],u=t[1],l=t[2],c=0===i&&0===s,f=0===o&&0===u;if(c&&f)return[];if(c){var d=-a/o;return d!==-l/u?[]:[[-1/0,d],[1/0,d]]}if(f){var p=-a/i;return p!==-l/s?[]:[[p,-1/0],[p,1/0]]}return 0===i?[[n=-(u*(r=-a/o)+l)/s,r]]:0===s?[[n=-(o*(r=-l/u)+a)/i,r]]:0===o?[[n=-a/i,r=-(s*n+l)/u]]:0===u?[[n=-l/s,r=-(i*n+a)/o]]:[[n=(o*l-u*a)/(u*i-o*s),r=-(i*n+a)/o]]}function ft(e,t){var n=t.map((function(e){return[0,1].map((function(t){return[Math.min(e[0][t],e[1][t]),Math.max(e[0][t],e[1][t])]}))}));if(2===e.length){var r=e[0],i=r[0],o=r[1];if(i===e[1][0]){var a=Math.max.apply(Math,n.map((function(e){return e[1][0]}))),s=Math.min.apply(Math,n.map((function(e){return e[1][1]})));return a>s?[]:[[i,a],[i,s]]}if(o===e[1][1]){var u=Math.max.apply(Math,n.map((function(e){return e[0][0]}))),l=Math.min.apply(Math,n.map((function(e){return e[0][1]})));return u>l?[]:[[u,o],[l,o]]}}return e.filter((function(e){return n.every((function(t){return t[0][0]<=e[0]&&e[0]<=t[0][1]&&t[1][0]<=e[1]&&e[1]<=t[1][1]}))}))}function dt(e){return function __spreadArrays(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}(e.slice(1),[e[0]]).map((function(t,n){return[e[n],t]}))}function pt(e,t){var n=function(e,t){var n=e.slice(),r=t.slice();-1===Y(n)&&n.reverse(),-1===Y(r)&&r.reverse();var i=dt(n),o=dt(r),a=i.map((function(e){return lt(e[0],e[1])})),s=o.map((function(e){return lt(e[0],e[1])})),u=[];a.forEach((function(e,t){var n=i[t],a=[];s.forEach((function(r,i){var s=ft(ct(e,r),[n,o[i]]);a.push.apply(a,s.map((function(e){return{index1:t,index2:i,pos:e}})))})),a.sort((function(e,t){return V(n[0],e.pos)-V(n[0],t.pos)})),u.push.apply(u,a),ut(n[1],r)&&u.push({index1:t,index2:-1,pos:n[1]})})),o.forEach((function(e,t){if(ut(e[1],n)){var r=!1,i=z(u,(function(e){return e.index2===t?(r=!0,!1):!!r}));-1===i&&(r=!1,i=z(u,(function(e){var n=e.index1,i=e.index2;return-1===n&&i+1===t?(r=!0,!1):!!r}))),-1===i?u.push({index1:-1,index2:t,pos:e[1]}):u.splice(i,0,{index1:-1,index2:t,pos:e[1]})}}));var l=u.map((function(e){return e.pos})),c={};return l.filter((function(e){var t=e[0]+"x"+e[1];return!c[t]&&(c[t]=!0,!0)}))}(e,t);return ot(n)}var __assign=function(){return __assign=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},__assign.apply(this,arguments)};const ht=function(){function EventEmitter(){this._events={}}var e=EventEmitter.prototype;return e.on=function(e,t){if(O(e))for(var n in e)this.on(n,e[n]);else this._addEvent(e,t,{});return this},e.off=function(e,t){if(e)if(O(e))for(var n in e)this.off(n);else if(t){var r=this._events[e];if(r){var i=z(r,(function(e){return e.listener===t}));i>-1&&r.splice(i,1)}}else this._events[e]=[];else this._events={};return this},e.once=function(e,t){var n=this;return t&&this._addEvent(e,t,{once:!0}),new Promise((function(t){n._addEvent(e,t,{once:!0})}))},e.emit=function(e,t){var n=this;void 0===t&&(t={});var r=this._events[e];if(!e||!r)return!0;var i=!1;return t.eventType=e,t.stop=function(){i=!0},t.currentTarget=this,function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}(r).forEach((function(r){r.listener(t),r.once&&n.off(e,r.listener)})),!i},e.trigger=function(e,t){return void 0===t&&(t={}),this.emit(e,t)},e._addEvent=function(e,t,n){var r=this._events;r[e]=r[e]||[],r[e].push(__assign({listener:t},n))},EventEmitter}();var gt=function(e,t){return gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},gt(e,t)};function vt(e){var t=e.container;return t===document.body?[t.scrollLeft||document.documentElement.scrollLeft,t.scrollTop||document.documentElement.scrollTop]:[t.scrollLeft,t.scrollTop]}const mt=function(e){function DragScroll(){var t=null!==e&&e.apply(this,arguments)||this;return t.startRect=null,t.startPos=[],t.prevTime=0,t.timer=0,t}!function(e,t){function __(){this.constructor=e}gt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(DragScroll,e);var t=DragScroll.prototype;return t.dragStart=function(e,t){var n=t.container,r=0,i=0,o=0,a=0;if(n===document.body)o=window.innerWidth,a=window.innerHeight;else{var s=n.getBoundingClientRect();r=s.top,i=s.left,o=s.width,a=s.height}this.startPos=[e.clientX,e.clientY],this.startRect={top:r,left:i,width:o,height:a}},t.drag=function(e,t){var n=this,r=e.clientX,i=e.clientY,o=t.container,a=t.threshold,s=void 0===a?0:a,u=t.throttleTime,l=void 0===u?0:u,c=t.getScrollPosition,f=void 0===c?vt:c,d=this.startRect,p=this.startPos,h=F(),g=Math.max(l+this.prevTime-h,0),v=[0,0];if(d.top>i-s?(p[1]>d.top||i<p[1])&&(v[1]=-1):d.top+d.height<i+s&&(p[1]<d.top+d.height||i>p[1])&&(v[1]=1),d.left>r-s?(p[0]>d.left||r<p[0])&&(v[0]=-1):d.left+d.width<r+s&&(p[0]<d.left+d.width||r>p[0])&&(v[0]=1),clearTimeout(this.timer),!v[0]&&!v[1])return!1;if(g>0)return this.timer=window.setTimeout((function(){n.drag(e,t)}),g),!1;this.prevTime=h;var m=f({container:o,direction:v});this.trigger("scroll",{container:o,direction:v,inputEvent:e});var y=f({container:o,direction:v}),b=y[0]-m[0],w=y[1]-m[1];return!(!b&&!w)&&(this.trigger("move",{offsetX:v[0]?b:0,offsetY:v[1]?w:0,inputEvent:e}),l&&(this.timer=window.setTimeout((function(){n.drag(e,t)}),l)),!0)},t.dragEnd=function(){clearTimeout(this.timer)},DragScroll}(ht);var yt=n(67294),bt=function(e,t){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},bt(e,t)};var wt=function(){return wt=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},wt.apply(this,arguments)};function St(e){return 180*(t=[e[0].clientX,e[0].clientY],n=[e[1].clientX,e[1].clientY],r=n[0]-t[0],i=n[1]-t[1],((o=Math.atan2(i,r))>=0?o:o+2*Math.PI)/Math.PI);var t,n,r,i,o}function Et(e){return e.touches?function(e){for(var t=Math.min(e.length,2),n=[],r=0;r<t;++r)n.push(kt(e[r]));return n}(e.touches):[kt(e)]}function xt(e,t,n){var r=n.length,i=Ct(e,r),o=i.clientX,a=i.clientY,s=i.originalClientX,u=i.originalClientY,l=Ct(t,r),c=l.clientX,f=l.clientY,d=Ct(n,r);return{clientX:s,clientY:u,deltaX:o-c,deltaY:a-f,distX:o-d.clientX,distY:a-d.clientY}}function _t(e){return Math.sqrt(Math.pow(e[0].clientX-e[1].clientX,2)+Math.pow(e[0].clientY-e[1].clientY,2))}function kt(e){return{clientX:e.clientX,clientY:e.clientY}}function Ct(e,t){void 0===t&&(t=e.length);for(var n={clientX:0,clientY:0,originalClientX:0,originalClientY:0},r=0;r<t;++r){var i=e[r];n.originalClientX+="originalClientX"in i?i.originalClientX:i.clientX,n.originalClientY+="originalClientY"in i?i.originalClientY:i.clientY,n.clientX+=i.clientX,n.clientY+=i.clientY}return t?{clientX:n.clientX/t,clientY:n.clientY/t,originalClientX:n.originalClientX/t,originalClientY:n.originalClientY/t}:n}var Ot=function(){function ClientStore(e){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=e,this.prevClients=e,this.length=e.length}var e=ClientStore.prototype;return e.addClients=function(e){void 0===e&&(e=this.prevClients);var t=this.getPosition(e),n=t.deltaX,r=t.deltaY;return this.movement+=Math.sqrt(n*n+r*r),this.prevClients=e,t},e.getAngle=function(e){return void 0===e&&(e=this.prevClients),St(e)},e.getRotation=function(e){return void 0===e&&(e=this.prevClients),St(e)-St(this.startClients)},e.getPosition=function(e){return xt(e||this.prevClients,this.prevClients,this.startClients)},e.getPositions=function(e){void 0===e&&(e=this.prevClients);var t=this.prevClients;return this.startClients.map((function(n,r){return xt([e[r]],[t[r]],[n])}))},e.getMovement=function(e){var t=this.movement;if(!e)return t;var n=Ct(e,this.length),r=Ct(this.prevClients,this.length),i=n.clientX-r.clientX,o=n.clientY-r.clientY;return Math.sqrt(i*i+o*o)+t},e.getDistance=function(e){return void 0===e&&(e=this.prevClients),_t(e)},e.getScale=function(e){return void 0===e&&(e=this.prevClients),_t(e)/_t(this.startClients)},e.move=function(e,t){this.startClients.forEach((function(n){n.clientX-=e,n.clientY-=t})),this.prevClients.forEach((function(n){n.clientX-=e,n.clientY-=t}))},ClientStore}(),Mt=["textarea","input"];const Dt=function(e){function Gesto(t,n){void 0===n&&(n={});var r=e.call(this)||this;r.options={},r.flag=!1,r.pinchFlag=!1,r.datas={},r.isDrag=!1,r.isPinch=!1,r.isMouse=!1,r.isTouch=!1,r.clientStores=[],r.targets=[],r.prevTime=0,r.doubleFlag=!1,r.onDragStart=function(e,t){if(void 0===t&&(t=!0),r.flag||!1!==e.cancelable){var n=r.options,i=n.container,o=n.pinchOutside,a=n.preventRightClick,s=n.preventDefault,u=n.checkInput,l=r.isTouch,c=!r.flag;if(c){var f=document.activeElement,d=e.target,p=d.tagName.toLowerCase(),h=Mt.indexOf(p)>-1,g=d.isContentEditable;if(h||g){if(u||f===d)return!1;if(f&&g&&f.isContentEditable&&f.contains(d))return!1}else if((s||"touchstart"===e.type)&&f){var v=f.tagName;(f.isContentEditable||Mt.indexOf(v)>-1)&&f.blur()}if(r.clientStores=[new Ot(Et(e))],r.flag=!0,r.isDrag=!1,r.datas={},a&&(3===e.which||2===e.button))return r.initDrag(),!1;r.doubleFlag=F()-r.prevTime<200,!1===r.emit("dragStart",wt({datas:r.datas,inputEvent:e,isTrusted:t,isDouble:r.doubleFlag},r.getCurrentStore().getPosition()))&&r.initDrag(),r.flag&&s&&e.preventDefault()}if(!r.flag)return!1;var m=0;if(c&&l&&o&&(m=setTimeout((function(){Z(i,"touchstart",r.onDragStart,{passive:!1})}))),!c&&l&&o&&J(i,"touchstart",r.onDragStart),r.flag&&function(e){return e.touches&&e.touches.length>=2}(e)){if(clearTimeout(m),c&&e.touches.length!==e.changedTouches.length)return;r.pinchFlag||r.onPinchStart(e)}}},r.onDrag=function(e,t){if(r.flag){var n=Et(e),i=r.moveClients(n,e,!1);(r.pinchFlag||i.deltaX||i.deltaY)&&r.emit("drag",wt({},i,{isScroll:!!t,inputEvent:e})),r.pinchFlag&&r.onPinch(e,n),r.getCurrentStore().addClients(n)}},r.onDragEnd=function(e){if(r.flag){var t=r.options,n=t.pinchOutside,i=t.container;r.isTouch&&n&&J(i,"touchstart",r.onDragStart),r.flag=!1;var o=r.getCurrentStore().getPosition(),a=F(),s=!r.isDrag&&r.doubleFlag;r.prevTime=r.isDrag||s?0:a,r.emit("dragEnd",wt({datas:r.datas,isDouble:s,isDrag:r.isDrag,inputEvent:e},o)),r.pinchFlag&&r.onPinchEnd(e),r.clientStores=[]}},r.onBlur=function(){r.onDragEnd()};var i=[].concat(t);r.options=wt({checkInput:!1,container:i.length>1?window:i[0],preventRightClick:!0,preventDefault:!0,checkWindowBlur:!1,pinchThreshold:0,events:["touch","mouse"]},n);var o=r.options,a=o.container,s=o.events,u=o.checkWindowBlur;if(r.isTouch=s.indexOf("touch")>-1,r.isMouse=s.indexOf("mouse")>-1,r.targets=i,r.isMouse&&(i.forEach((function(e){Z(e,"mousedown",r.onDragStart)})),Z(a,"mousemove",r.onDrag),Z(a,"mouseup",r.onDragEnd),Z(a,"contextmenu",r.onDragEnd)),u&&Z(window,"blur",r.onBlur),r.isTouch){var l={passive:!1};i.forEach((function(e){Z(e,"touchstart",r.onDragStart,l)})),Z(a,"touchmove",r.onDrag,l),Z(a,"touchend",r.onDragEnd,l),Z(a,"touchcancel",r.onDragEnd,l)}return r}!function(e,t){function __(){this.constructor=e}bt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(Gesto,e);var t=Gesto.prototype;return t.getMovement=function(e){return this.getCurrentStore().getMovement(e)+this.clientStores.slice(1).reduce((function(e,t){return e+t.movement}),0)},t.isDragging=function(){return this.isDrag},t.isFlag=function(){return this.flag},t.isPinchFlag=function(){return this.pinchFlag},t.isDoubleFlag=function(){return this.doubleFlag},t.isPinching=function(){return this.isPinch},t.scrollBy=function(e,t,n,r){void 0===r&&(r=!0),this.flag&&(this.clientStores[0].move(e,t),r&&this.onDrag(n,!0))},t.move=function(e,t){var n=e[0],r=e[1],i=this.getCurrentStore().prevClients;return this.moveClients(i.map((function(e){var t=e.clientX,i=e.clientY;return{clientX:t+n,clientY:i+r,originalClientX:t,originalClientY:i}})),t,!0)},t.triggerDragStart=function(e){this.onDragStart(e,!1)},t.setEventDatas=function(e){var t=this.datas;for(var n in e)t[n]=e[n];return this},t.getEventDatas=function(){return this.datas},t.unset=function(){var e=this,t=this.targets,n=this.options.container;this.off(),J(window,"blur",this.onBlur),this.isMouse&&(t.forEach((function(t){J(t,"mousedown",e.onDragStart)})),J(n,"mousemove",this.onDrag),J(n,"mouseup",this.onDragEnd),J(n,"contextmenu",this.onDragEnd)),this.isTouch&&(t.forEach((function(t){J(t,"touchstart",e.onDragStart)})),J(n,"touchstart",this.onDragStart),J(n,"touchmove",this.onDrag),J(n,"touchend",this.onDragEnd),J(n,"touchcancel",this.onDragEnd))},t.onPinchStart=function(e){var t=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>t)){var n=new Ot(Et(e));this.pinchFlag=!0,this.clientStores.splice(0,0,n),!1===this.emit("pinchStart",wt({datas:this.datas,angle:n.getAngle(),touches:this.getCurrentStore().getPositions()},n.getPosition(),{inputEvent:e}))&&(this.pinchFlag=!1)}},t.onPinch=function(e,t){if(this.flag&&this.pinchFlag&&!(t.length<2)){var n=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",wt({datas:this.datas,movement:this.getMovement(t),angle:n.getAngle(t),rotation:n.getRotation(t),touches:n.getPositions(t),scale:n.getScale(t),distance:n.getDistance(t)},n.getPosition(t),{inputEvent:e}))}},t.onPinchEnd=function(e){if(this.pinchFlag){var t=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var n=this.getCurrentStore();this.emit("pinchEnd",wt({datas:this.datas,isPinch:t,touches:n.getPositions()},n.getPosition(),{inputEvent:e})),this.isPinch=!1,this.pinchFlag=!1}},t.initDrag=function(){this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1},t.getCurrentStore=function(){return this.clientStores[0]},t.moveClients=function(e,t,n){var r=this.getCurrentStore()[n?"addClients":"getPosition"](e);return this.isDrag=!0,wt({datas:this.datas},r,{movement:this.getMovement(e),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:t})},Gesto}(ht);var Tt=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0};function It(e,t,n,r){var i=document.createElement("style");return i.setAttribute("type","text/css"),i.setAttribute("data-styled-id",e),n.nonce&&i.setAttribute("nonce",n.nonce),i.innerHTML=function(e,t,n){return n.original?t:t.replace(/([^};{\s}][^};{]*|^\s*){/gm,(function(t,n){var r=n.trim();return(r?N(r):[""]).map((function(t){var n=t.trim();return 0===n.indexOf("@")?n:n.indexOf(":global")>-1?n.replace(/\:global/g,""):n.indexOf(":host")>-1?""+n.replace(/\:host/g,"."+e):n?"."+e+" "+n:"."+e})).join(", ")+" {"}))}(e,t,n),(r||document.head||document.body).appendChild(i),i}const Pt=function(e){var t,n="rCS"+Tt(e).toString(36),r=0;return{className:n,inject:function(i,o){void 0===o&&(o={});var a,s=function(e){if(e&&e.getRootNode){var t=e.getRootNode();if(11===t.nodeType)return t}}(i),u=0===r;return(s||u)&&(a=It(n,e,o,s)),u&&(t=a),s||++r,{destroy:function(){s?(i.removeChild(a),a=null):(r>0&&--r,0===r&&t&&(t.parentNode.removeChild(t),t=null))}}}}};var Rt=function(e,t){return Rt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Rt(e,t)};function At(e,t){function __(){this.constructor=e}Rt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var Nt=function(){return Nt=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Nt.apply(this,arguments)};var Lt=function(e){function StyledElement(){var t=null!==e&&e.apply(this,arguments)||this;return t.injectResult=null,t.tag="div",t}At(StyledElement,e);var t=StyledElement.prototype;return t.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=(e.cspNonce,e.portalContainer),i=function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["className","cspNonce","portalContainer"]),o=this.injector.className,a=this.tag,s={};return(yt.version||"").indexOf("simple")>-1&&r&&(s={portalContainer:r}),(0,yt.createElement)(a,Nt({ref:w(this,"element"),"data-styled-id":o,className:n+" "+o},s,i))},t.componentDidMount=function(){this.injectResult=this.injector.inject(this.element,{nonce:this.props.cspNonce})},t.componentWillUnmount=function(){this.injectResult.destroy(),this.injectResult=null},t.getElement=function(){return this.element},StyledElement}(yt.Component);const Bt=function(e,t){var n=Pt(t);return function(t){function Styled(){var r=null!==t&&t.apply(this,arguments)||this;return r.injector=n,r.tag=e,r}return At(Styled,t),Styled}(Lt)};var Ft=function(e,t){return Ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Ft(e,t)};function zt(e,t){function __(){this.constructor=e}Ft(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var jt=function(){return jt=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},jt.apply(this,arguments)};function Kt(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function Ut(e,t){var n;return jt({events:{},props:(n={},n[e]=Boolean,n),name:e},t)}function qt(e,t){return'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+32*e+'px" height="'+32*e+'px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate('+t+'deg);transform-origin: 16px 16px"></path></svg>'}var Wt,Ht,Gt=y().browser.webkit,Yt=Gt&&(Wt="undefined"==typeof window?{userAgent:""}:window.navigator,!!(Ht=/applewebkit\/([^\s]+)/g.exec(Wt.userAgent.toLowerCase()))&&parseFloat(Ht[1])<605),Vt="moveable-",$t="\n{\n\tposition: absolute;\n\twidth: 1px;\n\theight: 1px;\n\tleft: 0;\n\ttop: 0;\n z-index: 3000;\n --moveable-color: #4af;\n --zoom: 1;\n --zoompx: 1px;\n will-change: transform;\n}\n.control-box {\n z-index: 0;\n}\n.line, .control {\n position: absolute;\n\tleft: 0;\n top: 0;\n will-change: transform;\n}\n.control {\n\twidth: 14px;\n\theight: 14px;\n\tborder-radius: 50%;\n\tborder: 2px solid #fff;\n\tbox-sizing: border-box;\n background: #4af;\n background: var(--moveable-color);\n\tmargin-top: -7px;\n margin-left: -7px;\n border: 2px solid #fff;\n z-index: 10;\n}\n.padding {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100px;\n height: 100px;\n transform-origin: 0 0;\n}\n.line {\n\twidth: 1px;\n height: 1px;\n background: #4af;\n background: var(--moveable-color);\n\ttransform-origin: 0px 50%;\n}\n.line.dashed {\n box-sizing: border-box;\n background: transparent;\n}\n.line.dashed.horizontal {\n border-top: 1px dashed #4af;\n border-top-color: #4af;\n border-top-color: var(--moveable-color);\n}\n.line.dashed.vertical {\n border-left: 1px dashed #4af;\n border-left-color: #4af;\n border-left-color: var(--moveable-color);\n}\n.line.vertical {\n transform: translateX(-50%);\n}\n.line.horizontal {\n transform: translateY(-50%);\n}\n.line.vertical.bold {\n width: 2px;\n}\n.line.horizontal.bold {\n height: 2px;\n}\n\n.control.origin {\n\tborder-color: #f55;\n\tbackground: #fff;\n\twidth: 12px;\n\theight: 12px;\n\tmargin-top: -6px;\n margin-left: -6px;\n\tpointer-events: none;\n}\n"+[0,15,30,45,60,75,90,105,120,135,150,165].map((function(e){return'\n.direction[data-rotation="'+e+'"] {\n\t'+function(e){var t=qt(1,e),n=qt(2,e),r=45*Math.round(e/45)%180,i="ns-resize";return 135===r?i="nwse-resize":45===r?i="nesw-resize":90===r&&(i="ew-resize"),"cursor:"+i+";cursor: url('"+t+"') 16 16, "+i+";cursor: -webkit-image-set(url('"+t+"') 1x, url('"+n+"') 2x) 16 16, "+i+";"}(e)+"\n}\n"})).join("\n")+"\n.group {\n z-index: -1;\n}\n.area {\n position: absolute;\n}\n.area-pieces {\n position: absolute;\n top: 0;\n left: 0;\n display: none;\n}\n.area.avoid, .area.pass {\n pointer-events: none;\n}\n.area.avoid+.area-pieces {\n display: block;\n}\n.area-piece {\n position: absolute;\n}\n\n"+(Yt?':global svg *:before {\n\tcontent:"";\n\ttransform-origin: inherit;\n}':"")+"\n",Xt=[[0,1,2],[1,0,3],[2,0,3],[3,1,2]],Qt=1e-7,Zt=1e-9,Jt=Math.pow(10,10),en=-Jt,tn=["n","w","s","e","nw","ne","sw","se"],nn={n:[0,1],s:[2,3],w:[2,0],e:[1,3],nw:[0],ne:[1],sw:[2],se:[3]},rn={n:0,s:180,w:270,e:90,nw:315,ne:45,sw:225,se:135},on=["isMoveableElement","updateRect","updateTarget","destroy","dragStart","isInside","hitTest","setState","getRect","request","isDragging","getManager"];function an(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return b.apply(void 0,Kt([Vt],e))}function sn(e,t,n){return se(t,_e(n,t),e,_e(n.map((function(e){return-e})),t))}function un(e){return ln(zn(e,":before")).map((function(t,n){var r=B(t),i=r.value,o=r.unit;return i*function(e,t,n){return"%"===t?mn(e.ownerSVGElement)[n?"width":"height"]/100:1}(e,o,0===n)}))}function ln(e){var t=e.transformOrigin;return t?t.split(" "):["0","0"]}function cn(e,t,n){for(var r=document.body,i=!e||n?e:e.parentElement,o=e===t||i===t,a="relative";i&&i!==r;){t===i&&(o=!0);var s=zn(i),u=s.transform;if(a=s.position,"svg"===i.tagName.toLowerCase()||"static"!==a||u&&"none"!==u)break;i=i.parentElement,a="relative"}return{isStatic:"static"===a,isEnd:o||!i||i===r,offsetParent:i||r}}function fn(e,t,n,r){var i,o=e.tagName.toLowerCase(),a=e.offsetLeft,s=e.offsetTop;if(r){var u=(t||document.documentElement).getBoundingClientRect();a-=u.left,s-=u.top}var l,c,f=C(a),d=!f;return d||"svg"===o?c=(l=ln(n).map((function(e){return parseFloat(e)}))).slice():(c=(l=Yt?un(e):ln(n).map((function(e){return parseFloat(e)}))).slice(),d=!0,i=function(e,t){if(!e.getBBox)return[0,0];var n=e.getBBox(),r=mn(e.ownerSVGElement),i=n.x-r.x,o=n.y-r.y;return[i,o,t[0]-i,t[1]-o]}(e,l),a=i[0],s=i[1],l[0]=i[2],l[1]=i[3]),{tagName:o,isSVG:f,hasOffset:d,offset:[a||0,s||0],origin:l,targetOrigin:c}}function dn(e,t,n){void 0===n&&(n=zn(e));var r=zn(document.body),i=r.position;if(!(t||i&&"static"!==i))return[0,0];var o=parseInt(r.marginLeft,10),a=parseInt(r.marginTop,10);return"absolute"===n.position&&("auto"===n.top&&"auto"===n.bottom||(a=0),"auto"===n.left&&"auto"===n.right||(o=0)),[o,a]}function pn(e){e.forEach((function(e){var t=e.matrix;t&&(e.matrix=ae(t,3,4))}))}function hn(e,t,n){for(var r,i,o,a,s,u,l=e,c=[],f=!n&&e===t,d=f,p=!1,h=3,g=cn(t,t,!0).offsetParent;l&&!d;){d=f;var v=zn(l),m=v.position,y="fixed"===m,b=(u=v.transform,a=u&&"none"!==u?O(u)?u:L(u).value.split(/s*,\s*/g).map((function(e){return parseFloat(e)})):[1,0,0,1,0,0],void 0===(s=void 0)&&(s=6===a.length),s?[a[0],a[1],0,a[2],a[3],0,a[4],a[5],1]:a),w=b.length;p||16!==w||(p=!0,h=4,pn(c),o&&(o=ae(o,3,4))),p&&9===w&&(b=ae(b,3,4));var S=fn(l,t,v,y),E=S.tagName,x=S.hasOffset,_=S.isSVG,k=S.origin,C=S.targetOrigin,M=S.offset,D=M[0],T=M[1];"svg"===E&&o?(c.push({type:"target",target:l,matrix:yn(l,h)}),c.push({type:"offset",target:l,matrix:Se(h)})):"g"===E&&e!==l&&(D=0,T=0);var I=cn(l,t),P=I.offsetParent,R=I.isEnd,A=I.isStatic;Gt&&x&&!_&&A&&("relative"===m||"static"===m)&&(D-=P.offsetLeft,T-=P.offsetTop,f=f||R);var N=0,B=0;if(x&&g!==P&&(N=P.clientLeft,B=P.clientTop),x&&P===document.body){var F=dn(l,!1,v);D+=F[0],T+=F[1]}if(c.push({type:"target",target:l,matrix:sn(b,h,k)}),x?c.push({type:"offset",target:l,matrix:_e([D-l.scrollLeft+N,T-l.scrollTop+B],h)}):c.push({type:"offset",target:l,origin:k}),o||(o=b),r||(r=k),i||(i=C),d||y)break;l=P,f=R,n&&l!==document.body||(d=f)}return o||(o=Se(h)),r||(r=[0,0]),i||(i=[0,0]),{offsetContainer:g,matrixes:c,targetMatrix:o,transformOrigin:r,targetOrigin:i,is3d:p}}function gn(e,t,n,r){var i;void 0===n&&(n=t);var o=0,a=0,s=0,u={};if(e){var l=zn(e);o=e.offsetWidth,a=e.offsetHeight,C(o)&&(o=(i=Mn(e,l,!0))[0],a=i[1])}if(e){var c=function(e,t,n,r){void 0===n&&(n=t);var i=hn(e,t),o=i.matrixes,a=i.is3d,s=i.targetMatrix,u=i.transformOrigin,l=i.targetOrigin,c=hn(i.offsetContainer,n,!0),f=c.matrixes,d=c.is3d,p=r||d||a,h=p?4:3,g="svg"!==e.tagName.toLowerCase()&&"ownerSVGElement"in e,v=s,m=Se(h),y=Se(h),b=Se(h),w=Se(h),S=o.length,E=n||document.body,x=cn(E,E,!0).offsetParent;f.reverse(),o.reverse(),!a&&p&&(v=ae(v,3,4),pn(o));!d&&p&&pn(f);f.forEach((function(e){y=ue(y,e.matrix,h)})),o.forEach((function(e,t){if(S-2===t&&(b=m.slice()),S-1===t&&(w=m.slice()),!e.matrix){var n=function(e,t,n,r,i){var o,a=e.target,s=e.origin,u=t.matrix,l=Mn(a,void 0,!0),c=l[0],f=l[1],d=n.getBoundingClientRect(),p=[0,0];n===document.body&&(p=dn(a,!0));var h=a.getBoundingClientRect(),g=h.left-d.left+n.scrollLeft-(n.clientLeft||0)+p[0],v=h.top-d.top+n.scrollTop-(n.clientTop||0)+p[1],m=h.width,y=h.height,b=se(r,i,u),w=En(b,c,f,r),S=w.left,E=w.top,x=w.width,_=w.height,k=bn(b,s,r),C=ce(k,[S,E]),O=[g+C[0]*m/x,v+C[1]*y/_],M=[0,0],D=0;for(;++D<10;){var T=ie(i,r);o=ce(bn(T,O,r),bn(T,k,r)),M[0]=o[0],M[1]=o[1];var I=En(se(r,i,_e(M,r),u),c,f,r),P=I.left-g,R=I.top-v;if(Math.abs(P)<2&&Math.abs(R)<2)break;O[0]-=P,O[1]-=R}return M.map((function(e){return Math.round(e)}))}(e,o[t+1],x,h,ue(y,m,h));e.matrix=_e(n,h)}m=ue(m,e.matrix,h)}));var _=!g&&a;v||(v=Se(_?4:3));var k=vn(g&&16===v.length?ae(v,4,3):v,_);return{rootMatrix:y=re(y,h,h),beforeMatrix:b,offsetMatrix:w,allMatrix:m,targetMatrix:v,targetTransform:k,transformOrigin:u,targetOrigin:l,is3d:p}}(e,t,n,r),f=xn(c.allMatrix,c.transformOrigin,o,a);u=jt(jt({},c),f);var d=xn(c.allMatrix,[50,50],100,100);s=Dn([d.pos1,d.pos2],d.direction)}var p=r?4:3;return jt({width:o,height:a,rotation:s,rootMatrix:Se(p),beforeMatrix:Se(p),offsetMatrix:Se(p),allMatrix:Se(p),targetMatrix:Se(p),targetTransform:"",transformOrigin:[0,0],targetOrigin:[0,0],is3d:!!r,left:0,top:0,right:0,bottom:0,origin:[0,0],pos1:[0,0],pos2:[0,0],pos3:[0,0],pos4:[0,0],direction:1},u)}function vn(e,t){return void 0===t&&(t=e.length>9),(t?"matrix3d":"matrix")+"("+fe(e,!t).join(",")+")"}function mn(e){var t=e.clientWidth,n=e.clientHeight;if(!e)return{x:0,y:0,width:0,height:0,clientWidth:t,clientHeight:n};var r=e.viewBox,i=r&&r.baseVal||{x:0,y:0,width:0,height:0};return{x:i.x,y:i.y,width:i.width||t,height:i.height||n,clientWidth:t,clientHeight:n}}function yn(e,t){var n=mn(e),r=n.width,i=n.height,o=n.clientWidth,a=n.clientHeight,s=o/r,u=a/i,l=e.preserveAspectRatio.baseVal,c=l.align,f=l.meetOrSlice,d=[0,0],p=[s,u],h=[0,0];if(1!==c){var g=(c-2)%3,v=Math.floor((c-2)/3);d[0]=r*g/2,d[1]=i*v/2;var m=2===f?Math.max(u,s):Math.min(s,u);p[0]=m,p[1]=m,h[0]=(o-r)/2*g,h[1]=(a-i)/2*v}var y=xe(p,t);return y[t*(t-1)]=h[0],y[t*(t-1)+1]=h[1],sn(y,t,d)}function bn(e,t,n){return de(e,oe(t,n),n)}function wn(e,t,n,r){return[[0,0],[t,0],[0,n],[t,n]].map((function(t){return bn(e,t,r)}))}function Sn(e){var t=e.map((function(e){return e[0]})),n=e.map((function(e){return e[1]})),r=Math.min.apply(Math,t),i=Math.min.apply(Math,n),o=Math.max.apply(Math,t),a=Math.max.apply(Math,n);return{left:r,top:i,right:o,bottom:a,width:o-r,height:a-i}}function En(e,t,n,r){return Sn(wn(e,t,n,r))}function xn(e,t,n,r){var i=16===e.length?4:3,o=wn(e,n,r,i),a=o[0],s=a[0],u=a[1],l=o[1],c=l[0],f=l[1],d=o[2],p=d[0],h=d[1],g=o[3],v=g[0],m=g[1],y=bn(e,t,i),b=y[0],w=y[1],S=Math.min(s,c,p,v),E=Math.min(u,f,h,m),x=Math.max(s,c,p,v);return s=s-S||0,{left:S,top:E,right:x,bottom:Math.max(u,f,h,m),origin:[b=b-S||0,w=w-E||0],pos1:[s,u=u-E||0],pos2:[c=c-S||0,f=f-E||0],pos3:[p=p-S||0,h=h-E||0],pos4:[v=v-S||0,m=m-E||0],direction:Y(o)}}function _n(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function kn(e,t){return _n([t[0]-e[0],t[1]-e[1]])}function Cn(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=G(e,t));var i=kn(e,t);return{transform:"translateY(-50%) translate("+e[0]+"px, "+e[1]+"px) rotate("+r+"rad) scaleY("+n+")",width:i+"px"}}function On(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n.length,o=n.reduce((function(e,t){return e+t[0]}),0)/i,a=n.reduce((function(e,t){return e+t[1]}),0)/i;return{transform:"translateZ(0px) translate("+o+"px, "+a+"px) rotate("+e+"rad) scale("+t+")"}}function Mn(e,t,n,r){void 0===t&&(t=zn(e)),void 0===r&&(r=n||"border-box"===t.boxSizing);var i=e.offsetWidth,o=e.offsetHeight,a=!C(i);if((n||r)&&a)return[i,o];if(!a&&"svg"!==e.tagName.toLowerCase()){var s=e.getBBox();return[s.width,s.height]}return i=e.clientWidth,o=e.clientHeight,n||r?[i+(parseFloat(t.borderLeftWidth)||0)+(parseFloat(t.borderRightWidth)||0),o+(parseFloat(t.borderTopWidth)||0)+(parseFloat(t.borderBottomWidth)||0)]:[i-(parseFloat(t.paddingLeft)||0)-(parseFloat(t.paddingRight)||0),o-(parseFloat(t.paddingTop)||0)-(parseFloat(t.paddingBottom)||0)]}function Dn(e,t){return G(t>0?e[0]:e[1],t>0?e[1]:e[0])}function Tn(e,t,n,r,i){var o=1,a=[0,0],s={left:0,right:0,top:0,bottom:0,width:0,height:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},u={left:0,right:0,top:0,bottom:0,width:0,height:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},l={left:0,right:0,top:0,bottom:0,width:0,height:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0},c=gn(t,n,i,!1);if(t){var f=c.is3d?4:3,d=xn(c.offsetMatrix,le(c.transformOrigin,function(e,t){void 0===t&&(t=Math.sqrt(e.length));for(var n=[],r=e[t*t-1],i=0;i<t-1;++i)n[i]=e[t*(t-1)+i]/r;return n[t-1]=0,n}(c.targetMatrix,f)),c.width,c.height);o=d.direction,a=le(d.origin,[d.left-c.left,d.top-c.top]),s=In(t),u=In(cn(r,r,!0).offsetParent||document.body,!0),e&&(l=In(e))}return jt({targetClientRect:s,containerClientRect:u,moveableClientRect:l,beforeDirection:o,beforeOrigin:a,originalBeforeOrigin:a,target:t},c)}function In(e,t){var n=0,r=0,i=0,o=0;if(e===document.body||e===document.documentElement)i=window.innerWidth,o=window.innerHeight,n=-(document.documentElement.scrollLeft||document.body.scrollLeft),r=-(document.documentElement.scrollTop||document.body.scrollTop);else{var a=e.getBoundingClientRect();n=a.left,r=a.top,i=a.width,o=a.height}var s={left:n,right:n+i,top:r,bottom:r+o,width:i,height:o};return t&&(s.clientLeft=e.clientLeft,s.clientTop=e.clientTop,s.clientWidth=e.clientWidth,s.clientHeight=e.clientHeight,s.scrollWidth=e.scrollWidth,s.scrollHeight=e.scrollHeight,s.overflow="visible"!==zn(e).overflow),s}function Pn(e){if(e){var t=e.getAttribute("data-direction");if(t){var n=[0,0];return t.indexOf("w")>-1&&(n[0]=-1),t.indexOf("e")>-1&&(n[0]=1),t.indexOf("n")>-1&&(n[1]=-1),t.indexOf("s")>-1&&(n[1]=1),n}}}function Rn(e,t){return[le(t,e[0]),le(t,e[1]),le(t,e[2]),le(t,e[3])]}function An(e){var t=e.left,n=e.top;return Rn([e.pos1,e.pos2,e.pos3,e.pos4],[t,n])}function Nn(e,t){e[t]&&(e[t].unset(),e[t]=null)}function Ln(e,t,n){var r=t.datas;r.datas||(r.datas={});var i=jt(jt({},n),{target:e.state.target,clientX:t.clientX,clientY:t.clientY,inputEvent:t.inputEvent,currentTarget:e,moveable:e,datas:r.datas});return r.isStartEvent?r.lastEvent=i:r.isStartEvent=!0,i}function Bn(e,t,n){var r=t.datas,i="isDrag"in n?n.isDrag:t.isDrag;return r.datas||(r.datas={}),jt(jt({isDrag:i},n),{moveable:e,target:e.state.target,clientX:t.clientX,clientY:t.clientY,inputEvent:t.inputEvent,currentTarget:e,lastEvent:r.lastEvent,isDouble:t.isDouble,datas:r.datas})}function Fn(e,t,n,r){return e.triggerEvent(t,n,r)}function zn(e,t){return window.getComputedStyle(e,t)}function jn(e,t,n){var r={},i={};return e.filter((function(e){var o=e.name;if(r[o]||!t.some((function(t){return e[t]})))return!1;if(!n&&e.ableGroup){if(i[e.ableGroup])return!1;i[e.ableGroup]=!0}return r[o]=!0,!0}))}function Kn(e,t){return e===t||null==e&&null==t}function Un(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.sort((function(e,t){return Math.abs(t)-Math.abs(e)})),e[0]}function qn(e,t,n){return de(ie(e,n),oe(t,n),n)}function Wn(e,t){var n,r=e.is3d?4:3;return n=qn(e.rootMatrix,[t.distX,t.distY],r),t.distX=n[0],t.distY=n[1],t}function Hn(e,t,n,r,i){return ce(bn(e,le(n,t),i),r)}function Gn(e,t,n){return n?e/t*100+"%":e+"px"}function Yn(e){return Math.abs(e)<=Qt?0:e}function Vn(e,t){return t.isRequest?("resizable"===t.requestAble||"scalable"===t.requestAble)&&t.parentDirection:Q(t.inputEvent.target,an("direction"))}function $n(e){var t={};for(var n in e)t[e[n]]=n;return t}function Xn(e,t){return e?D(e)?t?document.querySelector(e):e:T(e)?e():"current"in e?e.current:e:null}function Qn(e,t){return e?((n=e)&&O(n)&&(M(n)||"length"in n)?[].slice.call(e):[e]).reduce((function(e,n){return D(n)&&t?Kt(e,[].slice.call(document.querySelectorAll(n))):(e.push(Xn(n,t)),e)}),[]):[];var n}function Zn(e,t){var n=e.rootMatrix,r=e.is3d,i=ie(n,r?4:3);return r||(i=ae(i,3,4)),i[12]=0,i[13]=0,i[14]=0,function(e,t){var n=de(e,[t[0],t[1]||0,t[2]||0,1],4),r=n[3]||1;return[n[0]/r,n[1]/r,n[2]/r]}(i,t)}var Jn=Ut("pinchable",{events:{onPinchStart:"pinchStart",onPinch:"pinch",onPinchEnd:"pinchEnd",onPinchGroupStart:"pinchGroupStart",onPinchGroup:"pinchGroup",onPinchGroupEnd:"pinchGroupEnd"},dragStart:function(){return!0},pinchStart:function(e,t){var n=t.datas,r=t.targets,i=t.angle,o=t.originalDatas,a=e.props,s=a.pinchable,u=a.ables;if(!s)return!1;var l="onPinch"+(r?"Group":"")+"Start",c="drag"+(r?"Group":"")+"ControlStart",f=(!0===s?e.controlAbles:u.filter((function(e){return s.indexOf(e.name)>-1}))).filter((function(e){return e.canPinch&&e[c]})),d=Ln(e,t,{});r&&(d.targets=r);var p=Fn(e,l,d);n.isPinch=!1!==p,n.ables=f;var h=n.isPinch;return!!h&&(f.forEach((function(n){if(o[n.name]=o[n.name]||{},n[c]){var r=jt(jt({},t),{datas:o[n.name],parentRotate:i,isPinch:!0});n[c](e,r)}})),e.state.snapRenderInfo={request:t.isRequest,direction:[0,0]},h)},pinch:function(e,t){var n=t.datas,r=t.scale,i=t.distance,o=t.originalDatas,a=t.inputEvent,s=t.targets,u=t.angle;if(n.isPinch){var l=i*(1-1/r),c=Ln(e,t,{});s&&(c.targets=s),Fn(e,"onPinch"+(s?"Group":""),c);var f=n.ables,d="drag"+(s?"Group":"")+"Control";return f.forEach((function(n){n[d]&&n[d](e,jt(jt({},t),{datas:o[n.name],inputEvent:a,parentDistance:l,parentRotate:u,isPinch:!0}))})),c}},pinchEnd:function(e,t){var n=t.datas,r=t.isPinch,i=t.inputEvent,o=t.targets,a=t.originalDatas;if(n.isPinch){var s="onPinch"+(o?"Group":"")+"End",u=Bn(e,t,{isDrag:r});o&&(u.targets=o),Fn(e,s,u);var l=n.ables,c="drag"+(o?"Group":"")+"ControlEnd";return l.forEach((function(n){n[c]&&n[c](e,jt(jt({},t),{isDrag:r,datas:a[n.name],inputEvent:i,isPinch:!0}))})),r}},pinchGroupStart:function(e,t){return this.pinchStart(e,jt(jt({},t),{targets:e.props.targets}))},pinchGroup:function(e,t){return this.pinch(e,jt(jt({},t),{targets:e.props.targets}))},pinchGroupEnd:function(e,t){return this.pinchEnd(e,jt(jt({},t),{targets:e.props.targets}))}});function er(e,t,n,r,i){var o=t.gesto.move(n,e.inputEvent),a=o.originalDatas||o.datas,s=a.draggable||(a.draggable={});return jt(jt({},i?Wn(t,o):o),{isDrag:!0,isPinch:!!r,parentEvent:!0,datas:s,originalDatas:e.originalDatas})}var tr=function(){function CustomGesto(){this.prevX=0,this.prevY=0,this.startX=0,this.startY=0,this.isDrag=!1,this.isFlag=!1,this.datas={draggable:{}}}var e=CustomGesto.prototype;return e.dragStart=function(e,t){this.isDrag=!1,this.isFlag=!1;var n=t.originalDatas;return this.datas=n,n.draggable||(n.draggable={}),jt(jt({},this.move(e,t.inputEvent)),{type:"dragstart"})},e.drag=function(e,t){return this.move([e[0]-this.prevX,e[1]-this.prevY],t)},e.move=function(e,t){var n,r;return this.isFlag?(n=this.prevX+e[0],r=this.prevY+e[1],this.isDrag=!0):(this.prevX=e[0],this.prevY=e[1],this.startX=e[0],this.startY=e[1],n=e[0],r=e[1],this.isFlag=!0),this.prevX=n,this.prevY=r,{type:"drag",clientX:n,clientY:r,inputEvent:t,isDrag:this.isDrag,distX:n-this.startX,distY:r-this.startY,deltaX:e[0],deltaY:e[1],datas:this.datas.draggable,originalDatas:this.datas,parentEvent:!0,parentGesto:this}},CustomGesto}();function nr(e,t,n){var r=n.originalDatas;r.groupable=r.groupable||{};var i=r.groupable;i.childDatas=i.childDatas||[];var o=i.childDatas;return e.moveables.map((function(e,r){return o[r]=o[r]||{},o[r][t]=o[r][t]||{},jt(jt({},n),{datas:o[r][t],originalDatas:o[r]})}))}function rr(e,t,n,r,i,o){var a=!!n.match(/Start$/g),s=!!n.match(/End$/g),u=i.isPinch,l=i.datas,c=nr(e,t.name,i),f=e.moveables,d=c.map((function(e,i){var c=f[i],d=e;a?d=(new tr).dragStart(r,e):(c.state.gesto||(c.state.gesto=l.childGestos[i]),d=er(e,c.state,r,u,o));var p=t[n](c,jt(jt({},d),{parentFlag:!0}));return s&&(c.state.gesto=null),p}));return a&&(l.childGestos=f.map((function(e){return e.state.gesto}))),d}function ir(e,t,n,r,i,o){void 0===i&&(i=function(e,t){return t});var a=!!n.match(/End$/g),s=nr(e,t.name,r),u=e.moveables;return s.map((function(e,r){var s,l=u[r];s=i(l,e);var c=t[n](l,jt(jt({},s),{parentFlag:!0}));return c&&o&&o(l,e,c,r),a&&(l.state.gesto=null),c}))}function or(e,t){var n=t.clientX,r=t.clientY,i=t.datas,o=e.state,a=o.moveableClientRect,s=o.rootMatrix,u=o.is3d,l=o.pos1,c=ce(qn(s,[n-a.left,r-a.top],u?4:3),l),f=dr({datas:i,distX:c[0],distY:c[1]});return[f[0],f[1]]}function ar(e,t){var n=t.datas,r=e.state,i=r.allMatrix,o=r.beforeMatrix,a=r.is3d,s=r.left,u=r.top,l=r.origin,c=r.offsetMatrix,f=r.targetMatrix,d=r.transformOrigin,p=a?4:3;n.is3d=a,n.matrix=i,n.targetMatrix=f,n.beforeMatrix=o,n.offsetMatrix=c,n.transformOrigin=d,n.inverseMatrix=ie(i,p),n.inverseBeforeMatrix=ie(o,p),n.absoluteOrigin=oe(le([s,u],l),p),n.startDragBeforeDist=de(n.inverseBeforeMatrix,n.absoluteOrigin,p),n.startDragDist=de(n.inverseMatrix,n.absoluteOrigin,p)}function sr(e,t){var n=e.datas,r=e.originalDatas.beforeRenderable,i=n.transformIndex,o=r.nextTransforms,a=r.nextTransformAppendedIndexes,s=-1===i?o.length:i+a.filter((function(e){return e<i})).length,u=function(e,t){var n=e.slice(0,t<0?void 0:t),r=e.slice(0,t<0?void 0:t+1),i=e[t]||"",o=t<0?[]:e.slice(t),a=t<0?[]:e.slice(t+1),s=ze(n),u=ze(r),l=ze([i]),c=ze(o),f=ze(a),d=Pe(s),p=Pe(u),h=Pe(c),g=Pe(f),v=ue(d,h,4);return{transforms:e,beforeFunctionMatrix:d,beforeFunctionMatrix2:p,targetFunctionMatrix:Pe(l),afterFunctionMatrix:h,afterFunctionMatrix2:g,allFunctionMatrix:v,beforeFunctions:s,beforeFunctions2:u,targetFunction:l[0],afterFunctions:c,afterFunctions2:f,beforeFunctionTexts:n,beforeFunctionTexts2:r,targetFunctionText:i,afterFunctionTexts:o,afterFunctionTexts2:a}}(o,s),l=u.targetFunction,c="rotate"===t?"rotateZ":t;n.beforeFunctionTexts=u.beforeFunctionTexts,n.afterFunctionTexts=u.afterFunctionTexts,n.beforeTransform=u.beforeFunctionMatrix,n.beforeTransform2=u.beforeFunctionMatrix2,n.targetTansform=u.targetFunctionMatrix,n.afterTransform=u.afterFunctionMatrix,n.afterTransform2=u.afterFunctionMatrix2,n.targetAllTransform=u.allFunctionMatrix,l.functionName===c?(n.afterFunctionTexts.splice(0,1),n.isAppendTransform=!1):(n.isAppendTransform=!0,r.nextTransformAppendedIndexes=Kt(a,[s]))}function ur(e,t,n){return e.beforeFunctionTexts.join(" ")+" "+(e.isAppendTransform?n:t)+" "+e.afterFunctionTexts.join(" ")}function lr(e){var t=e.datas,n=fr({datas:t,distX:e.distX,distY:e.distY});return de(cr(t,function(e,t){for(var n=Se(t),r=0;r<t-1;++r)n[t*(t-1)+r]=e[r]||0;return n}([n[0],n[1]],4)),oe([0,0,0],4),4)}function cr(e,t,n){var r=e.beforeTransform,i=e.afterTransform,o=e.beforeTransform2,a=e.afterTransform2,s=e.targetAllTransform,u=n?ue(s,t,4):ue(t,s,4),l=ue(ie(n?o:r,4),u,4);return ue(l,ie(n?a:i,4),4)}function fr(e){var t=e.datas,n=e.distX,r=e.distY,i=t.inverseBeforeMatrix,o=t.is3d,a=t.startDragBeforeDist,s=o?4:3;return ce(de(i,le(t.absoluteOrigin,[n,r]),s),a)}function dr(e,t){var n=e.datas,r=e.distX,i=e.distY,o=n.inverseBeforeMatrix,a=n.inverseMatrix,s=n.is3d,u=n.startDragBeforeDist,l=n.startDragDist,c=s?4:3;return ce(de(t?o:a,le(n.absoluteOrigin,[r,i]),c),t?u:l)}function pr(e){var t=[];return e[1]>=0&&(e[0]>=0&&t.push(3),e[0]<=0&&t.push(2)),e[1]<=0&&(e[0]>=0&&t.push(1),e[0]<=0&&t.push(0)),t}function hr(e,t){return pr(t).map((function(t){return e[t]}))}function gr(e,t){var n=hr(e,t);return[H(n.map((function(e){return e[0]}))),H(n.map((function(e){return e[1]})))]}function vr(e,t,n,r){return ue(e,sn(t,r,n),r)}function mr(e){var t=e.originalDatas.beforeRenderable;return{setTransform:function(n,r){void 0===r&&(r=-1),t.startTransforms=M(n)?n:A(n),br(e,r)},setTransformIndex:function(t){br(e,t)}}}function yr(e,t){br(e,z(e.originalDatas.beforeRenderable.startTransforms,(function(e){return 0===e.indexOf(t+"(")})))}function br(e,t){var n=e.originalDatas.beforeRenderable,r=e.datas;if(r.transformIndex=t,-1!==t){var i=n.startTransforms[t];if(i){var o=ze([i]);r.startValue=o[0].functionValue}}}function wr(e,t){e.originalDatas.beforeRenderable.nextTransforms=A(t)}function Sr(e,t,n,r,i){return wr(i,t),{transform:t,drag:Di.drag(e,er(i,e.state,n,r,!1))}}function Er(e,t,n,r,i){var o=e.state,a=o.left,s=o.top,u=e.props.groupable,l=function(e,t,n){var r=e.transformOrigin,i=e.offsetMatrix,o=e.is3d,a=t.beforeTransform,s=t.afterTransform,u=o?4:3;return vr(i,ae(ue(ue(a,Ie([n]),4),s,4),4,u),r,u)}(e.state,i,t),c=u?a:0,f=u?s:0,d=ce(r,_r(e,n,l));return ce(d,[c,f])}function xr(e){var t=e.state,n=t.width,r=t.height,i=t.transformOrigin;return[i[0]/(n/2)-1,i[1]/(r/2)-1]}function _r(e,t,n){void 0===n&&(n=e.state.allMatrix);var r=e.state,i=r.width,o=r.height,a=r.is3d?4:3;return bn(n,[i/2*(1+t[0]),o/2*(1+t[1])],a)}function kr(e,t,n,r,i,o){var a=e.props.groupable,s=e.state,u=s.transformOrigin,l=s.targetMatrix,c=s.offsetMatrix,f=s.is3d,d=s.width,p=s.height,h=s.left,g=s.top,v=f?4:3,m=function(e,t,n,r,i,o){return void 0===r&&(r=t),void 0===i&&(i=n),void 0===o&&(o=[0,0]),e?e.map((function(e,a){var s=B(e),u=s.value,l=s.unit,c=a?i:r,f=a?n:t;return"%"===e||isNaN(u)?f*(c?o[a]/c:0):"%"!==l?u:f*u/100})):o}(o,t,n,d,p,u),y=a?h:0,b=a?g:0,w=function(e,t,n,r,i,o){var a=gr(wn(t,n,r,i),o);return[e[0]-a[0],e[1]-a[1]]}(i,vr(c,l,m,v),t,n,v,r);return ce(w,[y,b])}function Cr(e,t){return gr(An(e.state),t)}var Or=["left","right","center"],Mr=["top","bottom","middle"],Dr={start:"left",end:"right",center:"center"},Tr={start:"top",end:"bottom",center:"middle"};function Ir(e,t){var n=e.props,r=n.snappable,i=n.bounds,o=n.innerBounds,a=n.verticalGuidelines,s=n.horizontalGuidelines,u=n.snapGridWidth,l=n.snapGridHeight,c=e.state,f=c.guidelines,d=c.enableSnap;return!(!r||!d||t&&!0!==r&&r.indexOf(t)<0)&&!!(u||l||i||o||f&&f.length||a&&a.length||s&&s.length)}function Pr(e){return!1===e?{}:!0!==e&&e?e:{left:!0,right:!0,top:!0,bottom:!0}}function Rr(e,t){var n=function(e,t){var n=Pr(e),r={};for(var i in n)i in t&&n[i]&&(r[i]=t[i]);return r}(e,t),r=Mr.filter((function(e){return e in n})),i=Or.filter((function(e){return e in n}));return{horizontal:r.map((function(e){return n[e]})),vertical:i.map((function(e){return n[e]}))}}function Ar(e,t,n,r,i,o,a){void 0===i&&(i=0),void 0===o&&(o=0),void 0===a&&(a={left:0,top:0,right:0,bottom:0});var s=[],u=a.left,l=a.top,c=a.bottom,f=n+a.right-u,d=r+c-l;return e&&e.forEach((function(e){s.push({type:"horizontal",pos:[u,$(e-o+l,.1)],size:f})})),t&&t.forEach((function(e){s.push({type:"vertical",pos:[$(e-i+u,.1),l],size:d})})),s}function Nr(e,t){if(!t.length)return[];var n=e.state,r=n.containerClientRect,i=n.targetClientRect,o=i.top,a=i.left,s=n.rootMatrix,u=n.is3d?4:3,l=function(e,t,n){var r=bn(e,[t.clientLeft,t.clientTop],n);return[t.left+r[0],t.top+r[1]]}(s,r,u),c=l[0],f=l[1],d=st(An(n)),p=ce([d.minX,d.minY],qn(s,[a-c,o-f],u)).map((function(e){return t=e,Math.round(t%1==-.5?t-1:t);var t})),h=p[0],g=p[1];return t.map((function(e){var t=e.element.getBoundingClientRect(),n=t.left-c,r=t.top-f,i=r+t.height,o=n+t.width,a=qn(s,[n,r],u),l=a[0],d=a[1],p=qn(s,[o,i],u),v=p[0],m=p[1];return jt(jt({},e),{rect:{left:l+h,right:v+h,top:d+g,bottom:m+g,center:(l+v)/2+h,middle:(d+m)/2+g}})}))}function Lr(e){var t=e.state,n=e.props.elementGuidelines,r=void 0===n?[]:n;if(!r.length)return t.elementRects=[],[];var i,o,a=(t.elementRects||[]).filter((function(e){return!e.refresh})),s=r.map((function(e){return O(e)&&"element"in e?e:{element:Xn(e,!0)}})).filter((function(e){return e.element})),u=(i=a.map((function(e){return e.element})),o=s.map((function(e){return e.element})),Qe(i,o,rt)),l=u.maintained,c=u.added,f=[];l.forEach((function(e){var t=e[0],n=e[1];f[n]=a[t]})),Nr(e,c.map((function(e){return s[e]}))).map((function(e,t){f[c[t]]=e})),t.elementRects=f;var d=Pr(e.props.elementSnapDirections),p=[];return f.forEach((function(e){var t=e.element,n=e.top,r=void 0===n?d.top:n,i=e.left,o=void 0===i?d.left:i,a=e.right,s=void 0===a?d.right:a,u=e.bottom,l=void 0===u?d.bottom:u,c=e.center,f=void 0===c?d.center:c,h=e.middle,g=void 0===h?d.middle:h,v=e.className,m=e.rect,y=Rr({top:r,right:s,left:o,bottom:l,center:f,middle:g},m),b=y.horizontal,w=y.vertical,S=m.top,E=m.left,x=m.right-E,_=m.bottom-S,k=[x,_];w.forEach((function(n){p.push({type:"vertical",element:t,pos:[$(n,.1),S],size:_,sizes:k,className:v,elementRect:e})})),b.forEach((function(n){p.push({type:"horizontal",element:t,pos:[E,$(n,.1)],size:x,sizes:k,className:v,elementRect:e})}))})),p}function Br(e){var t=e.state,n=t.snapOffset,r=t.containerClientRect,i=r.overflow,o=r.scrollHeight,a=r.scrollWidth,s=r.clientHeight,u=r.clientWidth,l=r.clientLeft,c=r.clientTop,f=e.props,d=f.snapGap,p=void 0===d||d,h=f.verticalGuidelines,g=f.horizontalGuidelines,v=f.snapThreshold,m=void 0===v?5:v,y=f.snapGridWidth,b=void 0===y?0:y,w=f.snapGridHeight,S=void 0===w?0:w,E=Kt(Lr(e));if(p){var x=Sn(An(e.state)),_=x.top,k=x.left,C=x.bottom,O=x.right;E.push.apply(E,function(e,t,n){var r=e.state.elementRects,i=[];return[["vertical",Dr,Tr],["horizontal",Tr,Dr]].forEach((function(e){var o=e[0],a=e[1],s=e[2],u=t[a.start],l=t[a.end],c=t[a.center],f=t[s.start],d=t[s.end];function p(e){var t=e.rect;return t[a.end]<u+n?u-t[a.end]:l-n<t[a.start]?t[a.start]-l:-1}var h=r.filter((function(e){var t=e.rect;return!(t[s.start]>d||t[s.end]<f)&&p(e)>0})).sort((function(e,t){return p(e)-p(t)})),g=[];h.forEach((function(e){h.forEach((function(t){if(e!==t){var n=e.rect,r=t.rect,i=n[s.start],o=n[s.end],a=r[s.start];i>r[s.end]||a>o||g.push([e,t])}}))})),g.forEach((function(e){var t=e[0],r=e[1],s=t.rect,f=r.rect,d=s[a.start],p=s[a.end],h=f[a.start],g=f[a.end],v=0,m=0,y=!1,b=!1,w=!1;if(p<=u&&l<=h){if(b=!0,m=p+(v=(h-p-(l-u))/2)+(l-u)/2,Math.abs(m-c)>n)return}else if(p<h&&g<u+n){if(y=!0,m=g+(v=h-p),Math.abs(m-u)>n)return}else{if(!(p<h&&l-n<d))return;if(w=!0,m=d-(v=h-p),Math.abs(m-l)>n)return}v&&i.push({type:o,pos:"vertical"===o?[m,0]:[0,m],element:r.element,size:0,className:r.className,isStart:y,isCenter:b,isEnd:w,gap:v,hide:!0,gapRects:[t,r]})}))})),i}(e,{top:_,left:k,bottom:C,right:O,center:(k+O)/2,middle:(_+C)/2},m))}return E.push.apply(E,function(e,t,n,r,i,o){void 0===i&&(i=0);void 0===o&&(o=0);var a=[];if(t)for(var s=0;s<=r;s+=t)a.push({type:"horizontal",pos:[0,$(s-o,.1)],size:n,hide:!0});if(e)for(s=0;s<=n;s+=e)a.push({type:"vertical",pos:[$(s-i,.1),0],size:r,hide:!0});return a}(b,S,i?a:u,i?o:s,l,c)),E.push.apply(E,Ar(g||!1,h||!1,i?a:u,i?o:s,l,c,n)),E}function Fr(e,t,n,r){var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e.length-1,r=0;r<n;++r){var i=e[r];if(!C(i))return i}return e[n]}(r,e.props.snapThreshold,5);return zr(e.state.guidelines,t,n,i)}function zr(e,t,n,r){return{vertical:Ur(e,"vertical",t,r),horizontal:Ur(e,"horizontal",n,r)}}function jr(e,t,n){var r=Rr(e.props.snapDirections,t);return Fr(e,r.vertical,r.horizontal,n)}function Kr(e){var t=e.isSnap;if(!t)return{isSnap:!1,offset:0,dist:-1,pos:0,guideline:null};var n=e.posInfos[0],r=n.guidelineInfos[0],i=r.offset,o=r.dist,a=r.guideline;return{isSnap:t,offset:i,dist:o,pos:n.pos,guideline:a}}function Ur(e,t,n,r){if(!e||!e.length)return{isSnap:!1,index:-1,posInfos:[]};var i="vertical"===t?0:1,o=n.map((function(n,o){var a=e.map((function(e){var t=e.pos,r=n-t[i];return{offset:r,dist:Math.abs(r),guideline:e}})).filter((function(e){var n=e.guideline,i=e.dist;return!(n.type!==t||i>r)})).sort((function(e,t){return e.dist-t.dist}));return{pos:n,index:o,guidelineInfos:a}})).filter((function(e){return e.guidelineInfos.length>0})).sort((function(e,t){return e.guidelineInfos[0].dist-t.guidelineInfos[0].dist})),a=o.length>0;return{isSnap:a,index:a?o[0].index:-1,posInfos:o}}function qr(e,t){var n=Math.abs(e.offset),r=Math.abs(t.offset);return e.isBound&&t.isBound?r-n:e.isBound?-1:t.isBound?1:e.isSnap&&t.isSnap?r-n:e.isSnap?-1:t.isSnap||n<Qt?1:r<Qt?-1:n-r}function Wr(e,t){return e.slice().sort((function(e,n){var r=e.sign[t],i=n.sign[t],o=e.offset[t],a=n.offset[t];return r?i?qr({isBound:e.isBound,isSnap:e.isSnap,offset:o},{isBound:n.isBound,isSnap:n.isSnap,offset:a}):-1:1}))[0]}function Hr(e,t){var n=H([t[0][0],t[1][0]]),r=H([t[0][1],t[1][1]]);return{vertical:n<=e[0],horizontal:r<=e[1]}}function Gr(e,t){var n,r,i=t[0],o=t[1],a=o[0]-i[0],s=o[1]-i[1];if(Math.abs(a)<Qt&&(a=0),Math.abs(s)<Qt&&(s=0),a)if(s){n=s/a*(e[0]-i[0])+i[1],r=e[1]}else n=i[1],r=e[1];else n=i[0],r=e[0];return n-r}function Yr(e,t,n){void 0===n&&(n=Qt);var r=Gr(e[0],t)<=0;return e.slice(1).every((function(e){var i=Gr(e,t);return i<=0===r||Math.abs(i)<=n}))}function Vr(e,t,n,r,i){return void 0===i&&(i=0),r&&t-i<=e||!r&&e<=n+i?{isBound:!0,offset:r?t-e:n-e}:{isBound:!1,offset:0}}function $r(e,t,n,r,i){var o=e[0],a=e[1],s=t[0],u=t[1],l=Yn(a[1]-o[1]),c=Yn(a[0]-o[0]),f=Yn(u[1]-s[1]);if(!Yn(u[0]-s[0])){if(i&&!l)return{isBound:!1,offset:0};if(c)return Vr(l/c*(s[0]-o[0])+o[1],s[1],u[1],n,r);var d=s[0]-o[0];return{isBound:p=Math.abs(d)<=(r||0),offset:p?d:0}}if(!f){if(i&&!c)return{isBound:!1,offset:0};if(l)return Vr((s[1]-o[1])/(l/c)+o[0],s[0],u[0],n,r);var p;d=s[1]-o[1];return{isBound:p=Math.abs(d)<=(r||0),offset:p?d:0}}return{isBound:!1,offset:0}}function Xr(e,t,n,r){return t.map((function(t){var i=t[0],o=t[1],a=t[2],s=function(e,t,n){var r=e.props.innerBounds;if(!r)return{isAllBound:!1,isBound:!1,isVerticalBound:!1,isHorizontalBound:!1,offset:[0,0]};var i=r.left,o=r.top,a=r.width,s=r.height,u=[[i,o],[i,o+s]],l=[[i,o],[i+a,o]],c=[[i+a,o],[i+a,o+s]],f=[[i,o+s],[i+a,o+s]],d=Hr(n,t),p=d.horizontal,h=d.vertical;if(Yr([n,[i,o],[i+a,o],[i,o+s],[i+a,o+s]],t))return{isAllBound:!1,isBound:!1,isVerticalBound:!1,isHorizontalBound:!1,offset:[0,0]};var g=$r(t,l,h),v=$r(t,f,h),m=$r(t,u,p),y=$r(t,c,p),b=g.isBound&&v.isBound,w=g.isBound||v.isBound,S=m.isBound&&y.isBound,E=m.isBound||y.isBound,x=Un(g.offset,v.offset),_=Un(m.offset,y.offset),k=[0,0],C=!1,O=!1;return Math.abs(_)<Math.abs(x)?(k=[x,0],C=w,O=b):(k=[0,_],C=E,O=S),{isAllBound:O,isVerticalBound:w,isHorizontalBound:E,isBound:C,offset:k}}(e,[o,a],n),u=s.isBound,l=s.offset,c=s.isVerticalBound,f=s.isHorizontalBound,d=dr({datas:r,distX:l[0],distY:l[1]}).map((function(e,t){return e*(i[t]?2/i[t]:0)}));return{sign:i,isBound:u,isVerticalBound:c,isHorizontalBound:f,isSnap:!1,offset:d}}))}function Qr(e,t,n){var r,i=Zr(t,[0,0],!1).map((function(e){var t=e[0],n=e[1],r=e[2];return[t.map((function(e){return 2*Math.abs(e)})),n,r]})),o=Xr(e,i,gr(t,[0,0]),n),a=Wr(o,0),s=Wr(o,1),u=0,l=0,c=a.isVerticalBound||s.isVerticalBound,f=a.isHorizontalBound||s.isHorizontalBound;return(c||f)&&(r=function(e,t){var n=e.datas,r=e.distX,i=e.distY,o=n.beforeMatrix,a=n.matrix,s=n.is3d,u=n.startDragBeforeDist,l=n.startDragDist,c=n.absoluteOrigin,f=s?4:3;return ce(de(t?o:a,le(t?u:l,[r,i]),f),c)}({datas:n,distX:-a.offset[0],distY:-s.offset[1]}),u=r[0],l=r[1]),{vertical:{isBound:c,offset:u},horizontal:{isBound:f,offset:l}}}function Zr(e,t,n){return function(e,t){var n=[],r=e[0],i=e[1];return r&&i?n.push([[0,2*i],e,[-r,i]],[[2*r,0],e,[r,-i]]):r?(n.push([[2*r,0],[r,1],[r,-1]]),t&&n.push([[0,-1],[r,-1],[-r,-1]],[[0,1],[r,1],[-r,1]])):i?(n.push([[0,2*i],[1,i],[-1,i]]),t&&n.push([[-1,0],[-1,i],[-1,-i]],[[1,0],[1,i],[1,-i]])):n.push([[-1,0],[-1,-1],[-1,1]],[[1,0],[1,-1],[1,1]],[[0,-1],[-1,-1],[1,-1]],[[0,1],[-1,1],[1,1]]),n}(t,n).map((function(t){var n=t[0],r=t[1],i=t[2];return[n,gr(e,r),gr(e,i)]}))}function Jr(e,t,n,r){var i=r?e.map((function(e){return me(e,r)})):e,o=Kt([n],t);return[[i[0],i[1]],[i[1],i[3]],[i[3],i[2]],[i[2],i[0]]].some((function(e){return!Yr(o,e)}))}function ei(e,t,n,r,i){var o=e.props.innerBounds,a=i*Math.PI/180;if(!o)return[];var s=o.left,u=o.top,l=o.width,c=o.height,f=s-r[0],d=s+l-r[0],p=u-r[1],h=u+c-r[1],g=[[f,p],[d,p],[f,h],[d,h]],v=gr(n,[0,0]);if(!Jr(n,g,v,0))return[];var m=[],y=g.map((function(e){return[_n(e),G([0,0],e)]}));return[[n[0],n[1]],[n[1],n[3]],[n[3],n[2]],[n[2],n[0]]].forEach((function(e){var n=G([0,0],function(e){var t=e[0],n=e[1],r=n[0]-t[0],i=n[1]-t[1];if(!r)return[t[0],0];if(!i)return[0,t[1]];var o=i/r,a=-o*t[0]+t[1];return[-a/(o+1/o),a/(o*o+1)]}(e)),r=function(e){var t=e[0],n=e[1],r=n[0]-t[0],i=n[1]-t[1];if(!r)return Math.abs(t[0]);if(!i)return Math.abs(t[1]);var o=i/r;return Math.abs((-o*t[0]+t[1])/Math.sqrt(Math.pow(o,2)+1))}(e);m.push.apply(m,y.filter((function(e){var t=e[0];return t&&r<=t})).map((function(e){var t=e[0],i=e[1],o=Math.acos(t?r/t:0);return[a+(i+o)-n,a+(i-o)-n]})).reduce((function(e,t){return e.push.apply(e,t),e}),[]).filter((function(e){return!Jr(t,g,v,e)})).map((function(e){return $(180*e/Math.PI,Qt)})))})),m}function ti(e,t,n){var r=e||{},i=r.position,o=void 0===i?"client":i,a=r.left,s=void 0===a?-1/0:a,u=r.top,l=void 0===u?-1/0:u,c=r.right,f=void 0===c?1/0:c,d=r.bottom,p={position:o,left:s,top:l,right:f,bottom:void 0===d?1/0:d};return{vertical:ri(p,t,!0),horizontal:ri(p,n,!1)}}function ni(e,t){var n=e.state,r=n.containerClientRect,i=r.clientHeight,o=r.clientWidth,a=r.clientLeft,s=r.clientTop,u=n.snapOffset,l=u.left,c=u.top,f=u.right,d=u.bottom,p=t||e.props.bounds||{},h="css"===(p.position||"client"),g=p.left,v=void 0===g?-1/0:g,m=p.top,y=void 0===m?-1/0:m,b=p.right,w=void 0===b?h?-1/0:1/0:b,S=p.bottom,E=void 0===S?h?-1/0:1/0:S;return h&&(w=o+f-l-w,E=i+d-c-E),{left:v+l-a,right:w+l-a,top:y+c-s,bottom:E+c-s}}function ri(e,t,n){var r=e[n?"left":"top"],i=e[n?"right":"bottom"],o=Math.min.apply(Math,t),a=Math.max.apply(Math,t),s=[];return r+1>o&&s.push({isBound:!0,offset:o-r,pos:r}),i-1<a&&s.push({isBound:!0,offset:a-i,pos:i}),s.length||s.push({isBound:!1,offset:0,pos:0}),s.sort((function(e,t){return Math.abs(t.offset)-Math.abs(e.offset)}))}function ii(e,t,n){return(n?e.map((function(e){return me(e,n)})):e).some((function(e){return e[0]<t.left&&Math.abs(e[0]-t.left)>.1||e[0]>t.right&&Math.abs(e[0]-t.right)>.1||e[1]<t.top&&Math.abs(e[1]-t.top)>.1||e[1]>t.bottom&&Math.abs(e[1]-t.bottom)>.1}))}function oi(e,t,n,r,i){if(!e.props.bounds)return[];var o=i*Math.PI/180,a=ni(e),s=a.left,u=a.top,l=a.right,c=a.bottom,f=s-r[0],d=l-r[0],p=u-r[1],h=c-r[1],g={left:f,top:p,right:d,bottom:h};if(!ii(n,g,0))return[];var v=[];return[[f,0],[d,0],[p,1],[h,1]].forEach((function(e){var r=e[0],i=e[1];n.forEach((function(e){var n=G([0,0],e);v.push.apply(v,function(e,t,n){var r=_n(e),i=Math.sqrt(r*r-t*t)||0;return[i,-i].sort((function(t,r){return Math.abs(t-e[n?0:1])-Math.abs(r-e[n?0:1])})).map((function(e){return G([0,0],n?[e,t]:[t,e])}))}(e,r,i).map((function(e){return o+e-n})).filter((function(e){return!ii(t,g,e)})).map((function(e){return $(180*e/Math.PI,Qt)})))}))})),v}function ai(e,t){return function(e,t){var n,r=e.direction,i=e.classNames,o=e.size,a=e.pos,s=e.zoom,u=e.key,l="horizontal"===r,c=l?"Y":"X";return t.createElement("div",{key:u,className:i.join(" "),style:(n={},n[l?"width":"height"]=""+o,n.transform="translate("+a[0]+", "+a[1]+") translate"+c+"(-50%) scale"+c+"("+s+")",n)})}(jt(jt({},e),{classNames:Kt([an("line","guideline",e.direction)],e.classNames).filter((function(e){return e})),size:e.size||e.sizeValue+"px",pos:e.pos||e.posValue.map((function(e){return $(e,.1)+"px"}))}),t)}function si(e,t,n,r,i,o,a,s){var u=e.props.zoom;return n.map((function(e,n){var l=e.type,c=e.pos,f=[0,0];return f[a]=r,f[a?0:1]=-i+c,ai({key:t+"TargetGuideline"+n,classNames:[an("target","bold",l)],posValue:f,sizeValue:o,zoom:u,direction:t},s)}))}function ui(e,t,n,r,i,o){var a=e.props,s=a.zoom,u=a.isDisplayInnerSnapDigit,l="horizontal"===t?Dr:Tr,c=i[l.start],f=i[l.end];return n.filter((function(e){var t=e.hide,n=e.elementRect;if(t)return!1;if(u&&n){var r=n.rect;if(r[l.start]<=c&&f<=r[l.end])return!1}return!0})).map((function(e,n){var i=e.pos,a=e.size,u=e.element,l=[-r[0]+i[0],-r[1]+i[1]];return ai({key:t+"-default-guideline-"+n,classNames:u?[an("bold")]:[],direction:t,posValue:l,sizeValue:a,zoom:s},o)}))}function li(e,t,n,r,i,o,a,s){var u,l=e.props,c=l.snapDigit,f=void 0===c?0:c,d=l.isDisplaySnapDigit,p=void 0===d||d,h=l.snapDistFormat,g=void 0===h?function(e){return e}:h,v=l.zoom,m="horizontal"===t?"X":"Y",y="vertical"===t?"height":"width",b=Math.abs(i),w=p?parseFloat(b.toFixed(f)):0;return s.createElement("div",{key:t+"-"+n+"-guideline-"+r,className:an("guideline-group",t),style:(u={left:o[0]+"px",top:o[1]+"px"},u[y]=b+"px",u)},ai({direction:t,classNames:[an(n),a],size:"100%",posValue:[0,0],sizeValue:b,zoom:v},s),s.createElement("div",{className:an("size-value","gap"),style:{transform:"translate"+m+"(-50%) scale("+v+")"}},w>0?g(w):""))}function ci(e,t,n,r,i){var o=e.props.isDisplayInnerSnapDigit,a=[];return["vertical","horizontal"].forEach((function(s){var u=t.filter((function(e){return e.type===s})),l="vertical"===s?1:0,c=l?0:1,f=function(e,t,n,r){var i,o,a,s,u="vertical"===e?0:1,l="vertical"===e?1:0,c=u?Dr:Tr,f=n[c.start],d=n[c.end];return(i=t,o=function(e){return e.pos[u]},a=[],s=[],i.forEach((function(e,t){var n=o(e,t,i),r=s.indexOf(n),u=a[r]||[];-1===r&&(s.push(n),a.push(u)),u.push(e)})),a).map((function(t){var n=[],i=[];return t.forEach((function(t){var o,a,s=t.element,p=t.elementRect.rect;if(p[c.end]<f)n.push(t);else if(d<p[c.start])i.push(t);else if(p[c.start]<=f&&d<=p[c.end]&&r){var h=t.pos,g={element:s,rect:jt(jt({},p),(o={},o[c.end]=p[c.start],o))},v={element:s,rect:jt(jt({},p),(a={},a[c.start]=p[c.end],a))},m=[0,0],y=[0,0];m[u]=h[u],m[l]=h[l],y[u]=h[u],y[l]=h[l]+t.size,n.push({type:e,pos:m,size:0,elementRect:g}),i.push({type:e,pos:y,size:0,elementRect:v})}})),n.sort((function(e,t){return t.pos[l]-e.pos[l]})),i.sort((function(e,t){return e.pos[l]-t.pos[l]})),{total:t,start:n,end:i,inner:[]}}))}(s,u,r,o),d=l?Tr:Dr,p=l?Dr:Tr,h=r[d.start],g=r[d.end];f.forEach((function(t){var o=t.total,u=t.start,f=t.end,v=t.inner,m=n[c]+o[0].pos[c]-r[p.start],y=r;u.forEach((function(t){var r=t.elementRect.rect,o=y[d.start]-r[d.end];if(o>0){var u=[0,0];u[l]=n[l]+y[d.start]-h-o,u[c]=m,a.push(li(e,s,"dashed",a.length,o,u,t.className,i))}y=r})),y=r,f.forEach((function(t){var r=t.elementRect.rect,o=r[d.start]-y[d.end];if(o>0){var u=[0,0];u[l]=n[l]+y[d.end]-h,u[c]=m,a.push(li(e,s,"dashed",a.length,o,u,t.className,i))}y=r})),v.forEach((function(t){var r=t.elementRect.rect,o=h-r[d.start],u=r[d.end]-g,f=[0,0],p=[0,0];f[l]=n[l]-o,f[c]=m,p[l]=n[l]+g-h,p[c]=m,a.push(li(e,s,"dashed",a.length,o,f,t.className,i)),a.push(li(e,s,"dashed",a.length,u,p,t.className,i))}))}))})),a}function fi(e,t,n,r,i){var o=function(e,t,n,r){var i=t[0]-e[0],o=t[1]-e[1];if(Math.abs(i)<_&&(i=0),Math.abs(o)<_&&(o=0),!i)return r?[0,0]:[0,n];if(!o)return r?[n,0]:[0,0];var a=o/i,s=e[1]-a*e[0];return r?[n,a*(t[0]+n)+s-t[1]]:[(t[1]+n-s)/a-t[0],n]}(e,t,n,r);if(!o)return{isOutside:!1,offset:[0,0]};var a=V(e,t),s=V(o,e),u=V(o,t),l=s>a||u>a,c=dr({datas:i,distX:o[0],distY:o[1]});return{offset:[c[0],c[1]],isOutside:l}}function di(e,t){return e.isBound?e.offset:t.isSnap?Kr(t).offset:0}function pi(e,t,n,r,i,o){if(!Ir(e,"draggable"))return[{isSnap:!1,isBound:!1,offset:0},{isSnap:!1,isBound:!1,offset:0}];var a=Rn(o.absolutePoses,[t,n]),s=Sn(a),u=s.left,l=s.right,c=s.top,f=s.bottom,d={horizontal:a.map((function(e){return e[1]})),vertical:a.map((function(e){return e[0]}))},p=hi(e,i,Rr(Pr(e.props.snapDirections),{left:u,right:l,top:c,bottom:f,center:(u+l)/2,middle:(c+f)/2}),d),h=p.vertical,g=p.horizontal,v=Qr(e,a,o),m=v.vertical,y=v.horizontal,b=h.isSnap,w=g.isSnap,S=h.isBound||m.isBound,E=g.isBound||y.isBound,x=function(e,t,n,r,i){var o=t[0],a=t[1],s=n[0],u=n[1],l=r[0],c=r[1],f=i[0],d=i[1],p=-f,h=-d;if(e&&o&&a){p=0,h=0;var g=[];if(s&&u?g.push([0,d],[f,0]):s?g.push([f,0]):u?g.push([0,d]):l&&c?g.push([0,d],[f,0]):l?g.push([f,0]):c&&g.push([0,d]),g.length){g.sort((function(e,t){return _n(ce([o,a],e))-_n(ce([o,a],t))}));var v=g[0];if(v[0]&&Math.abs(o)>_)p=-v[0],h=a*Math.abs(o+p)/Math.abs(o)-a;else if(v[1]&&Math.abs(a)>_){var m=a;h=-v[1],p=o*Math.abs(a+h)/Math.abs(m)-o}if(e&&u&&s)if(Math.abs(p)>_&&Math.abs(p)<Math.abs(f))p*=y=Math.abs(f)/Math.abs(p),h*=y;else if(Math.abs(h)>_&&Math.abs(h)<Math.abs(d)){var y;p*=y=Math.abs(d)/Math.abs(h),h*=y}else p=Un(-f,p),h=Un(-d,h)}}else p=o||s?-f:0,h=a||u?-d:0;return[p,h]}(r,[t,n],[S,E],[b,w],[Un(h.offset,m.offset),Un(g.offset,y.offset)]);return[{isBound:S,isSnap:b,offset:x[0]},{isBound:E,isSnap:w,offset:x[1]}]}function hi(e,t,n,r){void 0===r&&(r=n);var i=ti(ni(e),r.vertical,r.horizontal),o=i.horizontal,a=i.vertical,s=t?{horizontal:{isSnap:!1,index:-1},vertical:{isSnap:!1,index:-1}}:Fr(e,n.vertical,n.horizontal),u=s.horizontal,l=s.vertical,c=di(o[0],u),f=di(a[0],l),d=Math.abs(c),p=Math.abs(f);return{horizontal:{isBound:o[0].isBound,isSnap:u.isSnap,snapIndex:u.index,offset:c,dist:d,bounds:o,snap:u},vertical:{isBound:a[0].isBound,isSnap:l.isSnap,snapIndex:l.index,offset:f,dist:p,bounds:a,snap:l}}}function gi(e,t,n,r,i){var o=ti(t,n,r),a=o.horizontal,s=o.vertical,u=zr(e,n,r,i),l=u.horizontal,c=u.vertical,f=di(a[0],l),d=di(s[0],c),p=Math.abs(f),h=Math.abs(d);return{horizontal:{isBound:a[0].isBound,isSnap:l.isSnap,snapIndex:l.index,offset:f,dist:p,bounds:a,snap:l},vertical:{isBound:s[0].isBound,isSnap:c.isSnap,snapIndex:c.index,offset:d,dist:h,bounds:s,snap:c}}}function vi(e,t,n,r,i,o){return n.map((function(n){var a=n[0],s=n[1],u=gr(t,a),l=gr(t,s),c=r?function(e,t,n,r){var i=function(e,t,n){var r=ni(e),i=r.left,o=r.top,a=r.right,s=r.bottom,u=n[0],l=n[1],c=ce(n,t),f=c[0],d=c[1];Math.abs(f)<Qt&&(f=0),Math.abs(d)<Qt&&(d=0);var p=d>0,h=f>0,g={isBound:!1,offset:0,pos:0},v={isBound:!1,offset:0,pos:0};if(0===f&&0===d)return{vertical:g,horizontal:v};if(0===f)p?s<l&&(v.pos=s,v.offset=l-s):o>l&&(v.pos=o,v.offset=l-o);else if(0===d)h?a<u&&(g.pos=a,g.offset=u-a):i>u&&(g.pos=i,g.offset=u-i);else{var m=d/f,y=n[1]-m*u,b=0,w=0,S=!1;h&&a<=u?(b=m*a+y,w=a,S=!0):!h&&u<=i&&(b=m*i+y,w=i,S=!0),S&&(b<o||b>s)&&(S=!1),S||(p&&s<=l?(w=((b=s)-y)/m,S=!0):!p&&l<=o&&(w=((b=o)-y)/m,S=!0)),S&&(g.isBound=!0,g.pos=w,g.offset=u-w,v.isBound=!0,v.pos=b,v.offset=l-b)}return{vertical:g,horizontal:v}}(e,t,n),o=i.horizontal,a=i.vertical,s=r?{horizontal:{isSnap:!1},vertical:{isSnap:!1}}:function(e,t,n){var r=n[0],i=n[1],o=t[0],a=t[1],s=ce(n,t),u=s[0],l=s[1],c=l>0,f=u>0;u=Yn(u),l=Yn(l);var d={isSnap:!1,offset:0,pos:0},p={isSnap:!1,offset:0,pos:0};if(0===u&&0===l)return{vertical:d,horizontal:p};var h=Fr(e,u?[r]:[],l?[i]:[]),g=h.vertical,v=h.horizontal;g.posInfos.filter((function(e){var t=e.pos;return f?t>=o:t<=o})),v.posInfos.filter((function(e){var t=e.pos;return c?t>=a:t<=a})),g.isSnap=g.posInfos.length>0,v.isSnap=v.posInfos.length>0;var m=Kr(g),y=m.isSnap,b=m.guideline,w=Kr(v),S=w.isSnap,E=w.guideline,x=S?E.pos[1]:0,_=y?b.pos[0]:0;if(0===u)S&&(p.isSnap=!0,p.pos=E.pos[1],p.offset=i-p.pos);else if(0===l)y&&(d.isSnap=!0,d.pos=_,d.offset=r-_);else{var k=l/u,C=n[1]-k*r,O=0,M=0,D=!1;y?(O=k*(M=_)+C,D=!0):S&&(M=((O=x)-C)/k,D=!0),D&&(d.isSnap=!0,d.pos=M,d.offset=r-M,p.isSnap=!0,p.pos=O,p.offset=i-O)}return{vertical:d,horizontal:p}}(e,t,n),u=s.horizontal,l=s.vertical,c=mi(o,u),f=mi(a,l),d=Math.abs(c),p=Math.abs(f);return{horizontal:{isBound:o.isBound,isSnap:u.isSnap,offset:c,dist:d},vertical:{isBound:a.isBound,isSnap:l.isSnap,offset:f,dist:p}}}(e,u,l,i):hi(e,i,{vertical:[l[0]],horizontal:[l[1]]}),f=c.horizontal,d=f.offset,p=f.isBound,h=f.isSnap,g=c.vertical,v=g.offset,m=g.isBound,y=g.isSnap,b=ce(s,a);if(!v&&!d)return{isBound:m||p,isSnap:y||h,sign:b,offset:[0,0]};var w=function(e,t,n,r){var i=G(e,t)/Math.PI*180,o=n.vertical,a=o.isBound,s=o.isSnap,u=o.dist,l=n.horizontal,c=l.isBound,f=l.isSnap,d=i%180,p=d<3||d>177,h=d>87&&d<93;return l.dist<u&&(a||s&&!h&&(!r||!p))?"vertical":!c&&(!f||p||r&&h)?"":"horizontal"}(u,l,c,r);if(!w)return{sign:b,isBound:!1,isSnap:!1,offset:[0,0]};var S="vertical"===w,E=fi(u,l,-(S?v:d),S,o).offset.map((function(e,t){return e*(b[t]?2/b[t]:0)}));return{sign:b,isBound:S?m:p,isSnap:S?y:h,offset:E}}))}function mi(e,t){return e.isBound?e.offset:t.isSnap?t.offset:0}function yi(e){var t=e.state;if(!t.guidelines||!t.guidelines.length){var n=e.state.container,r=e.props.snapContainer||n,i=t.containerClientRect,o={left:0,top:0,bottom:0,right:0};if(n!==r){var a=Xn(r,!0);if(a){var s=In(a),u=Zn(t,[s.left-i.left,s.top-i.top]),l=Zn(t,[s.right-i.right,s.bottom-i.bottom]);o.left=$(u[0],.1),o.top=$(u[1],.1),o.right=$(l[0],.1),o.bottom=$(l[1],.1)}}t.snapOffset=o,t.guidelines=Br(e),t.enableSnap=!0}}function bi(e,t,n,r,i,o){var a=wn(e,t,n,o?4:3),s=function(e,t){return gr(e,t.map((function(e){return-e})))}(a,i);return Rn(a,ce(r,s))}function wi(e,t,n,r,i,o){var a=function(e,t){var n=[],r=[-e[0],-e[1]];return e[0]&&e[1]?(n.push([r,[e[0],-e[1]]],[r,[-e[0],e[1]]]),t&&n.push([r,e])):e[0]?t?n.push([r,[r[0],-1]],[r,[r[0],1]],[r,[e[0],-1]],[r,e],[r,[e[0],1]]):n.push([[r[0],-1],[e[0],-1]],[[r[0],0],[e[0],0]],[[r[0],1],[e[0],1]]):e[1]?t?n.push([r,[-1,r[1]]],[r,[1,r[1]]],[r,[-1,e[1]]],[r,[1,e[1]]],[r,e]):n.push([[-1,r[1]],[-1,e[1]]],[[0,r[1]],[0,e[1]]],[[1,r[1]],[1,e[1]]]):n.push([r,[1,0]],[r,[-1,0]],[r,[0,-1]],[r,[0,1]],[[1,0],[1,-1]],[[1,0],[1,1]],[[0,1],[1,1]],[[0,1],[-1,1]],[[-1,0],[-1,-1]],[[-1,0],[-1,1]],[[0,-1],[1,-1]],[[0,-1],[-1,-1]]),n}(n,r),s=Zr(t,n,r),u=Kt(vi(e,t,a,r,i,o),Xr(e,s,gr(t,[0,0]),o)),l=Wr(u,0),c=Wr(u,1);return{width:{isBound:l.isBound,offset:l.offset[0]},height:{isBound:c.isBound,offset:c.offset[1]}}}function Ei(e,t,n,r,i,o,a,s){for(var u=An(e.state),l=e.props.keepRatio,c=0,f=0,d=0;d<2;++d){var p=wi(e,t(c,f),i,l,a,s),h=p.width,g=p.height,v=h.isBound,m=g.isBound,y=h.offset,b=g.offset;if(1===d&&(v||(y=0),m||(b=0)),0===d&&a&&!v&&!m)return[0,0];if(l){var w=Math.abs(y)*(n?1/n:1),S=Math.abs(b)*(r?1/r:1);(v&&m?w<S:m||!v&&w<S)?y=n*b/r:b=r*y/n}c+=y,f+=b}if(i[0]&&i[1]){var E=function(e,t,n,r,i){var o=[-n[0],-n[1]],a=e.state,s=a.width,u=a.height,l=e.props.bounds,c=1/0,f=1/0;if(l){var d=[[n[0],-n[1]],[-n[0],n[1]]],p=l.left,h=void 0===p?-1/0:p,g=l.top,v=void 0===g?-1/0:g,m=l.right,y=void 0===m?1/0:m,b=l.bottom,w=void 0===b?1/0:b;d.forEach((function(e){var n=e[0]!==o[0],a=e[1]!==o[1],l=gr(t,e),d=360*G(r,l)/Math.PI;if(a){var p=l.slice();(Math.abs(d-360)<2||Math.abs(d-180)<2)&&(p[1]=r[1]);var g=fi(r,p,(r[1]<l[1]?w:v)-l[1],!1,i),m=g.offset[1],b=g.isOutside;isNaN(m)||(f=u+(b?1:-1)*Math.abs(m))}if(n){p=l.slice(),(Math.abs(d-90)<2||Math.abs(d-270)<2)&&(p[0]=r[0]);var S=fi(r,p,(r[0]<l[0]?y:h)-l[0],!0,i),E=S.offset[0],x=S.isOutside;isNaN(E)||(c=s+(x?1:-1)*Math.abs(E))}}))}return{maxWidth:c,maxHeight:f}}(e,u,i,o,s),x=E.maxWidth,_=E.maxHeight,k=function(e,t,n,r,i,o,a,s,u){var l=gr(t,a),c=hi(e,s,{vertical:[l[0]],horizontal:[l[1]]}),f=c.horizontal.offset,d=c.vertical.offset;if(d||f){var p=dr({datas:u,distX:-d,distY:-f}),h=p[0],g=p[1];return[Math.min(i||1/0,n+a[0]*h)-n,Math.min(o||1/0,r+a[1]*g)-r]}return[0,0]}(e,t(c,f).map((function(e){return e.map((function(e){return $(e,1e-4)}))})),n+c,r+f,x,_,i,a,s);c+=y=k[0],f+=b=k[1]}return[c,f]}function xi(e,t,n,r){if(!Ir(e,"rotatable"))return r;var i=t.pos1,o=t.pos2,a=t.pos3,s=t.pos4,u=r*Math.PI/180,l=[i,o,a,s].map((function(e){return ce(e,n)})),c=l.map((function(e){return me(e,u)})),f=Kt(oi(e,l,c,n,r),ei(e,l,c,n,r));return f.sort((function(e,t){return Math.abs(e-r)-Math.abs(t-r)})),f.length?f[0]:r}function _i(e,t,n,r,i){var o=i.width,a=i.height,s=i.fixedPosition;if(!Ir(e,"scalable"))return[0,0];var u=i.is3d,l=Ei(e,(function(e,r){return bi(function(e,t){var n=e.transformOrigin,r=e.offsetMatrix,i=e.is3d?4:3;return vr(r,ue(e.targetMatrix,xe(t,i),i),n,i)}(i,le(t,[e/o,r/a])),o,a,s,n,u)}),o,a,n,s,r,i);return[l[0]/o,l[1]/a]}function ki(e){var t=[];return e.forEach((function(e){e.guidelineInfos.forEach((function(e){var n=e.guideline;t.indexOf(n)>-1||t.push(n)}))})),t}function Ci(e,t,n,r,i,o){var a=ti(ni(e,o),t,n),s=a.vertical,u=a.horizontal;s.forEach((function(e){e.isBound&&r.push({type:"bounds",pos:e.pos})})),u.forEach((function(e){e.isBound&&i.push({type:"bounds",pos:e.pos})}));var l=function(e){var t=e.props.innerBounds;if(!t)return{vertical:[],horizontal:[]};var n=e.getRect(),r=n.pos1,i=n.pos2,o=n.pos3,a=n.pos4,s=gr([r,i,o,a],[0,0]),u=t.left,l=t.top,c=t.width,f=t.height,d=[[u,l],[u,l+f]],p=[[u,l],[u+c,l]],h=[[u+c,l],[u+c,l+f]],g=[[u,l+f],[u+c,l+f]],v=[],m=[],y={top:!1,bottom:!1,left:!1,right:!1};return[[r,i],[i,a],[a,o],[o,r]].forEach((function(e){var t=Hr(s,e),n=t.horizontal,r=t.vertical,i=$r(e,p,r,1,!0),o=$r(e,g,r,1,!0),a=$r(e,d,n,1,!0),b=$r(e,h,n,1,!0);i.isBound&&!y.top&&(v.push(l),y.top=!0),o.isBound&&!y.bottom&&(v.push(l+f),y.bottom=!0),a.isBound&&!y.left&&(m.push(u),y.left=!0),b.isBound&&!y.right&&(m.push(u+c),y.right=!0)})),{horizontal:v,vertical:m}}(e),c=l.vertical,f=l.horizontal;c.forEach((function(e){z(r,(function(t){var n=t.type,r=t.pos;return"bounds"===n&&r===e}))>=0||r.push({type:"bounds",pos:e})})),f.forEach((function(e){z(i,(function(t){var n=t.type,r=t.pos;return"bounds"===n&&r===e}))>=0||i.push({type:"bounds",pos:e})}))}var Oi={name:"snappable",props:{snappable:[Boolean,Array],snapContainer:Object,snapDirections:[Boolean,Object],elementSnapDirections:[Boolean,Object],snapGap:Boolean,snapGridWidth:Number,snapGridHeight:Number,isDisplaySnapDigit:Boolean,isDisplayInnerSnapDigit:Boolean,snapDigit:Number,snapThreshold:Number,horizontalGuidelines:Array,verticalGuidelines:Array,elementGuidelines:Array,bounds:Object,innerBounds:Object,snapDistFormat:Function},events:{onSnap:"snap"},css:[":host {\n --bounds-color: #d66;\n}\n.guideline {\n pointer-events: none;\n z-index: 2;\n}\n.guideline.bounds {\n background: #d66;\n background: var(--bounds-color);\n}\n.guideline-group {\n position: absolute;\n top: 0;\n left: 0;\n}\n.guideline-group .size-value {\n position: absolute;\n color: #f55;\n font-size: 12px;\n font-weight: bold;\n}\n.guideline-group.horizontal .size-value {\n transform-origin: 50% 100%;\n transform: translateX(-50%);\n left: 50%;\n bottom: 5px;\n}\n.guideline-group.vertical .size-value {\n transform-origin: 0% 50%;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n}\n.guideline.gap {\n background: #f55;\n}\n.size-value.gap {\n color: #f55;\n}\n"],render:function(e,t){var n=e.state,r=n.top,i=n.left,o=n.pos1,a=n.pos2,s=n.pos3,u=n.pos4,l=n.snapRenderInfo;if(!l||!Ir(e,""))return[];n.guidelines=Br(e);var c=Math.min(o[0],a[0],s[0],u[0]),f=Math.min(o[1],a[1],s[1],u[1]),d=l.externalPoses||[],p=An(e.state),h=[],g=[],v=[],m=[],y=[],b=Sn(p),w=b.width,S=b.height,E=b.top,x=b.left,_=b.bottom,k=b.right,C={left:x,right:k,top:E,bottom:_,center:(x+k)/2,middle:(E+_)/2},O=d.length>0,M=O?Sn(d):{};if(!l.request){if(l.direction&&y.push(function(e,t,n){var r=[];if(n[0]&&n[1])r=[n,[-n[0],n[1]],[n[0],-n[1]]].map((function(e){return gr(t,e)}));else if(n[0]||n[1])e.props.keepRatio?r=[[-1,-1],[-1,1],[1,-1],[1,1],n].map((function(e){return gr(t,e)})):(r=hr(t,n)).length>1&&r.push([(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]);else for(var i=[t[0],t[1],t[3],t[2],t[0]],o=0;o<4;++o)r.push(i[o]),r.push([(i[o][0]+i[o+1][0])/2,(i[o][1]+i[o+1][1])/2]);return Fr(e,r.map((function(e){return e[0]})),r.map((function(e){return e[1]})),1)}(e,p,l.direction)),l.snap){var D=Sn(p);l.center&&(D.middle=(D.top+D.bottom)/2,D.center=(D.left+D.right)/2),y.push(jr(e,D,1))}O&&(l.center&&(M.middle=(M.top+M.bottom)/2,M.center=(M.left+M.right)/2),y.push(jr(e,M,1))),y.forEach((function(e){var t=e.vertical.posInfos,n=e.horizontal.posInfos;h.push.apply(h,t.filter((function(e){return e.guidelineInfos.some((function(e){return!e.guideline.hide}))})).map((function(e){return{type:"snap",pos:e.pos}}))),g.push.apply(g,n.filter((function(e){return e.guidelineInfos.some((function(e){return!e.guideline.hide}))})).map((function(e){return{type:"snap",pos:e.pos}}))),v.push.apply(v,ki(t)),m.push.apply(m,ki(n))}))}Ci(e,[x,k],[E,_],h,g),O&&Ci(e,[M.left,M.right],[M.top,M.bottom],h,g,l.externalBounds);var T=Kt(v,m),I=T.filter((function(e){return e.element&&!e.gapRects})),P=T.filter((function(e){return e.gapRects}));return Fn(e,"onSnap",{guidelines:T.filter((function(e){return!e.element})),elements:I,gaps:P},!0),Kt(ci(e,I,[c,f],C,t),function(e,t,n,r,i){var o=[];return["horizontal","vertical"].forEach((function(a){var s=t.filter((function(e){return e.type===a})),u="vertical"===a?0:1,l=u?0:1,c=u?Tr:Dr,f=u?Dr:Tr,d=r[c.start],p=r[c.end],h=r[f.start],g=r[f.end];s.forEach((function(t){var r=t.gap,a=t.gapRects,s=t.className,v=Math.max.apply(Math,Kt([h],a.map((function(e){return e.rect[f.start]})))),m=Math.min.apply(Math,Kt([g],a.map((function(e){return e.rect[f.end]})))),y=(v+m)/2;v!==m&&y!==(h+g)/2&&a.forEach((function(t){var a=t.rect,f=[n[0],n[1]];if(a[c.end]<d)f[u]+=a[c.end]-d;else{if(!(p<a[c.start]))return;f[u]+=a[c.start]-d-r}f[l]+=y-h,o.push(li(e,u?"vertical":"horizontal","gap",o.length,r,f,s,i))}))}))})),o}(e,P,[c,f],C,t),ui(e,"horizontal",m,[i,r],C,t),ui(e,"vertical",v,[i,r],C,t),si(e,"horizontal",g,c,r,w,0,t),si(e,"vertical",h,f,i,S,1,t))},dragStart:function(e,t){e.state.snapRenderInfo={request:t.isRequest,snap:!0,center:!0},yi(e)},drag:function(e){e.state.guidelines=Br(e)},pinchStart:function(e){this.unset(e)},dragEnd:function(e){this.unset(e)},dragControlCondition:function(e,t){return!(!Vn(0,t)&&!$i(e,t))||(!t.isRequest&&t.inputEvent?Q(t.inputEvent.target,an("snap-control")):void 0)},dragControlStart:function(e){e.state.snapRenderInfo=null,yi(e)},dragControl:function(e){this.drag(e)},dragControlEnd:function(e){this.unset(e)},dragGroupStart:function(e,t){this.dragStart(e,t)},dragGroup:function(e){this.drag(e)},dragGroupEnd:function(e){this.unset(e)},dragGroupControlStart:function(e){e.state.snapRenderInfo=null,yi(e)},dragGroupControl:function(e){this.drag(e)},dragGroupControlEnd:function(e){this.unset(e)},unset:function(e){var t=e.state;t.enableSnap=!1,t.guidelines=[],t.snapRenderInfo=null,t.elementRects=[]}},Di={name:"draggable",props:{draggable:Boolean,throttleDrag:Number,throttleDragRotate:Number,startDragRotate:Number,edgeDraggable:Boolean},events:{onDragStart:"dragStart",onDrag:"drag",onDragEnd:"dragEnd",onDragGroupStart:"dragGroupStart",onDragGroup:"dragGroup",onDragGroupEnd:"dragGroupEnd"},render:function(e,t){var n=e.props,r=n.throttleDragRotate,i=n.zoom,o=e.state,a=o.dragInfo,s=o.beforeOrigin;if(!r||!a)return[];var u=a.dist;if(!u[0]&&!u[1])return[];var l=_n(u),c=G(u,[0,0]);return[t.createElement("div",{className:an("line","horizontal","dragline","dashed"),key:"dragRotateGuideline",style:{width:l+"px",transform:"translate("+s[0]+"px, "+s[1]+"px) rotate("+c+"rad) scaleY("+i+")"}})]},dragStart:function(e,t){var n=t.datas,r=t.parentEvent,i=t.parentGesto,o=e.state,a=o.target;if(o.gesto)return!1;o.gesto=i||e.targetGesto;var s=zn(a);n.datas={},n.left=parseFloat(s.left||"")||0,n.top=parseFloat(s.top||"")||0,n.bottom=parseFloat(s.bottom||"")||0,n.right=parseFloat(s.right||"")||0,n.startValue=[0,0],ar(e,t),yr(t,"translate"),function(e,t){t.absolutePoses=An(e.state)}(e,n),n.prevDist=[0,0],n.prevBeforeDist=[0,0],n.isDrag=!1,n.deltaOffset=[0,0],n.distOffset=[0,0];var u=Ln(e,t,jt({set:function(e){n.startValue=e}},mr(t)));return!1!==(r||Fn(e,"onDragStart",u))?(n.isDrag=!0,e.state.dragInfo={startRect:e.getRect(),dist:[0,0]}):(o.gesto=null,n.isPinch=!1),!!n.isDrag&&u},drag:function(e,t){if(t){sr(t,"translate");var n=t.datas,r=t.parentEvent,i=t.parentFlag,o=t.isPinch,a=t.isRequest,s=t.distX,u=t.distY,l=n.isDrag,c=n.prevDist,f=n.prevBeforeDist,d=n.startValue,p=n.distOffset;if(l){s+=p[0],u+=p[1];var h=e.props,g=h.parentMoveable,v=r?0:h.throttleDrag||0,m=r?0:h.throttleDragRotate||0,y=!1,b=0;if(!r&&m>0&&(s||u)){var w=h.startDragRotate||0,S=$(w+180*G([0,0],[s,u])/Math.PI,m)-w,E=u*Math.abs(Math.cos((S-90)/180*Math.PI)),x=_n([s*Math.abs(Math.cos(S/180*Math.PI)),E]);b=S*Math.PI/180,s=x*Math.cos(b),u=x*Math.sin(b)}if(!o&&!r&&!i&&(!m||s||u)){var _=pi(e,s,u,m,a,n),k=_[0],C=_[1],O=k.isSnap,M=k.isBound,D=k.offset,T=C.isSnap,I=C.isBound;y=O||T||M||I,s+=D,u+=C.offset}var P=le(fr({datas:n,distX:s,distY:u}),d),R=le(lr({datas:n,distX:s,distY:u}),d);m||y||(X(R,v),X(P,v));var A=ce(P,d),N=ce(R,d),L=ce(N,c),B=ce(A,f);n.prevDist=N,n.prevBeforeDist=A,n.passDelta=L,n.passDist=N;var F=n.left+A[0],z=n.top+A[1],j=n.right-A[0],K=n.bottom-A[1],U=ur(n,"translate("+R[0]+"px, "+R[1]+"px)","translate("+N[0]+"px, "+N[1]+"px)");if(e.state.dragInfo.dist=r?[0,0]:N,r||g||!L.every((function(e){return!e}))||!B.some((function(e){return!e}))){var q=e.state,W=Ln(e,t,{transform:U,dist:N,delta:L,translate:R,beforeDist:A,beforeDelta:B,beforeTranslate:P,left:F,top:z,right:j,bottom:K,width:q.width,height:q.height,isPinch:o});return!r&&Fn(e,"onDrag",W),W}}}},dragAfter:function(e,t){var n=t.datas,r=t.datas,i=r.deltaOffset,o=r.distOffset;return!(!i[0]&&!i[1])&&(n.deltaOffset=[0,0],o[0]+=i[0],o[1]+=i[1],this.drag(e,t))},dragEnd:function(e,t){var n=t.parentEvent,r=t.datas,i=t.isDrag;if(e.state.gesto=null,e.state.dragInfo=null,r.isDrag)return r.isDrag=!1,!n&&Fn(e,"onDragEnd",Bn(e,t,{})),i},dragGroupStart:function(e,t){var n=t.datas,r=t.clientX,i=t.clientY,o=this.dragStart(e,t);if(!o)return!1;var a=rr(e,this,"dragStart",[r||0,i||0],t,!1),s=Fn(e,"onDragGroupStart",jt(jt({},o),{targets:e.props.targets,events:a}));return n.isDrag=!1!==s,!!n.isDrag&&o},dragGroup:function(e,t){if(t.datas.isDrag){var n=this.drag(e,t),r=rr(e,this,"drag",t.datas.passDelta,t,!1);if(n){var i=jt({targets:e.props.targets,events:r},n);return Fn(e,"onDragGroup",i),i}}},dragGroupEnd:function(e,t){var n=t.isDrag;if(t.datas.isDrag)return this.dragEnd(e,t),rr(e,this,"dragEnd",[0,0],t,!1),Fn(e,"onDragGroupEnd",Bn(e,t,{targets:e.props.targets})),n},request:function(e){var t={},n=e.getRect(),r=0,i=0;return{isControl:!1,requestStart:function(){return{datas:t}},request:function(e){return"x"in e?r=e.x-n.left:"deltaX"in e&&(r+=e.deltaX),"y"in e?i=e.y-n.top:"deltaY"in e&&(i+=e.deltaY),{datas:t,distX:r,distY:i}},requestEnd:function(){return{datas:t,isDrag:!0}}}},unset:function(e){e.state.dragInfo=null}};function Ti(e,t,n,r){void 0===r&&(r="");var i=e.state,o=i.renderPoses,a=i.rotation,s=i.direction,u=e.props,l=u.renderDirections,c=void 0===l?t:l,f=u.zoom,d={};if(!c)return[];var p=s>0?1:-1,h=!0===c?tn:c,g=a/Math.PI*180;return h.forEach((function(e){d[e]=!0})),h.map((function(e){var t=nn[e];if(!t||!d[e])return null;var i=($(g,15)+p*rn[e]+720)%180;return n.createElement("div",{className:an("control","direction",e,r),"data-rotation":i,"data-direction":e,key:"direction-"+e,style:On.apply(void 0,Kt([a,f],t.map((function(e){return o[e]}))))})}))}function Ri(e,t,n,r,i,o){for(var a=[],s=6;s<arguments.length;s++)a[s-6]=arguments[s];var u=G(n,r),l=t?$(u/Math.PI*180,15)%180:-1;return e.createElement("div",{key:"line"+o,className:an.apply(void 0,Kt(["line","direction",t],a)),"data-rotation":l,"data-line-index":o,"data-direction":t,style:Cn(n,r,i,u)})}function Bi(e,t){return Ti(e,tn,t)}function zi(e,t){return Ti(e,["nw","ne","sw","se"],t)}function ji(e,t,n,r,i,o){var a=e.state.is3d?4:3,s=bn(e.state.rootMatrix,i,a),u=le([o.left,o.top],s);t.startAbsoluteOrigin=u,t.prevDeg=G(u,[n,r])/Math.PI*180,t.prevSnapDeg=t.prevDeg,t.startDeg=t.prevDeg,t.loop=0}function Ui(e,t,n,r,i,o){var a=n.prevDeg,s=xi(e,t,n.origin,r);return n.prevDeg=s,[s-a,s,o+s]}function qi(e,t,n,r,i,o,a,s){var u=n.prevDeg,l=n.prevSnapDeg,c=n.startDeg,f=n.loop;u>r&&u>270&&r<90?++n.loop:u<r&&u<90&&r>270&&--n.loop;var d=n.loop,p=360*f+l-c+o,h=360*d+r-c+o;n.prevDeg=h-360*d+c-o;var g=i*((h=$(h,a))-o);return s&&(h=(g=xi(e,t,n.origin,g))/i+o),n.prevSnapDeg=h-360*d+c-o,[i*(h-p),g,o+g]}function Hi(e,t,n,r,i,o,a,s){return qi(e,t,n,G(n.startAbsoluteOrigin,[i,o])/Math.PI*180,r,a,s,!0)}function $i(e,t){if(t.isRequest)return"rotatable"===t.requestAble;var n=t.inputEvent.target;if(Q(n,an("rotation-control")))return!0;var r=e.props.rotationTarget;return!!r&&Qn(r,!0).some((function(e){return!!e&&(n===e||n.contains(e))}))}var Qi={name:"rotatable",canPinch:!0,props:{rotatable:Boolean,rotationPosition:String,throttleRotate:Number,renderDirections:Object,rotationTarget:Object},events:{onRotateStart:"rotateStart",onRotate:"rotate",onRotateEnd:"rotateEnd",onRotateGroupStart:"rotateGroupStart",onRotateGroup:"rotateGroup",onRotateGroupEnd:"rotateGroupEnd"},css:[".rotation {\n position: absolute;\n height: 40px;\n width: 1px;\n transform-origin: 50% 100%;\n height: calc(40px * var(--zoom));\n top: auto;\n left: 0;\n bottom: 100%;\n will-change: transform;\n }\n .rotation .rotation-line {\n display: block;\n width: 100%;\n height: 100%;\n transform-origin: 50% 50%;\n }\n .rotation .rotation-control {\n border-color: #4af;\n border-color: var(--moveable-color);\n background:#fff;\n cursor: alias;\n }"],render:function(e,t){var n=e.props,r=n.rotatable,i=n.rotationPosition,o=n.zoom,a=n.renderDirections,s=e.state,u=s.renderPoses,l=s.direction;if(!r)return null;var c=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3];if("none"!==e){var s=(e||"top").split("-"),u=s[0],l=s[1],c=[r,i];"left"===u?c=[o,r]:"right"===u?c=[i,a]:"bottom"===u&&(c=[a,o]);var f=[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2],d=Dn(c,n);if(l){var p="top"===l||"left"===l,h="bottom"===u||"left"===u;f=c[p&&!h||!p&&h?0:1]}return[f,d]}}(i,u,l),f=[];if(c){var d=c[0],p=c[1];f.push(t.createElement("div",{key:"rotation",className:an("rotation"),style:{transform:"translate(-50%) translate("+d[0]+"px, "+d[1]+"px) rotate("+p+"rad)"}},t.createElement("div",{className:an("line rotation-line"),style:{transform:"scaleX("+o+")"}}),t.createElement("div",{className:an("control rotation-control"),style:{transform:"translate(0.5px) scale("+o+")"}})))}return a&&f.push.apply(f,Ti(e,[],t)),f},dragControlCondition:$i,dragControlStart:function(e,t){var n=t.datas,r=t.clientX,i=t.clientY,o=t.parentRotate,a=t.parentFlag,s=t.isPinch,u=t.isRequest,l=e.state,c=l.target,f=l.left,d=l.top,p=l.origin,h=l.beforeOrigin,g=l.direction,v=l.beforeDirection,m=l.targetTransform,y=l.moveableClientRect;if(!u&&!c)return!1;var b=e.getRect();if(n.rect=b,n.transform=m,n.left=f,n.top=d,n.fixedPosition=_r(e,xr(e)),n.absoluteInfo={origin:b.origin,startValue:b.rotation},ji(e,n.absoluteInfo,r,i,p,y),u||s||a){var w=o||0;n.beforeInfo={origin:b.beforeOrigin,prevDeg:w,startDeg:w,prevSnapDeg:w,loop:0},n.afterInfo={origin:b.origin,prevDeg:w,startDeg:w,prevSnapDeg:w,loop:0}}else n.beforeInfo={origin:b.beforeOrigin},n.afterInfo={origin:b.origin},ji(e,n.beforeInfo,r,i,h,y),ji(e,n.afterInfo,r,i,p,y);n.direction=g,n.beforeDirection=v,n.startValue=0,n.datas={},yr(t,"rotate");var S=Ln(e,t,jt(jt({set:function(e){n.startValue=e*Math.PI/180}},mr(t)),{dragStart:Di.dragStart(e,(new tr).dragStart([0,0],t))})),E=Fn(e,"onRotateStart",S);return n.isRotate=!1!==E,e.state.snapRenderInfo={request:t.isRequest},!!n.isRotate&&S},dragControl:function(e,t){var n,r,i,o,a,s,u,l,c,f=t.datas,d=t.clientX,p=t.clientY,h=t.parentRotate,g=t.parentFlag,v=t.isPinch,m=t.groupDelta,y=f.beforeDirection,b=f.beforeInfo,w=f.afterInfo,S=f.absoluteInfo,E=f.isRotate,x=f.startValue,_=f.rect;if(E){sr(t,"rotate");var k,C,O,M,D,T,I,P,R,A=function(e){return xn(e.datas.beforeTransform,[50,50],100,100).direction}(t),N=y*A,L=e.props,B=L.throttleRotate,F=void 0===B?0:B,z=L.parentMoveable,j=180/Math.PI*x,K=S.startValue;if(!g&&"parentDist"in t){var U=t.parentDist;k=(n=Ui(e,_,w,U,0,j))[0],C=n[1],O=n[2],M=(r=Ui(e,_,b,U,0,j))[0],D=r[1],T=r[2],I=(i=Ui(e,_,S,U,0,K))[0],P=i[1],R=i[2]}else v||g?(k=(o=qi(e,_,w,h,N,j,F))[0],C=o[1],O=o[2],M=(a=qi(e,_,b,h,y,j,F))[0],D=a[1],T=a[2],I=(s=qi(e,_,S,h,N,K,F))[0],P=s[1],R=s[2]):(k=(u=Hi(e,_,w,N,d,p,j,F))[0],C=u[1],O=u[2],M=(l=Hi(e,_,b,y,d,p,j,F))[0],D=l[1],T=l[2],I=(c=Hi(e,_,S,N,d,p,K,F))[0],P=c[1],R=c[2]);if(I||k||M||z){var q=ur(f,"rotate("+O+"deg)","rotate("+C+"deg)"),W=function(e,t,n,r){return Er(e,"rotate("+t+"deg)",xr(e),n,r)}(e,C,f.fixedPosition,f),H=ce(le(m||[0,0],W),f.prevInverseDist||[0,0]);f.prevInverseDist=W;var G=Ln(e,t,jt({delta:k,dist:C,rotate:O,beforeDist:D,beforeDelta:M,beforeRotate:T,absoluteDist:P,absoluteDelta:I,absoluteRotate:R,isPinch:!!v},Sr(e,q,H,v,t)));return Fn(e,"onRotate",G),G}}},dragControlEnd:function(e,t){var n=t.datas,r=t.isDrag;return!!n.isRotate&&(n.isRotate=!1,Fn(e,"onRotateEnd",Bn(e,t,{})),r)},dragGroupControlCondition:$i,dragGroupControlStart:function(e,t){var n=t.datas,r=e.state,i=r.left,o=r.top,a=r.beforeOrigin,s=this.dragControlStart(e,t);if(!s)return!1;s.set(n.beforeDirection*e.rotation);var u=ir(e,this,"dragControlStart",t,(function(e,t){var n=e.state,r=n.left,s=n.top,u=n.beforeOrigin,l=le(ce([r,s],[i,o]),ce(u,a));return t.datas.groupClient=l,jt(jt({},t),{parentRotate:0})})),l=Fn(e,"onRotateGroupStart",jt(jt({},s),{targets:e.props.targets,events:u}));return n.isRotate=!1!==l,!!n.isRotate&&s},dragGroupControl:function(e,t){var n=t.datas;if(n.isRotate){var r=this.dragControl(e,t);if(r){var i=n.beforeDirection,o=r.beforeDist,a=r.beforeDelta/180*Math.PI,s=ir(e,this,"dragControl",t,(function(e,t){var n=t.datas.groupClient,r=n[0],s=n[1],u=me([r,s],a*i),l=u[0],c=u[1],f=[l-r,c-s];return t.datas.groupClient=[l,c],jt(jt({},t),{parentRotate:o,groupDelta:f})}));e.rotation=i*r.beforeRotate;var u=jt({targets:e.props.targets,events:s,set:function(t){e.rotation=t}},r);return Fn(e,"onRotateGroup",u),u}}},dragGroupControlEnd:function(e,t){var n=t.isDrag;if(t.datas.isRotate)return this.dragControlEnd(e,t),ir(e,this,"dragControlEnd",t),Fn(e,"onRotateGroupEnd",Bn(e,t,{targets:e.props.targets})),n},request:function(e){var t={},n=0,r=e.getRotation();return{isControl:!0,requestStart:function(){return{datas:t}},request:function(e){return"deltaRotate"in e?n+=e.deltaRotate:"rotate"in e&&(n=e.rotate-r),{datas:t,parentDist:n}},requestEnd:function(){return{datas:t,isDrag:!0}}}}},Ji={name:"resizable",ableGroup:"size",canPinch:!0,props:{resizable:Boolean,throttleResize:Number,renderDirections:Array,keepRatio:Boolean},events:{onResizeStart:"resizeStart",onResize:"resize",onResizeEnd:"resizeEnd",onResizeGroupStart:"resizeGroupStart",onResizeGroup:"resizeGroup",onResizeGroupEnd:"resizeGroupEnd"},render:function(e,t){var n=e.props,r=n.resizable,i=n.edge;if(r)return i?zi(e,t):Bi(e,t)},dragControlCondition:Vn,dragControlStart:function(e,t){var n,r=t.inputEvent,i=t.isPinch,o=t.parentDirection,a=t.datas,s=t.parentFlag,u=o||(i?[0,0]:Pn(r.target)),l=e.state,c=l.target,f=l.width,d=l.height;if(!u||!c)return!1;!i&&ar(e,t),a.datas={},a.direction=u,a.startOffsetWidth=f,a.startOffsetHeight=d,a.prevWidth=0,a.prevHeight=0,n=function(e){var t=zn(e);return[parseFloat(t.width),parseFloat(t.height)]}(c),a.startWidth=n[0],a.startHeight=n[1];var p=[Math.max(0,f-a.startWidth),Math.max(0,d-a.startHeight)];if(a.minSize=p,a.maxSize=[1/0,1/0],!s){var h=zn(c),g=h.position,v=h.minWidth,m=h.minHeight,y=h.maxWidth,b=h.maxHeight,w="static"===g||"relative"===g,S=w?c.parentElement:c.offsetParent,E=f,x=d;if(S&&(E=S.clientWidth,x=S.clientHeight,w)){var _=zn(S);E-=parseFloat(_.paddingLeft)||0,x-=parseFloat(_.paddingTop)||0}a.minSize=le([U(v,E)||0,U(m,x)||0],p),a.maxSize=le([U(y,E)||1/0,U(b,x)||1/0],p)}var k=e.props.transformOrigin||"% %";function C(e){a.ratio=e&&isFinite(e)?e:0}function O(t){a.fixedDirection=t,a.fixedPosition=Cr(e,t)}a.transformOrigin=k&&D(k)?k.split(" "):k,a.isWidth=!u[0]&&!u[1]||u[0]||!u[1],C(f/d),O([-u[0],-u[1]]);var M=Ln(e,t,{direction:u,set:function(e){var t=e[0],n=e[1];a.startWidth=t,a.startHeight=n},setMin:function(e){a.minSize=e},setMax:function(e){a.maxSize=[e[0]||1/0,e[1]||1/0]},setRatio:C,setFixedDirection:O,setOrigin:function(e){a.transformOrigin=e},dragStart:Di.dragStart(e,(new tr).dragStart([0,0],t))});return!1!==Fn(e,"onResizeStart",M)&&(a.isResize=!0,e.state.snapRenderInfo={request:t.isRequest,direction:u}),!!a.isResize&&M},dragControl:function(e,t){var n,r=t.datas,i=t.distX,o=t.distY,a=t.parentFlag,s=t.isPinch,u=t.parentDistance,l=t.parentScale,c=t.parentKeepRatio,f=t.dragClient,d=t.parentDist,p=t.isRequest,h=r.isResize,g=r.transformOrigin,v=r.fixedDirection,m=r.startWidth,y=r.startHeight,b=r.prevWidth,w=r.prevHeight,S=r.minSize,E=r.maxSize,x=r.ratio,_=r.isWidth,k=r.startOffsetWidth,C=r.startOffsetHeight;if(h){var O=e.props,M=O.throttleResize,D=void 0===M?0:M,T=O.parentMoveable,I=O.snapThreshold,P=void 0===I?5:I,R=r.direction,A=R,N=0,L=0;R[0]||R[1]||(A=[1,1]);var B=x&&(e.props.keepRatio||c),F=f;if(f||(F=!a&&s?Cr(e,[0,0]):r.fixedPosition),d)N=d[0],L=d[1],B&&(N?L||(L=N/x):N=L*x);else if(l)N=(l[0]-1)*k,L=(l[1]-1)*C;else if(s)u&&(N=u,L=u*C/k);else{var z=dr({datas:r,distX:i,distY:o});if(N=A[0]*z[0],L=A[1]*z[1],B&&k&&C){var j=G([0,0],z),K=G([0,0],A),U=_n([N,L]),q=Math.cos(j-K)*U;if(A[0])if(A[1]){var H=2*A[0]*k,Y=2*A[1]*C,V=_n([H+z[0],Y+z[1]])-_n([H,Y]),X=G([0,0],[x,1]);N=Math.cos(X)*V,L=Math.sin(X)*V}else L=(N=q)*x;else N=(L=q)/x}else if(!B){var Q=Kt(R);k||(z[0]<0?Q[0]=-1:z[0]>0&&(Q[0]=1)),C||(z[1]<0?Q[1]=-1:z[1]>0&&(Q[1]=1)),R=Q,N=(A=Q)[0]*z[0],L=A[1]*z[1]}}var Z=A[0]||B?Math.max(k+N,Qt):k,J=A[1]||B?Math.max(C+L,Qt):C;B&&k&&C&&(_?J=Z/x:Z=J*x);var ee=[0,0];if(s||(ee=function(e,t,n,r,i,o,a){if(!Ir(e,"resizable"))return[0,0];var s=e.state,u=s.allMatrix,l=s.is3d;return Ei(e,(function(e,o){return bi(u,t+e,n+o,i,r,l)}),t,n,r,i,o,a)}(e,Z,J,R,F,p,r)),d&&(!d[0]&&(ee[0]=0),!d[1]&&(ee[1]=0)),B){A[0]&&A[1]&&ee[0]&&ee[1]&&(Math.abs(ee[0])>Math.abs(ee[1])?ee[1]=0:ee[0]=0);var te=!ee[0]&&!ee[1];te&&(_?Z=$(Z,D):J=$(J,D)),A[0]&&!A[1]||ee[0]&&!ee[1]||te&&_?J=(Z+=ee[0])/x:(!A[0]&&A[1]||!ee[0]&&ee[1]||te&&!_)&&(Z=(J+=ee[1])*x)}else k+N<-P&&(ee[0]=0),k+L<-P&&(ee[1]=0),Z+=ee[0],J+=ee[1],ee[0]||(Z=$(Z,D)),ee[1]||(J=$(J,D));Z=(n=W([Z,J],S,E,B))[0],J=n[1];var ne=[(N=(Z=Math.round(Z))-k)-b,(L=(J=Math.round(J))-C)-w];r.prevWidth=N,r.prevHeight=L;var re=kr(e,Z,J,v,F,g);if(T||!ne.every((function(e){return!e}))||!re.every((function(e){return!e}))){var ie=Ln(e,t,{width:m+N,height:y+L,offsetWidth:Z,offsetHeight:J,direction:R,dist:[N,L],delta:ne,isPinch:!!s,drag:Di.drag(e,er(t,e.state,re,!!s,!1))});return Fn(e,"onResize",ie),ie}}},dragControlAfter:function(e,t){var n=t.datas,r=n.isResize,i=n.startOffsetWidth,o=n.startOffsetHeight,a=n.prevWidth,s=n.prevHeight;if(r){var u=e.state,l=u.width-(i+a),c=u.height-(o+s),f=Math.abs(l)>3,d=Math.abs(c)>3;return f&&(n.startWidth+=l,n.startOffsetWidth+=l,n.prevWidth+=l),d&&(n.startHeight+=c,n.startOffsetHeight+=c,n.prevHeight+=c),f||d?(this.dragControl(e,t),!0):void 0}},dragControlEnd:function(e,t){var n=t.datas,r=t.isDrag;return!!n.isResize&&(n.isResize=!1,Fn(e,"onResizeEnd",Bn(e,t,{})),r)},dragGroupControlCondition:Vn,dragGroupControlStart:function(e,t){var n=t.datas,r=this.dragControlStart(e,t);if(!r)return!1;var i=nr(e,"resizable",t);function o(t,r){var i=n.fixedDirection,o=n.fixedPosition,a=Cr(t,i),s=de(we(-e.rotation/180*Math.PI,3),[a[0]-o[0],a[1]-o[1],1],3),u=s[0],l=s[1];return r.datas.originalX=u,r.datas.originalY=l,r}var a=ir(e,this,"dragControlStart",t,(function(e,t){return o(e,t)})),s=jt(jt({},r),{targets:e.props.targets,events:a,setFixedDirection:function(t){r.setFixedDirection(t),a.forEach((function(n,r){n.setFixedDirection(t),o(e.moveables[r],i[r])}))}}),u=Fn(e,"onResizeGroupStart",s);return n.isResize=!1!==u,!!n.isResize&&r},dragGroupControl:function(e,t){var n=t.datas;if(n.isResize){var r=this.dragControl(e,t);if(r){var i=r.offsetWidth,o=r.offsetHeight,a=r.dist,s=e.props.keepRatio,u=[i/(i-a[0]),o/(o-a[1])],l=n.fixedPosition,c=ir(e,this,"dragControl",t,(function(t,n){var r=de(we(e.rotation/180*Math.PI,3),[n.datas.originalX*u[0],n.datas.originalY*u[1],1],3),i=r[0],o=r[1];return jt(jt({},n),{parentDist:null,parentScale:u,dragClient:le(l,[i,o]),parentKeepRatio:s})})),f=jt({targets:e.props.targets,events:c},r);return Fn(e,"onResizeGroup",f),f}}},dragGroupControlEnd:function(e,t){var n=t.isDrag;if(t.datas.isResize)return this.dragControlEnd(e,t),ir(e,this,"dragControlEnd",t),Fn(e,"onResizeGroupEnd",Bn(e,t,{targets:e.props.targets})),n},request:function(e){var t={},n=0,r=0,i=e.getRect();return{isControl:!0,requestStart:function(e){return{datas:t,parentDirection:e.direction||[1,1]}},request:function(e){return"offsetWidth"in e?n=e.offsetWidth-i.offsetWidth:"deltaWidth"in e&&(n+=e.deltaWidth),"offsetHeight"in e?r=e.offsetHeight-i.offsetHeight:"deltaHeight"in e&&(r+=e.deltaHeight),{datas:t,parentDist:[n,r]}},requestEnd:function(){return{datas:t,isDrag:!0}}}}},eo={name:"scalable",ableGroup:"size",canPinch:!0,props:{scalable:Boolean,throttleScale:Number,renderDirections:String,keepRatio:Boolean},events:{onScaleStart:"scaleStart",onScale:"scale",onScaleEnd:"scaleEnd",onScaleGroupStart:"scaleGroupStart",onScaleGroup:"scaleGroup",onScaleGroupEnd:"scaleGroupEnd"},render:function(e,t){var n=e.props,r=n.resizable,i=n.scalable,o=n.edge;if(!r&&i)return o?zi(e,t):Bi(e,t)},dragControlCondition:Vn,dragControlStart:function(e,t){var n=t.datas,r=t.isPinch,i=t.inputEvent,o=t.parentDirection||(r?[0,0]:Pn(i.target)),a=e.state,s=a.width,u=a.height,l=a.targetTransform,c=a.target,f=a.pos1,d=a.pos2,p=a.pos4;if(!o||!c)return!1;r||ar(e,t),n.datas={},n.transform=l,n.prevDist=[1,1],n.direction=o,n.width=s,n.height=u,n.startValue=[1,1];var h=V(f,d),g=V(d,p),v=!o[0]&&!o[1]||o[0]||!o[1];function m(e){n.ratio=e&&isFinite(e)?e:0}function y(t){n.fixedDirection=t,n.fixedPosition=Cr(e,t)}n.scaleWidth=h,n.scaleHeight=g,n.scaleXRatio=h/s,n.scaleYRatio=g/u,yr(t,"scale"),n.isWidth=v,m(V(f,d)/V(d,p)),y([-o[0],-o[1]]);var b=Ln(e,t,jt(jt({direction:o,set:function(e){n.startValue=e},setRatio:m,setFixedDirection:y},mr(t)),{dragStart:Di.dragStart(e,(new tr).dragStart([0,0],t))}));return!1!==Fn(e,"onScaleStart",b)&&(n.isScale=!0,e.state.snapRenderInfo={request:t.isRequest,direction:o}),!!n.isScale&&b},dragControl:function(e,t){sr(t,"scale");var n=t.datas,r=t.distX,i=t.distY,o=t.parentScale,a=t.parentDistance,s=t.parentKeepRatio,u=t.parentFlag,l=t.isPinch,c=t.dragClient,f=t.parentDist,d=t.isRequest,p=n.prevDist,h=n.direction,g=n.width,v=n.height,m=n.isScale,y=n.startValue,b=n.isWidth,w=n.ratio,S=n.fixedDirection,E=n.scaleXRatio,x=n.scaleYRatio;if(!m)return!1;var _=e.props,k=_.throttleScale,C=_.parentMoveable,O=h;h[0]||h[1]||(O=[1,1]);var D=w&&(e.props.keepRatio||s),T=e.state,I=1,P=1,R=c;if(c||(R=!u&&l?Cr(e,[0,0]):n.fixedPosition),f)I=(g+f[0])/g,P=(v+f[1])/v;else if(o)I=o[0],P=o[1];else if(l)a&&(I=(g+a)/g,P=(v+a*v/g)/v);else{var A=dr({datas:n,distX:r,distY:i}),N=O[0]*A[0]*E,L=O[1]*A[1]*x;if(D&&g&&v)if(O[0])if(O[1]){var B=_n([N,L]),F=G([0,0],A),z=G([0,0],O),j=Math.cos(F-z)*B,K=G([0,0],[w,1]);N=Math.cos(K)*j,L=Math.sin(K)*j}else L=N/w;else N=L*w;I=(g+N/E)/g,P=(v+L/x)/v}I=O[0]||D?I*y[0]:y[0],P=O[1]||D?P*y[1]:y[1],0===I&&(I=(p[0]>0?1:-1)*Zt),0===P&&(P=(p[1]>0?1:-1)*Zt);var U=[I/y[0],P/y[1]],q=[I,P];if(!l&&e.props.groupable){var W=(T.snapRenderInfo||{}).direction;M(W)&&(W[0]||W[1])&&(T.snapRenderInfo={direction:h,request:t.isRequest})}var H=[0,0];if(l||(H=_i(e,U,h,d,n)),D){O[0]&&O[1]&&H[0]&&H[1]&&(Math.abs(H[0]*g)>Math.abs(H[1]*v)?H[1]=0:H[0]=0);var Y=!H[0]&&!H[1];if(Y&&(b?U[0]=$(U[0]*y[0],k)/y[0]:U[1]=$(U[1]*y[1],k)/y[1]),O[0]&&!O[1]||H[0]&&!H[1]||Y&&b){U[0]+=H[0];var V=g*U[0]*y[0]/w;U[1]=V/v/y[1]}else if(!O[0]&&O[1]||!H[0]&&H[1]||Y&&!b){U[1]+=H[1];var X=v*U[1]*y[1]*w;U[0]=X/g/y[0]}}else U[0]+=H[0],U[1]+=H[1],H[0]||(U[0]=$(U[0]*y[0],k)/y[0]),H[1]||(U[1]=$(U[1]*y[1],k)/y[1]);0===U[0]&&(U[0]=(p[0]>0?1:-1)*Zt),0===U[1]&&(U[1]=(p[1]>0?1:-1)*Zt);var Q,Z,J=[U[0]/p[0],U[1]/p[1]];Z=y,q=[(Q=U)[0]*Z[0],Q[1]*Z[1]];var ee=function(e,t,n,r,i){return Er(e,"scale("+t.join(", ")+")",n,r,i)}(e,U,S,R,n),te=ce(ee,n.prevInverseDist||[0,0]);if(n.prevDist=U,n.prevInverseDist=ee,I===p[0]&&P===p[1]&&te.every((function(e){return!e}))&&!C)return!1;var ne=ur(n,"scale("+q.join(", ")+")","scale("+U.join(", ")+")"),re=Ln(e,t,jt({offsetWidth:g,offsetHeight:v,direction:h,scale:q,dist:U,delta:J,isPinch:!!l},Sr(e,ne,te,l,t)));return Fn(e,"onScale",re),re},dragControlEnd:function(e,t){var n=t.datas,r=t.isDrag;return!!n.isScale&&(n.isScale=!1,Fn(e,"onScaleEnd",Bn(e,t,{})),r)},dragGroupControlCondition:Vn,dragGroupControlStart:function(e,t){var n=t.datas,r=this.dragControlStart(e,t);if(!r)return!1;var i=nr(e,"resizable",t);function o(t,r){var i=n.fixedDirection,o=n.fixedPosition,a=Cr(t,i),s=de(we(-e.rotation/180*Math.PI,3),[a[0]-o[0],a[1]-o[1],1],3),u=s[0],l=s[1];return r.datas.originalX=u,r.datas.originalY=l,r}n.moveableScale=e.scale;var a=ir(e,this,"dragControlStart",t,(function(e,t){return o(e,t)})),s=jt(jt({},r),{targets:e.props.targets,events:a,setFixedDirection:function(t){r.setFixedDirection(t),a.forEach((function(n,r){n.setFixedDirection(t),o(e.moveables[r],i[r])}))}}),u=Fn(e,"onScaleGroupStart",s);return n.isScale=!1!==u,!!n.isScale&&s},dragGroupControl:function(e,t){var n=t.datas;if(n.isScale){var r=this.dragControl(e,t);if(r){var i=n.moveableScale;e.scale=[r.scale[0]*i[0],r.scale[1]*i[1]];var o=e.props.keepRatio,a=r.dist,s=r.scale,u=n.fixedPosition,l=ir(e,this,"dragControl",t,(function(t,n){var r=de(we(e.rotation/180*Math.PI,3),[n.datas.originalX*a[0],n.datas.originalY*a[1],1],3),i=r[0],l=r[1];return jt(jt({},n),{parentDist:null,parentScale:s,parentKeepRatio:o,dragClient:le(u,[i,l])})})),c=jt({targets:e.props.targets,events:l},r);return Fn(e,"onScaleGroup",c),c}}},dragGroupControlEnd:function(e,t){var n=t.isDrag;if(t.datas.isScale)return this.dragControlEnd(e,t),ir(e,this,"dragControlEnd",t),Fn(e,"onScaleGroupEnd",Bn(e,t,{targets:e.props.targets})),n},request:function(){var e={},t=0,n=0;return{isControl:!0,requestStart:function(t){return{datas:e,parentDirection:t.direction||[1,1]}},request:function(r){return t+=r.deltaWidth,n+=r.deltaHeight,{datas:e,parentDist:[t,n]}},requestEnd:function(){return{datas:e,isDrag:!0}}}}};function to(e,t){return e.map((function(e,n){return r=e,i=t[n],(r*(a=2)+i*(o=1))/(o+a);var r,i,o,a}))}function no(e,t,n){var r=G(e,t),i=G(e,n)-r;return i>=0?i:i+2*Math.PI}var ro={name:"warpable",ableGroup:"size",props:{warpable:Boolean,renderDirections:Array},events:{onWarpStart:"warpStart",onWarp:"warp",onWarpEnd:"warpEnd"},render:function(e,t){var n=e.props,r=n.resizable,i=n.scalable,o=n.warpable,a=n.zoom;if(r||i||!o)return[];var s=e.state,u=s.pos1,l=s.pos2,c=s.pos3,f=s.pos4,d=to(u,l),p=to(l,u),h=to(u,c),g=to(c,u),v=to(c,f),m=to(f,c),y=to(l,f),b=to(f,l);return Kt([t.createElement("div",{className:an("line"),key:"middeLine1",style:Cn(d,v,a)}),t.createElement("div",{className:an("line"),key:"middeLine2",style:Cn(p,m,a)}),t.createElement("div",{className:an("line"),key:"middeLine3",style:Cn(h,y,a)}),t.createElement("div",{className:an("line"),key:"middeLine4",style:Cn(g,b,a)})],Bi(e,t))},dragControlCondition:function(e,t){return!t.isRequest&&Q(t.inputEvent.target,an("direction"))},dragControlStart:function(e,t){var n=t.datas,r=t.inputEvent,i=e.props.target,o=Pn(r.target);if(!o||!i)return!1;var a=e.state,s=a.transformOrigin,u=a.is3d,l=a.targetTransform,c=a.targetMatrix,f=a.width,d=a.height,p=a.left,h=a.top;return n.datas={},n.targetTransform=l,n.warpTargetMatrix=u?c:ae(c,3,4),n.targetInverseMatrix=re(ie(n.warpTargetMatrix,4),3,4),n.direction=o,n.left=p,n.top=h,n.poses=[[0,0],[f,0],[0,d],[f,d]].map((function(e){return ce(e,s)})),n.nextPoses=n.poses.map((function(e){var t=e[0],r=e[1];return de(n.warpTargetMatrix,[t,r,0,1],4)})),n.startValue=Se(4),n.prevMatrix=Se(4),n.absolutePoses=An(a),n.posIndexes=pr(o),ar(e,t),yr(t,"matrix3d"),a.snapRenderInfo={request:t.isRequest,direction:o},!1!==Fn(e,"onWarpStart",Ln(e,t,jt({set:function(e){n.startValue=e}},mr(t))))&&(n.isWarp=!0),n.isWarp},dragControl:function(e,t){var n=t.datas,r=t.isRequest,i=t.distX,o=t.distY,a=n.targetInverseMatrix,s=n.prevMatrix,u=n.isWarp,l=n.startValue,c=n.poses,f=n.posIndexes,d=n.absolutePoses;if(!u)return!1;if(sr(t,"matrix3d"),Ir(e,"warpable")){var p=f.map((function(e){return d[e]}));p.length>1&&p.push([(p[0][0]+p[1][0])/2,(p[0][1]+p[1][1])/2]);var h=hi(e,r,{horizontal:p.map((function(e){return e[1]+o})),vertical:p.map((function(e){return e[0]+i}))}),g=h.horizontal,v=h.vertical;o-=g.offset,i-=v.offset}var m=dr({datas:n,distX:i,distY:o},!0),y=n.nextPoses.slice();if(f.forEach((function(e){y[e]=le(y[e],m)})),!Xt.every((function(e){return t=e.map((function(e){return c[e]})),n=e.map((function(e){return y[e]})),r=no(t[0],t[1],t[2]),i=no(n[0],n[1],n[2]),o=Math.PI,!(r>=o&&i<=o||r<=o&&i>=o);var t,n,r,i,o})))return!1;var b=ke(c[0],c[2],c[1],c[3],y[0],y[2],y[1],y[3]);if(!b.length)return!1;var w=cr(n,ue(a,b,4),!0),S=ue(ie(s,4),w,4);n.prevMatrix=w;var E=ue(l,w,4),x=ur(n,"matrix3d("+E.join(", ")+")","matrix3d("+w.join(", ")+")");return wr(t,x),Fn(e,"onWarp",Ln(e,t,{delta:S,matrix:E,dist:w,multiply:ue,transform:x})),!0},dragControlEnd:function(e,t){var n=t.datas,r=t.isDrag;return!!n.isWarp&&(n.isWarp=!1,Fn(e,"onWarpEnd",Bn(e,t,{})),r)}},io=an("area-pieces"),oo=an("area-piece"),ao=an("avoid");function so(e){var t=e.areaElement,n=e.state,r=n.width,i=n.height;!function(e,t){if(e.classList)e.classList.remove(t);else{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}(t,ao),t.style.cssText+="left: 0px; top: 0px; width: "+r+"px; height: "+i+"px"}function uo(e){return e.createElement("div",{key:"area_pieces",className:io},e.createElement("div",{className:oo}),e.createElement("div",{className:oo}),e.createElement("div",{className:oo}),e.createElement("div",{className:oo}))}var lo={name:"dragArea",props:{dragArea:Boolean,passDragArea:Boolean},events:{onClick:"click",onClickGroup:"clickGroup"},render:function(e,t){var n=e.props,r=n.target,i=n.dragArea,o=n.groupable,a=n.passDragArea,s=e.state,u=s.width,l=s.height,c=s.renderPoses,f=a?an("area","pass"):an("area");if(o)return[t.createElement("div",{key:"area",ref:w(e,"areaElement"),className:f}),uo(t)];if(!r||!i)return[];var d=ke([0,0],[u,0],[0,l],[u,l],c[0],c[1],c[2],c[3]),p=d.length?vn(d,!0):"none";return[t.createElement("div",{key:"area",ref:w(e,"areaElement"),className:f,style:{top:"0px",left:"0px",width:u+"px",height:l+"px",transformOrigin:"0 0",transform:p}}),uo(t)]},dragStart:function(e,t){var n=t.datas,r=t.clientX,i=t.clientY;if(!t.inputEvent)return!1;n.isDragArea=!1;var o,a,s=e.areaElement,u=e.state,l=u.moveableClientRect,c=u.renderPoses,f=u.rootMatrix,d=u.is3d,p=l.left,h=l.top,g=Sn(c),v=g.left,m=g.top,y=g.width,b=g.height,w=qn(f,[r-p,i-h],d?4:3),S=w[0],E=w[1],x=[{left:v,top:m,width:y,height:(E-=m)-10},{left:v,top:m,width:(S-=v)-10,height:b},{left:v,top:m+E+10,width:y,height:b-E-10},{left:v+S+10,top:m,width:y-S-10,height:b}],_=[].slice.call(s.nextElementSibling.children);x.forEach((function(e,t){_[t].style.cssText="left: "+e.left+"px;top: "+e.top+"px; width: "+e.width+"px; height: "+e.height+"px;"})),a=ao,(o=s).classList?o.classList.add(a):o.className+=" "+a,u.disableNativeEvent=!0},drag:function(e,t){var n=t.datas,r=t.inputEvent;if(this.enableNativeEvent(e),!r)return!1;n.isDragArea||(n.isDragArea=!0,so(e))},dragEnd:function(e,t){this.enableNativeEvent(e);var n=t.inputEvent,r=t.datas;if(!n)return!1;r.isDragArea||so(e)},dragGroupStart:function(e,t){return this.dragStart(e,t)},dragGroup:function(e,t){return this.drag(e,t)},dragGroupEnd:function(e,t){return this.dragEnd(e,t)},unset:function(e){so(e),e.state.disableNativeEvent=!1},enableNativeEvent:function(e){var t=e.state;t.disableNativeEvent&&requestAnimationFrame((function(){t.disableNativeEvent=!1}))}},co=Ut("origin",{render:function(e,t){var n=e.props.zoom,r=e.state,i=r.beforeOrigin,o=r.rotation;return[t.createElement("div",{className:an("control","origin"),style:On(o,n,i),key:"beforeOrigin"})]}});function fo(e){var t=e.scrollContainer;return[t.scrollLeft,t.scrollTop]}var po={name:"scrollable",canPinch:!0,props:{scrollable:Boolean,scrollContainer:Object,scrollThreshold:Number,getScrollPosition:Function},events:{onScroll:"scroll",onScrollGroup:"scrollGroup"},dragStart:function(e,t){var n=e.props.scrollContainer,r=void 0===n?e.getContainer():n,i=new mt,o=Xn(r,!0);t.datas.dragScroll=i;var a=t.isControl?"controlGesto":"targetGesto",s=t.targets;i.on("scroll",(function(n){var r=n.container,i=n.direction,o=Ln(e,t,{scrollContainer:r,direction:i}),a=s?"onScrollGroup":"onScroll";s&&(o.targets=s),Fn(e,a,o)})).on("move",(function(n){var r=n.offsetX,i=n.offsetY;e[a].scrollBy(r,i,t.inputEvent,!1)})),i.dragStart(t,{container:o})},checkScroll:function(e,t){var n=t.datas.dragScroll;if(n){var r=e.props,i=r.scrollContainer,o=void 0===i?e.getContainer():i,a=r.scrollThreshold,s=void 0===a?0:a,u=r.getScrollPosition,l=void 0===u?fo:u;return n.drag(t,{container:o,threshold:s,getScrollPosition:function(e){return l({scrollContainer:e.container,direction:e.direction})}}),!0}},drag:function(e,t){return this.checkScroll(e,t)},dragEnd:function(e,t){t.datas.dragScroll.dragEnd(),t.datas.dragScroll=null},dragControlStart:function(e,t){return this.dragStart(e,jt(jt({},t),{isControl:!0}))},dragControl:function(e,t){return this.drag(e,t)},dragControlEnd:function(e,t){return this.dragEnd(e,t)},dragGroupStart:function(e,t){return this.dragStart(e,jt(jt({},t),{targets:e.props.targets}))},dragGroup:function(e,t){return this.drag(e,jt(jt({},t),{targets:e.props.targets}))},dragGroupEnd:function(e,t){return this.dragEnd(e,jt(jt({},t),{targets:e.props.targets}))},dragGroupControlStart:function(e,t){return this.dragStart(e,jt(jt({},t),{targets:e.props.targets,isControl:!0}))},dragGroupContro:function(e,t){return this.drag(e,jt(jt({},t),{targets:e.props.targets}))},dragGroupControEnd:function(e,t){return this.dragEnd(e,jt(jt({},t),{targets:e.props.targets}))}},ho={name:"",props:{target:Object,dragTarget:Object,container:Object,portalContainer:Object,rootContainer:Object,zoom:Number,transformOrigin:Array,edge:Boolean,ables:Array,className:String,pinchThreshold:Number,pinchOutside:Boolean,triggerAblesSimultaneously:Boolean,checkInput:Boolean,cspNonce:String,translateZ:Number,hideDefaultLines:Boolean,props:Object},events:{}},go=Ut("padding",{render:function(e,t){var n=e.props;if(n.dragArea)return[];var r=n.padding||{},i=r.left,o=void 0===i?0:i,a=r.top,s=void 0===a?0:a,u=r.right,l=void 0===u?0:u,c=r.bottom,f=void 0===c?0:c,d=e.state,p=d.renderPoses,h=[d.pos1,d.pos2,d.pos3,d.pos4],g=[];return o>0&&g.push([0,2]),s>0&&g.push([0,1]),l>0&&g.push([1,3]),f>0&&g.push([2,3]),g.map((function(e,n){var r=e[0],i=e[1],o=ke([0,0],[100,0],[0,100],[100,100],h[r],h[i],p[r],p[i]);if(o.length)return t.createElement("div",{key:"padding"+n,className:an("padding"),style:{transform:vn(o,!0)}})}))}}),vo=["nw","ne","se","sw"];function mo(e,t){var n=e[0]+e[1],r=n>t?t/n:1;return e[0]*=r,e[1]=t-e[1]*r,e}var yo=[1,2,5,6],bo=[0,3,4,7],wo=[1,-1,-1,1],So=[1,1,-1,-1];function Eo(e,t,n,r,i,o,a,s,u){void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s=r),void 0===u&&(u=i);var l=[],c=!1,f=e.map((function(e,f){var d=t[f],p=d.horizontal,h=d.vertical;if(h&&!c&&(c=!0,l.push("/")),c){var g=Math.max(0,1===h?e[1]-a:u-e[1]);return l.push(Gn(g,i,n)),g}g=Math.max(0,1===p?e[0]-o:s-e[0]);return l.push(Gn(g,r,n)),g}));return{styles:l,raws:f}}function xo(e){for(var t=[0,0],n=[0,0],r=e.length,i=0;i<r;++i){var o=e[i];o.sub&&(o.horizontal&&(0===t[1]&&(t[0]=i),t[1]=i-t[0]+1,n[0]=i+1),o.vertical&&(0===n[1]&&(n[0]=i),n[1]=i-n[0]+1))}return{horizontalRange:t,verticalRange:n}}function _o(e,t,n,r,i,o){var a,s,u,l;void 0===o&&(o=[0,0]);var c=e.indexOf("/"),f=(c>-1?e.slice(0,c):e).length,d=e.slice(0,f),p=e.slice(f+1),h=d[0],g=void 0===h?"0px":h,v=d[1],m=void 0===v?g:v,y=d[2],b=void 0===y?g:y,w=d[3],S=void 0===w?m:w,E=p[0],x=void 0===E?g:E,_=p[1],k=void 0===_?x:_,C=p[2],O=void 0===C?x:C,M=p[3],D=void 0===M?k:M,T=[g,m,b,S].map((function(e){return U(e,t)})),I=[x,k,O,D].map((function(e){return U(e,n)})),P=T.slice(),R=I.slice();a=mo([P[0],P[1]],t),P[0]=a[0],P[1]=a[1],s=mo([P[3],P[2]],t),P[3]=s[0],P[2]=s[1],u=mo([R[0],R[3]],n),R[0]=u[0],R[3]=u[1],l=mo([R[1],R[2]],n),R[1]=l[0],R[2]=l[1];var A=P.slice(0,Math.max(o[0],d.length)),N=R.slice(0,Math.max(o[1],p.length));return Kt(A.map((function(e,t){var o=vo[t];return{horizontal:wo[t],vertical:0,pos:[r+e,i+(-1===So[t]?n:0)],sub:!0,raw:T[t],direction:o}})),N.map((function(e,n){var o=vo[n];return{horizontal:0,vertical:So[n],pos:[r+(-1===wo[n]?t:0),i+e],sub:!0,raw:I[n],direction:o}})))}function ko(e,t,n,r,i){void 0===i&&(i=t.length);var o=xo(e.slice(r)),a=o.horizontalRange,s=o.verticalRange,u=n-r,l=0;if(0===u)l=i;else if(u>0&&u<a[1])l=a[1]-u;else{if(!(u>=s[0]))return;l=s[0]+s[1]-u}e.splice(n,l),t.splice(n,l)}function Co(e,t,n,r,i,o,a,s,u,l,c){void 0===l&&(l=0),void 0===c&&(c=0);var f=xo(e.slice(n)),d=f.horizontalRange,p=f.verticalRange;if(r>-1)for(var h=1===wo[r]?o-l:s-o,g=d[1];g<=r;++g){var v=1===So[g]?c:u,m=0;if(r===g?m=o:0===g?m=l+h:-1===wo[g]&&(m=s-(t[n][0]-l)),e.splice(n+g,0,{horizontal:wo[g],vertical:0,pos:[m,v]}),t.splice(n+g,0,[m,v]),0===g)break}else if(i>-1){var y=1===So[i]?a-c:u-a;if(0===d[1]&&0===p[1]){var b=[l+y,c];e.push({horizontal:wo[0],vertical:0,pos:b}),t.push(b)}var w=p[0];for(g=p[1];g<=i;++g){m=1===wo[g]?l:s,v=0;if(i===g?v=a:0===g?v=c+y:1===So[g]?v=t[n+w][1]:-1===So[g]&&(v=u-(t[n+w][1]-c)),e.push({horizontal:0,vertical:So[g],pos:[m,v]}),t.push([m,v]),0===g)break}}}function Oo(e,t){return void 0===t&&(t=e.map((function(e){return e.raw}))),{horizontals:e.map((function(e,n){return e.horizontal?t[n]:null})).filter((function(e){return null!=e})),verticals:e.map((function(e,n){return e.vertical?t[n]:null})).filter((function(e){return null!=e}))}}var Mo=[[0,-1,"n"],[1,0,"e"]],Do=[[-1,-1,"nw"],[0,-1,"n"],[1,-1,"ne"],[1,0,"e"],[1,1,"se"],[0,1,"s"],[-1,1,"sw"],[-1,0,"w"]];function To(e,t,n){var r=e.props.clipRelative,i=e.state,o=i.width,a=i.height,s=t,u=s.type,l=s.poses,c="rect"===u,f="circle"===u;if("polygon"===u)return n.map((function(e){return Gn(e[0],o,r)+" "+Gn(e[1],a,r)}));if(c||"inset"===u){var d=n[1][1],p=n[3][0],h=n[7][0],g=n[5][1];if(c)return[d,p,g,h].map((function(e){return e+"px"}));var v=[d,o-p,a-g,h].map((function(e,t){return Gn(e,t%2?o:a,r)}));if(n.length>8){var m=ce(n[4],n[0]),y=m[0],b=m[1];v.push.apply(v,Kt(["round"],Eo(n.slice(8),l.slice(8),r,y,b,h,d,p,g).styles))}return v}if(f||"ellipse"===u){var w=n[0],S=Gn(Math.abs(n[1][1]-w[1]),f?Math.sqrt((o*o+a*a)/2):a,r);return(v=f?[S]:[Gn(Math.abs(n[2][0]-w[0]),o,r),S]).push("at",Gn(w[0],o,r),Gn(w[1],a,r)),v}}function Io(e,t,n,r){var i=[r,(r+t)/2,t],o=[e,(e+n)/2,n];return Do.map((function(e){var t=e[0],n=e[1],r=e[2],a=i[t+1],s=o[n+1];return{vertical:Math.abs(n),horizontal:Math.abs(t),direction:r,pos:[a,s]}}))}function Po(e,t,n,r,i){var o,a,s,u,l,c,f,d=i;if(!d){var p=zn(e),h=p.clipPath;d="none"!==h?h:p.clip}if(d&&"none"!==d&&"auto"!==d||(d=r)){var g=L(d),v=g.prefix,m=void 0===v?d:v,y=g.value,b=void 0===y?"":y,w="circle"===m,S=" ";if("polygon"===m){S=",";var E=(O=N(b||"0% 0%, 100% 0%, 100% 100%, 0% 100%")).map((function(e){var r=e.split(" "),i=r[0],o=r[1];return{vertical:1,horizontal:1,pos:[U(i,t),U(o,n)]}}));return{type:m,clipText:d,poses:E,splitter:S}}if(w||"ellipse"===m){var x="",_="",k=0,C=0,O=A(b);if(w){var M;M=void 0===(o=O[0])?"50%":o,x=void 0===(a=O[2])?"50%":a,_=void 0===(s=O[3])?"50%":s,k=U(M,Math.sqrt((t*t+n*n)/2)),C=k}else{var D,T;D=void 0===(u=O[0])?"50%":u,T=void 0===(l=O[1])?"50%":l,x=void 0===(c=O[3])?"50%":c,_=void 0===(f=O[4])?"50%":f,k=U(D,t),C=U(T,n)}var I=[U(x,t),U(_,n)];E=Kt([{vertical:1,horizontal:1,pos:I,direction:"nesw"}],Mo.slice(0,w?1:2).map((function(e){return{vertical:Math.abs(e[1]),horizontal:e[0],direction:e[2],sub:!0,pos:[I[0]+e[0]*k,I[1]+e[1]*C]}})));return{type:m,clipText:d,radiusX:k,radiusY:C,left:I[0]-k,top:I[1]-C,poses:E,splitter:S}}if("inset"===m){var P=(O=A(b||"0 0 0 0")).indexOf("round"),R=(P>-1?O.slice(0,P):O).length,F=O.slice(R+1),z=O.slice(0,R),j=z[0],K=z[1],q=void 0===K?j:K,W=z[2],H=void 0===W?j:W,G=z[3],Y=void 0===G?q:G,V=[j,H].map((function(e){return U(e,n)})),$=V[0],X=V[1],Q=[Y,q].map((function(e){return U(e,t)})),Z=Q[0],J=Q[1],ee=t-J,te=n-X,ne=_o(F,ee-Z,te-$,Z,$);return{type:"inset",clipText:d,poses:E=Kt(Io($,ee,te,Z),ne),top:$,left:Z,right:ee,bottom:te,radius:F,splitter:S}}if("rect"===m){S=",";var re=(O=N(b||"0px, "+t+"px, "+n+"px, 0px")).map((function(e){return B(e).value}));return{type:"rect",clipText:d,poses:E=Io($=re[0],J=re[1],X=re[2],Z=re[3]),top:$,right:J,bottom:X,left:Z,values:O,splitter:S}}}}var Ro={name:"clippable",props:{clippable:Boolean,defaultClipPath:String,customClipPath:String,clipRelative:Boolean,clipArea:Boolean,dragWithClip:Boolean,clipTargetBounds:Boolean,clipVerticalGuidelines:Array,clipHorizontalGuidelines:Array,clipSnapThreshold:Boolean},events:{onClipStart:"clipStart",onClip:"clip",onClipEnd:"clipEnd"},css:[".control.clip-control {\n background: #6d6;\n cursor: pointer;\n}\n.control.clip-control.clip-radius {\n background: #d66;\n}\n.line.clip-line {\n background: #6e6;\n cursor: move;\n z-index: 1;\n}\n.clip-area {\n position: absolute;\n top: 0;\n left: 0;\n}\n.clip-ellipse {\n position: absolute;\n cursor: move;\n border: 1px solid #6d6;\n border: var(--zoompx) solid #6d6;\n border-radius: 50%;\n transform-origin: 0px 0px;\n}",":host {\n --bounds-color: #d66;\n}",".guideline {\n pointer-events: none;\n z-index: 2;\n}",".line.guideline.bounds {\n background: #d66;\n background: var(--bounds-color);\n}"],render:function(e,t){var n=e.props,r=n.customClipPath,i=n.defaultClipPath,o=n.clipArea,a=n.zoom,s=e.state,u=s.target,l=s.width,c=s.height,f=s.allMatrix,d=s.is3d,p=s.left,h=s.top,g=s.pos1,v=s.pos2,m=s.pos3,y=s.pos4,b=s.clipPathState,w=s.snapBoundInfos;if(!u)return[];var S=Po(u,l,c,i||"inset",b||r);if(!S)return[];var E=d?4:3,x=S.type,_=S.poses.map((function(e){var t=bn(f,e.pos,E);return[t[0]-p,t[1]-h]})),k=[],C=[],O="rect"===x,M="inset"===x,D="polygon"===x;if(O||M||D){var T=M?_.slice(0,8):_;C=T.map((function(e,n){var r=0===n?T[T.length-1]:T[n-1],i=G(r,e),o=kn(r,e);return t.createElement("div",{key:"clipLine"+n,className:an("line","clip-line","snap-control"),"data-clip-index":n,style:{width:o+"px",transform:"translate("+r[0]+"px, "+r[1]+"px) rotate("+i+"rad) scaleY("+a+")"}})}))}if(k=_.map((function(e,n){return t.createElement("div",{key:"clipControl"+n,className:an("control","clip-control","snap-control"),"data-clip-index":n,style:{transform:"translate("+e[0]+"px, "+e[1]+"px) scale("+a+")"}})})),M&&k.push.apply(k,_.slice(8).map((function(e,n){return t.createElement("div",{key:"clipRadiusControl"+n,className:an("control","clip-control","clip-radius","snap-control"),"data-clip-index":8+n,style:{transform:"translate("+e[0]+"px, "+e[1]+"px) scale("+a+")"}})}))),"circle"===x||"ellipse"===x){var I=S.left,P=S.top,R=S.radiusX,A=S.radiusY,N=ce(bn(f,[I,P],E),bn(f,[0,0],E)),L=N[0],B=N[1],F="none";if(!o){for(var z=Math.max(10,R/5,A/5),j=[],K=0;K<=z;++K){var U=2*Math.PI/z*K;j.push([R+(R-a)*Math.cos(U),A+(A-a)*Math.sin(U)])}j.push([R,-2]),j.push([-2,-2]),j.push([-2,2*A+2]),j.push([2*R+2,2*A+2]),j.push([2*R+2,-2]),j.push([R,-2]),F="polygon("+j.map((function(e){return e[0]+"px "+e[1]+"px"})).join(", ")+")"}k.push(t.createElement("div",{key:"clipEllipse",className:an("clip-ellipse","snap-control"),style:{width:2*R+"px",height:2*A+"px",clipPath:F,transform:"translate("+(-p+L)+"px, "+(-h+B)+"px) "+vn(f)}}))}if(o){var q=Sn(Kt([g,v,m,y],_)),W=q.width,H=q.height,Y=q.left,V=q.top;if(D||O||M){j=M?_.slice(0,8):_;k.push(t.createElement("div",{key:"clipArea",className:an("clip-area","snap-control"),style:{width:W+"px",height:H+"px",transform:"translate("+Y+"px, "+V+"px)",clipPath:"polygon("+j.map((function(e){return e[0]-Y+"px "+(e[1]-V)+"px"})).join(", ")+")"}}))}}return w&&["vertical","horizontal"].forEach((function(e){var n=w[e],r="horizontal"===e;n.isSnap&&C.push.apply(C,n.snap.posInfos.map((function(n,i){var o=n.pos,s=ce(bn(f,r?[0,o]:[o,0],E),[p,h]),u=ce(bn(f,r?[l,o]:[o,c],E),[p,h]);return Ri(t,"",s,u,a,"clip"+e+"snap"+i,"guideline")}))),n.isBound&&C.push.apply(C,n.bounds.map((function(n,i){var o=n.pos,s=ce(bn(f,r?[0,o]:[o,0],E),[p,h]),u=ce(bn(f,r?[l,o]:[o,c],E),[p,h]);return Ri(t,"",s,u,a,"clip"+e+"bounds"+i,"guideline","bounds","bold")})))})),Kt(k,C)},dragControlCondition:function(e,t){return t.inputEvent&&(t.inputEvent.target.getAttribute("class")||"").indexOf("clip")>-1},dragStart:function(e,t){var n=e.props.dragWithClip;return!(void 0===n||n)&&this.dragControlStart(e,t)},drag:function(e,t){return this.dragControl(e,t)},dragEnd:function(e,t){return this.dragControlEnd(e,t)},dragControlStart:function(e,t){var n=e.state,r=e.props,i=r.defaultClipPath,o=r.customClipPath,a=n.target,s=n.width,u=n.height,l=t.inputEvent?t.inputEvent.target:null,c=l?l.getAttribute("class"):"",f=t.datas,d=Po(a,s,u,i||"inset",o);if(!d)return!1;var p=d.clipText;return!1===Fn(e,"onClipStart",Ln(e,t,{clipType:d.type,clipStyle:p,poses:d.poses.map((function(e){return e.pos}))}))?(f.isClipStart=!1,!1):(f.isControl=c.indexOf("clip-control")>-1,f.isLine=c.indexOf("clip-line")>-1,f.isArea=c.indexOf("clip-area")>-1||c.indexOf("clip-ellipse")>-1,f.index=l?parseInt(l.getAttribute("data-clip-index"),10):-1,f.clipPath=d,f.isClipStart=!0,n.clipPathState=p,ar(e,t),!0)},dragControl:function(e,t){var n=t.datas,r=t.originalDatas;if(!n.isClipStart)return!1;var i=r&&r.draggable||{},o=n,a=o.isControl,s=o.isLine,u=o.isArea,l=o.index,c=o.clipPath;if(!c)return!1;var f=i.isDrag?i.prevDist:dr(t),d=f[0],p=f[1],h=e.props,g=e.state,v=g.width,m=g.height,y=!u&&!a&&!s,b=c.type,w=c.poses,S=c.splitter,E=w.map((function(e){return e.pos}));y&&(d=-d,p=-p);var x=!a||"nesw"===w[l].direction,_="inset"===b||"rect"===b,k=w.map((function(){return[0,0]}));if(a&&!x){var C=w[l],O=C.horizontal,M=C.vertical,D=[d*Math.abs(O),p*Math.abs(M)];k=function(e,t,n,r){var i=e[t],o=i.direction,a=i.sub,s=e.map((function(){return[0,0]})),u=o?o.split(""):[];if(r&&t<8){var l=u.filter((function(e){return"w"===e||"e"===e}))[0],c=u.filter((function(e){return"n"===e||"s"===e}))[0];s[t]=n,e.forEach((function(e,t){var r=e.direction;r&&(r.indexOf(l)>-1&&(s[t][0]=n[0]),r.indexOf(c)>-1&&(s[t][1]=n[1]))})),l&&(s[1][0]=n[0]/2,s[5][0]=n[0]/2),c&&(s[3][1]=n[1]/2,s[7][1]=n[1]/2)}else o&&!a?u.forEach((function(t){var r="n"===t||"s"===t;e.forEach((function(e,i){var o=e.direction,a=e.horizontal,u=e.vertical;o&&-1!==o.indexOf(t)&&(s[i]=[r||!a?0:n[0],r&&u?n[1]:0])}))})):s[t]=n;return s}(w,l,D,_)}else x&&(k=E.map((function(){return[d,p]})));var T=E.map((function(e,t){return le(e,k[t])})),I=Kt(T);g.snapBoundInfos=null;var P="circle"===c.type,R="ellipse"===c.type;if(P||R){var A=Sn(T),N=Math.abs(A.bottom-A.top),L=Math.abs(R?A.right-A.left:N),B=T[0][1]+N,F=T[0][0]-L,z=T[0][0]+L;P&&(I.push([z,A.bottom]),k.push([1,0])),I.push([A.left,B]),k.push([0,1]),I.push([F,A.bottom]),k.push([1,0])}var j=Ar((h.clipHorizontalGuidelines||[]).map((function(e){return U(""+e,m)})),(h.clipVerticalGuidelines||[]).map((function(e){return U(""+e,v)})),v,m),K=[],q=[];if(P||R)K=[I[4][0],I[2][0]],q=[I[1][1],I[3][1]];else if(_){var W=[I[0],I[2],I[4],I[6]],H=[k[0],k[2],k[4],k[6]];K=W.filter((function(e,t){return H[t][0]})).map((function(e){return e[0]})),q=W.filter((function(e,t){return H[t][1]})).map((function(e){return e[1]}))}else K=I.filter((function(e,t){return k[t][0]})).map((function(e){return e[0]})),q=I.filter((function(e,t){return k[t][1]})).map((function(e){return e[1]}));for(var G=[0,0],Y=function(e){var t=gi(j,h.clipTargetBounds&&{left:0,top:0,right:v,bottom:m},K,q,5),n=t.horizontal,r=t.vertical,i=n.offset,o=r.offset;if(n.isBound&&(G[1]+=i),r.isBound&&(G[0]+=o),!R&&!P||0!==k[0][0]||0!==k[0][1])return I.forEach((function(e,t){var n=k[t];n[0]&&(e[0]-=o),n[1]&&(e[1]-=i)})),"break";var a=Sn(T),s=a.bottom-a.top,u=R?a.right-a.left:s;u-=r.isBound?Math.abs(o):0===r.snapIndex?-o:o,s-=n.isBound?Math.abs(i):0===n.snapIndex?-i:i,P&&(u=s=qr(r,n)>0?s:u);var l=I[0];I[1][1]=l[1]-s,I[2][0]=l[0]+u,I[3][1]=l[1]+s,I[4][0]=l[0]-u},V=0;V<2;++V){if("break"===Y())break}var $=To(e,c,T),X=b+"("+$.join(S)+")";if(g.clipPathState=X,P||R)K=[I[4][0],I[2][0]],q=[I[1][1],I[3][1]];else if(_){W=[I[0],I[2],I[4],I[6]];K=W.map((function(e){return e[0]})),q=W.map((function(e){return e[1]}))}else K=I.map((function(e){return e[0]})),q=I.map((function(e){return e[1]}));return g.snapBoundInfos=gi(j,h.clipTargetBounds&&{left:0,top:0,right:v,bottom:m},K,q,1),r.draggable&&(r.draggable.deltaOffset=G),Fn(e,"onClip",Ln(e,t,{clipEventType:"changed",clipType:b,poses:T,clipStyle:X,clipStyles:$,distX:d,distY:p})),!0},dragControlEnd:function(e,t){this.unset(e);var n=t.isDrag,r=t.datas,i=t.isDouble,o=r.isLine,a=r.isClipStart,s=r.isControl;return!!a&&(Fn(e,"onClipEnd",Bn(e,t,{})),i&&(s?function(e,t){var n=t.datas,r=n.clipPath,i=n.index,o=r,a=o.type,s=o.poses,u=o.splitter,l=s.map((function(e){return e.pos})),c=l.length;if("polygon"===a)s.splice(i,1),l.splice(i,1);else{if("inset"!==a)return;if(i<8)return;if(ko(s,l,i,8,c),c===s.length)return}var f=To(e,r,l);Fn(e,"onClip",Ln(e,t,{clipEventType:"removed",clipType:a,poses:l,clipStyles:f,clipStyle:a+"("+f.join(u)+")",distX:0,distY:0}))}(e,t):o&&function(e,t){var n=or(e,t),r=n[0],i=n[1],o=t.datas,a=o.clipPath,s=o.index,u=a,l=u.type,c=u.poses,f=u.splitter,d=c.map((function(e){return e.pos}));if("polygon"===l)d.splice(s,0,[r,i]);else{if("inset"!==l)return;var p=yo.indexOf(s),h=bo.indexOf(s),g=c.length;if(Co(c,d,8,p,h,r,i,d[4][0],d[4][1],d[0][0],d[0][1]),g===c.length)return}var v=To(e,a,d);Fn(e,"onClip",Ln(e,t,{clipEventType:"added",clipType:l,poses:d,clipStyles:v,clipStyle:l+"("+v.join(f)+")",distX:0,distY:0}))}(e,t)),i||n)},unset:function(e){e.state.clipPathState="",e.state.snapBoundInfos=null}},Ao={name:"originDraggable",props:{originDraggable:Boolean,originRelative:Boolean},events:{onDragOriginStart:"dragOriginStart",onDragOrigin:"dragOrigin",onDragOriginEnd:"dragOriginEnd"},css:[":host[data-able-origindraggable] .control.origin {\n pointer-events: auto;\n}"],dragControlCondition:function(e,t){return t.isRequest?"originDraggable"===t.requestAble:Q(t.inputEvent.target,an("origin"))},dragControlStart:function(e,t){var n=t.datas;ar(e,t);var r=Ln(e,t,{dragStart:Di.dragStart(e,(new tr).dragStart([0,0],t))}),i=Fn(e,"onDragOriginStart",r);return n.startOrigin=e.state.transformOrigin,n.startTargetOrigin=e.state.targetOrigin,n.prevOrigin=[0,0],n.isDragOrigin=!0,!1===i?(n.isDragOrigin=!1,!1):r},dragControl:function(e,t){var n=t.datas,r=t.isPinch,i=t.isRequest;if(!n.isDragOrigin)return!1;var o=dr(t),a=o[0],s=o[1],u=e.state,l=u.width,c=u.height,f=u.offsetMatrix,d=u.targetMatrix,p=u.is3d,h=e.props.originRelative,g=void 0===h||h,v=p?4:3,m=[a,s];if(i){var y=t.distOrigin;(y[0]||y[1])&&(m=y)}var b=le(n.startOrigin,m),w=le(n.startTargetOrigin,m),S=ce(m,n.prevOrigin),E=vr(f,d,b,v),x=e.getRect(),_=Sn(wn(E,l,c,v)),k=[x.left-_.left,x.top-_.top];n.prevOrigin=m;var C=Ln(e,t,{width:l,height:c,origin:b,dist:m,delta:S,transformOrigin:[Gn(w[0],l,g),Gn(w[1],c,g)].join(" "),drag:Di.drag(e,er(t,e.state,k,!!r,!1))});return Fn(e,"onDragOrigin",C),C},dragControlEnd:function(e,t){return!!t.datas.isDragOrigin&&(Fn(e,"onDragOriginEnd",Bn(e,t,{})),!0)},dragGroupControlCondition:function(e,t){return this.dragControlCondition(e,t)},dragGroupControlStart:function(e,t){return!!this.dragControlStart(e,t)},dragGroupControl:function(e,t){var n=this.dragControl(e,t);return!!n&&(e.transformOrigin=n.transformOrigin,!0)},request:function(e){var t={},n=e.getRect(),r=0,i=0,o=n.transformOrigin,a=[0,0];return{isControl:!0,requestStart:function(){return{datas:t}},request:function(e){return"deltaOrigin"in e?(a[0]+=e.deltaOrigin[0],a[1]+=e.deltaOrigin[1]):"origin"in e?(a[0]=e.origin[0]-o[0],a[1]=e.origin[1]-o[1]):("x"in e?r=e.x-n.left:"deltaX"in e&&(r+=e.deltaX),"y"in e?i=e.y-n.top:"deltaY"in e&&(i+=e.deltaY)),{datas:t,distX:r,distY:i,distOrigin:a}},requestEnd:function(){return{datas:t,isDrag:!0}}}}};function No(e,t,n,r,i){var o;void 0===r&&(r=[0,0]);if(i)o=i;else{var a=zn(e);o=a&&a.borderRadius||""}return _o(!o||!i&&"0px"===o?[]:A(o),t,n,0,0,r)}function Lo(e,t,n,r,i,o){var a=e.state,s=a.width,u=a.height,l=Eo(o,i,e.props.roundRelative,s,u),c=l.raws,f=l.styles,d=Oo(i,c),p=d.horizontals,h=d.verticals,g=f.join(" ");a.borderRadiusState=g,Fn(e,"onRound",Ln(e,t,{horizontals:p,verticals:h,borderRadius:g,width:s,height:u,delta:r,dist:n}))}var Bo={name:"roundable",props:{roundable:Boolean,roundRelative:Boolean,minRoundControls:Array,maxRoundControls:Array,roundClickable:Boolean},events:{onRoundStart:"roundStart",onRound:"round",onRoundEnd:"roundEnd"},css:[".control.border-radius {\n background: #d66;\n cursor: pointer;\n}",":host[data-able-roundable] .line.direction {\n cursor: pointer;\n}"],render:function(e,t){var n=e.state,r=n.target,i=n.width,o=n.height,a=n.allMatrix,s=n.is3d,u=n.left,l=n.top,c=n.borderRadiusState,f=e.props,d=f.minRoundControls,p=void 0===d?[0,0]:d,h=f.maxRoundControls,g=void 0===h?[4,4]:h,v=f.zoom;if(!r)return null;var m=s?4:3,y=No(r,i,o,p,c);if(!y)return null;var b=0,w=0;return y.map((function(e,n){w+=Math.abs(e.horizontal),b+=Math.abs(e.vertical);var r=ce(bn(a,e.pos,m),[u,l]),i=e.vertical?b<=g[1]:w<=g[0];return t.createElement("div",{key:"borderRadiusControl"+n,className:an("control","border-radius"),"data-radius-index":n,style:{display:i?"block":"none",transform:"translate("+r[0]+"px, "+r[1]+"px) scale("+v+")"}})}))},dragControlCondition:function(e,t){if(!t.inputEvent||t.isRequest)return!1;var n=t.inputEvent.target.getAttribute("class")||"";return n.indexOf("border-radius")>-1||n.indexOf("moveable-line")>-1&&n.indexOf("moveable-direction")>-1},dragControlStart:function(e,t){var n=t.inputEvent,r=t.datas,i=n.target,o=i.getAttribute("class")||"",a=o.indexOf("border-radius")>-1,s=o.indexOf("moveable-line")>-1&&o.indexOf("moveable-direction")>-1,u=a?parseInt(i.getAttribute("data-radius-index"),10):-1,l=s?parseInt(i.getAttribute("data-line-index"),10):-1;if(!a&&!s)return!1;if(!1===Fn(e,"onRoundStart",Ln(e,t,{})))return!1;r.lineIndex=l,r.controlIndex=u,r.isControl=a,r.isLine=s,ar(e,t);var c=e.props,f=c.roundRelative,d=c.minRoundControls,p=void 0===d?[0,0]:d,h=e.state,g=h.target,v=h.width,m=h.height;r.isRound=!0,r.prevDist=[0,0];var y=No(g,v,m,p)||[];return r.controlPoses=y,h.borderRadiusState=Eo(y.map((function(e){return e.pos})),y,f,v,m).styles.join(" "),!0},dragControl:function(e,t){var n=t.datas;if(!n.isRound||!n.isControl||!n.controlPoses.length)return!1;var r=n.controlIndex,i=n.controlPoses,o=dr(t),a=o[0],s=o[1],u=[a,s],l=ce(u,n.prevDist),c=e.props.maxRoundControls,f=void 0===c?[4,4]:c,d=e.state,p=d.width,h=d.height,g=i[r],v=g.vertical,m=g.horizontal,y=i.map((function(e){var t=e.horizontal,n=e.vertical,r=[t*m*u[0],n*v*u[1]];if(t){if(1===f[0])return r;if(f[0]<4&&t!==m)return r}else{if(0===f[1])return r[1]=n*m*u[0]/p*h,r;if(v){if(1===f[1])return r;if(f[1]<4&&n!==v)return r}}return[0,0]}));y[r]=u;var b=i.map((function(e,t){return le(e.pos,y[t])}));return n.prevDist=[a,s],Lo(e,t,u,l,i,b),!0},dragControlEnd:function(e,t){var n=e.state;n.borderRadiusState="";var r=t.datas,i=t.isDouble;if(!r.isRound)return!1;var o=n.width,a=n.height,s=r.isControl,u=r.controlIndex,l=r.isLine,c=r.lineIndex,f=r.controlPoses,d=f.map((function(e){return e.pos})),p=d.length,h=e.props.roundClickable;if(i&&(void 0===h||h)){if(s)ko(f,d,u,0);else if(l){var g=or(e,t);!function(e,t,n,r,i,o,a){var s=Oo(e),u=s.horizontals,l=s.verticals,c=u.length,f=l.length,d=-1,p=-1;0===n?0===c?d=0:1===c&&(d=1):3===n&&(c<=2?d=2:c<=3&&(d=3)),2===n?0===f?p=0:f<4&&(p=3):1===n&&(f<=1?p=1:f<=2&&(p=2)),Co(e,t,0,d,p,r,i,o,a)}(f,d,c,g[0],g[1],o,a)}p!==f.length&&Lo(e,t,[0,0],[0,0],f,d)}return Fn(e,"onRoundEnd",Bn(e,t,{})),n.borderRadiusState="",!0},unset:function(e){e.state.borderRadiusState=""}},Fo={isPinch:!0,name:"beforeRenderable",props:{},events:{onBeforeRenderStart:"beforeRenderStart",onBeforeRender:"beforeRender",onBeforeRenderEnd:"beforeRenderEnd",onBeforeRenderGroupStart:"beforeRenderGroupStart",onBeforeRenderGroup:"beforeRenderGroup",onBeforeRenderGroupEnd:"beforeRenderGroupEnd"},setTransform:function(e,t){var n=e.state,r=n.is3d,i=n.target,o=n.targetMatrix,a=null==i?void 0:i.style.transform,s=r?"matrix3d("+o.join(",")+")":"matrix("+fe(o,!0)+")";t.datas.startTransforms=a&&"none"!==a?A(a):[s]},resetTransform:function(e,t){t.datas.nextTransforms=t.datas.startTransforms,t.datas.nextTransformAppendedIndexes=[]},fillDragStartParams:function(e,t){return Ln(e,t,{setTransform:function(e){t.datas.startTransforms=M(e)?e:A(e)},isPinch:!!t.isPinch})},fillDragParams:function(e,t){return Ln(e,t,{isPinch:!!t.isPinch})},dragStart:function(e,t){this.setTransform(e,t),Fn(e,"onBeforeRenderStart",this.fillDragStartParams(e,t))},drag:function(e,t){this.resetTransform(e,t),Fn(e,"onBeforeRender",Ln(e,t,{isPinch:!!t.isPinch}))},dragEnd:function(e,t){Fn(e,"onBeforeRenderEnd",Ln(e,t,{isPinch:!!t.isPinch,isDrag:t.isDrag}))},dragGroupStart:function(e,t){var n=this;this.dragStart(e,t);var r=nr(e,"beforeRenderable",t),i=e.moveables,o=r.map((function(e,t){var r=i[t];return n.setTransform(r,e),n.fillDragStartParams(r,e)}));Fn(e,"onBeforeRenderGroupStart",Ln(e,t,{isPinch:!!t.isPinch,targets:e.props.targets,setTransform:function(){},events:o}))},dragGroup:function(e,t){var n=this;this.drag(e,t);var r=nr(e,"beforeRenderable",t),i=e.moveables,o=r.map((function(e,t){var r=i[t];return n.resetTransform(r,e),n.fillDragParams(r,e)}));Fn(e,"onBeforeRenderGroup",Ln(e,t,{isPinch:!!t.isPinch,targets:e.props.targets,events:o}))},dragGroupEnd:function(e,t){this.dragEnd(e,t),Fn(e,"onBeforeRenderGroupEnd",Ln(e,t,{isPinch:!!t.isPinch,isDrag:t.isDrag,targets:e.props.targets}))},dragControlStart:function(e,t){return this.dragStart(e,t)},dragControl:function(e,t){return this.drag(e,t)},dragControlEnd:function(e,t){return this.dragEnd(e,t)},dragGroupControlStart:function(e,t){return this.dragGroupStart(e,t)},dragGroupControl:function(e,t){return this.dragGroup(e,t)},dragGroupControlEnd:function(e,t){return this.dragGroupEnd(e,t)}},zo={name:"renderable",props:{},events:{onRenderStart:"renderStart",onRender:"render",onRenderEnd:"renderEnd",onRenderGroupStart:"renderGroupStart",onRenderGroup:"renderGroup",onRenderGroupEnd:"renderGroupEnd"},dragStart:function(e,t){Fn(e,"onRenderStart",Ln(e,t,{isPinch:!!t.isPinch}))},drag:function(e,t){Fn(e,"onRender",Ln(e,t,{isPinch:!!t.isPinch}))},dragEnd:function(e,t){Fn(e,"onRenderEnd",Ln(e,t,{isPinch:!!t.isPinch,isDrag:t.isDrag}))},dragGroupStart:function(e,t){Fn(e,"onRenderGroupStart",Ln(e,t,{isPinch:!!t.isPinch,targets:e.props.targets}))},dragGroup:function(e,t){Fn(e,"onRenderGroup",Ln(e,t,{isPinch:!!t.isPinch,targets:e.props.targets}))},dragGroupEnd:function(e,t){Fn(e,"onRenderGroupEnd",Ln(e,t,{isPinch:!!t.isPinch,isDrag:t.isDrag,targets:e.props.targets}))},dragControlStart:function(e,t){return this.dragStart(e,t)},dragControl:function(e,t){return this.drag(e,t)},dragControlEnd:function(e,t){return this.dragEnd(e,t)},dragGroupControlStart:function(e,t){return this.dragGroupStart(e,t)},dragGroupControl:function(e,t){return this.dragGroup(e,t)},dragGroupControlEnd:function(e,t){return this.dragGroupEnd(e,t)}};function jo(e,t,n,r,i,o,a){var s="Start"===i,u=e.state.target,l=o.isRequest;if(!u||s&&r.indexOf("Control")>-1&&!l&&e.areaElement===o.inputEvent.target)return!1;var c=""+n+r+i,f=""+n+r+"Condition",d="End"===i,p=i.indexOf("After")>-1,h=s&&(!e.targetGesto||!e.controlGesto||!e.targetGesto.isFlag()||!e.controlGesto.isFlag());h&&e.updateRect(i,!0,!1),""!==i||p||l||Wn(e.state,o);var g=Kt([Fo],e[t],[zo]);if(l){var v=o.requestAble;g.some((function(e){return e.name===v}))||g.push.apply(g,e.props.ables.filter((function(e){return e.name===v})))}if(!g.length)return!1;var m=g.filter((function(e){return e[c]})),y=o.datas;h&&m.forEach((function(t){t.unset&&t.unset(e)}));var b,w=o.inputEvent;d&&w&&(b=document.elementFromPoint(o.clientX,o.clientY)||w.target);var S=m.filter((function(t){var n=t.name,r=y[n]||(y[n]={});return s&&(r.isEventStart=!t[f]||t[f](e,o)),!!r.isEventStart&&t[c](e,jt(jt({},o),{datas:r,originalDatas:y,inputTarget:b}))})).length,E=s&&m.length&&!S;return(d||E)&&(e.state.gesto=null,e.moveables&&e.moveables.forEach((function(e){e.state.gesto=null}))),h&&E&&m.forEach((function(t){t.unset&&t.unset(e)})),!e.isUnmounted&&!E&&((!s&&S&&!a||d)&&(e.updateRect(i,!0,!1),e.forceUpdate()),s||d||p||!S||a||jo(e,t,n,r,i+"After",o),!0)}function Ko(e,t,n){var r=e.controlBox.getElement(),i=[];i.push(r),e.props.dragArea&&!e.props.dragTarget||i.push(t);var o=function(t){var n=t.inputEvent.target;return n===e.areaElement||!e.isMoveableElement(n)||Q(n,"moveable-area")||Q(n,"moveable-padding")};return Uo(e,i,"targetAbles",n,{dragStart:o,pinchStart:o})}function Uo(e,t,n,r,i){void 0===i&&(i={});var o=e.props,a=o.pinchOutside,s=o.pinchThreshold,u={container:window,pinchThreshold:s,pinchOutside:a},l=new Dt(t,u);return["drag","pinch"].forEach((function(t){["Start","","End"].forEach((function(o){l.on(""+t+o,(function(a){var s=a.eventType;!i[s]||i[s](a)?jo(e,n,t,r,o,a)||a.stop():a.stop()}))}))})),l}var qo=function(){function EventManager(e,t,n){var r=this;this.target=e,this.moveable=t,this.eventName=n,this.ables=[],this.onEvent=function(e){var t=r.eventName,n=r.moveable;n.state.disableNativeEvent||r.ables.forEach((function(r){r[t](n,{inputEvent:e})}))},this.target.addEventListener(this.eventName.toLowerCase(),this.onEvent)}var e=EventManager.prototype;return e.setAbles=function(e){this.ables=e},e.destroy=function(){this.target.removeEventListener(this.eventName.toLowerCase(),this.onEvent),this.target=null,this.moveable=null},EventManager}(),Wo=function(e){function MoveableManager(){var t=null!==e&&e.apply(this,arguments)||this;return t.state=jt({container:null,gesto:null,renderPoses:[[0,0],[0,0],[0,0],[0,0]],disableNativeEvent:!1},Tn(null)),t.enabledAbles=[],t.targetAbles=[],t.controlAbles=[],t.rotation=0,t.scale=[1,1],t.isUnmounted=!1,t.events={mouseEnter:null,mouseLeave:null},t.onPreventClick=function(e){e.stopPropagation(),J(window,"click",t.onPreventClick,!0)},t}zt(MoveableManager,e);var t=MoveableManager.prototype;return t.render=function(){var e=this.props,t=this.state,n=e.parentPosition,r=e.className,i=e.target,o=e.zoom,a=e.cspNonce,s=e.translateZ,u=e.cssStyled,l=e.portalContainer;this.checkUpdate(),this.updateRenderPoses();var c=n||{left:0,top:0},f=c.left,d=c.top,p=t.left,h=t.top,g=t.target,v=t.direction,m=e.targets,y=(m&&m.length||i)&&g,b=this.isDragging(),S={};return this.getEnabledAbles().forEach((function(e){S["data-able-"+e.name.toLowerCase()]=!0})),(0,yt.createElement)(u,jt({cspNonce:a,ref:w(this,"controlBox"),className:an("control-box",-1===v?"reverse":"",b?"dragging":"")+" "+r},S,{onClick:this.onPreventClick,portalContainer:l,style:{position:"absolute",display:y?"block":"none",transform:"translate3d("+(p-f)+"px, "+(h-d)+"px, "+s+")","--zoom":o,"--zoompx":o+"px"}}),this.renderAbles(),this._renderLines())},t.componentDidMount=function(){this.controlBox.getElement();var e=this.props,t=e.parentMoveable,n=e.container,r=e.wrapperMoveable;this.updateEvent(e),this.updateNativeEvents(e),n||t||r||this.updateRect("",!1,!0),this.updateCheckInput()},t.componentDidUpdate=function(e){this.updateNativeEvents(e),this.updateEvent(e),this.updateCheckInput()},t.componentWillUnmount=function(){this.isUnmounted=!0,Nn(this,"targetGesto"),Nn(this,"controlGesto");var e=this.events;for(var t in e){var n=e[t];n&&n.destroy()}},t.getContainer=function(){var e=this.props,t=e.parentMoveable,n=e.wrapperMoveable;return e.container||n&&n.getContainer()||t&&t.getContainer()||this.controlBox.getElement().parentElement},t.isMoveableElement=function(e){return e&&(e.getAttribute("class")||"").indexOf(Vt)>-1},t.dragStart=function(e){return this.targetGesto&&this.targetGesto.triggerDragStart(e),this},t.hitTest=function(e){var t,n=this.state,r=n.target,i=n.pos1,o=n.pos2,a=n.pos3,s=n.pos4,u=n.targetClientRect;if(!r)return 0;if(e instanceof Element){var l=e.getBoundingClientRect();t={left:l.left,top:l.top,width:l.width,height:l.height}}else t=jt({width:0,height:0},e);var c=t.left,f=t.top,d=t.width,p=t.height,h=at([i,o,s,a],u),g=pt(h,[[c,f],[c+d,f],[c+d,f+p],[c,f+p]]),v=ot(h);return g&&v?Math.min(100,g/v*100):0},t.isInside=function(e,t){var n=this.state,r=n.target,i=n.pos1,o=n.pos2,a=n.pos3,s=n.pos4,u=n.targetClientRect;return!!r&&ut([e,t],at([i,o,s,a],u))},t.updateRect=function(e,t,n){void 0===n&&(n=!0);var r=this.props,i=r.parentMoveable,o=this.state.target||this.props.target,a=this.getContainer(),s=i?i.props.rootContainer:r.rootContainer;this.updateState(Tn(this.controlBox&&this.controlBox.getElement(),o,a,a,s||a),!i&&n)},t.isTargetChanged=function(e,t){var n=this.props,r=n.dragTarget||n.target,i=e.dragTarget||e.target,o=n.dragArea,a=e.dragArea;return!o&&i!==r||(t||o)&&a!==o},t.updateNativeEvents=function(e){var t=this,n=this.props.dragArea?this.areaElement:this.state.target,r=this.events,i=K(r);if(this.isTargetChanged(e))for(var o in r){var a=r[o];a&&a.destroy(),r[o]=null}if(n){var s=this.enabledAbles;i.forEach((function(e){var i=jn(s,[e]),o=i.length>0,a=r[e];o?(a||(a=new qo(n,t,e),r[e]=a),a.setAbles(i)):a&&(a.destroy(),r[e]=null)}))}},t.updateEvent=function(e){var t=this.controlBox.getElement(),n=this.targetAbles.length,r=this.controlAbles.length,i=this.props,o=i.dragTarget||i.target,a=this.isTargetChanged(e,!0),s=!n&&this.targetGesto||a;s&&(Nn(this,"targetGesto"),this.updateState({gesto:null})),r||Nn(this,"controlGesto"),o&&n&&!this.targetGesto&&(this.targetGesto=Ko(this,o,"")),!this.controlGesto&&r&&(this.controlGesto=Uo(this,t,"controlAbles","Control")),s&&this.unsetAbles()},t.isDragging=function(){return!!this.targetGesto&&this.targetGesto.isFlag()||!!this.controlGesto&&this.controlGesto.isFlag()},t.updateTarget=function(e){this.updateRect(e,!0)},t.getRect=function(){var e=this.state,t=An(this.state),n=t[0],r=t[1],i=t[2],o=t[3],a=Sn(t),s=e.width,u=e.height,l=a.width,c=a.height,f=a.left,d=a.top,p=[e.left,e.top],h=le(p,e.origin);return{width:l,height:c,left:f,top:d,pos1:n,pos2:r,pos3:i,pos4:o,offsetWidth:s,offsetHeight:u,beforeOrigin:le(p,e.beforeOrigin),origin:h,transformOrigin:e.transformOrigin,rotation:this.getRotation()}},t.getManager=function(){return this},t.getRotation=function(){var e=this.state;return function(e,t,n){var r=G(e,t)/Math.PI*180;return(r=n>=0?r:180-r)>=0?r:360+r}(e.pos1,e.pos2,e.direction)},t.request=function(e,t,n){void 0===t&&(t={});var r=this.props,i=r.ables,o=r.groupable,a=i.filter((function(t){return t.name===e}))[0];if(this.isDragging()||!a||!a.request)return{request:function(){return this},requestEnd:function(){return this}};var s=this,u=a.request(this),l=n||t.isInstant,c=u.isControl?"controlAbles":"targetAbles",f=(o?"Group":"")+(u.isControl?"Control":""),d={request:function(t){return jo(s,c,"drag",f,"",jt(jt({},u.request(t)),{requestAble:e,isRequest:!0}),l),this},requestEnd:function(){return jo(s,c,"drag",f,"End",jt(jt({},u.requestEnd()),{requestAble:e,isRequest:!0}),l),this}};return jo(s,c,"drag",f,"Start",jt(jt({},u.requestStart(t)),{requestAble:e,isRequest:!0}),l),l?d.request(t).requestEnd():d},t.destroy=function(){this.componentWillUnmount()},t.updateRenderPoses=function(){var e=this.state,t=this.props,n=e.originalBeforeOrigin,r=e.transformOrigin,i=e.allMatrix,o=e.is3d,a=e.pos1,s=e.pos2,u=e.pos3,l=e.pos4,c=e.left,f=e.top,d=t.padding||{},p=d.left,h=void 0===p?0:p,g=d.top,v=void 0===g?0:g,m=d.bottom,y=void 0===m?0:m,b=d.right,w=void 0===b?0:b,S=o?4:3,E=t.groupable?n:le(n,[c,f]);e.renderPoses=[le(a,Hn(i,[-h,-v],r,E,S)),le(s,Hn(i,[w,-v],r,E,S)),le(u,Hn(i,[-h,y],r,E,S)),le(l,Hn(i,[w,y],r,E,S))]},t.checkUpdate=function(){var e=this.props,t=e.target,n=e.container,r=e.parentMoveable,i=this.state,o=i.target,a=i.container;(o||t)&&(this.updateAbles(),(!Kn(o,t)||!Kn(a,n))&&(this.updateState({target:t,container:n}),r||!n&&!this.controlBox||this.updateRect("End",!1,!1)))},t.triggerEvent=function(e,t){var n=this.props[e];return n&&n(t)},t.useCSS=function(e,t){var n=this.props.customStyledMap,r=e+t;return n[r]||(n[r]=Bt(e,t)),n[r]},t.unsetAbles=function(){var e=this;this.targetAbles.filter((function(t){return!!t.unset&&(t.unset(e),!0)})).length&&this.forceUpdate()},t.updateAbles=function(e,t){void 0===e&&(e=this.props.ables),void 0===t&&(t="");var n=this.props,r=n.triggerAblesSimultaneously,i=e.filter((function(e){return e&&(e.always||n[e.name])})),o="drag"+t+"ControlStart",a=jn(i,["drag"+t+"Start","pinch"+t+"Start"],r),s=jn(i,[o],r);this.enabledAbles=i,this.targetAbles=a,this.controlAbles=s},t.updateState=function(e,t){if(t)this.setState(e);else{var n=this.state;for(var r in e)n[r]=e[r]}},t.getEnabledAbles=function(){var e=this.props;return e.ables.filter((function(t){return t&&e[t.name]}))},t.renderAbles=function(){var e,t=this,n=this.props.triggerAblesSimultaneously,r={createElement:yt.createElement};return function(e,t){var n=[],r={};return e.forEach((function(i,o){var a=t(i,o,e),s=r[a];s||(s=[],r[a]=s,n.push(s)),s.push(i)})),n}((e=jn(this.getEnabledAbles(),["render"],n).map((function(e){return(0,e.render)(t,r)||[]})),e.reduce((function(e,t){return e.concat(t)}),[])).filter((function(e){return e})),(function(e){return e.key})).map((function(e){return e[0]}))},t.updateCheckInput=function(){this.targetGesto&&(this.targetGesto.options.checkInput=this.props.checkInput)},t._renderLines=function(){var e=this.props,t=e.edge,n=e.zoom;if(e.hideDefaultLines)return[];var r=this.state.renderPoses,i={createElement:yt.createElement};return[Ri(i,t?"n":"",r[0],r[1],n,0),Ri(i,t?"e":"",r[1],r[3],n,1),Ri(i,t?"w":"",r[0],r[2],n,2),Ri(i,t?"s":"",r[2],r[3],n,3)]},MoveableManager.defaultProps={target:null,dragTarget:null,container:null,rootContainer:null,origin:!0,edge:!1,parentMoveable:null,wrapperMoveable:null,parentPosition:null,portalContainer:null,ables:[],pinchThreshold:20,dragArea:!1,passDragArea:!1,transformOrigin:"",className:"",zoom:1,triggerAblesSimultaneously:!1,padding:{},pinchOutside:!0,checkInput:!1,groupable:!1,hideDefaultLines:!1,cspNonce:"",translateZ:0,cssStyled:null,customStyledMap:{},props:{}},MoveableManager}(yt.PureComponent),Ho={name:"groupable",props:{defaultGroupRotate:Number,defaultGroupOrigin:String,groupable:Boolean},events:{},render:function(e,t){var n=e.props.targets||[];e.moveables=[];var r=e.state,i={left:r.left,top:r.top};return n.map((function(n,r){return t.createElement(Wo,{key:"moveable"+r,ref:S(e,"moveables",r),target:n,origin:!1,cssStyled:e.props.cssStyled,customStyledMap:e.props.customStyledMap,parentMoveable:e,parentPosition:i})}))}},Go=Ut("clickable",{props:{},events:{onClick:"click",onClickGroup:"clickGroup"},always:!0,dragStart:function(e,t){t.isRequest||Z(window,"click",e.onPreventClick,!0)},dragControlStart:function(e,t){this.dragStart(e,t)},dragGroupStart:function(e,t){this.dragStart(e,t),t.datas.inputTarget=t.inputEvent&&t.inputEvent.target},dragEnd:function(e,t){this.endEvent(e);var n=e.state.target,r=t.inputEvent,i=t.inputTarget;if(t.isDrag||this.unset(e),r&&i&&!t.isDrag&&!e.isMoveableElement(i)){var o=n.contains(i);Fn(e,"onClick",Ln(e,t,{isDouble:t.isDouble,inputTarget:i,isTarget:n===i,containsTarget:o}))}},dragGroupEnd:function(e,t){this.endEvent(e);var n=t.inputEvent,r=t.inputTarget;if(n&&r&&!t.isDrag&&!e.isMoveableElement(r)&&t.datas.inputTarget!==r){var i=e.props.targets,o=i.indexOf(r),a=o>-1,s=!1;-1===o&&(s=(o=z(i,(function(e){return e.contains(r)})))>-1),Fn(e,"onClickGroup",Ln(e,t,{isDouble:t.isDouble,targets:i,inputTarget:r,targetIndex:o,isTarget:a,containsTarget:s}))}},dragControlEnd:function(e){this.endEvent(e)},dragGroupControlEnd:function(e){this.endEvent(e)},endEvent:function(e){var t=this;requestAnimationFrame((function(){t.unset(e)}))},unset:function(e){J(window,"click",e.onPreventClick,!0)}});function Yo(e){var t=e.originalDatas.draggable;return t||(e.originalDatas.draggable={},t=e.originalDatas.draggable),jt(jt({},e),{datas:t})}var Vo=Ut("edgeDraggable",{dragControlCondition:function(e,t){if(!e.props.edgeDraggable||!t.inputEvent)return!1;var n=t.inputEvent.target;return Q(n,an("direction"))&&Q(n,an("line"))},dragControlStart:function(e,t){return Di.dragStart(e,Yo(t))},dragControl:function(e,t){return Di.drag(e,Yo(t))},dragControlEnd:function(e,t){return Di.dragEnd(e,Yo(t))},dragGroupControlCondition:function(e,t){if(!e.props.edgeDraggable||!t.inputEvent)return!1;var n=t.inputEvent.target;return Q(n,an("direction"))&&Q(n,an("line"))},dragGroupControlStart:function(e,t){return Di.dragGroupStart(e,Yo(t))},dragGroupControl:function(e,t){return Di.dragGroup(e,Yo(t))},dragGroupControlEnd:function(e,t){return Di.dragGroupEnd(e,Yo(t))},unset:function(e){e.state.dragInfo=null}}),$o={name:"individualGroupable",props:{individualGroupable:Boolean},events:{}},Xo=[Fo,ho,Oi,Jn,Di,Vo,Qi,Ji,eo,ro,po,go,co,Ao,Ro,Bo,Ho,$o,Go,lo,zo],Qo=Xo.reduce((function(e,t){return jt(jt({},e),"events"in t?t.events:{})}),{}),Zo=Xo.reduce((function(e,t){return jt(jt({},e),t.props)}),{}),Jo=$n(Qo);Object.keys(Jo),Object.keys(Zo);function ea(e,t){return Math.max.apply(Math,e.map((function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return Math.max(n[t],r[t],i[t],o[t])})))}function ta(e,t){return Math.min.apply(Math,e.map((function(e){var n=e[0],r=e[1],i=e[2],o=e[3];return Math.min(n[t],r[t],i[t],o[t])})))}var na=function(e){function MoveableGroup(){var t=null!==e&&e.apply(this,arguments)||this;return t.differ=new it,t.moveables=[],t.transformOrigin="50% 50%",t}zt(MoveableGroup,e);var t=MoveableGroup.prototype;return t.updateEvent=function(e){var t=this.state,n=this.props,r=e.dragTarget||t.target,i=n.dragTarget||this.areaElement;r!==i&&(Nn(this,"targetGesto"),Nn(this,"controlGesto"),t.target=null),t.target||(t.target=this.areaElement,this.controlBox.getElement().style.display="block",this.targetGesto=Ko(this,i,"Group"),this.controlGesto=Uo(this,this.controlBox.getElement(),"controlAbles","GroupControl"));var o=!Kn(e.container,n.container);o&&(t.container=n.container);var a=this.differ.update(n.targets),s=a.added,u=a.changed,l=a.removed;(o||s.length||u.length||l.length)&&this.updateRect()},t.checkUpdate=function(){this.updateAbles()},t.updateRect=function(e,t,n){if(void 0===n&&(n=!0),this.controlBox){this.moveables.forEach((function(t){t.updateRect(e,!1,!1)}));var r=this.state,i=this.props,o=r.target||i.target;(!t||""!==e&&i.updateGroup)&&(this.rotation=i.defaultGroupRotate,this.transformOrigin=i.defaultGroupOrigin||"50% 50%",this.scale=[1,1]);var a=this.rotation,s=this.scale,u=function(e,t){if(!e.length)return[0,0,0,0];var n=e.map((function(e){return An(e.state)})),r=Jt,i=Jt,o=0,a=0,s=$(t,Qt);if(s%90){var u=s/180*Math.PI,l=Math.tan(u),c=-1/l,f=[en,Jt],d=[en,Jt];n.forEach((function(e){e.forEach((function(e){var t=e[1]-l*e[0],n=e[1]-c*e[0];f[0]=Math.max(f[0],t),f[1]=Math.min(f[1],t),d[0]=Math.max(d[0],n),d[1]=Math.min(d[1],n)}))})),f.forEach((function(e){d.forEach((function(t){var n=(t-e)/(l-c),o=l*n+e;r=Math.min(r,n),i=Math.min(i,o)}))}));var p=n.map((function(e){var t=e[0],n=e[1],r=e[2],i=e[3];return[me(t,-u),me(n,-u),me(r,-u),me(i,-u)]}));o=ea(p,0)-ta(p,0),a=ea(p,1)-ta(p,1)}else if(r=ta(n,0),i=ta(n,1),o=ea(n,0)-r,a=ea(n,1)-i,s%180){var h=o;o=a,a=h}return[r,i,o,a]}(this.moveables,a),l=u[0],c=u[1],f=u[2],d=u[3],p="rotate("+a+"deg) scale("+(s[0]>=0?1:-1)+", "+(s[1]>=0?1:-1)+")";o.style.cssText+="left:0px;top:0px; transform-origin: "+this.transformOrigin+"; width:"+f+"px; height:"+d+"px;transform:"+p,r.width=f,r.height=d;var h=this.getContainer(),g=Tn(this.controlBox.getElement(),o,this.controlBox.getElement(),this.getContainer(),this.props.rootContainer||h),v=[g.left,g.top],m=An(g),y=m[0],b=m[1],w=m[2],S=m[3],E=st([y,b,w,S]),x=[E.minX,E.minY];g.pos1=ce(y,x),g.pos2=ce(b,x),g.pos3=ce(w,x),g.pos4=ce(S,x),g.left=l-g.left+x[0],g.top=c-g.top+x[1],g.origin=ce(le(v,g.origin),x),g.beforeOrigin=ce(le(v,g.beforeOrigin),x),g.originalBeforeOrigin=le(v,g.originalBeforeOrigin);var _=g.targetClientRect,k=s[0]*s[1]>0?1:-1;_.top+=g.top-r.top,_.left+=g.left-r.left,o.style.transform="translate("+-x[0]+"px, "+-x[1]+"px) "+p,this.updateState(jt(jt({},g),{direction:k,beforeDirection:k}),n)}},t.getRect=function(){return jt(jt({},e.prototype.getRect.call(this)),{children:this.moveables.map((function(e){return e.getRect()}))})},t.triggerEvent=function(t,n,r){if(r||t.indexOf("Group")>-1)return e.prototype.triggerEvent.call(this,t,n)},t.updateAbles=function(){e.prototype.updateAbles.call(this,Kt(this.props.ables,[Ho]),"Group")},MoveableGroup.defaultProps=jt(jt({},Wo.defaultProps),{transformOrigin:["50%","50%"],groupable:!0,dragArea:!0,keepRatio:!0,targets:[],defaultGroupRotate:0,defaultGroupOrigin:"50% 50%"}),MoveableGroup}(Wo),ra=function(e){function MoveableIndividualGroup(){var t=null!==e&&e.apply(this,arguments)||this;return t.moveables=[],t}zt(MoveableIndividualGroup,e);var t=MoveableIndividualGroup.prototype;return t.render=function(){var e=this,t=this.props,n=t.cspNonce,r=t.cssStyled,i=t.targets;return(0,yt.createElement)(r,{cspNonce:n,ref:w(this,"controlBox"),className:an("control-box")},i.map((function(t,n){return(0,yt.createElement)(Wo,jt({key:"moveable"+n,ref:S(e,"moveables",n)},e.props,{target:t,wrapperMoveable:e}))})))},t.componentDidUpdate=function(){},t.updateRect=function(e,t,n){void 0===n&&(n=!0),this.moveables.forEach((function(r){r.updateRect(e,t,n)}))},t.getRect=function(){return jt(jt({},e.prototype.getRect.call(this)),{children:this.moveables.map((function(e){return e.getRect()}))})},t.request=function(){return{request:function(){return this},requestEnd:function(){return this}}},t.dragStart=function(){return this},t.hitTest=function(){return 0},t.isInside=function(){return!1},t.isDragging=function(){return!1},t.updateRenderPoses=function(){},t.updateEvent=function(){},t.checkUpdate=function(){},t.triggerEvent=function(){},t.updateAbles=function(){},MoveableIndividualGroup}(Wo),ia=function(e){function InitialMoveable(){var t=null!==e&&e.apply(this,arguments)||this;return t.refTargets=[],t.selectorMap={},t}zt(InitialMoveable,e);var t,n,r=InitialMoveable.prototype;return InitialMoveable.makeStyled=function(){var e={};this.getTotalAbles().forEach((function(t){var n=t.css;n&&n.forEach((function(t){e[t]=!0}))}));var t=K(e).join("\n");this.defaultStyled=Bt("div",function(e,t){return t.replace(/([^}{]*){/gm,(function(t,n){return n.replace(/\.([^{,\s\d.]+)/g,"."+e+"$1")+"{"}))}(Vt,$t+t))},InitialMoveable.getTotalAbles=function(){return Kt([ho,Ho,$o,lo],this.defaultAbles)},r.render=function(){var e=this.constructor;e.defaultStyled||e.makeStyled();var t=this.props,n=t.ables,r=t.props,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(t,["ables","props"]),o=Qn(i.target||i.targets),a=function(e,t){var n=[];return e.forEach((function(e){e&&(D(e)?t[e]&&n.push.apply(n,t[e]):n.push(e))})),n}(o,this.selectorMap);this.refTargets=o;var s=a.length>1,u=Kt(e.getTotalAbles(),n||[]),l=jt(jt(jt({},i),r||{}),{ables:u,cssStyled:e.defaultStyled,customStyledMap:e.customStyledMap});return s?i.individualGroupable?(0,yt.createElement)(ra,jt({key:"individual-group",ref:w(this,"moveable")},l,{target:null,targets:a})):(0,yt.createElement)(na,jt({key:"group",ref:w(this,"moveable")},l,{target:null,targets:a})):(0,yt.createElement)(Wo,jt({key:"single",ref:w(this,"moveable")},l,{target:a[0]}))},r.componentDidMount=function(){this.updateRefs()},r.componentDidUpdate=function(){this.updateRefs()},r.updateRefs=function(e){var t=Qn(this.props.target||this.props.targets),n=this.refTargets.some((function(e,n){var r=t[n];return!(!e&&!r)&&e!==r})),r=e?{}:this.selectorMap,i={};this.refTargets.forEach((function(e){D(e)&&(r[e]?i[e]=r[e]:(n=!0,i[e]=[].slice.call(document.querySelectorAll(e))))})),this.selectorMap=i,n&&this.forceUpdate()},r.getManager=function(){return this.moveable},InitialMoveable.defaultAbles=[],InitialMoveable.customStyledMap={},InitialMoveable.defaultStyled=null,function __decorate(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([(t=on,void 0===n&&(n={}),function(e,r){t.forEach((function(t){var i=n[t]||t;i in e||(e[i]=function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=(e=this[r])[t].apply(e,n);return o===this[r]?this:o})}))})],InitialMoveable.prototype,"moveable",void 0),InitialMoveable}(yt.PureComponent);const oa=function(e){function Moveable(){return null!==e&&e.apply(this,arguments)||this}return zt(Moveable,e),Moveable.defaultAbles=Xo,Moveable}(ia)},37723:(e,t,n)=>{"use strict";n.d(t,{default:()=>f});var r=n(87462),i=n(63366),o=n(94578);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(67294),u=n(12666),l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},c=function(e){function CSSTransition(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.default)(CSSTransition,e);var t=CSSTransition.prototype;return t.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},t.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&l(e,r),i&&l(e,i),o&&l(e,o)},t.render=function(){var e=this.props,t=(e.classNames,(0,i.default)(e,["classNames"]));return s.createElement(u.default,(0,r.default)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},CSSTransition}(s.Component);c.defaultProps={classNames:""},c.propTypes={};const f=c},12666:(e,t,n)=>{"use strict";n.d(t,{default:()=>v});var r=n(63366),i=n(94578),o=n(67294),a=n(73935);const s=!1;var u=n(220),l="unmounted",c="exited",f="entering",d="entered",p="exiting",h=function(e){function Transition(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=c,r.appearStatus=f):i=d:i=t.unmountOnExit||t.mountOnEnter?l:c,r.state={status:i},r.nextCallback=null,r}(0,i.default)(Transition,e),Transition.getDerivedStateFromProps=function(e,t){return e.in&&t.status===l?{status:c}:null};var t=Transition.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==d&&(t=f):n!==f&&n!==d||(t=p)}this.updateStatus(!1,t)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},t.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===f?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===c&&this.setState({status:l})},t.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],u=i[1],l=this.getTimeouts(),c=r?l.appear:l.enter;!e&&!n||s?this.safeSetState({status:d},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,u),this.safeSetState({status:f},(function(){t.props.onEntering(o,u),t.onTransitionEnd(c,(function(){t.safeSetState({status:d},(function(){t.props.onEntered(o,u)}))}))})))},t.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:c},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:c},(function(){e.props.onExited(r)}))},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},t.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===l)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.default)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(u.default.Provider,{value:null},"function"==typeof n?n(e,i):o.cloneElement(o.Children.only(n),i))},Transition}(o.Component);function g(){}h.contextType=u.default,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},h.UNMOUNTED=l,h.EXITED=c,h.ENTERING=f,h.ENTERED=d,h.EXITING=p;const v=h},94537:(e,t,n)=>{"use strict";n.d(t,{default:()=>h});var r=n(63366),i=n(87462),o=n(97326),a=n(94578),s=n(67294),u=n(220);function l(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function c(e,t,n){return null!=n[t]?n[t]:e.props[t]}function f(e,t,n){var r=l(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var l=i[u][r];s[i[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if((0,s.isValidElement)(a)){var u=o in t,l=o in r,f=t[o],d=(0,s.isValidElement)(f)&&!f.props.in;!l||u&&!d?l||!u||d?l&&u&&(0,s.isValidElement)(f)&&(i[o]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:f.props.in,exit:c(a,"exit",e),enter:c(a,"enter",e)})):i[o]=(0,s.cloneElement)(a,{in:!1}):i[o]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:c(a,"exit",e),enter:c(a,"enter",e)})}})),i}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function TransitionGroup(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.default)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,a.default)(TransitionGroup,e);var t=TransitionGroup.prototype;return t.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},t.componentWillUnmount=function(){this.mounted=!1},TransitionGroup.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,l(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:c(e,"appear",n),enter:c(e,"enter",n),exit:c(e,"exit",n)})}))):f(e,i,o),firstRender:!1}},t.handleExited=function(e,t){var n=l(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.default)({},t.children);return delete n[e.key],{children:n}})))},t.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.default)(e,["component","childFactory"]),o=this.state.contextValue,a=d(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?s.createElement(u.default.Provider,{value:o},a):s.createElement(u.default.Provider,{value:o},s.createElement(t,i,a))},TransitionGroup}(s.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const h=p},220:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});const r=n(67294).createContext(null)},72408:(e,t,n)=>{"use strict";var r=n(27418),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,u=60112;t.Suspense=60113;var l=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),l=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function m(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=v.prototype;var b=y.prototype=new m;b.constructor=y,r(b,v.prototype),b.isPureReactComponent=!0;var w={current:null},S=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var k=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case o:u=!0}}if(u)return a=a(u=e),e=""===r?"."+C(u,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(k,"$&/")+"/"),O(a,t,n,"",(function(e){return e}))):null!=a&&(_(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(u=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var c=r+C(s=e[l],l);u+=O(s,t,n,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),l=0;!(s=e.next()).done;)u+=O(s=s.value,t,n,c=r+C(s,l++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function M(e,t,n){if(null==e)return e;var r=[],i=0;return O(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function D(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function I(){var e=T.current;if(null===e)throw Error(p(321));return e}var P={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:M,forEach:function(e,t,n){M(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error(p(143));return e}},t.Component=v,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)S.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){l=Array(c);for(var f=0;f<c;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:D}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return I().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,n){return I().useReducer(e,t,n)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version="17.0.2"},60053:(e,t)=>{"use strict";var n,r,i,o;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,f=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,v=null,m=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();b=e+y;try{v(!0,e)?S.postMessage(null):(g=!1,v=null)}catch(e){throw S.postMessage(null),e}}else g=!1},n=function(e){v=e,g||(g=!0,S.postMessage(null))},r=function(e,n){m=d((function(){e(t.unstable_now())}),n)},i=function(){p(m),m=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<k(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>k(a,n))void 0!==u&&0>k(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>k(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],O=[],M=1,D=null,T=3,I=!1,P=!1,R=!1;function A(e){for(var t=x(O);null!==t;){if(null===t.callback)_(O);else{if(!(t.startTime<=e))break;_(O),t.sortIndex=t.expirationTime,E(C,t)}t=x(O)}}function N(e){if(R=!1,A(e),!P)if(null!==x(C))P=!0,n(L);else{var t=x(O);null!==t&&r(N,t.startTime-e)}}function L(e,n){P=!1,R&&(R=!1,i()),I=!0;var o=T;try{for(A(n),D=x(C);null!==D&&(!(D.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=D.callback;if("function"==typeof a){D.callback=null,T=D.priorityLevel;var s=a(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?D.callback=s:D===x(C)&&_(C),A(n)}else _(C);D=x(C)}if(null!==D)var u=!0;else{var l=x(O);null!==l&&r(N,l.startTime-n),u=!1}return u}finally{D=null,T=o,I=!1}}var B=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||I||(P=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return x(C)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:M++,callback:o,priorityLevel:e,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>s?(e.sortIndex=a,E(O,e),null===x(C)&&e===x(O)&&(R?i():R=!0,r(N,a-s))):(e.sortIndex=u,E(C,e),P||I||(P=!0,n(L))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},63840:(e,t,n)=>{"use strict";e.exports=n(60053)},24889:function(e,t,n){!function(e,t){"use strict";if(!e.setImmediate){var n,r,i,o,a,s=1,u={},l=!1,c=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){process.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,n=function(e){var t=c.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(o="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&p(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(o+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return u[s]=i,n(s),s++},f.clearImmediate=d}function d(e){delete u[e]}function p(e){if(l)setTimeout(p,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},781:(e,t,n)=>{"use strict";function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function i(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}n.d(t,{shallowEqualArrays:()=>i,shallowEqualObjects:()=>r})},96774:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var l=o[u];if(!s(l))return!1;var c=e[l],f=t[l];if(!1===(i=n?n.call(r,c,f,l):void 0)||void 0===i&&c!==f)return!1}return!0}},29163:(e,t,n)=>{"use strict";n.d(t,{StyleSheetManager:()=>ue,ThemeContext:()=>we,ThemeProvider:()=>Fe,createGlobalStyle:()=>We,css:()=>Ce,default:()=>ke,keyframes:()=>Ue});var r=n(59864),i=n(67294),o=n(96774),a=n.n(o);const s=function(e){function t(e,r,u,l,d){for(var p,h,g,v,w,E=0,x=0,_=0,k=0,C=0,P=0,A=g=p=0,L=0,B=0,F=0,z=0,j=u.length,K=j-1,U="",q="",W="",H="";L<j;){if(h=u.charCodeAt(L),L===K&&0!==x+k+_+E&&(0!==x&&(h=47===x?10:47),k=_=E=0,j++,K++),0===x+k+_+E){if(L===K&&(0<B&&(U=U.replace(f,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=u.charAt(L)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),g=1,z=++L;L<j;){switch(h=u.charCodeAt(L)){case 123:g++;break;case 125:g--;break;case 47:switch(h=u.charCodeAt(L+1)){case 42:case 47:e:{for(A=L+1;A<K;++A)switch(u.charCodeAt(A)){case 47:if(42===h&&42===u.charCodeAt(A-1)&&L+2!==A){L=A+1;break e}break;case 10:if(47===h){L=A+1;break e}}L=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<K&&u.charCodeAt(L)!==h;);}if(0===g)break;L++}if(g=u.substring(z,L),0===p&&(p=(U=U.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<B&&(U=U.replace(f,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=I}if(z=(g=t(r,B,g,h,d+1)).length,0<R&&(w=s(3,g,B=n(I,U,F),r,M,O,z,h,d,l),U=B.join(""),void 0!==w&&0===(z=(g=w.trim()).length)&&(h=0,g="")),0<z)switch(h){case 115:U=U.replace(S,a);case 100:case 109:case 45:g=U+"{"+g+"}";break;case 107:g=(U=U.replace(m,"$1 $2"))+"{"+g+"}",g=1===T||2===T&&o("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=U+g,112===l&&(q+=g,g="")}else g=""}else g=t(r,n(r,U,F),g,l,d+1);W+=g,g=F=B=A=p=0,U="",h=u.charCodeAt(++L);break;case 125:case 59:if(1<(z=(U=(0<B?U.replace(f,""):U).trim()).length))switch(0===A&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(z=(U=U.replace(" ",":")).length),0<R&&void 0!==(w=s(1,U,r,e,M,O,q.length,l,d,l))&&0===(z=(U=w.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=U+u.charAt(L);break}default:58!==U.charCodeAt(z-1)&&(q+=i(U,p,h,U.charCodeAt(2)))}F=B=A=p=0,U="",h=u.charCodeAt(++L)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==l&&0<U.length&&(B=1,U+="\0"),0<R*N&&s(0,U,r,e,M,O,q.length,l,d,l),O=1,M++;break;case 59:case 125:if(0===x+k+_+E){O++;break}default:switch(O++,v=u.charAt(L),h){case 9:case 32:if(0===k+E+x)switch(C){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===k+x+E&&(B=F=1,v="\f"+v);break;case 108:if(0===k+x+E+D&&0<A)switch(L-A){case 2:112===C&&58===u.charCodeAt(L-3)&&(D=C);case 8:111===P&&(D=P)}break;case 58:0===k+x+E&&(A=L);break;case 44:0===x+_+k+E&&(B=1,v+="\r");break;case 34:case 39:0===x&&(k=k===h?0:0===k?h:k);break;case 91:0===k+x+_&&E++;break;case 93:0===k+x+_&&E--;break;case 41:0===k+x+E&&_--;break;case 40:if(0===k+x+E){if(0===p)if(2*C+3*P==533);else p=1;_++}break;case 64:0===x+_+k+E+A+g&&(g=1);break;case 42:case 47:if(!(0<k+E+_))switch(x){case 0:switch(2*h+3*u.charCodeAt(L+1)){case 235:x=47;break;case 220:z=L,x=42}break;case 42:47===h&&42===C&&z+2!==L&&(33===u.charCodeAt(z+2)&&(q+=u.substring(z,L+1)),v="",x=0)}}0===x&&(U+=v)}P=C,C=h,L++}if(0<(z=q.length)){if(B=r,0<R&&(void 0!==(w=s(2,q,B,e,M,O,z,l,d,l))&&0===(q=w).length))return H+q+W;if(q=B.join(",")+"{"+q+"}",0!=T*D){switch(2!==T||o(q,2)||(D=0),D){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(y,"::-webkit-input-$1")+q.replace(y,"::-moz-$1")+q.replace(y,":-ms-input-$1")+q}D=0}}return H+q+W}function n(e,t,n){var i=t.trim().split(g);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var l=0;l<a;++l)t[u++]=r(e[l]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===T||2===T&&o(u,1)?"-webkit-"+u+u:u}if(0===T||2===T&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),A(2!==t?r:r.replace(_,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,u,c){for(var f,d=0,p=t;d<R;++d)switch(f=P[d].call(l,e,p,n,r,i,o,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(A=null,e?"function"!=typeof e?T=1:(T=2,A=e):T=0),u}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<R){var i=s(-1,n,r,r,M,O,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(I,r,n,0,0);return 0<R&&(void 0!==(i=s(-2,o,r,r,M,O,o.length,0,0,0))&&(o=i)),"",D=0,O=M=1,o}var c=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,g=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,S=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,x=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,O=1,M=1,D=0,T=1,I=[],P=[],R=0,A=null,N=0;return l.use=function e(t){switch(t){case void 0:case null:R=P.length=0;break;default:if("function"==typeof t)P[R++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else N=0|!!t}return e},l.set=u,void 0!==e&&u(e),l};const u={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repe