Plugin Directory

Changeset 3132158


Ignore:
Timestamp:
08/07/2024 12:41:39 PM (16 months ago)
Author:
donmhico
Message:

Sugar Calendar Lite v3.2.0

Location:
sugar-calendar-lite
Files:
1112 added
1 deleted
41 edited

Legend:

Unmodified
Added
Removed
  • sugar-calendar-lite/trunk/assets/css/admin-event.css

    r3118281 r3132158  
     1@charset "UTF-8";
    12/* Variables  */
    23/* Aliases  */
     
    444445  padding-bottom: 0;
    445446}
    446 .wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=radio] {
     447.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox] {
    447448  background-color: var(--sugar-calendar-background-color);
    448449  border: none;
    449450  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
    450 }
    451 .wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=radio]:checked:before {
    452   margin: 4px;
    453   background-color: var(--sugar-calendar-foreground-color);
     451  position: relative;
     452}
     453.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]:checked {
     454  color: white;
     455}
     456.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]:checked:before {
     457  content: none;
     458  height: initial;
     459  width: initial;
     460}
     461.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]:checked:after {
     462  color: var(--sugar-calendar-foreground-color);
     463  content: "✓";
     464  font-weight: bold;
     465  left: 2px;
     466  position: absolute;
     467  top: 6px;
    454468}
    455469.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder {
     
    499513  box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.25);
    500514}
    501 /*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0cy9zY3NzL2FkbWluL192YXJpYWJsZXMuc2NzcyIsImFzc2V0cy9zY3NzL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cjogIzBhNGI3ODtcblx0XHRcdFx0XHRcdFx0XHRcdGJveC1zaGFkb3c6IDAgMCAwIDFweCAjMzU4MmM0O1xuXHRcdFx0XHRcdFx0XHRcdFx0b3V0bGluZTogMnB4IHNvbGlkIHRyYW5zcGFyZW50O1xuXHRcdFx0XHRcdFx0XHRcdFx0b3V0bGluZS1vZmZzZXQ6IDA7XG5cdFx0XHRcdFx0XHRcdFx0fVxuXG5cdFx0XHRcdFx0XHRcdFx0JjphY3RpdmUge1xuXHRcdFx0XHRcdFx0XHRcdFx0YmFja2dyb3VuZDogI2Y2ZjdmNztcblx0XHRcdFx0XHRcdFx0XHRcdGJvcmRlci1jb2xvcjogIzhjOGY5NDtcblx0XHRcdFx0XHRcdFx0XHRcdGJveC1zaGFkb3c6IG5vbmU7XG5cdFx0XHRcdFx0XHRcdFx0fVxuXHRcdFx0XHRcdFx0XHR9XG5cdFx0XHRcdFx0XHR9XG5cblx0XHRcdFx0XHRcdCY6bm90KC53cC1oaWRkZW4tY2hpbGRyZW4pIHtcblx0XHRcdFx0XHRcdFx0YSB7XG5cdFx0XHRcdFx0XHRcdFx0Ji50YXhvbm9teS1hZGQtbmV3IHtcblx0XHRcdFx0XHRcdFx0XHRcdGJhY2tncm91bmQ6ICNmMGYwZjE7XG5cdFx0XHRcdFx0XHRcdFx0XHRib3JkZXItY29sb3I6ICM4YzhmOTQ7XG5cdFx0XHRcdFx0XHRcdFx0XHRib3gtc2hhZG93OiBpbnNldCAwIDJweCA1cHggLTNweCByZ2JhKDAsIDAsIDAsIDAuMjUpO1xuXHRcdFx0XHRcdFx0XHRcdH1cblx0XHRcdFx0XHRcdFx0fVxuXHRcdFx0XHRcdFx0fVxuXHRcdFx0XHRcdH1cblx0XHRcdFx0fVxuXHRcdFx0fVxuXHRcdH1cblx0fVxufVxuIl19 */
  • sugar-calendar-lite/trunk/assets/css/admin-event.min.css

    r3118281 r3132158  
    1 #wpcontent{padding-left:0 !important;position:relative}@media screen and (max-width: 600px){#wpcontent{padding-top:46px}}@media screen and (max-width: 600px){#wpbody{padding-top:0}}.sugar-calendar-admin-wrap{margin:0}.sugar-calendar-admin-wrap .notice{margin:0 0 15px}.sugar-calendar-admin-content{padding:30px 30px 0 30px}.sugar-calendar-admin-content *,.sugar-calendar-admin-content *::before,.sugar-calendar-admin-content *::after{box-sizing:border-box}.sugar-calendar-admin-content:before{content:" ";display:table}.sugar-calendar-admin-content:after{clear:both;content:" ";display:table}.sugar-calendar-admin-content hr{border:none;border-top:1px solid #e4e4e4;margin:20px 0;background:none}.sugar-calendar-admin-content code{display:inline-block;padding:0 6px;font-size:12px;line-height:20px;color:#50575e}.sugar-calendar-admin-content strong{font-weight:500}.sugar-calendar-admin-content p.submit{margin:0;padding:30px 0 20px 0;border-top:1px solid #e4e4e4}.sugar-calendar-admin-content p.submit:last-of-type{padding-bottom:0}.sugar-calendar-admin-content .sugar-calendar-admin-content__settings-form{padding-top:15px}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child th,.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child td{vertical-align:top}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child th{padding-top:2px}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child td{padding-top:0}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child h3{margin-top:0}#sugar-calendar-header-temp{margin:0;position:absolute;top:-1px;left:20px;right:0;z-index:99}@media(max-width: 599px){#sugar-calendar-header-temp{padding-top:50px}}#sugar-calendar-header{padding:20px 30px;box-sizing:border-box;border-bottom:1px solid #dcdcde;background-color:#fff;display:flex;align-items:center}#sugar-calendar-header img{display:block;margin:0;max-width:296px}@media(max-width: 768px){#sugar-calendar-header img{max-width:200px}}#sugar-calendar-header a#sugar-calendar-header-help{margin-left:auto;color:#a7aaad;text-decoration:none;font-size:13px;line-height:13px;display:flex;align-items:center}#sugar-calendar-header a#sugar-calendar-header-help:before{content:"";mask-image:url("../images/icons/question-circle.svg");mask-position:center center;background-color:#a7aaad;width:16px;height:16px;margin-right:6px}#sugar-calendar-header a#sugar-calendar-header-help:hover,#sugar-calendar-header a#sugar-calendar-header-help:focus{color:#646970}#sugar-calendar-header a#sugar-calendar-header-help:hover:before,#sugar-calendar-header a#sugar-calendar-header-help:focus:before{background-color:#646970}@media screen and (min-width: 1024px){#sugar-calendar-notice-bar+#sugar-calendar-header-temp{top:34px}}.sugar-calendar-toggle-control{display:flex;align-items:center;margin:0 1px;line-height:1;color:#50575e;font-weight:500;height:25px;box-sizing:border-box}.sugar-calendar-toggle-control input[type=checkbox]{position:absolute;overflow:hidden;height:0;width:0;border:none !important;box-shadow:none !important;margin:0;min-width:0}.sugar-calendar-toggle-control input[type=checkbox]:hover,.sugar-calendar-toggle-control input[type=checkbox]:focus{border:none !important;box-shadow:none !important}.sugar-calendar-toggle-control input[type=checkbox]:hover:not(:disabled)+label.sugar-calendar-toggle-control-icon{background-color:#646970}.sugar-calendar-toggle-control input[type=checkbox]:focus:not(:disabled)+label.sugar-calendar-toggle-control-icon{box-shadow:0 0 0 1px #fff,0 0 0 2px #8c8f94}.sugar-calendar-toggle-control input[type=checkbox]:checked+label.sugar-calendar-toggle-control-icon{background-color:#2271b1}.sugar-calendar-toggle-control input[type=checkbox]:checked+label.sugar-calendar-toggle-control-icon:after{left:calc(100% - 2px);transform:translateX(-100%)}.sugar-calendar-toggle-control input[type=checkbox]:checked:hover:not(:disabled)+label.sugar-calendar-toggle-control-icon{background-color:#0a4b78}.sugar-calendar-toggle-control input[type=checkbox]:checked:focus:not(:disabled)+label.sugar-calendar-toggle-control-icon{box-shadow:0 0 0 1px #fff,0 0 0 2px #2271b1}.sugar-calendar-toggle-control input[type=checkbox]:disabled+label.sugar-calendar-toggle-control-icon{opacity:.5}.sugar-calendar-toggle-control input[type=checkbox]:disabled:hover+label.sugar-calendar-toggle-control-icon,.sugar-calendar-toggle-control input[type=checkbox]:disabled:focus+label.sugar-calendar-toggle-control-icon{box-shadow:none}.sugar-calendar-toggle-control span,.sugar-calendar-toggle-control label{display:inline-block;margin-bottom:0}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-label{padding:0 10px;max-width:calc(100% - 65px)}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-status{color:#50575e;font-size:12px;line-height:17px;padding:0 10px;text-transform:uppercase;display:none}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-status-off,.sugar-calendar-toggle-control .sugar-calendar-toggle-control-status-on{cursor:pointer}.sugar-calendar-toggle-control input:not(:checked)~.sugar-calendar-toggle-control-status-off,.sugar-calendar-toggle-control input:checked~.sugar-calendar-toggle-control-status-on{display:inline-block}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-icon{background-color:#8c8f94;border-radius:8.5px;cursor:pointer;display:inline-block;height:17px;position:relative;text-indent:-9999px;width:27px}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-icon:after{background:#fff;border-radius:50%;content:"";height:13px;left:2px;position:absolute;top:2px;width:13px;transition:all .15s ease-out}.sugar-calendar-toggle-control input:disabled~.sugar-calendar-toggle-control-icon,.sugar-calendar-toggle-control input:disabled~.sugar-calendar-toggle-control-status-off,.sugar-calendar-toggle-control input:disabled~.sugar-calendar-toggle-control-status-on{cursor:default}.sugar-calendar-btn{border-width:1px;border-style:solid;border-radius:4px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;box-shadow:none;transition:all .05s ease-out}.sugar-calendar-btn.inactive{cursor:no-drop;pointer-events:none;box-shadow:none;opacity:.5}.sugar-calendar-btn-block{display:block;width:100%}.sugar-calendar-btn-sm{font-size:13px;font-weight:500;line-height:28px;padding:0 10px;height:30px}.sugar-calendar-btn-md{font-size:14px;line-height:14px;font-weight:500;padding:10px 15px;min-height:36px}.sugar-calendar-btn-lg{font-size:16px;font-weight:500;padding:11px 17px;min-height:44px}.sugar-calendar-btn-primary{background-color:#ff8845;border-color:#ff8845;color:#fff !important}.sugar-calendar-btn-primary:hover,.sugar-calendar-btn-primary:active,.sugar-calendar-btn-primary:focus{background-color:#cb6d37;border-color:#cb6d37;color:#fff !important}.sugar-calendar-btn-primary:focus{box-shadow:0 0 0 2px #cb6d37;border-color:#fff;outline:0}.sugar-calendar-btn-secondary{background-color:#2271b1;border-color:#2271b1;color:#fff !important}.sugar-calendar-btn-secondary:hover,.sugar-calendar-btn-secondary:focus{background-color:#0a4b78;border-color:#0a4b78;color:#fff !important}.sugar-calendar-btn-secondary:focus{box-shadow:0 0 0 2px #0a4b78;border-color:#fff;outline:0}.sugar-calendar-btn-tertiary{background-color:#f6f7f7;border-color:#8c8f94;color:#50575e !important}.sugar-calendar-btn-tertiary:hover,.sugar-calendar-btn-tertiary:focus{background-color:#f0f0f1;border-color:#50575e;color:#2c3338 !important}.sugar-calendar-btn-tertiary:focus{box-shadow:0 0 0 1px #50575e}.sugar-calendar-btn-green{background-color:#008a20;border:1px solid #008a20;color:#fff !important}.sugar-calendar-btn-green:focus{box-shadow:0 0 0 2px #008a20;border-color:#fff;outline:0}.sugar-calendar-btn-red{background-color:#d63638;border:1px solid #d63638;color:#fff !important}.sugar-calendar-btn-red:focus{box-shadow:0 0 0 2px #d63638;border-color:#fff;outline:0}.sugar-calendar-admin-subheader{display:flex;flex-wrap:wrap;align-items:center;height:60px;margin:0;padding:15px 30px;background-color:#fff;list-style:none;font-size:14px;font-weight:400;box-shadow:0 2px 4px 0 rgba(0,0,0,.07);box-sizing:border-box}.sugar-calendar-admin-subheader *,.sugar-calendar-admin-subheader *::before,.sugar-calendar-admin-subheader *::after{box-sizing:border-box}.sugar-calendar-admin-subheader h4{font-size:22px;font-weight:500;line-height:20px;color:#101517;margin:0}.sugar-calendar-admin-subheader .sugar-calendar-btn-new-item{margin-left:20px}.sugar-calendar-admin-subheader .sugar-calendar-btn-new-item::before{content:"";display:inline-block;mask:url(../images/icons/add.svg) center center no-repeat;background-color:#fff;width:11px;height:11px;margin:0 6px 0 0}.wrap{margin:0;padding:30px 30px 0}.wrap h1.wp-heading-inline{display:none}.wrap a.page-title-action{display:none}.wrap #poststuff{padding-top:0}.wrap #poststuff #titlediv #title-prompt-text{padding:11px 13px 9px;font-size:18px;line-height:20px}.wrap #poststuff #titlediv #title{padding:10px 12px;font-size:18px;line-height:19px;height:auto}.wrap #poststuff .postbox{border-radius:4px}.wrap #poststuff .postbox#submitdiv{overflow:hidden}.wrap #poststuff .postbox.closed{border-bottom:1px solid #c3c4c7}.wrap #poststuff .postbox.closed .postbox-header{border-bottom:none}.wrap #poststuff .postbox#sc_event_categorydiv{overflow:hidden}.wrap #poststuff .postbox#sc_event_categorydiv .inside{padding-bottom:0}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=radio]{background-color:var(--sugar-calendar-background-color);border:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=radio]:checked:before{margin:4px;background-color:var(--sugar-calendar-foreground-color)}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder{margin:10px -12px 0;padding:10px 12px;background-color:#f6f6f6;border-top:1px solid #c3c4c7}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new{display:inline-block;text-decoration:none;font-size:13px;font-weight:400;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new:focus{background:#f6f7f7;border-color:#3582c4;color:#0a4b78;box-shadow:0 0 0 1px #3582c4;outline:2px solid rgba(0,0,0,0);outline-offset:0}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new:active{background:#f6f7f7;border-color:#8c8f94;box-shadow:none}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder:not(.wp-hidden-children) a.taxonomy-add-new{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.25)}
     1#wpcontent{padding-left:0 !important;position:relative}@media screen and (max-width: 600px){#wpcontent{padding-top:46px}}@media screen and (max-width: 600px){#wpbody{padding-top:0}}.sugar-calendar-admin-wrap{margin:0}.sugar-calendar-admin-wrap .notice{margin:0 0 15px}.sugar-calendar-admin-content{padding:30px 30px 0 30px}.sugar-calendar-admin-content *,.sugar-calendar-admin-content *::before,.sugar-calendar-admin-content *::after{box-sizing:border-box}.sugar-calendar-admin-content:before{content:" ";display:table}.sugar-calendar-admin-content:after{clear:both;content:" ";display:table}.sugar-calendar-admin-content hr{border:none;border-top:1px solid #e4e4e4;margin:20px 0;background:none}.sugar-calendar-admin-content code{display:inline-block;padding:0 6px;font-size:12px;line-height:20px;color:#50575e}.sugar-calendar-admin-content strong{font-weight:500}.sugar-calendar-admin-content p.submit{margin:0;padding:30px 0 20px 0;border-top:1px solid #e4e4e4}.sugar-calendar-admin-content p.submit:last-of-type{padding-bottom:0}.sugar-calendar-admin-content .sugar-calendar-admin-content__settings-form{padding-top:15px}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child th,.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child td{vertical-align:top}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child th{padding-top:2px}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child td{padding-top:0}.sugar-calendar-admin-content .form-table:first-child tbody tr:first-child h3{margin-top:0}#sugar-calendar-header-temp{margin:0;position:absolute;top:-1px;left:20px;right:0;z-index:99}@media(max-width: 599px){#sugar-calendar-header-temp{padding-top:50px}}#sugar-calendar-header{padding:20px 30px;box-sizing:border-box;border-bottom:1px solid #dcdcde;background-color:#fff;display:flex;align-items:center}#sugar-calendar-header img{display:block;margin:0;max-width:296px}@media(max-width: 768px){#sugar-calendar-header img{max-width:200px}}#sugar-calendar-header a#sugar-calendar-header-help{margin-left:auto;color:#a7aaad;text-decoration:none;font-size:13px;line-height:13px;display:flex;align-items:center}#sugar-calendar-header a#sugar-calendar-header-help:before{content:"";mask-image:url("../images/icons/question-circle.svg");mask-position:center center;background-color:#a7aaad;width:16px;height:16px;margin-right:6px}#sugar-calendar-header a#sugar-calendar-header-help:hover,#sugar-calendar-header a#sugar-calendar-header-help:focus{color:#646970}#sugar-calendar-header a#sugar-calendar-header-help:hover:before,#sugar-calendar-header a#sugar-calendar-header-help:focus:before{background-color:#646970}@media screen and (min-width: 1024px){#sugar-calendar-notice-bar+#sugar-calendar-header-temp{top:34px}}.sugar-calendar-toggle-control{display:flex;align-items:center;margin:0 1px;line-height:1;color:#50575e;font-weight:500;height:25px;box-sizing:border-box}.sugar-calendar-toggle-control input[type=checkbox]{position:absolute;overflow:hidden;height:0;width:0;border:none !important;box-shadow:none !important;margin:0;min-width:0}.sugar-calendar-toggle-control input[type=checkbox]:hover,.sugar-calendar-toggle-control input[type=checkbox]:focus{border:none !important;box-shadow:none !important}.sugar-calendar-toggle-control input[type=checkbox]:hover:not(:disabled)+label.sugar-calendar-toggle-control-icon{background-color:#646970}.sugar-calendar-toggle-control input[type=checkbox]:focus:not(:disabled)+label.sugar-calendar-toggle-control-icon{box-shadow:0 0 0 1px #fff,0 0 0 2px #8c8f94}.sugar-calendar-toggle-control input[type=checkbox]:checked+label.sugar-calendar-toggle-control-icon{background-color:#2271b1}.sugar-calendar-toggle-control input[type=checkbox]:checked+label.sugar-calendar-toggle-control-icon:after{left:calc(100% - 2px);transform:translateX(-100%)}.sugar-calendar-toggle-control input[type=checkbox]:checked:hover:not(:disabled)+label.sugar-calendar-toggle-control-icon{background-color:#0a4b78}.sugar-calendar-toggle-control input[type=checkbox]:checked:focus:not(:disabled)+label.sugar-calendar-toggle-control-icon{box-shadow:0 0 0 1px #fff,0 0 0 2px #2271b1}.sugar-calendar-toggle-control input[type=checkbox]:disabled+label.sugar-calendar-toggle-control-icon{opacity:.5}.sugar-calendar-toggle-control input[type=checkbox]:disabled:hover+label.sugar-calendar-toggle-control-icon,.sugar-calendar-toggle-control input[type=checkbox]:disabled:focus+label.sugar-calendar-toggle-control-icon{box-shadow:none}.sugar-calendar-toggle-control span,.sugar-calendar-toggle-control label{display:inline-block;margin-bottom:0}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-label{padding:0 10px;max-width:calc(100% - 65px)}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-status{color:#50575e;font-size:12px;line-height:17px;padding:0 10px;text-transform:uppercase;display:none}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-status-off,.sugar-calendar-toggle-control .sugar-calendar-toggle-control-status-on{cursor:pointer}.sugar-calendar-toggle-control input:not(:checked)~.sugar-calendar-toggle-control-status-off,.sugar-calendar-toggle-control input:checked~.sugar-calendar-toggle-control-status-on{display:inline-block}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-icon{background-color:#8c8f94;border-radius:8.5px;cursor:pointer;display:inline-block;height:17px;position:relative;text-indent:-9999px;width:27px}.sugar-calendar-toggle-control .sugar-calendar-toggle-control-icon:after{background:#fff;border-radius:50%;content:"";height:13px;left:2px;position:absolute;top:2px;width:13px;transition:all .15s ease-out}.sugar-calendar-toggle-control input:disabled~.sugar-calendar-toggle-control-icon,.sugar-calendar-toggle-control input:disabled~.sugar-calendar-toggle-control-status-off,.sugar-calendar-toggle-control input:disabled~.sugar-calendar-toggle-control-status-on{cursor:default}.sugar-calendar-btn{border-width:1px;border-style:solid;border-radius:4px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;box-shadow:none;transition:all .05s ease-out}.sugar-calendar-btn.inactive{cursor:no-drop;pointer-events:none;box-shadow:none;opacity:.5}.sugar-calendar-btn-block{display:block;width:100%}.sugar-calendar-btn-sm{font-size:13px;font-weight:500;line-height:28px;padding:0 10px;height:30px}.sugar-calendar-btn-md{font-size:14px;line-height:14px;font-weight:500;padding:10px 15px;min-height:36px}.sugar-calendar-btn-lg{font-size:16px;font-weight:500;padding:11px 17px;min-height:44px}.sugar-calendar-btn-primary{background-color:#ff8845;border-color:#ff8845;color:#fff !important}.sugar-calendar-btn-primary:hover,.sugar-calendar-btn-primary:active,.sugar-calendar-btn-primary:focus{background-color:#cb6d37;border-color:#cb6d37;color:#fff !important}.sugar-calendar-btn-primary:focus{box-shadow:0 0 0 2px #cb6d37;border-color:#fff;outline:0}.sugar-calendar-btn-secondary{background-color:#2271b1;border-color:#2271b1;color:#fff !important}.sugar-calendar-btn-secondary:hover,.sugar-calendar-btn-secondary:focus{background-color:#0a4b78;border-color:#0a4b78;color:#fff !important}.sugar-calendar-btn-secondary:focus{box-shadow:0 0 0 2px #0a4b78;border-color:#fff;outline:0}.sugar-calendar-btn-tertiary{background-color:#f6f7f7;border-color:#8c8f94;color:#50575e !important}.sugar-calendar-btn-tertiary:hover,.sugar-calendar-btn-tertiary:focus{background-color:#f0f0f1;border-color:#50575e;color:#2c3338 !important}.sugar-calendar-btn-tertiary:focus{box-shadow:0 0 0 1px #50575e}.sugar-calendar-btn-green{background-color:#008a20;border:1px solid #008a20;color:#fff !important}.sugar-calendar-btn-green:focus{box-shadow:0 0 0 2px #008a20;border-color:#fff;outline:0}.sugar-calendar-btn-red{background-color:#d63638;border:1px solid #d63638;color:#fff !important}.sugar-calendar-btn-red:focus{box-shadow:0 0 0 2px #d63638;border-color:#fff;outline:0}.sugar-calendar-admin-subheader{display:flex;flex-wrap:wrap;align-items:center;height:60px;margin:0;padding:15px 30px;background-color:#fff;list-style:none;font-size:14px;font-weight:400;box-shadow:0 2px 4px 0 rgba(0,0,0,.07);box-sizing:border-box}.sugar-calendar-admin-subheader *,.sugar-calendar-admin-subheader *::before,.sugar-calendar-admin-subheader *::after{box-sizing:border-box}.sugar-calendar-admin-subheader h4{font-size:22px;font-weight:500;line-height:20px;color:#101517;margin:0}.sugar-calendar-admin-subheader .sugar-calendar-btn-new-item{margin-left:20px}.sugar-calendar-admin-subheader .sugar-calendar-btn-new-item::before{content:"";display:inline-block;mask:url(../images/icons/add.svg) center center no-repeat;background-color:#fff;width:11px;height:11px;margin:0 6px 0 0}.wrap{margin:0;padding:30px 30px 0}.wrap h1.wp-heading-inline{display:none}.wrap a.page-title-action{display:none}.wrap #poststuff{padding-top:0}.wrap #poststuff #titlediv #title-prompt-text{padding:11px 13px 9px;font-size:18px;line-height:20px}.wrap #poststuff #titlediv #title{padding:10px 12px;font-size:18px;line-height:19px;height:auto}.wrap #poststuff .postbox{border-radius:4px}.wrap #poststuff .postbox#submitdiv{overflow:hidden}.wrap #poststuff .postbox.closed{border-bottom:1px solid #c3c4c7}.wrap #poststuff .postbox.closed .postbox-header{border-bottom:none}.wrap #poststuff .postbox#sc_event_categorydiv{overflow:hidden}.wrap #poststuff .postbox#sc_event_categorydiv .inside{padding-bottom:0}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]{background-color:var(--sugar-calendar-background-color);border:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25);position:relative}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]:checked{color:#fff}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]:checked:before{content:none;height:initial;width:initial}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_categorychecklist input[type=checkbox]:checked:after{color:var(--sugar-calendar-foreground-color);content:"✓";font-weight:bold;left:2px;position:absolute;top:6px}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder{margin:10px -12px 0;padding:10px 12px;background-color:#f6f6f6;border-top:1px solid #c3c4c7}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new{display:inline-block;text-decoration:none;font-size:13px;font-weight:400;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new:focus{background:#f6f7f7;border-color:#3582c4;color:#0a4b78;box-shadow:0 0 0 1px #3582c4;outline:2px solid rgba(0,0,0,0);outline-offset:0}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder a.taxonomy-add-new:active{background:#f6f7f7;border-color:#8c8f94;box-shadow:none}.wrap #poststuff .postbox#sc_event_categorydiv .inside #sc_event_category-adder:not(.wp-hidden-children) a.taxonomy-add-new{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.25)}
  • sugar-calendar-lite/trunk/assets/js/frontend/blocks/common.js

    r3112714 r3132158  
    230230
    231231    return calendarIds;
     232}
     233
     234/**
     235 * Get the calendar IDs that are filtered from block settings.
     236 *
     237 * @since 3.2.0
     238 *
     239 * @return {string[]}
     240 */
     241SugarCalendarBlocks.Controls.prototype.getCalendarsFilter = function() {
     242    const $calendarFilters = this.$formContainer.find( 'input[name="sc_calendars_filter"]' );
     243
     244    if ( $calendarFilters.length <= 0 ) {
     245        return [];
     246    }
     247
     248    const calendarFilters = $calendarFilters.val();
     249
     250    if ( calendarFilters.length <= 0 ) {
     251        return [];
     252    }
     253
     254    return calendarFilters.split( ',' );
    232255}
    233256
  • sugar-calendar-lite/trunk/assets/js/frontend/blocks/common.min.js

    r3112525 r3132158  
    1 var SugarCalendarBlocks=window.SugarCalendarBlocks||function(e){const a={init(){e(a.ready)},ready(){e("body").on("click",a.events.closePopoversOnBodyClick)},events:{closePopoversOnBodyClick(o){!e(this).hasClass("sugar-calendar-block__popovers__active")||(o=e(o.target)).hasClass("sugar-calendar-block__controls__left__date")||o.hasClass("sugar-calendar-block__controls__right__settings__btn")||o.hasClass("sugar-calendar-block__controls__right__view__btn")||o.hasClass("sugar-calendar-block__event-cell")||o.hasClass("sugar-calendar-block__popover")||0<o.parents(".sugar-calendar-block__controls__left__date").length||0<o.parents(".sugar-calendar-block__controls__right__settings__btn").length||0<o.parents(".sugar-calendar-block__controls__right__view__btn").length||0<o.parents(".sugar-calendar-block__event-cell").length||0<o.parents(".sugar-calendar-block__popover").length||a.hideAllPopovers()}},hideAllPopovers(){var o=e("body");o.find(".sugar-calendar-block__popover").removeClass("sugar-calendar-block__controls__settings__btn_active").hide(),o.find(".sugar-calendar-block__controls__settings__btn").removeClass("sugar-calendar-block__controls__settings__btn_active"),o.find(".sugar-calendar-block__controls__left__date").removeClass("sugar-calendar-block__controls__settings__btn_active"),o.removeClass("sugar-calendar-block__popovers__active")}};return a}((document,window,jQuery));SugarCalendarBlocks.init(),SugarCalendarBlocks.Controls=SugarCalendarBlocks.Controls||function(o){this.$blockContainer=o,this.$baseContainer=o.find(".sugar-calendar-block__base-container"),this.$datePicker=o.find(".sugar-calendar-block__controls__datepicker"),this.$formContainer=o.find(".sugar-calendar-block-settings"),this.$searchContainer=o.find(".sugar-calendar-block__controls__right__search__field"),this.$searchClear=o.find(".sugar-calendar-block__controls__right__search__clear"),this.$timeOfDayContainer=o.find(".sugar-calendar-block__popover__calendar_selector__container__time"),this.$daysOfWeekContainer=o.find(".sugar-calendar-block__popover__calendar_selector__container__days"),this.initDatePicker(),this.$blockContainer.find(".sugar-calendar-block__popover__display_selector__container__body__option").on("click",this.onChangeDisplay.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__left__pagination__prev").on("click",this.goToPrevious.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__left__pagination__next").on("click",this.goToNext.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__left__pagination__current").on("click",this.goToCurrent.bind(this)),this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal").on("click",this.onSelectCalendar.bind(this)),this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day").on("change",this.filterDisplayedEvents.bind(this)),this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time").on("change",this.filterDisplayedEvents.bind(this)),this.$searchContainer.on("keyup",this.onSearch.bind(this)),this.$searchContainer.on("focus",this.onSearchFieldFocus.bind(this)),this.$searchContainer.on("focusout",this.onSearchFieldFocusOut.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__right__search__icon").on("click",this.onSearchClick.bind(this)),this.$searchClear.on("click",this.onClearSearch.bind(this)),new SugarCalendarBlocks.Controls.Popovers(o),this.$blockContainer.on("block:preupdate",this.onPreUpdate.bind(this)),this.$blockContainer.on("block:postupdate",this.onPostUpdate.bind(this))},SugarCalendarBlocks.Controls.prototype.onPreUpdate=function(o,e){this.$baseContainer.addClass("sugar-calendar-block__loading-state"),this.$baseContainer.prepend('<div class="sugar-calendar-block__base-container__overlay"><div class="sugar-calendar-block__loading"></div></div>')},SugarCalendarBlocks.Controls.prototype.onPostUpdate=function(o,e){this.$baseContainer.removeClass("sugar-calendar-block__loading-state"),this.$baseContainer.find(".sugar-calendar-block__base-container__overlay").remove()},SugarCalendarBlocks.Controls.prototype.getDisplayMode=function(){return this.$formContainer.find('input[name="sc_display"]').val()},SugarCalendarBlocks.Controls.prototype.getCalendarIds=function(){let o=[];return this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal:checked").each(function(){o.push(jQuery(this).val())}),o},SugarCalendarBlocks.Controls.prototype.onChangeDisplay=function(o){var o=jQuery(o.target).text().trim(),e=o.toLowerCase();e!==this.getDisplayMode()&&(this.$formContainer.find('input[name="sc_display"]').val(e),this.$blockContainer.find(".sugar-calendar-block__controls__right__view__btn span").text(o),this.update({update_display:!0}))},SugarCalendarBlocks.Controls.prototype.update=function(o){this.$blockContainer.trigger("block:preupdate",[o]),this.$blockContainer.trigger("block:update",[o]),this.$blockContainer.trigger("block:postupdate",[o])},SugarCalendarBlocks.Controls.prototype.goToPrevious=function(){this.update({action:"previous_week"})},SugarCalendarBlocks.Controls.prototype.goToNext=function(){this.update({action:"next_week"})},SugarCalendarBlocks.Controls.prototype.goToCurrent=function(){var o=this.$blockContainer.data();this.$formContainer.find('input[name="sc_year"]').val(o.ogyear),this.$formContainer.find('input[name="sc_month"]').val(o.ogmonth),this.$formContainer.find('input[name="sc_day"]').val(o.ogday),this.update({})},SugarCalendarBlocks.Controls.prototype.onSelectCalendar=function(){this.update({})},SugarCalendarBlocks.Controls.prototype.onSearch=function(o){13===o.keyCode?this.update({}):0<o.target.value.length?this.$searchClear.show():this.$searchClear.hide()},SugarCalendarBlocks.Controls.prototype.onSearchFieldFocus=function(o){jQuery(o.target).parent(".sugar-calendar-block__controls__right__search").addClass("sugar-calendar-block__controls__right__search--active")},SugarCalendarBlocks.Controls.prototype.onSearchFieldFocusOut=function(o){jQuery(o.target).parent(".sugar-calendar-block__controls__right__search").removeClass("sugar-calendar-block__controls__right__search--active")},SugarCalendarBlocks.Controls.prototype.onSearchClick=function(o){this.update({})},SugarCalendarBlocks.Controls.prototype.onClearSearch=function(o){this.$searchContainer.val(""),this.$searchClear.hide(),this.update({})},SugarCalendarBlocks.Controls.prototype.filterDisplayedEvents=function(){this.$blockContainer.trigger("block:filterDisplayedEvents",[{}])},SugarCalendarBlocks.Controls.prototype.initDatePicker=function(){void 0!==this.$datePicker&&this.$datePicker.datepicker("destroy"),this.$datePicker.datepicker({minViewMode:0,maxViewMode:2,templates:{leftArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.41406 10.6094C5.29688 10.7266 5.13281 10.7266 5.01562 10.6094L0.09375 5.71094C0 5.59375 0 5.42969 0.09375 5.3125L5.01562 0.414062C5.13281 0.296875 5.29688 0.296875 5.41406 0.414062L5.88281 0.859375C5.97656 0.976562 5.97656 1.16406 5.88281 1.25781L1.64062 5.5L5.88281 9.76562C5.97656 9.85938 5.97656 10.0469 5.88281 10.1641L5.41406 10.6094Z" fill="currentColor"/></svg>',rightArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5625 0.414062C0.679688 0.296875 0.84375 0.296875 0.960938 0.414062L5.88281 5.3125C5.97656 5.42969 5.97656 5.59375 5.88281 5.71094L0.960938 10.6094C0.84375 10.7266 0.679688 10.7266 0.5625 10.6094L0.09375 10.1641C0 10.0469 0 9.85938 0.09375 9.76562L4.33594 5.5L0.09375 1.25781C0 1.16406 0 0.976562 0.09375 0.859375L0.5625 0.414062Z" fill="currentColor"/></svg>'},weekStart:sc_frontend_blocks_common_obj.settings.sow});let e=this.$formContainer.find('input[name="sc_year"]'),a=this.$formContainer.find('input[name="sc_month"]'),t=this.$formContainer.find('input[name="sc_day"]'),n=this;this.$datePicker.datepicker("update",new Date(e.val(),a.val()-1,t.val())),this.$datePicker.on("changeDate",o=>{e.val(o.date.getFullYear()),a.val(o.date.getMonth()+1),t.val(o.date.getDate()),n.update({})})},SugarCalendarBlocks.Controls.prototype.updateDate=function(o){this.$formContainer.find('input[name="sc_year"]').val(o.year),this.$formContainer.find('input[name="sc_month"]').val(o.month),this.$formContainer.find('input[name="sc_day"]').val(o.day),this.$datePicker.datepicker("update",new Date(o.year,o.month-1,o.day))},SugarCalendarBlocks.Controls.prototype.getTimeOfDay=function(){return this.$timeOfDayContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time:checked").map((o,e)=>e.value).get()},SugarCalendarBlocks.Controls.prototype.getDaysOfWeek=function(){return this.$daysOfWeekContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day:checked").map((o,e)=>e.value).get()},SugarCalendarBlocks.Controls.Popovers=SugarCalendarBlocks.Controls.Popovers||function(o){this.$blockContainer=o;let a=[{key:"month_selector",popover_selector:".sugar-calendar-block__popover__month_selector",button_selector:".sugar-calendar-block__controls__left__date"},{key:"calendar_selector",popover_selector:".sugar-calendar-block__popover__calendar_selector",button_selector:".sugar-calendar-block__controls__right__settings__btn"},{key:"display_selector",popover_selector:".sugar-calendar-block__popover__display_selector",button_selector:".sugar-calendar-block__controls__right__view__btn"}];const t=this;a.forEach(o=>{var e=this.$blockContainer.find(o.button_selector);e.on("click",t.toggle.bind(t,e,o.key,a))})},SugarCalendarBlocks.Controls.Popovers.prototype.toggle=function(o,e,a){a=a.find(o=>o.key===e),a=this.$blockContainer.find(a.popover_selector);SugarCalendarBlocks.hideAllPopovers(),a.is(":visible")||this.show(o,a,e)},SugarCalendarBlocks.Controls.Popovers.prototype.show=function(o,a,e){FloatingUIDOM.computePosition(o[0],a[0],{placement:"calendar_selector"===e?"bottom-end":"bottom-start",middleware:[FloatingUIDOM.offset(10),FloatingUIDOM.flip(),FloatingUIDOM.shift()]}).then(({x:o,y:e})=>{Object.assign(a[0].style,{left:o+"px",top:e+"px"})}),o.addClass("sugar-calendar-block__controls__settings__btn_active"),a.show(),this.$blockContainer.parents("body").addClass("sugar-calendar-block__popovers__active")};
     1var SugarCalendarBlocks=window.SugarCalendarBlocks||function(o){const a={init(){o(a.ready)},ready(){o("body").on("click",a.events.closePopoversOnBodyClick)},events:{closePopoversOnBodyClick(e){!o(this).hasClass("sugar-calendar-block__popovers__active")||(e=o(e.target)).hasClass("sugar-calendar-block__controls__left__date")||e.hasClass("sugar-calendar-block__controls__right__settings__btn")||e.hasClass("sugar-calendar-block__controls__right__view__btn")||e.hasClass("sugar-calendar-block__event-cell")||e.hasClass("sugar-calendar-block__popover")||0<e.parents(".sugar-calendar-block__controls__left__date").length||0<e.parents(".sugar-calendar-block__controls__right__settings__btn").length||0<e.parents(".sugar-calendar-block__controls__right__view__btn").length||0<e.parents(".sugar-calendar-block__event-cell").length||0<e.parents(".sugar-calendar-block__popover").length||a.hideAllPopovers()}},hideAllPopovers(){var e=o("body");e.find(".sugar-calendar-block__popover").removeClass("sugar-calendar-block__controls__settings__btn_active").hide(),e.find(".sugar-calendar-block__controls__settings__btn").removeClass("sugar-calendar-block__controls__settings__btn_active"),e.find(".sugar-calendar-block__controls__left__date").removeClass("sugar-calendar-block__controls__settings__btn_active"),e.removeClass("sugar-calendar-block__popovers__active")}};return a}((document,window,jQuery));SugarCalendarBlocks.init(),SugarCalendarBlocks.Controls=SugarCalendarBlocks.Controls||function(e){this.$blockContainer=e,this.$baseContainer=e.find(".sugar-calendar-block__base-container"),this.$datePicker=e.find(".sugar-calendar-block__controls__datepicker"),this.$formContainer=e.find(".sugar-calendar-block-settings"),this.$searchContainer=e.find(".sugar-calendar-block__controls__right__search__field"),this.$searchClear=e.find(".sugar-calendar-block__controls__right__search__clear"),this.$timeOfDayContainer=e.find(".sugar-calendar-block__popover__calendar_selector__container__time"),this.$daysOfWeekContainer=e.find(".sugar-calendar-block__popover__calendar_selector__container__days"),this.initDatePicker(),this.$blockContainer.find(".sugar-calendar-block__popover__display_selector__container__body__option").on("click",this.onChangeDisplay.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__left__pagination__prev").on("click",this.goToPrevious.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__left__pagination__next").on("click",this.goToNext.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__left__pagination__current").on("click",this.goToCurrent.bind(this)),this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal").on("click",this.onSelectCalendar.bind(this)),this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day").on("change",this.filterDisplayedEvents.bind(this)),this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time").on("change",this.filterDisplayedEvents.bind(this)),this.$searchContainer.on("keyup",this.onSearch.bind(this)),this.$searchContainer.on("focus",this.onSearchFieldFocus.bind(this)),this.$searchContainer.on("focusout",this.onSearchFieldFocusOut.bind(this)),this.$blockContainer.find(".sugar-calendar-block__controls__right__search__icon").on("click",this.onSearchClick.bind(this)),this.$searchClear.on("click",this.onClearSearch.bind(this)),new SugarCalendarBlocks.Controls.Popovers(e),this.$blockContainer.on("block:preupdate",this.onPreUpdate.bind(this)),this.$blockContainer.on("block:postupdate",this.onPostUpdate.bind(this))},SugarCalendarBlocks.Controls.prototype.onPreUpdate=function(e,o){this.$baseContainer.addClass("sugar-calendar-block__loading-state"),this.$baseContainer.prepend('<div class="sugar-calendar-block__base-container__overlay"><div class="sugar-calendar-block__loading"></div></div>')},SugarCalendarBlocks.Controls.prototype.onPostUpdate=function(e,o){this.$baseContainer.removeClass("sugar-calendar-block__loading-state"),this.$baseContainer.find(".sugar-calendar-block__base-container__overlay").remove()},SugarCalendarBlocks.Controls.prototype.getDisplayMode=function(){return this.$formContainer.find('input[name="sc_display"]').val()},SugarCalendarBlocks.Controls.prototype.getCalendarIds=function(){let e=[];return this.$blockContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal:checked").each(function(){e.push(jQuery(this).val())}),e},SugarCalendarBlocks.Controls.prototype.getCalendarsFilter=function(){var e=this.$formContainer.find('input[name="sc_calendars_filter"]');return e.length<=0||(e=e.val()).length<=0?[]:e.split(",")},SugarCalendarBlocks.Controls.prototype.onChangeDisplay=function(e){var e=jQuery(e.target).text().trim(),o=e.toLowerCase();o!==this.getDisplayMode()&&(this.$formContainer.find('input[name="sc_display"]').val(o),this.$blockContainer.find(".sugar-calendar-block__controls__right__view__btn span").text(e),this.update({update_display:!0}))},SugarCalendarBlocks.Controls.prototype.update=function(e){this.$blockContainer.trigger("block:preupdate",[e]),this.$blockContainer.trigger("block:update",[e]),this.$blockContainer.trigger("block:postupdate",[e])},SugarCalendarBlocks.Controls.prototype.goToPrevious=function(){this.update({action:"previous_week"})},SugarCalendarBlocks.Controls.prototype.goToNext=function(){this.update({action:"next_week"})},SugarCalendarBlocks.Controls.prototype.goToCurrent=function(){var e=this.$blockContainer.data();this.$formContainer.find('input[name="sc_year"]').val(e.ogyear),this.$formContainer.find('input[name="sc_month"]').val(e.ogmonth),this.$formContainer.find('input[name="sc_day"]').val(e.ogday),this.update({})},SugarCalendarBlocks.Controls.prototype.onSelectCalendar=function(){this.update({})},SugarCalendarBlocks.Controls.prototype.onSearch=function(e){13===e.keyCode?this.update({}):0<e.target.value.length?this.$searchClear.show():this.$searchClear.hide()},SugarCalendarBlocks.Controls.prototype.onSearchFieldFocus=function(e){jQuery(e.target).parent(".sugar-calendar-block__controls__right__search").addClass("sugar-calendar-block__controls__right__search--active")},SugarCalendarBlocks.Controls.prototype.onSearchFieldFocusOut=function(e){jQuery(e.target).parent(".sugar-calendar-block__controls__right__search").removeClass("sugar-calendar-block__controls__right__search--active")},SugarCalendarBlocks.Controls.prototype.onSearchClick=function(e){this.update({})},SugarCalendarBlocks.Controls.prototype.onClearSearch=function(e){this.$searchContainer.val(""),this.$searchClear.hide(),this.update({})},SugarCalendarBlocks.Controls.prototype.filterDisplayedEvents=function(){this.$blockContainer.trigger("block:filterDisplayedEvents",[{}])},SugarCalendarBlocks.Controls.prototype.initDatePicker=function(){void 0!==this.$datePicker&&this.$datePicker.datepicker("destroy"),this.$datePicker.datepicker({minViewMode:0,maxViewMode:2,templates:{leftArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.41406 10.6094C5.29688 10.7266 5.13281 10.7266 5.01562 10.6094L0.09375 5.71094C0 5.59375 0 5.42969 0.09375 5.3125L5.01562 0.414062C5.13281 0.296875 5.29688 0.296875 5.41406 0.414062L5.88281 0.859375C5.97656 0.976562 5.97656 1.16406 5.88281 1.25781L1.64062 5.5L5.88281 9.76562C5.97656 9.85938 5.97656 10.0469 5.88281 10.1641L5.41406 10.6094Z" fill="currentColor"/></svg>',rightArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5625 0.414062C0.679688 0.296875 0.84375 0.296875 0.960938 0.414062L5.88281 5.3125C5.97656 5.42969 5.97656 5.59375 5.88281 5.71094L0.960938 10.6094C0.84375 10.7266 0.679688 10.7266 0.5625 10.6094L0.09375 10.1641C0 10.0469 0 9.85938 0.09375 9.76562L4.33594 5.5L0.09375 1.25781C0 1.16406 0 0.976562 0.09375 0.859375L0.5625 0.414062Z" fill="currentColor"/></svg>'},weekStart:sc_frontend_blocks_common_obj.settings.sow});let o=this.$formContainer.find('input[name="sc_year"]'),a=this.$formContainer.find('input[name="sc_month"]'),t=this.$formContainer.find('input[name="sc_day"]'),n=this;this.$datePicker.datepicker("update",new Date(o.val(),a.val()-1,t.val())),this.$datePicker.on("changeDate",e=>{o.val(e.date.getFullYear()),a.val(e.date.getMonth()+1),t.val(e.date.getDate()),n.update({})})},SugarCalendarBlocks.Controls.prototype.updateDate=function(e){this.$formContainer.find('input[name="sc_year"]').val(e.year),this.$formContainer.find('input[name="sc_month"]').val(e.month),this.$formContainer.find('input[name="sc_day"]').val(e.day),this.$datePicker.datepicker("update",new Date(e.year,e.month-1,e.day))},SugarCalendarBlocks.Controls.prototype.getTimeOfDay=function(){return this.$timeOfDayContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time:checked").map((e,o)=>o.value).get()},SugarCalendarBlocks.Controls.prototype.getDaysOfWeek=function(){return this.$daysOfWeekContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day:checked").map((e,o)=>o.value).get()},SugarCalendarBlocks.Controls.Popovers=SugarCalendarBlocks.Controls.Popovers||function(e){this.$blockContainer=e;let a=[{key:"month_selector",popover_selector:".sugar-calendar-block__popover__month_selector",button_selector:".sugar-calendar-block__controls__left__date"},{key:"calendar_selector",popover_selector:".sugar-calendar-block__popover__calendar_selector",button_selector:".sugar-calendar-block__controls__right__settings__btn"},{key:"display_selector",popover_selector:".sugar-calendar-block__popover__display_selector",button_selector:".sugar-calendar-block__controls__right__view__btn"}];const t=this;a.forEach(e=>{var o=this.$blockContainer.find(e.button_selector);o.on("click",t.toggle.bind(t,o,e.key,a))})},SugarCalendarBlocks.Controls.Popovers.prototype.toggle=function(e,o,a){a=a.find(e=>e.key===o),a=this.$blockContainer.find(a.popover_selector);SugarCalendarBlocks.hideAllPopovers(),a.is(":visible")||this.show(e,a,o)},SugarCalendarBlocks.Controls.Popovers.prototype.show=function(e,a,o){FloatingUIDOM.computePosition(e[0],a[0],{placement:"calendar_selector"===o?"bottom-end":"bottom-start",middleware:[FloatingUIDOM.offset(10),FloatingUIDOM.flip(),FloatingUIDOM.shift()]}).then(({x:e,y:o})=>{Object.assign(a[0].style,{left:e+"px",top:o+"px"})}),e.addClass("sugar-calendar-block__controls__settings__btn_active"),a.show(),this.$blockContainer.parents("body").addClass("sugar-calendar-block__popovers__active")};
  • sugar-calendar-lite/trunk/assets/js/frontend/blocks/event-list.js

    r3118281 r3132158  
    4747            attributes: this.$blockContainer.data( 'attributes' ),
    4848            calendars: this.controls.getCalendarIds(),
     49            calendarsFilter: this.controls.getCalendarsFilter(),
    4950            day: parseInt( this.controls.$formContainer.find( 'input[name="sc_day"]' ).val() ),
    5051            month: parseInt( this.controls.$formContainer.find( 'input[name="sc_month"]' ).val() ),
  • sugar-calendar-lite/trunk/assets/js/frontend/blocks/event-list.min.js

    r3118281 r3132158  
    1 var SugarCalendarBlocks=window.SugarCalendarBlocks||{};SugarCalendarBlocks.EventList=SugarCalendarBlocks.EventList||function(s){function e(e){this.$blockContainer=e,this.$baseContainer=e.find(".sugar-calendar-event-list-block__base-container"),this.controls=new SugarCalendarBlocks.Controls(e),this.$blockContainer.on("block:update",(e,n)=>{this.update(n)}),this.$blockContainer.on("block:filterDisplayedEvents",this.onFilterDisplayedEvents.bind(this)),this.$blockContainer.find(".sugar-calendar-event-list-block__footer__prev_btn").on("click",this.onPreviousWeekBtnClick.bind(this)),this.$blockContainer.find(".sugar-calendar-event-list-block__footer__next_btn").on("click",this.onNextWeekBtnClick.bind(this)),1===parseInt(this.controls.$formContainer.find('input[name="sc_visitor_tz_convert"]').val())&&this.update({})}e.prototype.update=function(e){SugarCalendarBlocks.hideAllPopovers();var n=void 0!==e.update_display&&e.update_display,e=void 0===e.action?"":e.action,n={attributes:this.$blockContainer.data("attributes"),calendars:this.controls.getCalendarIds(),day:parseInt(this.controls.$formContainer.find('input[name="sc_day"]').val()),month:parseInt(this.controls.$formContainer.find('input[name="sc_month"]').val()),year:parseInt(this.controls.$formContainer.find('input[name="sc_year"]').val()),search:this.controls.$searchContainer.val(),display:this.controls.getDisplayMode(),visitor_tz_convert:parseInt(this.controls.$formContainer.find('input[name="sc_visitor_tz_convert"]').val()),visitor_tz:Intl.DateTimeFormat().resolvedOptions().timeZone,updateDisplay:n,action:e};let t=this;s.post(sc_frontend_blocks_common_obj.ajax_url,{action:"sugar_calendar_event_list_block_update",block:n,nonce:sc_frontend_blocks_common_obj.nonce},function(e){e.success&&(t.controls.updateDate(e.data.date),t.$blockContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$baseContainer.html(e.data.body),t.$blockContainer.trigger("block:filterDisplayedEvents"),"undefined"!=typeof SCTimeZones)&&SCTimeZones.convertEventsTime()})},e.prototype.onFilterDisplayedEvents=function(){let a=this.controls.getTimeOfDay(),o=this.controls.getDaysOfWeek(),e=this.controls.getDisplayMode(),i=!1;this.$blockContainer.find(`.sugar-calendar-event-list-block__${e}view__event`).each((e,n)=>{n=s(n);let t=!0;(0===o.length||0<s(o).filter(n.data("eventdays")).length)&&(0===a.length||0<s(a).filter(n.data("daydiv")).length)&&(t=!1,i=!0),t?n.addClass("sugar-calendar-block-hide-element"):n.removeClass("sugar-calendar-block-hide-element")});var n=this.$baseContainer.find(".sugar-calendar-block__base-container__no-events");i?(this.$baseContainer.find(".sugar-calendar-block__events-display-container").removeClass("sugar-calendar-block-hide-element"),0<n.length&&n.remove()):(this.$baseContainer.find(".sugar-calendar-block__events-display-container").addClass("sugar-calendar-block-hide-element"),0===n.length&&this.$baseContainer.prepend('<div class="sugar-calendar-block__base-container__no-events"><div class="sugar-calendar-block__base-container__no-events__msg">'+SCEventListBlock.strings.no_events_criteria_based+"</div></div>"))},e.prototype.onPreviousWeekBtnClick=function(){this.update({action:"previous_week"})},e.prototype.onNextWeekBtnClick=function(){this.update({action:"next_week"})};const n={init(){s(n.ready)},ready(){s(".sugar-calendar-event-list-block").each(function(){new e(s(this))})}};return n}((document,window,jQuery)),SugarCalendarBlocks.EventList.init();
     1var SugarCalendarBlocks=window.SugarCalendarBlocks||{};SugarCalendarBlocks.EventList=SugarCalendarBlocks.EventList||function(s){function e(e){this.$blockContainer=e,this.$baseContainer=e.find(".sugar-calendar-event-list-block__base-container"),this.controls=new SugarCalendarBlocks.Controls(e),this.$blockContainer.on("block:update",(e,t)=>{this.update(t)}),this.$blockContainer.on("block:filterDisplayedEvents",this.onFilterDisplayedEvents.bind(this)),this.$blockContainer.find(".sugar-calendar-event-list-block__footer__prev_btn").on("click",this.onPreviousWeekBtnClick.bind(this)),this.$blockContainer.find(".sugar-calendar-event-list-block__footer__next_btn").on("click",this.onNextWeekBtnClick.bind(this)),1===parseInt(this.controls.$formContainer.find('input[name="sc_visitor_tz_convert"]').val())&&this.update({})}e.prototype.update=function(e){SugarCalendarBlocks.hideAllPopovers();var t=void 0!==e.update_display&&e.update_display,e=void 0===e.action?"":e.action,t={attributes:this.$blockContainer.data("attributes"),calendars:this.controls.getCalendarIds(),calendarsFilter:this.controls.getCalendarsFilter(),day:parseInt(this.controls.$formContainer.find('input[name="sc_day"]').val()),month:parseInt(this.controls.$formContainer.find('input[name="sc_month"]').val()),year:parseInt(this.controls.$formContainer.find('input[name="sc_year"]').val()),search:this.controls.$searchContainer.val(),display:this.controls.getDisplayMode(),visitor_tz_convert:parseInt(this.controls.$formContainer.find('input[name="sc_visitor_tz_convert"]').val()),visitor_tz:Intl.DateTimeFormat().resolvedOptions().timeZone,updateDisplay:t,action:e};let n=this;s.post(sc_frontend_blocks_common_obj.ajax_url,{action:"sugar_calendar_event_list_block_update",block:t,nonce:sc_frontend_blocks_common_obj.nonce},function(e){e.success&&(n.controls.updateDate(e.data.date),n.$blockContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),n.$baseContainer.html(e.data.body),n.$blockContainer.trigger("block:filterDisplayedEvents"),"undefined"!=typeof SCTimeZones)&&SCTimeZones.convertEventsTime()})},e.prototype.onFilterDisplayedEvents=function(){let a=this.controls.getTimeOfDay(),o=this.controls.getDaysOfWeek(),e=this.controls.getDisplayMode(),i=!1;this.$blockContainer.find(`.sugar-calendar-event-list-block__${e}view__event`).each((e,t)=>{t=s(t);let n=!0;(0===o.length||0<s(o).filter(t.data("eventdays")).length)&&(0===a.length||0<s(a).filter(t.data("daydiv")).length)&&(n=!1,i=!0),n?t.addClass("sugar-calendar-block-hide-element"):t.removeClass("sugar-calendar-block-hide-element")});var t=this.$baseContainer.find(".sugar-calendar-block__base-container__no-events");i?(this.$baseContainer.find(".sugar-calendar-block__events-display-container").removeClass("sugar-calendar-block-hide-element"),0<t.length&&t.remove()):(this.$baseContainer.find(".sugar-calendar-block__events-display-container").addClass("sugar-calendar-block-hide-element"),0===t.length&&this.$baseContainer.prepend('<div class="sugar-calendar-block__base-container__no-events"><div class="sugar-calendar-block__base-container__no-events__msg">'+SCEventListBlock.strings.no_events_criteria_based+"</div></div>"))},e.prototype.onPreviousWeekBtnClick=function(){this.update({action:"previous_week"})},e.prototype.onNextWeekBtnClick=function(){this.update({action:"next_week"})};const t={init(){s(t.ready)},ready(){s(".sugar-calendar-event-list-block").each(function(){new e(s(this))})}};return t}((document,window,jQuery)),SugarCalendarBlocks.EventList.init();
  • sugar-calendar-lite/trunk/assets/js/sugar-calendar.js

    r3118281 r3132158  
    739739
    740740    /**
     741     * Get the calendar IDs that are filtered from block settings.
     742     *
     743     * @since 3.2.0
     744     *
     745     * @return {string[]}
     746     */
     747    CalendarBlock.prototype.getCalendarsFilter = function() {
     748        const $calendarFilters = this.$formContainer.find( 'input[name="sc_calendars_filter"]' );
     749
     750        if ( $calendarFilters.length <= 0 ) {
     751            return [];
     752        }
     753
     754        const calendarFilters = $calendarFilters.val();
     755
     756        if ( calendarFilters.length <= 0 ) {
     757            return [];
     758        }
     759
     760        return calendarFilters.split( ',' );
     761    }
     762
     763    /**
    741764     * Get the display mode.
    742765     *
     
    771794            id: this.id,
    772795            calendars: this.getCalendarIds(),
     796            calendarsFilter: this.getCalendarsFilter(),
    773797            day: parseInt( this.$formContainer.find( 'input[name="sc_day"]' ).val() ),
    774798            month: parseInt( this.$formContainer.find( 'input[name="sc_month"]' ).val() ),
  • sugar-calendar-lite/trunk/assets/js/sugar-calendar.min.js

    r3118281 r3132158  
    1 "use strict";var sugar_calendar=window.sugar_calendar||function(t,s){function d(a){a.find(".sugar-calendar-block__popover").removeClass("sugar-calendar-block__controls__settings__btn_active").hide(),a.find(".sugar-calendar-block__controls__settings__btn").removeClass("sugar-calendar-block__controls__settings__btn_active"),a.find(".sugar-calendar-block__controls__left__date").removeClass("sugar-calendar-block__controls__settings__btn_active"),s("body").removeClass("sugar-calendar-block__popovers__active")}Array.prototype.uniquePush=function(a){return this.includes(a)||this.push(a),this};function e(a,e){this.$popover=a,this.$mainContainer=e}function o(n){this.$mainContainer=n;let t=[{key:"month_selector",popover_selector:".sugar-calendar-block__popover__month_selector",button_selector:".sugar-calendar-block__controls__left__date"},{key:"calendar_selector",popover_selector:".sugar-calendar-block__popover__calendar_selector",button_selector:".sugar-calendar-block__controls__right__settings__btn"},{key:"display_selector",popover_selector:".sugar-calendar-block__popover__display_selector",button_selector:".sugar-calendar-block__controls__right__view__btn"}],o=this;t.forEach(a=>{var e=n.find(a.button_selector);e.on("click",o.toggle.bind(o,e,a.key,t))})}function a(a){this.calendarBlock=a}function n(a){this.$mainContainer=a,this.$formContainer=a.find(".sugar-calendar-block-settings"),this.$mobileListContainer=a.find(".sugar-calendar-block__mobile_event_list"),this.id=this.$formContainer.find('input[name="sc_calendar_id"]').val(),this.$searchContainer=a.find(".sugar-calendar-block__controls__right__search__field"),this.$searchClear=a.find(".sugar-calendar-block__controls__right__search__clear"),this.$timeOfDayContainer=a.find(".sugar-calendar-block__popover__calendar_selector__container__time"),this.$daysOfWeekContainer=a.find(".sugar-calendar-block__popover__calendar_selector__container__days"),this.$datePicker=a.find(".sugar-calendar-block__controls__datepicker"),void 0!==this.id&&0<this.id.length&&(this.initPopovers(),this.initControls(),this.initDatePicker()),1===parseInt(this.$formContainer.find('input[name="sc_visitor_tz_convert"]').val())&&this.update()}let h=null,r=(e.prototype.show=function(a){var e=s(a.target);let n;e=(n=e.hasClass("sugar-calendar-block__event-cell")?e:s(a.target).parents(".sugar-calendar-block__event-cell")).data("eventobjid");let t=this.$popover.find(".sugar-calendar-block__popover__event__container__image"),o=this.$popover.find(".sugar-calendar-block__popover__event__container__content__description");t.hide(),t.css("background-image",""),o.text(""),void 0!==e&&(o.prepend('<div class="sugar-calendar-block__loading sugar-calendar-block__loading--no-overlay"></div>'),s.post(sugar_calendar_obj.ajax_url,{action:"sugar_calendar_event_popover",event_object_id:e,nonce:sugar_calendar_obj.nonce},function(a){if(a.success&&a.data){a.data.image&&(t.css("background-image",`url(${a.data.image})`),t.show());let n=[];a.data.description&&(a=s.parseHTML(a.data.description.trim()),s.each(a,function(a,e){n.push(e.textContent)})),o.html(""),o.text(n.join(""))}}));var a=n.find(".sugar-calendar-block__event-cell__title").text().trim(),e=n.find(".sugar-calendar-block__event-cell__time").text().trim(),r=this.$popover.find(".sugar-calendar-block__popover__event__container__content__title__link");r.attr("href",n.data("eventurl")),r.text(a);let l=Intl.DateTimeFormat().resolvedOptions().timeZone,i="",_=n.data("daydate");"undefined"!=typeof SCTimeZones&&l.length?(i=wp.date.dateI18n(SCTimezoneConvert.date_format,_.start_date.datetime,l),_.end_date&&(i+=" - "+wp.date.dateI18n(SCTimezoneConvert.date_format,_.end_date.datetime,l))):(i=_.start_date.value,_.end_date&&(i+=" - "+_.end_date.value)),this.$popover.find(".sugar-calendar-block__popover__event__container__content__date").text(i),this.$popover.find(".sugar-calendar-block__popover__event__container__content__time").text(e);r=this.$popover.find(".sugar-calendar-block__popover__event__container__content__calendar");r.html("");let c=n.data("calendarsinfo");if(void 0!==c&&void 0!==c.calendars){let e=[];c.calendars.forEach(a=>{e.push(`<div style="border-left: 2px solid ${a.color||c.primary_event_color};" class="sugar-calendar-block__popover__event__container__content__calendar__item">${a.name}</div>`)}),r.html(e.join(""))}h.computePosition(n[0],this.$popover[0],{placement:"bottom-start",middleware:[h.offset(10),h.flip(),h.shift()]}).then(({x:a,y:e})=>{Object.assign(this.$popover[0].style,{left:a+"px",top:e+"px"})}),d(this.$mainContainer),this.$popover.show(),s("body").addClass("sugar-calendar-block__popovers__active")},o.prototype.toggle=function(a,e,n){n=n.find(a=>a.key===e),n=this.$mainContainer.find(n.popover_selector);n.is(":visible")?d(this.$mainContainer):(d(this.$mainContainer),this.show(a,n,e))},o.prototype.show=function(a,n,e){h.computePosition(a[0],n[0],{placement:"calendar_selector"===e?"bottom-end":"bottom-start",middleware:[h.offset(10),h.flip(),h.shift()]}).then(({x:a,y:e})=>{Object.assign(n[0].style,{left:a+"px",top:e+"px"})}),a.addClass("sugar-calendar-block__controls__settings__btn_active"),n.show(),s("body").addClass("sugar-calendar-block__popovers__active")},a.prototype.onSearch=function(a){13===a.keyCode?this.calendarBlock.update():0<a.target.value.length?this.calendarBlock.$searchClear.show():this.calendarBlock.$searchClear.hide()},a.prototype.onSearchClick=function(a){this.calendarBlock.update()},a.prototype.onClearSearch=function(a){this.calendarBlock.$searchContainer.val(""),this.calendarBlock.$searchClear.hide(),this.calendarBlock.update()},a.prototype.goToMonth=function(a){this.calendarBlock.$formContainer.find('input[name="sc_month"]').val(parseInt(a.target.dataset.month)),this.calendarBlock.update()},a.prototype.goToPrevious=function(){switch(this.calendarBlock.getDisplay()){case"day":this.calendarBlock.update(!1,"previous_day");break;case"week":this.calendarBlock.update(!1,"previous_week");break;case"month":this.calendarBlock.update(!1,"previous_month")}},a.prototype.goToNext=function(){switch(this.calendarBlock.getDisplay()){case"day":this.calendarBlock.update(!1,"next_day");break;case"week":this.calendarBlock.update(!1,"next_week");break;case"month":this.calendarBlock.update(!1,"next_month")}},a.prototype.onSelectCalendar=function(){this.calendarBlock.update()},a.prototype.onSelectCurrent=function(){this.calendarBlock.$formContainer.find('input[name="sc_month"]').val(this.calendarBlock.$mainContainer.data("ogmonth")),this.calendarBlock.$formContainer.find('input[name="sc_year"]').val(this.calendarBlock.$mainContainer.data("ogyear")),this.calendarBlock.$formContainer.find('input[name="sc_day"]').val(this.calendarBlock.$mainContainer.data("ogday")),this.calendarBlock.update()},a.prototype.onChangeDisplay=function(a){var a=s(a.target).text().trim(),e=a.toLowerCase();e!==this.calendarBlock.getDisplay()&&(this.calendarBlock.$mainContainer.removeClass(`sugar-calendar-block__${this.calendarBlock.getDisplay()}-view`),this.calendarBlock.$mainContainer.addClass(`sugar-calendar-block__${e}-view`),this.calendarBlock.$formContainer.find('input[name="sc_display"]').val(e),this.calendarBlock.update(!0),this.calendarBlock.$mainContainer.find(".sugar-calendar-block__controls__right__view__btn span").text(a))},n.prototype.initDatePicker=function(){void 0!==this.$datePicker&&this.$datePicker.datepicker("destroy");let a=0,e=("month"===this.getDisplay()&&(a=1),this.$datePicker.datepicker({minViewMode:a,maxViewMode:2,templates:{leftArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.41406 10.6094C5.29688 10.7266 5.13281 10.7266 5.01562 10.6094L0.09375 5.71094C0 5.59375 0 5.42969 0.09375 5.3125L5.01562 0.414062C5.13281 0.296875 5.29688 0.296875 5.41406 0.414062L5.88281 0.859375C5.97656 0.976562 5.97656 1.16406 5.88281 1.25781L1.64062 5.5L5.88281 9.76562C5.97656 9.85938 5.97656 10.0469 5.88281 10.1641L5.41406 10.6094Z" fill="currentColor"/></svg>',rightArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5625 0.414062C0.679688 0.296875 0.84375 0.296875 0.960938 0.414062L5.88281 5.3125C5.97656 5.42969 5.97656 5.59375 5.88281 5.71094L0.960938 10.6094C0.84375 10.7266 0.679688 10.7266 0.5625 10.6094L0.09375 10.1641C0 10.0469 0 9.85938 0.09375 9.76562L4.33594 5.5L0.09375 1.25781C0 1.16406 0 0.976562 0.09375 0.859375L0.5625 0.414062Z" fill="currentColor"/></svg>'},weekStart:sugar_calendar_obj.settings.sow}),this.$formContainer.find('input[name="sc_year"]')),n=this.$formContainer.find('input[name="sc_month"]'),t=this.$formContainer.find('input[name="sc_day"]');this.$datePicker.datepicker("update",new Date(e.val(),n.val()-1,t.val())),this.$datePicker.on("changeDate",a=>{e.val(a.date.getFullYear()),n.val(a.date.getMonth()+1),"month"!==this.getDisplay()&&t.val(a.date.getDate()),this.update()})},n.prototype.initPopovers=function(){let n=this.$mainContainer;new o(n);var a=n.find(".sugar-calendar-block__popover__event"),a=new e(a,n);768<=t.innerWidth?n.on("click",".sugar-calendar-block__event-cell",a.show.bind(a)):n.on("click",".sugar-calendar-block__calendar-week__header__cell",function(a){let e=s(a.target);(e=e.hasClass("sugar-calendar-block__calendar-week__header__cell")?e:e.parents(".sugar-calendar-block__calendar-week__header__cell")).hasClass("sugar-calendar-block__calendar-week__header__cell--active")||void 0===e.data("weekdaynum")||(n.find(".sugar-calendar-block__calendar-week__header__cell--active").removeClass("sugar-calendar-block__calendar-week__header__cell--active"),n.find(".sugar-calendar-block__calendar-week__time-grid__day-col--active").removeClass("sugar-calendar-block__calendar-week__time-grid__day-col--active"),n.find(".sugar-calendar-block__calendar-week__event-slot--all-day--active").removeClass("sugar-calendar-block__calendar-week__event-slot--all-day--active"),e.addClass("sugar-calendar-block__calendar-week__header__cell--active"),n.find(".sugar-calendar-block__calendar-week__event-slot--all-day--"+e.data("weekdaynum")).addClass("sugar-calendar-block__calendar-week__event-slot--all-day--active"),n.find(".sugar-calendar-block__calendar-week__time-grid__day-col-"+e.data("weekdaynum")).addClass("sugar-calendar-block__calendar-week__time-grid__day-col--active"))})},n.prototype.initControls=function(){this.controlEvents=new a(this),this.$searchContainer.on("keyup",this.controlEvents.onSearch.bind(this.controlEvents)),this.$searchClear.on("click",this.controlEvents.onClearSearch.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__right__search__icon").on("click",this.controlEvents.onSearchClick.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__popover__month_selector__container__body__month").on("click",this.controlEvents.goToMonth.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__prev").on("click",this.controlEvents.goToPrevious.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__next").on("click",this.controlEvents.goToNext.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__current").on("click",this.controlEvents.onSelectCurrent.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal").on("change",this.controlEvents.onSelectCalendar.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day").on("change",this.displayEvents.bind(this)),this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time").on("change",this.displayEvents.bind(this)),this.$mainContainer.find(".sugar-calendar-block__popover__display_selector__container__body__option").on("click",this.controlEvents.onChangeDisplay.bind(this.controlEvents)),t.innerWidth<768&&(this.$mainContainer.on("click",".sugar-calendar-block__calendar-month__body__day",this.showMobileEvents.bind(this)),this.$mainContainer.on("click",".sugar-calendar-block__mobile_event_list .sugar-calendar-block__event-cell",this.onMobileEventCellClicked.bind(this)),this.$mainContainer.on("click",".sugar-calendar-block__calendar-week__event-slot .sugar-calendar-block__event-cell",this.onMobileEventCellClicked.bind(this)),this.$mainContainer.on("click",".sugar-calendar-block__calendar-day .sugar-calendar-block__event-cell",this.onMobileEventCellClicked.bind(this)))},n.prototype.onMobileEventCellClicked=function(a){let e=s(a.target);(e=e.hasClass("sugar-calendar-block__event-cell")?e:e.parents(".sugar-calendar-block__event-cell")).data("eventurl")&&(t.location.href=e.data("eventurl"))},n.prototype.getCalendarIds=function(){let a=[];return this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal:checked").each(function(){a.push(s(this).val())}),a},n.prototype.getDisplay=function(){return this.$formContainer.find('input[name="sc_display"]').val()},n.prototype.update=function(a=!1,e=""){d(this.$mainContainer);let n=this.$mainContainer.find(".sugar-calendar-block__base-container"),t=(n.addClass("sugar-calendar-block__loading-state"),n.prepend('<div class="sugar-calendar-block__base-container__overlay"><div class="sugar-calendar-block__loading"></div></div>'),this);a={id:this.id,calendars:this.getCalendarIds(),day:parseInt(this.$formContainer.find('input[name="sc_day"]').val()),month:parseInt(this.$formContainer.find('input[name="sc_month"]').val()),year:parseInt(this.$formContainer.find('input[name="sc_year"]').val()),search:this.$searchContainer.val(),accentColor:this.$mainContainer.data("accentcolor")?this.$mainContainer.data("accentcolor"):"",display:this.getDisplay(),visitor_tz_convert:parseInt(this.$formContainer.find('input[name="sc_visitor_tz_convert"]').val()),visitor_tz:Intl.DateTimeFormat().resolvedOptions().timeZone,updateDisplay:a,action:e};s.post(sugar_calendar_obj.ajax_url,{action:"sugar_calendar_block_update",calendar_block:a,nonce:sugar_calendar_obj.nonce},function(e){if(e.success){t.$formContainer.find('input[name="sc_day"]').val(e.data.date.day),t.$formContainer.find('input[name="sc_month"]').val(e.data.date.month),t.$formContainer.find('input[name="sc_year"]').val(e.data.date.year);let a="";switch(t.getDisplay()){case"day":t.$mainContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").hide(),e.data.is_update_display&&(t.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__days").hide(),a=sugar_calendar_obj.strings.today);break;case"week":t.$mainContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").hide(),e.data.is_update_display&&(t.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__days").show(),t.$mobileListContainer.hide(),a=sugar_calendar_obj.strings.this_week);break;default:t.$mainContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").text(e.data.date.year),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").show(),e.data.is_update_display?(t.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__days").show(),t.$mobileListContainer.show(),a=sugar_calendar_obj.strings.this_month):(t.$mainContainer.find(".sugar-calendar-block__base-container__overlay").remove(),n.removeClass("sugar-calendar-block__loading-state"),n=t.$mainContainer.find(".sugar-calendar-block__calendar-month__body"))}""!==a&&t.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__current").text(a),n.html(e.data.body),n.removeClass("sugar-calendar-block__loading-state"),t.displayEvents(),e.data.is_update_display?t.initDatePicker():t.$datePicker.datepicker("update",new Date(e.data.date.year,e.data.date.month-1,e.data.date.day)),"undefined"!=typeof SCTimeZones&&SCTimeZones.convertEventsTime()}})},n.prototype.getTimeOfDay=function(){return this.$timeOfDayContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time:checked").map((a,e)=>e.value).get()},n.prototype.getDaysOfWeek=function(){return this.$daysOfWeekContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day:checked").map((a,e)=>e.value).get()},n.prototype.showMobileEvents=function(a){var e=this.$mobileListContainer.find(".sugar-calendar-block__mobile_event_list__date"),n=this.$mobileListContainer.find(".sugar-calendar-block__mobile_event_list__events_container"),t=(e.html(""),n.html(""),s(a.target));let o;t=(o=t.hasClass("sugar-calendar-block__calendar-month__body__day")?t:s(a.target).parents(".sugar-calendar-block__calendar-month__body__day")).find(".sugar-calendar-block__calendar-month__body__day__events-container");let r=o.data("offsetmonth");(void 0===r||r.length<=0)&&(r=this.$mainContainer.find(".sugar-calendar-block__view-heading").text());var a=sugar_calendar_obj.strings.events_on,l=o.find(".sugar-calendar-block__calendar-month__body__day__number").text().trim();let i=a.replace("[Month Date]",r);l&&(i=i+" "+l),e.text(i),n.html(t.clone()),this.$mobileListContainer.show()},n.prototype.displayEvents=function(){if("week"===this.getDisplay())this.displayEventsOnWeekDisplay();else if("day"===this.getDisplay())this.displayEventsOnDayDisplay();else{let t=this.getTimeOfDay(),o=this.getDaysOfWeek(),r=[],l=this.$mainContainer.find(".sugar-calendar-block__calendar-month");l.find(".sugar-calendar-block__calendar-month__body__day__events-container").each((a,e)=>{let n=s(e);n.find(".sugar-calendar-block__event-cell").each((a,e)=>{e=s(e);(0===o.length||0<s(o).filter([n.data("weekday").toString()]).length)&&(0===t.length||0<s(t).filter(e.data("daydiv")).length)?(e.removeClass("sugar-calendar-block__calendar-month__cell-hide"),r.push(e.data("eventid"))):(e.addClass("sugar-calendar-block__calendar-month__cell-hide"),l.find(".sugar-calendar-block__calendar-month__spacer-eventid-"+e.data("eventid")).addClass("sugar-calendar-block__calendar-month__cell-hide"))})}),r.forEach(a=>{l.find(".sugar-calendar-block__calendar-month__body__day__events-container__event-id-"+a).removeClass("sugar-calendar-block__calendar-month__cell-hide"),l.find(".sugar-calendar-block__calendar-month__spacer-eventid-"+a).removeClass("sugar-calendar-block__calendar-month__cell-hide")})}},n.prototype.filterDisplayWeekView=function(a,n,t,o,r=!1){let l=[];return this.$mainContainer.find(a).each((a,e)=>{e=s(e);0===t.length||0<s(t).filter([e.data("weekday").toString()]).length?e.find(n).each((a,e)=>{e=s(e);0===o.length||0<s(o).filter(e.data("daydiv")).length?r?l.uniquePush(e.data("eventid")):e.removeClass("sugar-calendar-block__calendar-month__cell-hide"):e.addClass("sugar-calendar-block__calendar-month__cell-hide")}):e.find(n).addClass("sugar-calendar-block__calendar-month__cell-hide")}),l},n.prototype.displayEventsOnWeekDisplay=function(){var a=this.getDaysOfWeek(),e=this.getTimeOfDay();this.filterDisplayWeekView(".sugar-calendar-block__calendar-week__event-slot--all-day",".sugar-calendar-block__calendar-week__event-cell--all-day",a,e,!0).forEach(a=>{this.$mainContainer.find(".sugar-calendar-block__calendar-week__event-cell--id-"+a).removeClass("sugar-calendar-block__calendar-month__cell-hide")}),this.filterDisplayWeekView(".sugar-calendar-block__calendar-week__time-grid__day-col",".sugar-calendar-block__calendar-week__event-cell",a,e)},n.prototype.displayEventsOnDayDisplay=function(){let n=this.getTimeOfDay();0===n.length?this.$mainContainer.find(".sugar-calendar-block__event-cell").removeClass("sugar-calendar-block__calendar-month__cell-hide"):this.$mainContainer.find(".sugar-calendar-block__event-cell").each((a,e)=>{e=s(e);0<s(n).filter(e.data("daydiv")).length?e.removeClass("sugar-calendar-block__calendar-month__cell-hide"):e.addClass("sugar-calendar-block__calendar-month__cell-hide")})},{init:function(){s(t).on("load",function(){r.load()})},load:function(){void 0!==t.FloatingUIDOM&&(h=t.FloatingUIDOM,r.initCalendars(),s("body").on("click",r.closePopoversOnBodyClick))},initCalendars:function(){s(".sugar-calendar-block").each(function(){new n(s(this))})},closePopoversOnBodyClick:function(a){var e=s(this);!e.hasClass("sugar-calendar-block__popovers__active")||(a=s(a.target)).hasClass("sugar-calendar-block__controls__left__date")||a.hasClass("sugar-calendar-block__controls__right__settings__btn")||a.hasClass("sugar-calendar-block__controls__right__view__btn")||a.hasClass("sugar-calendar-block__event-cell")||a.hasClass("sugar-calendar-block__popover")||0<a.parents(".sugar-calendar-block__controls__left__date").length||0<a.parents(".sugar-calendar-block__controls__right__settings__btn").length||0<a.parents(".sugar-calendar-block__controls__right__view__btn").length||0<a.parents(".sugar-calendar-block__event-cell").length||0<a.parents(".sugar-calendar-block__popover").length||d(e)}});return r}((document,window),jQuery);sugar_calendar.init();
     1"use strict";var sugar_calendar=window.sugar_calendar||function(t,s){function d(a){a.find(".sugar-calendar-block__popover").removeClass("sugar-calendar-block__controls__settings__btn_active").hide(),a.find(".sugar-calendar-block__controls__settings__btn").removeClass("sugar-calendar-block__controls__settings__btn_active"),a.find(".sugar-calendar-block__controls__left__date").removeClass("sugar-calendar-block__controls__settings__btn_active"),s("body").removeClass("sugar-calendar-block__popovers__active")}Array.prototype.uniquePush=function(a){return this.includes(a)||this.push(a),this};function e(a,e){this.$popover=a,this.$mainContainer=e}function o(n){this.$mainContainer=n;let t=[{key:"month_selector",popover_selector:".sugar-calendar-block__popover__month_selector",button_selector:".sugar-calendar-block__controls__left__date"},{key:"calendar_selector",popover_selector:".sugar-calendar-block__popover__calendar_selector",button_selector:".sugar-calendar-block__controls__right__settings__btn"},{key:"display_selector",popover_selector:".sugar-calendar-block__popover__display_selector",button_selector:".sugar-calendar-block__controls__right__view__btn"}],o=this;t.forEach(a=>{var e=n.find(a.button_selector);e.on("click",o.toggle.bind(o,e,a.key,t))})}function a(a){this.calendarBlock=a}function n(a){this.$mainContainer=a,this.$formContainer=a.find(".sugar-calendar-block-settings"),this.$mobileListContainer=a.find(".sugar-calendar-block__mobile_event_list"),this.id=this.$formContainer.find('input[name="sc_calendar_id"]').val(),this.$searchContainer=a.find(".sugar-calendar-block__controls__right__search__field"),this.$searchClear=a.find(".sugar-calendar-block__controls__right__search__clear"),this.$timeOfDayContainer=a.find(".sugar-calendar-block__popover__calendar_selector__container__time"),this.$daysOfWeekContainer=a.find(".sugar-calendar-block__popover__calendar_selector__container__days"),this.$datePicker=a.find(".sugar-calendar-block__controls__datepicker"),void 0!==this.id&&0<this.id.length&&(this.initPopovers(),this.initControls(),this.initDatePicker()),1===parseInt(this.$formContainer.find('input[name="sc_visitor_tz_convert"]').val())&&this.update()}let h=null,r=(e.prototype.show=function(a){var e=s(a.target);let n;e=(n=e.hasClass("sugar-calendar-block__event-cell")?e:s(a.target).parents(".sugar-calendar-block__event-cell")).data("eventobjid");let t=this.$popover.find(".sugar-calendar-block__popover__event__container__image"),o=this.$popover.find(".sugar-calendar-block__popover__event__container__content__description");t.hide(),t.css("background-image",""),o.text(""),void 0!==e&&(o.prepend('<div class="sugar-calendar-block__loading sugar-calendar-block__loading--no-overlay"></div>'),s.post(sugar_calendar_obj.ajax_url,{action:"sugar_calendar_event_popover",event_object_id:e,nonce:sugar_calendar_obj.nonce},function(a){if(a.success&&a.data){a.data.image&&(t.css("background-image",`url(${a.data.image})`),t.show());let n=[];a.data.description&&(a=s.parseHTML(a.data.description.trim()),s.each(a,function(a,e){n.push(e.textContent)})),o.html(""),o.text(n.join(""))}}));var a=n.find(".sugar-calendar-block__event-cell__title").text().trim(),e=n.find(".sugar-calendar-block__event-cell__time").text().trim(),r=this.$popover.find(".sugar-calendar-block__popover__event__container__content__title__link");r.attr("href",n.data("eventurl")),r.text(a);let l=Intl.DateTimeFormat().resolvedOptions().timeZone,i="",_=n.data("daydate");"undefined"!=typeof SCTimeZones&&l.length?(i=wp.date.dateI18n(SCTimezoneConvert.date_format,_.start_date.datetime,l),_.end_date&&(i+=" - "+wp.date.dateI18n(SCTimezoneConvert.date_format,_.end_date.datetime,l))):(i=_.start_date.value,_.end_date&&(i+=" - "+_.end_date.value)),this.$popover.find(".sugar-calendar-block__popover__event__container__content__date").text(i),this.$popover.find(".sugar-calendar-block__popover__event__container__content__time").text(e);r=this.$popover.find(".sugar-calendar-block__popover__event__container__content__calendar");r.html("");let c=n.data("calendarsinfo");if(void 0!==c&&void 0!==c.calendars){let e=[];c.calendars.forEach(a=>{e.push(`<div style="border-left: 2px solid ${a.color||c.primary_event_color};" class="sugar-calendar-block__popover__event__container__content__calendar__item">${a.name}</div>`)}),r.html(e.join(""))}h.computePosition(n[0],this.$popover[0],{placement:"bottom-start",middleware:[h.offset(10),h.flip(),h.shift()]}).then(({x:a,y:e})=>{Object.assign(this.$popover[0].style,{left:a+"px",top:e+"px"})}),d(this.$mainContainer),this.$popover.show(),s("body").addClass("sugar-calendar-block__popovers__active")},o.prototype.toggle=function(a,e,n){n=n.find(a=>a.key===e),n=this.$mainContainer.find(n.popover_selector);n.is(":visible")?d(this.$mainContainer):(d(this.$mainContainer),this.show(a,n,e))},o.prototype.show=function(a,n,e){h.computePosition(a[0],n[0],{placement:"calendar_selector"===e?"bottom-end":"bottom-start",middleware:[h.offset(10),h.flip(),h.shift()]}).then(({x:a,y:e})=>{Object.assign(n[0].style,{left:a+"px",top:e+"px"})}),a.addClass("sugar-calendar-block__controls__settings__btn_active"),n.show(),s("body").addClass("sugar-calendar-block__popovers__active")},a.prototype.onSearch=function(a){13===a.keyCode?this.calendarBlock.update():0<a.target.value.length?this.calendarBlock.$searchClear.show():this.calendarBlock.$searchClear.hide()},a.prototype.onSearchClick=function(a){this.calendarBlock.update()},a.prototype.onClearSearch=function(a){this.calendarBlock.$searchContainer.val(""),this.calendarBlock.$searchClear.hide(),this.calendarBlock.update()},a.prototype.goToMonth=function(a){this.calendarBlock.$formContainer.find('input[name="sc_month"]').val(parseInt(a.target.dataset.month)),this.calendarBlock.update()},a.prototype.goToPrevious=function(){switch(this.calendarBlock.getDisplay()){case"day":this.calendarBlock.update(!1,"previous_day");break;case"week":this.calendarBlock.update(!1,"previous_week");break;case"month":this.calendarBlock.update(!1,"previous_month")}},a.prototype.goToNext=function(){switch(this.calendarBlock.getDisplay()){case"day":this.calendarBlock.update(!1,"next_day");break;case"week":this.calendarBlock.update(!1,"next_week");break;case"month":this.calendarBlock.update(!1,"next_month")}},a.prototype.onSelectCalendar=function(){this.calendarBlock.update()},a.prototype.onSelectCurrent=function(){this.calendarBlock.$formContainer.find('input[name="sc_month"]').val(this.calendarBlock.$mainContainer.data("ogmonth")),this.calendarBlock.$formContainer.find('input[name="sc_year"]').val(this.calendarBlock.$mainContainer.data("ogyear")),this.calendarBlock.$formContainer.find('input[name="sc_day"]').val(this.calendarBlock.$mainContainer.data("ogday")),this.calendarBlock.update()},a.prototype.onChangeDisplay=function(a){var a=s(a.target).text().trim(),e=a.toLowerCase();e!==this.calendarBlock.getDisplay()&&(this.calendarBlock.$mainContainer.removeClass(`sugar-calendar-block__${this.calendarBlock.getDisplay()}-view`),this.calendarBlock.$mainContainer.addClass(`sugar-calendar-block__${e}-view`),this.calendarBlock.$formContainer.find('input[name="sc_display"]').val(e),this.calendarBlock.update(!0),this.calendarBlock.$mainContainer.find(".sugar-calendar-block__controls__right__view__btn span").text(a))},n.prototype.initDatePicker=function(){void 0!==this.$datePicker&&this.$datePicker.datepicker("destroy");let a=0,e=("month"===this.getDisplay()&&(a=1),this.$datePicker.datepicker({minViewMode:a,maxViewMode:2,templates:{leftArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.41406 10.6094C5.29688 10.7266 5.13281 10.7266 5.01562 10.6094L0.09375 5.71094C0 5.59375 0 5.42969 0.09375 5.3125L5.01562 0.414062C5.13281 0.296875 5.29688 0.296875 5.41406 0.414062L5.88281 0.859375C5.97656 0.976562 5.97656 1.16406 5.88281 1.25781L1.64062 5.5L5.88281 9.76562C5.97656 9.85938 5.97656 10.0469 5.88281 10.1641L5.41406 10.6094Z" fill="currentColor"/></svg>',rightArrow:'<svg width="6" height="11" viewBox="0 0 6 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5625 0.414062C0.679688 0.296875 0.84375 0.296875 0.960938 0.414062L5.88281 5.3125C5.97656 5.42969 5.97656 5.59375 5.88281 5.71094L0.960938 10.6094C0.84375 10.7266 0.679688 10.7266 0.5625 10.6094L0.09375 10.1641C0 10.0469 0 9.85938 0.09375 9.76562L4.33594 5.5L0.09375 1.25781C0 1.16406 0 0.976562 0.09375 0.859375L0.5625 0.414062Z" fill="currentColor"/></svg>'},weekStart:sugar_calendar_obj.settings.sow}),this.$formContainer.find('input[name="sc_year"]')),n=this.$formContainer.find('input[name="sc_month"]'),t=this.$formContainer.find('input[name="sc_day"]');this.$datePicker.datepicker("update",new Date(e.val(),n.val()-1,t.val())),this.$datePicker.on("changeDate",a=>{e.val(a.date.getFullYear()),n.val(a.date.getMonth()+1),"month"!==this.getDisplay()&&t.val(a.date.getDate()),this.update()})},n.prototype.initPopovers=function(){let n=this.$mainContainer;new o(n);var a=n.find(".sugar-calendar-block__popover__event"),a=new e(a,n);768<=t.innerWidth?n.on("click",".sugar-calendar-block__event-cell",a.show.bind(a)):n.on("click",".sugar-calendar-block__calendar-week__header__cell",function(a){let e=s(a.target);(e=e.hasClass("sugar-calendar-block__calendar-week__header__cell")?e:e.parents(".sugar-calendar-block__calendar-week__header__cell")).hasClass("sugar-calendar-block__calendar-week__header__cell--active")||void 0===e.data("weekdaynum")||(n.find(".sugar-calendar-block__calendar-week__header__cell--active").removeClass("sugar-calendar-block__calendar-week__header__cell--active"),n.find(".sugar-calendar-block__calendar-week__time-grid__day-col--active").removeClass("sugar-calendar-block__calendar-week__time-grid__day-col--active"),n.find(".sugar-calendar-block__calendar-week__event-slot--all-day--active").removeClass("sugar-calendar-block__calendar-week__event-slot--all-day--active"),e.addClass("sugar-calendar-block__calendar-week__header__cell--active"),n.find(".sugar-calendar-block__calendar-week__event-slot--all-day--"+e.data("weekdaynum")).addClass("sugar-calendar-block__calendar-week__event-slot--all-day--active"),n.find(".sugar-calendar-block__calendar-week__time-grid__day-col-"+e.data("weekdaynum")).addClass("sugar-calendar-block__calendar-week__time-grid__day-col--active"))})},n.prototype.initControls=function(){this.controlEvents=new a(this),this.$searchContainer.on("keyup",this.controlEvents.onSearch.bind(this.controlEvents)),this.$searchClear.on("click",this.controlEvents.onClearSearch.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__right__search__icon").on("click",this.controlEvents.onSearchClick.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__popover__month_selector__container__body__month").on("click",this.controlEvents.goToMonth.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__prev").on("click",this.controlEvents.goToPrevious.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__next").on("click",this.controlEvents.goToNext.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__current").on("click",this.controlEvents.onSelectCurrent.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal").on("change",this.controlEvents.onSelectCalendar.bind(this.controlEvents)),this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day").on("change",this.displayEvents.bind(this)),this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time").on("change",this.displayEvents.bind(this)),this.$mainContainer.find(".sugar-calendar-block__popover__display_selector__container__body__option").on("click",this.controlEvents.onChangeDisplay.bind(this.controlEvents)),t.innerWidth<768&&(this.$mainContainer.on("click",".sugar-calendar-block__calendar-month__body__day",this.showMobileEvents.bind(this)),this.$mainContainer.on("click",".sugar-calendar-block__mobile_event_list .sugar-calendar-block__event-cell",this.onMobileEventCellClicked.bind(this)),this.$mainContainer.on("click",".sugar-calendar-block__calendar-week__event-slot .sugar-calendar-block__event-cell",this.onMobileEventCellClicked.bind(this)),this.$mainContainer.on("click",".sugar-calendar-block__calendar-day .sugar-calendar-block__event-cell",this.onMobileEventCellClicked.bind(this)))},n.prototype.onMobileEventCellClicked=function(a){let e=s(a.target);(e=e.hasClass("sugar-calendar-block__event-cell")?e:e.parents(".sugar-calendar-block__event-cell")).data("eventurl")&&(t.location.href=e.data("eventurl"))},n.prototype.getCalendarIds=function(){let a=[];return this.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__cal:checked").each(function(){a.push(s(this).val())}),a},n.prototype.getCalendarsFilter=function(){var a=this.$formContainer.find('input[name="sc_calendars_filter"]');return a.length<=0||(a=a.val()).length<=0?[]:a.split(",")},n.prototype.getDisplay=function(){return this.$formContainer.find('input[name="sc_display"]').val()},n.prototype.update=function(a=!1,e=""){d(this.$mainContainer);let n=this.$mainContainer.find(".sugar-calendar-block__base-container"),t=(n.addClass("sugar-calendar-block__loading-state"),n.prepend('<div class="sugar-calendar-block__base-container__overlay"><div class="sugar-calendar-block__loading"></div></div>'),this);a={id:this.id,calendars:this.getCalendarIds(),calendarsFilter:this.getCalendarsFilter(),day:parseInt(this.$formContainer.find('input[name="sc_day"]').val()),month:parseInt(this.$formContainer.find('input[name="sc_month"]').val()),year:parseInt(this.$formContainer.find('input[name="sc_year"]').val()),search:this.$searchContainer.val(),accentColor:this.$mainContainer.data("accentcolor")?this.$mainContainer.data("accentcolor"):"",display:this.getDisplay(),visitor_tz_convert:parseInt(this.$formContainer.find('input[name="sc_visitor_tz_convert"]').val()),visitor_tz:Intl.DateTimeFormat().resolvedOptions().timeZone,updateDisplay:a,action:e};s.post(sugar_calendar_obj.ajax_url,{action:"sugar_calendar_block_update",calendar_block:a,nonce:sugar_calendar_obj.nonce},function(e){if(e.success){t.$formContainer.find('input[name="sc_day"]').val(e.data.date.day),t.$formContainer.find('input[name="sc_month"]').val(e.data.date.month),t.$formContainer.find('input[name="sc_year"]').val(e.data.date.year);let a="";switch(t.getDisplay()){case"day":t.$mainContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").hide(),e.data.is_update_display&&(t.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__days").hide(),a=sugar_calendar_obj.strings.today);break;case"week":t.$mainContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").hide(),e.data.is_update_display&&(t.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__days").show(),t.$mobileListContainer.hide(),a=sugar_calendar_obj.strings.this_week);break;default:t.$mainContainer.find(".sugar-calendar-block__view-heading").text(e.data.heading),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").text(e.data.date.year),t.$mainContainer.find(".sugar-calendar-block__view-heading--year").show(),e.data.is_update_display?(t.$mainContainer.find(".sugar-calendar-block__popover__calendar_selector__container__days").show(),t.$mobileListContainer.show(),a=sugar_calendar_obj.strings.this_month):(t.$mainContainer.find(".sugar-calendar-block__base-container__overlay").remove(),n.removeClass("sugar-calendar-block__loading-state"),n=t.$mainContainer.find(".sugar-calendar-block__calendar-month__body"))}""!==a&&t.$mainContainer.find(".sugar-calendar-block__controls__left__pagination__current").text(a),n.html(e.data.body),n.removeClass("sugar-calendar-block__loading-state"),t.displayEvents(),e.data.is_update_display?t.initDatePicker():t.$datePicker.datepicker("update",new Date(e.data.date.year,e.data.date.month-1,e.data.date.day)),"undefined"!=typeof SCTimeZones&&SCTimeZones.convertEventsTime()}})},n.prototype.getTimeOfDay=function(){return this.$timeOfDayContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__time:checked").map((a,e)=>e.value).get()},n.prototype.getDaysOfWeek=function(){return this.$daysOfWeekContainer.find(".sugar-calendar-block__popover__calendar_selector__container__options__val__day:checked").map((a,e)=>e.value).get()},n.prototype.showMobileEvents=function(a){var e=this.$mobileListContainer.find(".sugar-calendar-block__mobile_event_list__date"),n=this.$mobileListContainer.find(".sugar-calendar-block__mobile_event_list__events_container"),t=(e.html(""),n.html(""),s(a.target));let o;t=(o=t.hasClass("sugar-calendar-block__calendar-month__body__day")?t:s(a.target).parents(".sugar-calendar-block__calendar-month__body__day")).find(".sugar-calendar-block__calendar-month__body__day__events-container");let r=o.data("offsetmonth");(void 0===r||r.length<=0)&&(r=this.$mainContainer.find(".sugar-calendar-block__view-heading").text());var a=sugar_calendar_obj.strings.events_on,l=o.find(".sugar-calendar-block__calendar-month__body__day__number").text().trim();let i=a.replace("[Month Date]",r);l&&(i=i+" "+l),e.text(i),n.html(t.clone()),this.$mobileListContainer.show()},n.prototype.displayEvents=function(){if("week"===this.getDisplay())this.displayEventsOnWeekDisplay();else if("day"===this.getDisplay())this.displayEventsOnDayDisplay();else{let t=this.getTimeOfDay(),o=this.getDaysOfWeek(),r=[],l=this.$mainContainer.find(".sugar-calendar-block__calendar-month");l.find(".sugar-calendar-block__calendar-month__body__day__events-container").each((a,e)=>{let n=s(e);n.find(".sugar-calendar-block__event-cell").each((a,e)=>{e=s(e);(0===o.length||0<s(o).filter([n.data("weekday").toString()]).length)&&(0===t.length||0<s(t).filter(e.data("daydiv")).length)?(e.removeClass("sugar-calendar-block__calendar-month__cell-hide"),r.push(e.data("eventid"))):(e.addClass("sugar-calendar-block__calendar-month__cell-hide"),l.find(".sugar-calendar-block__calendar-month__spacer-eventid-"+e.data("eventid")).addClass("sugar-calendar-block__calendar-month__cell-hide"))})}),r.forEach(a=>{l.find(".sugar-calendar-block__calendar-month__body__day__events-container__event-id-"+a).removeClass("sugar-calendar-block__calendar-month__cell-hide"),l.find(".sugar-calendar-block__calendar-month__spacer-eventid-"+a).removeClass("sugar-calendar-block__calendar-month__cell-hide")})}},n.prototype.filterDisplayWeekView=function(a,n,t,o,r=!1){let l=[];return this.$mainContainer.find(a).each((a,e)=>{e=s(e);0===t.length||0<s(t).filter([e.data("weekday").toString()]).length?e.find(n).each((a,e)=>{e=s(e);0===o.length||0<s(o).filter(e.data("daydiv")).length?r?l.uniquePush(e.data("eventid")):e.removeClass("sugar-calendar-block__calendar-month__cell-hide"):e.addClass("sugar-calendar-block__calendar-month__cell-hide")}):e.find(n).addClass("sugar-calendar-block__calendar-month__cell-hide")}),l},n.prototype.displayEventsOnWeekDisplay=function(){var a=this.getDaysOfWeek(),e=this.getTimeOfDay();this.filterDisplayWeekView(".sugar-calendar-block__calendar-week__event-slot--all-day",".sugar-calendar-block__calendar-week__event-cell--all-day",a,e,!0).forEach(a=>{this.$mainContainer.find(".sugar-calendar-block__calendar-week__event-cell--id-"+a).removeClass("sugar-calendar-block__calendar-month__cell-hide")}),this.filterDisplayWeekView(".sugar-calendar-block__calendar-week__time-grid__day-col",".sugar-calendar-block__calendar-week__event-cell",a,e)},n.prototype.displayEventsOnDayDisplay=function(){let n=this.getTimeOfDay();0===n.length?this.$mainContainer.find(".sugar-calendar-block__event-cell").removeClass("sugar-calendar-block__calendar-month__cell-hide"):this.$mainContainer.find(".sugar-calendar-block__event-cell").each((a,e)=>{e=s(e);0<s(n).filter(e.data("daydiv")).length?e.removeClass("sugar-calendar-block__calendar-month__cell-hide"):e.addClass("sugar-calendar-block__calendar-month__cell-hide")})},{init:function(){s(t).on("load",function(){r.load()})},load:function(){void 0!==t.FloatingUIDOM&&(h=t.FloatingUIDOM,r.initCalendars(),s("body").on("click",r.closePopoversOnBodyClick))},initCalendars:function(){s(".sugar-calendar-block").each(function(){new n(s(this))})},closePopoversOnBodyClick:function(a){var e=s(this);!e.hasClass("sugar-calendar-block__popovers__active")||(a=s(a.target)).hasClass("sugar-calendar-block__controls__left__date")||a.hasClass("sugar-calendar-block__controls__right__settings__btn")||a.hasClass("sugar-calendar-block__controls__right__view__btn")||a.hasClass("sugar-calendar-block__event-cell")||a.hasClass("sugar-calendar-block__popover")||0<a.parents(".sugar-calendar-block__controls__left__date").length||0<a.parents(".sugar-calendar-block__controls__right__settings__btn").length||0<a.parents(".sugar-calendar-block__controls__right__view__btn").length||0<a.parents(".sugar-calendar-block__event-cell").length||0<a.parents(".sugar-calendar-block__popover").length||d(e)}});return r}((document,window),jQuery);sugar_calendar.init();
  • sugar-calendar-lite/trunk/assets/languages/sugar-calendar.pot

    r3118281 r3132158  
    11msgid ""
    22msgstr ""
    3 "Project-Id-Version: Sugar Calendar 3.1.2\n"
     3"Project-Id-Version: Sugar Calendar 3.2.0\n"
    44"Report-Msgid-Bugs-To: https://sugarcalendar.com/support/\n"
    55"Last-Translator: Sugar Calendar <[email protected]>\n"
     
    88"Content-Type: text/plain; charset=UTF-8\n"
    99"Content-Transfer-Encoding: 8bit\n"
    10 "POT-Creation-Date: 2024-07-15T10:25:24+00:00\n"
     10"POT-Creation-Date: 2024-08-07T07:16:39+00:00\n"
    1111"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212"X-Generator: WP-CLI 2.8.1\n"
     
    1515#. Plugin Name of the plugin
    1616#. Author of the plugin
    17 #: src/Admin/Area.php:156
    18 #: src/Admin/Area.php:157
    19 #: src/Block/Calendar/Loader.php:351
     17#: src/Admin/Area.php:160
     18#: src/Admin/Area.php:161
     19#: src/Block/Calendar/Loader.php:357
    2020msgid "Sugar Calendar"
    2121msgstr ""
     
    4949#: includes/admin/help.php:34
    5050#: includes/admin/nav.php:25
    51 #: src/Admin/Events/Tables/Base.php:367
     51#: src/Admin/Events/Tables/Base.php:368
    5252#: src/Admin/Pages/Calendars.php:253
    5353#: src/Admin/Pages/Events.php:44
     
    239239#: includes/post/functions.php:134
    240240#: src/Admin/Events/Metaboxes/Event.php:638
    241 #: src/Admin/Events/Tables/Base.php:2572
     241#: src/Admin/Events/Tables/Base.php:2574
    242242#: src/Admin/Events/Tables/Basic.php:473
    243243#: src/Admin/Events/Tables/Day.php:214
     
    245245#: src/Block/Calendar/templates/week/multi-and-all-day-events-rows.php:9
    246246#: src/Block/Common/templates/popovers.php:99
    247 #: src/Helpers.php:326
     247#: src/Helpers.php:330
    248248msgid "All Day"
    249249msgstr ""
     
    270270
    271271#: includes/admin/help.php:133
    272 #: src/Admin/Events/Tables/Base.php:434
     272#: src/Admin/Events/Tables/Base.php:435
    273273#: src/Block/Calendar/CalendarView/Block.php:89
     274#: src/Integrations/Elementor/CalendarWidget.php:145
    274275msgid "Day"
    275276msgstr ""
     
    340341
    341342#: includes/admin/help.php:189
    342 #: src/Admin/Events/Tables/Base.php:433
     343#: src/Admin/Events/Tables/Base.php:434
    343344#: src/Admin/Events/Tables/Month.php:113
    344345#: src/Block/Calendar/CalendarView/Block.php:88
     346#: src/Integrations/Elementor/CalendarWidget.php:144
    345347msgid "Week"
    346348msgstr ""
     
    356358#: includes/admin/help.php:213
    357359#: includes/themes/legacy/calendar.php:159
    358 #: src/Admin/Events/Tables/Base.php:432
     360#: src/Admin/Events/Tables/Base.php:433
    359361#: src/Block/Calendar/CalendarView/Block.php:87
     362#: src/Integrations/Elementor/CalendarWidget.php:143
    360363msgid "Month"
    361364msgstr ""
     
    811814
    812815#: includes/admin/screen-options.php:126
    813 #: src/Admin/Events/Tables/Base.php:3191
     816#: src/Admin/Events/Tables/Base.php:3208
    814817#: src/Admin/Pages/SettingsGeneralTab.php:128
    815818msgid "Maximum Events"
     
    817820
    818821#: includes/admin/screen-options.php:135
    819 #: src/Admin/Events/Tables/Base.php:3179
     822#: src/Admin/Events/Tables/Base.php:3196
    820823#: src/Admin/Pages/SettingsGeneralTab.php:144
    821824msgid "Start of Week"
     
    931934
    932935#: includes/common/Features/EventTicketing/Feature.php:472
    933 #: includes/common/Features/EventTicketing/includes/admin/settings.php:390
     936#: includes/common/Features/EventTicketing/includes/admin/settings.php:399
    934937msgid "Ticket Details"
    935938msgstr ""
     
    956959#: includes/common/Features/EventTicketing/includes/admin/meta-box.php:19
    957960#: includes/common/Features/EventTicketing/includes/admin/orders-list-table.php:277
    958 #: includes/common/Features/EventTicketing/includes/admin/settings.php:100
     961#: includes/common/Features/EventTicketing/includes/admin/settings.php:101
    959962#: includes/common/Features/EventTicketing/includes/admin/view.php:174
    960963#: includes/common/Features/EventTicketing/includes/common/shortcodes.php:96
     
    979982#: includes/common/Features/EventTicketing/includes/admin/meta-box.php:54
    980983#: includes/pro/Features/EventUrls/Admin/Meta.php:63
    981 #: src/Admin/Events/Metaboxes.php:456
     984#: src/Admin/Events/Metaboxes.php:458
    982985msgid "ON"
    983986msgstr ""
     
    985988#: includes/common/Features/EventTicketing/includes/admin/meta-box.php:55
    986989#: includes/pro/Features/EventUrls/Admin/Meta.php:64
    987 #: src/Admin/Events/Metaboxes.php:457
     990#: src/Admin/Events/Metaboxes.php:459
    988991msgid "OFF"
    989992msgstr ""
     
    10801083#: includes/common/Features/EventTicketing/src/Admin/Pages/OrderEdit.php:227
    10811084#: src/Admin/Events/Metaboxes/Event.php:64
    1082 #: src/Admin/Events/Tables/Base.php:368
     1085#: src/Admin/Events/Tables/Base.php:369
    10831086#: src/Admin/Pages/Event.php:37
    10841087msgid "Event"
     
    10901093msgstr ""
    10911094
    1092 #: includes/common/Features/EventTicketing/includes/admin/settings.php:88
    1093 #: includes/common/Features/EventTicketing/includes/admin/settings.php:127
     1095#: includes/common/Features/EventTicketing/includes/admin/settings.php:89
     1096#: includes/common/Features/EventTicketing/includes/admin/settings.php:128
    10941097msgid "Payments"
    10951098msgstr ""
    10961099
    1097 #: includes/common/Features/EventTicketing/includes/admin/settings.php:135
     1100#: includes/common/Features/EventTicketing/includes/admin/settings.php:136
    10981101msgid "Emails"
    10991102msgstr ""
    11001103
    1101 #: includes/common/Features/EventTicketing/includes/admin/settings.php:163
    1102 #: includes/common/Features/EventTicketing/includes/admin/settings.php:177
     1104#: includes/common/Features/EventTicketing/includes/admin/settings.php:164
     1105#: includes/common/Features/EventTicketing/includes/admin/settings.php:178
    11031106msgid "Currency"
    11041107msgstr ""
    11051108
    1106 #: includes/common/Features/EventTicketing/includes/admin/settings.php:178
     1109#: includes/common/Features/EventTicketing/includes/admin/settings.php:179
    11071110msgid "Choose your currency. Note that some payment gateways have currency restrictions."
    11081111msgstr ""
    11091112
    1110 #: includes/common/Features/EventTicketing/includes/admin/settings.php:185
     1113#: includes/common/Features/EventTicketing/includes/admin/settings.php:186
    11111114msgid "Before ($10)"
    11121115msgstr ""
    11131116
    1114 #: includes/common/Features/EventTicketing/includes/admin/settings.php:186
     1117#: includes/common/Features/EventTicketing/includes/admin/settings.php:187
    11151118msgid "After (10$)"
    11161119msgstr ""
    11171120
    1118 #: includes/common/Features/EventTicketing/includes/admin/settings.php:195
     1121#: includes/common/Features/EventTicketing/includes/admin/settings.php:196
    11191122msgid "Currency Symbol Position"
    11201123msgstr ""
    11211124
    1122 #: includes/common/Features/EventTicketing/includes/admin/settings.php:196
     1125#: includes/common/Features/EventTicketing/includes/admin/settings.php:197
    11231126msgid "Choose the location of the currency symbol."
    11241127msgstr ""
    11251128
    1126 #: includes/common/Features/EventTicketing/includes/admin/settings.php:204
     1129#: includes/common/Features/EventTicketing/includes/admin/settings.php:205
    11271130msgid "The symbol to separate thousandths. Usually"
    11281131msgstr ""
    11291132
    1130 #: includes/common/Features/EventTicketing/includes/admin/settings.php:205
     1133#: includes/common/Features/EventTicketing/includes/admin/settings.php:206
     1134#: includes/common/Features/EventTicketing/includes/admin/settings.php:224
     1135msgid "or"
     1136msgstr ""
     1137
     1138#: includes/common/Features/EventTicketing/includes/admin/settings.php:214
     1139msgid "Thousands Separator"
     1140msgstr ""
     1141
    11311142#: includes/common/Features/EventTicketing/includes/admin/settings.php:223
    1132 msgid "or"
    1133 msgstr ""
    1134 
    1135 #: includes/common/Features/EventTicketing/includes/admin/settings.php:213
    1136 msgid "Thousands Separator"
    1137 msgstr ""
    1138 
    1139 #: includes/common/Features/EventTicketing/includes/admin/settings.php:222
    11401143msgid "The symbol to separate decimal points. Usually"
    11411144msgstr ""
    11421145
    1143 #: includes/common/Features/EventTicketing/includes/admin/settings.php:231
     1146#: includes/common/Features/EventTicketing/includes/admin/settings.php:232
    11441147msgid "Decimal Separator"
    11451148msgstr ""
    11461149
    1147 #: includes/common/Features/EventTicketing/includes/admin/settings.php:238
     1150#: includes/common/Features/EventTicketing/includes/admin/settings.php:239
    11481151msgid "Stripe"
    11491152msgstr ""
    11501153
    1151 #: includes/common/Features/EventTicketing/includes/admin/settings.php:241
     1154#: includes/common/Features/EventTicketing/includes/admin/settings.php:242
    11521155msgid "Easily collect credit card payments with Stripe. For getting started and more information, see our"
    11531156msgstr ""
    11541157
    1155 #: includes/common/Features/EventTicketing/includes/admin/settings.php:243
     1158#: includes/common/Features/EventTicketing/includes/admin/settings.php:252
    11561159msgid "Stripe documentation"
    11571160msgstr ""
    11581161
    1159 #: includes/common/Features/EventTicketing/includes/admin/settings.php:251
     1162#: includes/common/Features/EventTicketing/includes/admin/settings.php:260
    11601163msgid "Connection Status"
    11611164msgstr ""
    11621165
    1163 #: includes/common/Features/EventTicketing/includes/admin/settings.php:260
     1166#: includes/common/Features/EventTicketing/includes/admin/settings.php:269
    11641167msgid "While in test mode no live payments are processed. Be sure to enable Test Mode in your"
    11651168msgstr ""
    11661169
    1167 #: includes/common/Features/EventTicketing/includes/admin/settings.php:262
     1170#: includes/common/Features/EventTicketing/includes/admin/settings.php:271
    11681171msgid "Stripe Dashboard"
    11691172msgstr ""
    11701173
    1171 #: includes/common/Features/EventTicketing/includes/admin/settings.php:268
     1174#: includes/common/Features/EventTicketing/includes/admin/settings.php:277
    11721175msgid "Note: Test Mode is currently enabled via the"
    11731176msgstr ""
    11741177
    1175 #: includes/common/Features/EventTicketing/includes/admin/settings.php:269
     1178#: includes/common/Features/EventTicketing/includes/admin/settings.php:278
    11761179msgid "constant"
    11771180msgstr ""
    11781181
    1179 #: includes/common/Features/EventTicketing/includes/admin/settings.php:279
     1182#: includes/common/Features/EventTicketing/includes/admin/settings.php:288
    11801183msgid "Test Mode"
    11811184msgstr ""
    11821185
    1183 #: includes/common/Features/EventTicketing/includes/admin/settings.php:286
     1186#: includes/common/Features/EventTicketing/includes/admin/settings.php:295
    11841187msgid "The page customers are sent to after completing their ticket purchase"
    11851188msgstr ""
    11861189
    1187 #: includes/common/Features/EventTicketing/includes/admin/settings.php:287
    1188 #: includes/common/Features/EventTicketing/includes/admin/settings.php:401
     1190#: includes/common/Features/EventTicketing/includes/admin/settings.php:296
     1191#: includes/common/Features/EventTicketing/includes/admin/settings.php:410
    11891192msgid "This page must contain the"
    11901193msgstr ""
    11911194
    1192 #: includes/common/Features/EventTicketing/includes/admin/settings.php:288
    1193 #: includes/common/Features/EventTicketing/includes/admin/settings.php:402
     1195#: includes/common/Features/EventTicketing/includes/admin/settings.php:297
     1196#: includes/common/Features/EventTicketing/includes/admin/settings.php:411
    11941197msgid "shortcode"
    11951198msgstr ""
    11961199
    1197 #: includes/common/Features/EventTicketing/includes/admin/settings.php:296
    1198 #: includes/common/Features/EventTicketing/includes/admin/settings.php:396
     1200#: includes/common/Features/EventTicketing/includes/admin/settings.php:305
     1201#: includes/common/Features/EventTicketing/includes/admin/settings.php:405
    11991202msgid "No pages found"
    12001203msgstr ""
    12011204
    1202 #: includes/common/Features/EventTicketing/includes/admin/settings.php:306
     1205#: includes/common/Features/EventTicketing/includes/admin/settings.php:315
    12031206msgid "Payment Success Page"
    12041207msgstr ""
    12051208
    1206 #: includes/common/Features/EventTicketing/includes/admin/settings.php:332
     1209#: includes/common/Features/EventTicketing/includes/admin/settings.php:341
    12071210msgctxt "current value for sandbox mode"
    12081211msgid "test"
    12091212msgstr ""
    12101213
    1211 #: includes/common/Features/EventTicketing/includes/admin/settings.php:333
     1214#: includes/common/Features/EventTicketing/includes/admin/settings.php:342
    12121215msgctxt "current value for sandbox mode"
    12131216msgid "live"
    12141217msgstr ""
    12151218
    1216 #: includes/common/Features/EventTicketing/includes/admin/settings.php:347
     1219#: includes/common/Features/EventTicketing/includes/admin/settings.php:356
    12171220msgid "Connect with"
    12181221msgstr ""
    12191222
    1220 #: includes/common/Features/EventTicketing/includes/admin/settings.php:354
     1223#: includes/common/Features/EventTicketing/includes/admin/settings.php:363
    12211224msgid "Securely connect to Stripe with just a few clicks to begin accepting payments!"
    12221225msgstr ""
    12231226
    1224 #: includes/common/Features/EventTicketing/includes/admin/settings.php:356
     1227#: includes/common/Features/EventTicketing/includes/admin/settings.php:365
    12251228msgid "Learn more"
    12261229msgstr ""
    12271230
    1228 #: includes/common/Features/EventTicketing/includes/admin/settings.php:357
     1231#: includes/common/Features/EventTicketing/includes/admin/settings.php:366
    12291232msgid "about connecting with Stripe"
    12301233msgstr ""
    12311234
    1232 #: includes/common/Features/EventTicketing/includes/admin/settings.php:369
     1235#: includes/common/Features/EventTicketing/includes/admin/settings.php:378
    12331236msgid "Your Stripe account is connected in %s mode."
    12341237msgstr ""
    12351238
    1236 #: includes/common/Features/EventTicketing/includes/admin/settings.php:370
     1239#: includes/common/Features/EventTicketing/includes/admin/settings.php:379
    12371240msgid "Reconnect"
    12381241msgstr ""
    12391242
    1240 #: includes/common/Features/EventTicketing/includes/admin/settings.php:371
     1243#: includes/common/Features/EventTicketing/includes/admin/settings.php:380
    12411244msgid "Disconnect"
    12421245msgstr ""
    12431246
    1244 #: includes/common/Features/EventTicketing/includes/admin/settings.php:400
     1247#: includes/common/Features/EventTicketing/includes/admin/settings.php:409
    12451248msgid "The page where customer will view the details of their ticket purchases"
    12461249msgstr ""
    12471250
    1248 #: includes/common/Features/EventTicketing/includes/admin/settings.php:416
    1249 #: includes/common/Features/EventTicketing/includes/admin/settings.php:718
     1251#: includes/common/Features/EventTicketing/includes/admin/settings.php:425
     1252#: includes/common/Features/EventTicketing/includes/admin/settings.php:727
    12501253msgid "Ticket Details Page"
    12511254msgstr ""
    12521255
    1253 #: includes/common/Features/EventTicketing/includes/admin/settings.php:423
     1256#: includes/common/Features/EventTicketing/includes/admin/settings.php:432
    12541257msgid "Email Sender"
    12551258msgstr ""
    12561259
    1257 #: includes/common/Features/EventTicketing/includes/admin/settings.php:436
     1260#: includes/common/Features/EventTicketing/includes/admin/settings.php:445
    12581261msgid "From Email Address"
    12591262msgstr ""
    12601263
    1261 #: includes/common/Features/EventTicketing/includes/admin/settings.php:437
     1264#: includes/common/Features/EventTicketing/includes/admin/settings.php:446
    12621265msgid "The email address notifications are sent from."
    12631266msgstr ""
    12641267
    1265 #: includes/common/Features/EventTicketing/includes/admin/settings.php:450
     1268#: includes/common/Features/EventTicketing/includes/admin/settings.php:459
    12661269msgid "From Email Name"
    12671270msgstr ""
    12681271
    1269 #: includes/common/Features/EventTicketing/includes/admin/settings.php:451
     1272#: includes/common/Features/EventTicketing/includes/admin/settings.php:460
    12701273msgid "The person/business name email notifications are sent from."
    12711274msgstr ""
    12721275
    1273 #: includes/common/Features/EventTicketing/includes/admin/settings.php:457
     1276#: includes/common/Features/EventTicketing/includes/admin/settings.php:466
    12741277msgid "Order Receipt Email"
    12751278msgstr ""
    12761279
    1277 #: includes/common/Features/EventTicketing/includes/admin/settings.php:469
     1280#: includes/common/Features/EventTicketing/includes/admin/settings.php:478
    12781281msgid "Ticket Purchase Receipt"
    12791282msgstr ""
    12801283
    1281 #: includes/common/Features/EventTicketing/includes/admin/settings.php:470
     1284#: includes/common/Features/EventTicketing/includes/admin/settings.php:479
    12821285msgid "Order Receipt Subject"
    12831286msgstr ""
    12841287
    1285 #: includes/common/Features/EventTicketing/includes/admin/settings.php:471
     1288#: includes/common/Features/EventTicketing/includes/admin/settings.php:480
    12861289msgid "The subject line of emailed order receipts."
    12871290msgstr ""
    12881291
    1289 #: includes/common/Features/EventTicketing/includes/admin/settings.php:478
     1292#: includes/common/Features/EventTicketing/includes/admin/settings.php:487
    12901293msgid "Order Receipt Message"
    12911294msgstr ""
    12921295
    1293 #: includes/common/Features/EventTicketing/includes/admin/settings.php:487
     1296#: includes/common/Features/EventTicketing/includes/admin/settings.php:496
    12941297msgid "Ticket Receipt Email"
    12951298msgstr ""
    12961299
    1297 #: includes/common/Features/EventTicketing/includes/admin/settings.php:499
    1298 #: includes/common/Features/EventTicketing/includes/admin/settings.php:500
     1300#: includes/common/Features/EventTicketing/includes/admin/settings.php:508
     1301#: includes/common/Features/EventTicketing/includes/admin/settings.php:509
    12991302msgid "Ticket Email Subject"
    13001303msgstr ""
    13011304
    1302 #: includes/common/Features/EventTicketing/includes/admin/settings.php:501
     1305#: includes/common/Features/EventTicketing/includes/admin/settings.php:510
    13031306msgid "The subject line used when emailing a ticket to an attendee."
    13041307msgstr ""
    13051308
    1306 #: includes/common/Features/EventTicketing/includes/admin/settings.php:508
     1309#: includes/common/Features/EventTicketing/includes/admin/settings.php:517
    13071310msgid "Ticket Email Message"
    13081311msgstr ""
    13091312
    1310 #: includes/common/Features/EventTicketing/includes/admin/settings.php:527
     1313#: includes/common/Features/EventTicketing/includes/admin/settings.php:536
    13111314msgid "The full message included in the emailed order receipts. The following dynamic placeholders can be used:"
    13121315msgstr ""
    13131316
    1314 #: includes/common/Features/EventTicketing/includes/admin/settings.php:552
     1317#: includes/common/Features/EventTicketing/includes/admin/settings.php:561
    13151318msgid "The message sent when emailing a ticket to an attendee. The following dynamic placeholders can be used:"
    13161319msgstr ""
    13171320
    1318 #: includes/common/Features/EventTicketing/includes/admin/settings.php:605
     1321#: includes/common/Features/EventTicketing/includes/admin/settings.php:614
    13191322msgid "There was an error getting your Stripe credentials. Please <a href=\"%s\">try again</a>. If you continue to have this problem, please contact support."
    13201323msgstr ""
    13211324
    1322 #: includes/common/Features/EventTicketing/includes/admin/settings.php:713
     1325#: includes/common/Features/EventTicketing/includes/admin/settings.php:722
    13231326msgid "Ticket Receipt Page"
    13241327msgstr ""
     
    14011404
    14021405#: includes/common/Features/EventTicketing/includes/admin/view.php:108
    1403 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:256
     1406#: includes/common/Features/EventTicketing/includes/front-end/modal.php:261
    14041407msgid "Total:"
    14051408msgstr ""
     
    15901593#: includes/common/Features/EventTicketing/includes/classes/utilities/csv-export.php:80
    15911594#: includes/common/Features/EventTicketing/includes/common/shortcodes.php:56
    1592 #: src/Admin/Events/Metaboxes.php:390
     1595#: src/Admin/Events/Metaboxes.php:392
    15931596msgid "Date"
    15941597msgstr ""
     
    18781881#: includes/common/Features/EventTicketing/includes/front-end/print.php:92
    18791882#: src/Admin/Events/Metaboxes/Event.php:150
    1880 #: src/Admin/Events/Tables/Base.php:2729
     1883#: src/Admin/Events/Tables/Base.php:2746
    18811884msgid "Location"
    18821885msgstr ""
     
    19301933msgstr ""
    19311934
    1932 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:22
    1933 #: src/Helpers.php:267
     1935#: includes/common/Features/EventTicketing/includes/front-end/modal.php:23
     1936#: src/Helpers.php:271
    19341937msgid "Date/Time:"
    19351938msgstr ""
    19361939
    1937 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:47
     1940#: includes/common/Features/EventTicketing/includes/front-end/modal.php:48
    19381941#: includes/themes/legacy/event-display.php:134
    1939 #: src/Helpers.php:270
     1942#: src/Helpers.php:274
    19401943msgid "Date:"
    19411944msgstr ""
    19421945
    1943 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:52
     1946#: includes/common/Features/EventTicketing/includes/front-end/modal.php:53
    19441947#: includes/themes/legacy/event-display.php:180
    19451948#: src/Frontend/Loader.php:177
     
    19471950msgstr ""
    19481951
    1949 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:115
    1950 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:39
     1952#: includes/common/Features/EventTicketing/includes/front-end/modal.php:116
     1953#: includes/common/Features/EventTicketing/includes/front-end/singular.php:45
    19511954#: includes/common/Features/EventTicketing/includes/gateways/stripe.php:109
    19521955msgid "Event Tickets"
    19531956msgstr ""
    19541957
    1955 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:128
     1958#: includes/common/Features/EventTicketing/includes/front-end/modal.php:129
    19561959msgid "Billing Details"
    19571960msgstr ""
    19581961
    1959 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:132
     1962#: includes/common/Features/EventTicketing/includes/front-end/modal.php:133
    19601963msgid "First Name"
    19611964msgstr ""
    19621965
    1963 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:133
     1966#: includes/common/Features/EventTicketing/includes/front-end/modal.php:134
    19641967msgid "Your first name"
    19651968msgstr ""
    19661969
    1967 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:136
     1970#: includes/common/Features/EventTicketing/includes/front-end/modal.php:137
    19681971msgid "Last Name"
    19691972msgstr ""
    19701973
    1971 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:137
     1974#: includes/common/Features/EventTicketing/includes/front-end/modal.php:138
    19721975msgid "Your last name"
    19731976msgstr ""
    19741977
    1975 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:142
     1978#: includes/common/Features/EventTicketing/includes/front-end/modal.php:143
    19761979msgid "Email Address"
    19771980msgstr ""
    19781981
    1979 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:143
     1982#: includes/common/Features/EventTicketing/includes/front-end/modal.php:144
    19801983msgid "Enter email address"
    19811984msgstr ""
    19821985
    1983 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:148
     1986#: includes/common/Features/EventTicketing/includes/front-end/modal.php:149
    19841987msgid "Attendee Information"
    19851988msgstr ""
    19861989
    1987 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:149
     1990#: includes/common/Features/EventTicketing/includes/front-end/modal.php:150
    19881991msgid "Enter the name and email of all attendees (optional)."
    19891992msgstr ""
    19901993
    1991 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:149
     1994#: includes/common/Features/EventTicketing/includes/front-end/modal.php:150
    19921995msgid "Copy from Billing Details."
    19931996msgstr ""
    19941997
    1995 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:154
     1998#: includes/common/Features/EventTicketing/includes/front-end/modal.php:155
    19961999msgid "Attendee 1"
    19972000msgstr ""
    19982001
    1999 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:156
     2002#: includes/common/Features/EventTicketing/includes/front-end/modal.php:157
    20002003msgid "First name"
    20012004msgstr ""
    20022005
    2003 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:157
     2006#: includes/common/Features/EventTicketing/includes/front-end/modal.php:158
    20042007msgid "Last name"
    20052008msgstr ""
    20062009
    2007 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:158
     2010#: includes/common/Features/EventTicketing/includes/front-end/modal.php:159
    20082011msgid "Email"
    20092012msgstr ""
    20102013
    2011 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:175
     2014#: includes/common/Features/EventTicketing/includes/front-end/modal.php:176
    20122015msgid "Payment Card"
    20132016msgstr ""
    20142017
    2015 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:193
     2018#: includes/common/Features/EventTicketing/includes/front-end/modal.php:194
    20162019msgid "Event Summary"
    20172020msgstr ""
    20182021
    2019 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:201
     2022#. translators: %s: Event name.
     2023#: includes/common/Features/EventTicketing/includes/front-end/modal.php:200
    20202024msgid "<span>Event:</span> %s"
    20212025msgstr ""
    20222026
    2023 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:218
     2027#: includes/common/Features/EventTicketing/includes/front-end/modal.php:227
    20242028msgid "Order Summary"
    20252029msgstr ""
    20262030
    2027 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:226
     2031#. translators: %s: Tickets quantity.
     2032#: includes/common/Features/EventTicketing/includes/front-end/modal.php:233
    20282033msgid "<span>Tickets:</span> %s"
    20292034msgstr ""
    20302035
    2031 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:245
     2036#. translators: %s: Ticket Price.
     2037#: includes/common/Features/EventTicketing/includes/front-end/modal.php:250
    20322038msgid "<span>Ticket Price:</span> <strong>%s</strong>"
    20332039msgstr ""
    20342040
    2035 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:259
    2036 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:270
     2041#: includes/common/Features/EventTicketing/includes/front-end/modal.php:264
     2042#: includes/common/Features/EventTicketing/includes/front-end/modal.php:275
    20372043msgid "Loading..."
    20382044msgstr ""
    20392045
    2040 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:271
     2046#: includes/common/Features/EventTicketing/includes/front-end/modal.php:276
    20412047msgid "Cancel"
    20422048msgstr ""
    20432049
    2044 #: includes/common/Features/EventTicketing/includes/front-end/modal.php:272
     2050#: includes/common/Features/EventTicketing/includes/front-end/modal.php:277
    20452051msgid "Purchase"
    20462052msgstr ""
     
    20552061
    20562062#: includes/common/Features/EventTicketing/includes/front-end/print.php:108
    2057 #: src/Admin/Events/Metaboxes.php:468
     2063#: src/Admin/Events/Metaboxes.php:470
    20582064msgid "URL"
    20592065msgstr ""
    20602066
    2061 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:47
     2067#: includes/common/Features/EventTicketing/includes/front-end/singular.php:53
    20622068msgid "This event has past so tickets are no longer available."
    20632069msgstr ""
    20642070
    2065 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:54
     2071#: includes/common/Features/EventTicketing/includes/front-end/singular.php:60
    20662072msgid "Qty"
    20672073msgstr ""
    20682074
    2069 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:56
     2075#: includes/common/Features/EventTicketing/includes/front-end/singular.php:62
    20702076msgid "Quantity"
    20712077msgstr ""
    20722078
    2073 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:59
     2079#: includes/common/Features/EventTicketing/includes/front-end/singular.php:65
    20742080msgid "%s per ticket"
    20752081msgstr ""
    20762082
    2077 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:67
     2083#: includes/common/Features/EventTicketing/includes/front-end/singular.php:73
    20782084msgid "Sold Out"
    20792085msgstr ""
    20802086
    2081 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:71
     2087#: includes/common/Features/EventTicketing/includes/front-end/singular.php:77
    20822088msgid "%d available"
    20832089msgstr ""
    20842090
    2085 #: includes/common/Features/EventTicketing/includes/front-end/singular.php:91
     2091#: includes/common/Features/EventTicketing/includes/front-end/singular.php:97
    20862092msgid "Add to Cart"
    20872093msgstr ""
     
    21422148
    21432149#. translators: %1$s is the price of the ticket.
    2144 #: includes/common/Features/EventTicketing/src/Frontend/Loader.php:84
     2150#: includes/common/Features/EventTicketing/src/Frontend/Loader.php:89
    21452151msgid "Buy Tickets - %1$s"
    21462152msgstr ""
    21472153
    21482154#: includes/common/Features/EventTicketing/src/Helpers/UI.php:47
    2149 #: src/Helpers/UI.php:47
     2155#: src/Helpers/UI.php:46
    21502156msgid "Help"
    21512157msgstr ""
     
    21622168
    21632169#: includes/common/Features/EventTicketing/src/Helpers/UI.php:472
    2164 #: src/Admin/Events/Metaboxes.php:388
     2170#: src/Admin/Events/Metaboxes.php:390
    21652171#: src/Helpers/UI.php:472
    21662172msgid "On"
     
    22992305#: src/Admin/Pages/Calendars.php:116
    23002306#: src/Block/Common/templates/popovers.php:25
     2307#: src/Integrations/Elementor/CalendarWidget.php:124
     2308#: src/Integrations/Elementor/ListWidget.php:127
    23012309msgid "Calendars"
    23022310msgstr ""
    23032311
    23042312#: includes/post/taxonomies.php:44
    2305 #: src/Admin/Events/Tables/Base.php:3115
    2306 #: src/Admin/Events/Tables/Base.php:3117
     2313#: src/Admin/Events/Tables/Base.php:3132
     2314#: src/Admin/Events/Tables/Base.php:3134
    23072315msgid "Search"
    23082316msgstr ""
     
    25622570
    25632571#: includes/pro/Pro.php:170
    2564 #: src/Admin/Events/Metaboxes.php:414
    2565 #: src/Admin/Events/Metaboxes.php:503
     2572#: src/Admin/Events/Metaboxes.php:416
     2573#: src/Admin/Events/Metaboxes.php:505
    25662574msgid "to access this feature and a lot more!"
    25672575msgstr ""
     
    25902598
    25912599#: includes/themes/legacy/event-display.php:223
    2592 #: src/Admin/Events/Tables/Base.php:3755
     2600#: src/Admin/Events/Tables/Base.php:3772
    25932601msgid "to"
    25942602msgstr ""
     
    27872795msgstr ""
    27882796
    2789 #: src/Admin/Area.php:245
    2790 #: src/Admin/Area.php:246
     2797#: src/Admin/Area.php:249
     2798#: src/Admin/Area.php:250
    27912799msgid "Upgrade to Pro"
    27922800msgstr ""
     
    28862894
    28872895#: src/Admin/Education.php:302
    2888 #: src/Admin/Events/Metaboxes.php:413
    2889 #: src/Admin/Events/Metaboxes.php:502
     2896#: src/Admin/Events/Metaboxes.php:415
     2897#: src/Admin/Events/Metaboxes.php:504
    28902898#: src/Admin/Pages/SettingsFeedsTab.php:131
    28912899#: src/Admin/Pages/SettingsZapierTab.php:133
     
    29152923msgstr ""
    29162924
    2917 #: src/Admin/Events/Metaboxes.php:330
     2925#: src/Admin/Events/Metaboxes.php:332
    29182926msgid "Recurrence"
    29192927msgstr ""
    29202928
    2921 #: src/Admin/Events/Metaboxes.php:341
     2929#: src/Admin/Events/Metaboxes.php:343
    29222930msgid "Link"
    29232931msgstr ""
    29242932
    2925 #: src/Admin/Events/Metaboxes.php:360
     2933#: src/Admin/Events/Metaboxes.php:362
    29262934msgid "Repeat"
    29272935msgstr ""
    29282936
    2929 #: src/Admin/Events/Metaboxes.php:363
    2930 #: src/Admin/Events/Metaboxes.php:381
     2937#: src/Admin/Events/Metaboxes.php:365
     2938#: src/Admin/Events/Metaboxes.php:383
    29312939msgid "Never"
    29322940msgstr ""
    29332941
    2934 #: src/Admin/Events/Metaboxes.php:369
     2942#: src/Admin/Events/Metaboxes.php:371
    29352943msgid "Every"
    29362944msgstr ""
    29372945
    2938 #: src/Admin/Events/Metaboxes.php:376
     2946#: src/Admin/Events/Metaboxes.php:378
    29392947msgid "Ends"
    29402948msgstr ""
    29412949
    2942 #: src/Admin/Events/Metaboxes.php:396
     2950#: src/Admin/Events/Metaboxes.php:398
    29432951msgid "After"
    29442952msgstr ""
    29452953
    2946 #: src/Admin/Events/Metaboxes.php:398
     2954#: src/Admin/Events/Metaboxes.php:400
    29472955msgid "1"
    29482956msgstr ""
    29492957
    2950 #: src/Admin/Events/Metaboxes.php:400
     2958#: src/Admin/Events/Metaboxes.php:402
    29512959msgid "time"
    29522960msgstr ""
    29532961
    2954 #: src/Admin/Events/Metaboxes.php:443
     2962#: src/Admin/Events/Metaboxes.php:445
    29552963msgid "Add a custom URL which will be displayed in the event details or redirect visitors to a different page."
    29562964msgstr ""
    29572965
    2958 #: src/Admin/Events/Metaboxes.php:447
     2966#: src/Admin/Events/Metaboxes.php:449
    29592967msgid "Redirect"
    29602968msgstr ""
    29612969
    2962 #: src/Admin/Events/Metaboxes.php:459
     2970#: src/Admin/Events/Metaboxes.php:461
    29632971msgid "Automatically send visitors here. The Event page on your site will be inaccessible."
    29642972msgstr ""
    29652973
    2966 #: src/Admin/Events/Metaboxes.php:472
     2974#: src/Admin/Events/Metaboxes.php:474
    29672975msgid "Paste the full URL starting with https://"
    29682976msgstr ""
    29692977
    2970 #: src/Admin/Events/Metaboxes.php:478
     2978#: src/Admin/Events/Metaboxes.php:480
    29712979msgid "Target"
    29722980msgstr ""
    29732981
    2974 #: src/Admin/Events/Metaboxes.php:481
     2982#: src/Admin/Events/Metaboxes.php:483
    29752983msgid "Open link in a new tab"
    29762984msgstr ""
    29772985
    2978 #: src/Admin/Events/Metaboxes.php:486
     2986#: src/Admin/Events/Metaboxes.php:488
    29792987msgid "Text"
    29802988msgstr ""
    29812989
    2982 #: src/Admin/Events/Metaboxes.php:490
     2990#: src/Admin/Events/Metaboxes.php:492
    29832991msgid "Use this text instead of showing the URL."
    29842992msgstr ""
    29852993
    29862994#: src/Admin/Events/Metaboxes/Details.php:35
    2987 #: src/Admin/Events/Tables/Base.php:2443
    2988 #: src/Admin/Events/Tables/Base.php:2453
     2995#: src/Admin/Events/Tables/Base.php:2444
     2996#: src/Admin/Events/Tables/Base.php:2454
    29892997msgid "Details"
    29902998msgstr ""
     
    30073015
    30083016#: src/Admin/Events/Metaboxes/Event.php:657
    3009 #: src/Admin/Events/Tables/Base.php:2550
    3010 #: src/Admin/Events/Tables/Base.php:2557
    3011 #: src/Admin/Events/Tables/Base.php:2564
    3012 #: src/Admin/Events/Tables/Base.php:2585
    3013 #: src/Admin/Events/Tables/Base.php:2592
    3014 #: src/Admin/Events/Tables/Base.php:2599
    3015 #: src/Admin/Events/Tables/Base.php:2625
    3016 msgid "Start"
    3017 msgstr ""
    3018 
    3019 #: src/Admin/Events/Metaboxes/Event.php:669
    3020 #: src/Admin/Events/Metaboxes/Event.php:746
    3021 msgid "at"
    3022 msgstr ""
    3023 
    3024 #: src/Admin/Events/Metaboxes/Event.php:704
    3025 #: src/Admin/Events/Metaboxes/Event.php:781
    3026 msgid "AM"
    3027 msgstr ""
    3028 
    3029 #: src/Admin/Events/Metaboxes/Event.php:705
    3030 #: src/Admin/Events/Metaboxes/Event.php:782
    3031 msgid "PM"
    3032 msgstr ""
    3033 
    3034 #: src/Admin/Events/Metaboxes/Event.php:734
    30353017#: src/Admin/Events/Tables/Base.php:2552
    30363018#: src/Admin/Events/Tables/Base.php:2559
     
    30383020#: src/Admin/Events/Tables/Base.php:2587
    30393021#: src/Admin/Events/Tables/Base.php:2594
    3040 #: src/Admin/Events/Tables/Base.php:2601
    3041 #: src/Admin/Events/Tables/Base.php:2646
     3022#: src/Admin/Events/Tables/Base.php:2621
     3023#: src/Admin/Events/Tables/Base.php:2640
     3024msgid "Start"
     3025msgstr ""
     3026
     3027#: src/Admin/Events/Metaboxes/Event.php:669
     3028#: src/Admin/Events/Metaboxes/Event.php:746
     3029msgid "at"
     3030msgstr ""
     3031
     3032#: src/Admin/Events/Metaboxes/Event.php:704
     3033#: src/Admin/Events/Metaboxes/Event.php:781
     3034msgid "AM"
     3035msgstr ""
     3036
     3037#: src/Admin/Events/Metaboxes/Event.php:705
     3038#: src/Admin/Events/Metaboxes/Event.php:782
     3039msgid "PM"
     3040msgstr ""
     3041
     3042#: src/Admin/Events/Metaboxes/Event.php:734
     3043#: src/Admin/Events/Tables/Base.php:2554
     3044#: src/Admin/Events/Tables/Base.php:2561
     3045#: src/Admin/Events/Tables/Base.php:2568
     3046#: src/Admin/Events/Tables/Base.php:2589
     3047#: src/Admin/Events/Tables/Base.php:2596
     3048#: src/Admin/Events/Tables/Base.php:2623
     3049#: src/Admin/Events/Tables/Base.php:2653
    30423050msgid "End"
    30433051msgstr ""
     
    30473055msgstr ""
    30483056
    3049 #: src/Admin/Events/Tables/Base.php:435
     3057#: src/Admin/Events/Tables/Base.php:436
    30503058#: src/Block/EventList/EventListView/Block.php:76
     3059#: src/Integrations/Elementor/ListWidget.php:146
    30513060msgid "List"
    30523061msgstr ""
    30533062
    30543063#. translators: %s - Item count.
    3055 #: src/Admin/Events/Tables/Base.php:1433
     3064#: src/Admin/Events/Tables/Base.php:1434
    30563065msgctxt "List table: all statuses (excluding trash)"
    30573066msgid "All <span class=\"count\">(%s)</span>"
     
    30603069msgstr[1] ""
    30613070
    3062 #: src/Admin/Events/Tables/Base.php:1701
     3071#: src/Admin/Events/Tables/Base.php:1702
    30633072msgid "(No title)"
    30643073msgstr ""
    30653074
    3066 #: src/Admin/Events/Tables/Base.php:1704
     3075#: src/Admin/Events/Tables/Base.php:1705
    30673076msgid "Draft"
    30683077msgstr ""
    30693078
    3070 #: src/Admin/Events/Tables/Base.php:2122
     3079#: src/Admin/Events/Tables/Base.php:2123
    30713080msgid "Restore"
    30723081msgstr ""
    30733082
    3074 #: src/Admin/Events/Tables/Base.php:2127
     3083#: src/Admin/Events/Tables/Base.php:2128
    30753084msgid "Delete Permanently"
    30763085msgstr ""
    30773086
    3078 #: src/Admin/Events/Tables/Base.php:2135
     3087#: src/Admin/Events/Tables/Base.php:2136
    30793088msgctxt "verb"
    30803089msgid "Edit"
    30813090msgstr ""
    30823091
    3083 #: src/Admin/Events/Tables/Base.php:2140
     3092#: src/Admin/Events/Tables/Base.php:2141
    30843093msgctxt "verb"
    30853094msgid "Trash"
    30863095msgstr ""
    30873096
    3088 #: src/Admin/Events/Tables/Base.php:2145
    3089 #: src/Admin/Events/Tables/Base.php:3791
     3097#: src/Admin/Events/Tables/Base.php:2146
     3098#: src/Admin/Events/Tables/Base.php:3808
    30903099msgctxt "verb"
    30913100msgid "View"
    30923101msgstr ""
    30933102
    3094 #: src/Admin/Events/Tables/Base.php:2444
     3103#: src/Admin/Events/Tables/Base.php:2445
    30953104msgid "Password protected"
    30963105msgstr ""
    30973106
    30983107#. translators: %1$s - Datetime; %2$s - Timezone.
    3099 #: src/Admin/Events/Tables/Base.php:2500
    3100 #: src/Admin/Events/Tables/Base.php:2520
     3108#: src/Admin/Events/Tables/Base.php:2502
     3109#: src/Admin/Events/Tables/Base.php:2522
    31013110msgctxt "Time Time Zone"
    31023111msgid "%1$s %2$s"
    31033112msgstr ""
    31043113
    3105 #. translators: %1$s - Time; %2$s - Week day.
    3106 #: src/Admin/Events/Tables/Base.php:2614
    3107 #: src/Admin/Events/Tables/Base.php:2635
    3108 msgctxt "20:00 on Friday"
    3109 msgid "%1$s on %2$s"
    3110 msgstr ""
    3111 
    3112 #: src/Admin/Events/Tables/Base.php:2657
     3114#: src/Admin/Events/Tables/Base.php:2664
    31133115#: src/Admin/Events/Tables/Basic.php:230
    31143116msgctxt "Noun"
     
    31173119
    31183120#. translators: %1$s - Recurrence; %2$s - Start date; %3$s - End date.
    3119 #: src/Admin/Events/Tables/Base.php:2666
     3121#: src/Admin/Events/Tables/Base.php:2683
    31203122msgctxt "Weekly from December 1, 2030 until December 31, 2030"
    31213123msgid "%1$s from %2$s until %3$s"
     
    31233125
    31243126#. translators: %1$s - Recurrence; %2$s - Start date.
    3125 #: src/Admin/Events/Tables/Base.php:2677
     3127#: src/Admin/Events/Tables/Base.php:2694
    31263128msgctxt "Weekly forever, starting May 15, 1980"
    31273129msgid "%1$s starting %2$s"
     
    31293131
    31303132#. translators: %s - Recurrence.
    3131 #: src/Admin/Events/Tables/Base.php:2686
     3133#: src/Admin/Events/Tables/Base.php:2703
    31323134msgctxt "Weekly forever"
    31333135msgid "%s"
    31343136msgstr ""
    31353137
    3136 #: src/Admin/Events/Tables/Base.php:3158
     3138#: src/Admin/Events/Tables/Base.php:3175
    31373139msgid "Columns"
    31383140msgstr ""
    31393141
    3140 #: src/Admin/Events/Tables/Base.php:3195
     3142#: src/Admin/Events/Tables/Base.php:3212
    31413143msgid "Save Options"
    31423144msgstr ""
    31433145
    31443146#. translators: %s taxonomy label.
    3145 #: src/Admin/Events/Tables/Base.php:3644
     3147#: src/Admin/Events/Tables/Base.php:3661
    31463148msgid "Filter by %s"
    31473149msgstr ""
    31483150
    3149 #: src/Admin/Events/Tables/Base.php:3714
     3151#: src/Admin/Events/Tables/Base.php:3731
    31503152msgid "Switch to this month"
    31513153msgstr ""
    31523154
    3153 #: src/Admin/Events/Tables/Base.php:3734
     3155#: src/Admin/Events/Tables/Base.php:3751
    31543156msgid "Set the day"
    31553157msgstr ""
    31563158
    3157 #: src/Admin/Events/Tables/Base.php:3752
     3159#: src/Admin/Events/Tables/Base.php:3769
    31583160msgid "Set the first year"
    31593161msgstr ""
    31603162
    3161 #: src/Admin/Events/Tables/Base.php:3757
     3163#: src/Admin/Events/Tables/Base.php:3774
    31623164msgid "Set the last year"
    31633165msgstr ""
    31643166
    3165 #: src/Admin/Events/Tables/Base.php:3766
     3167#: src/Admin/Events/Tables/Base.php:3783
    31663168msgid "Set the year"
    31673169msgstr ""
    31683170
    3169 #: src/Admin/Events/Tables/Base.php:3795
     3171#: src/Admin/Events/Tables/Base.php:3812
    31703172msgid "Empty Trash"
    31713173msgstr ""
    31723174
    3173 #: src/Admin/Events/Tables/Base.php:3841
     3175#: src/Admin/Events/Tables/Base.php:3858
    31743176#: src/Admin/Events/Tables/Basic.php:559
    31753177#: src/Admin/Events/Tables/Day.php:110
     
    31773179#: src/Admin/Events/Tables/Week.php:145
    31783180#: src/Block/Calendar/CalendarView/Block.php:104
    3179 #: src/Block/Calendar/Loader.php:106
     3181#: src/Block/Calendar/Loader.php:109
    31803182msgid "Today"
    31813183msgstr ""
    31823184
    3183 #: src/Admin/Events/Tables/Base.php:3842
     3185#: src/Admin/Events/Tables/Base.php:3859
    31843186msgid "Next month"
    31853187msgstr ""
    31863188
    3187 #: src/Admin/Events/Tables/Base.php:3843
     3189#: src/Admin/Events/Tables/Base.php:3860
    31883190msgid "Next year"
    31893191msgstr ""
    31903192
    3191 #: src/Admin/Events/Tables/Base.php:3844
     3193#: src/Admin/Events/Tables/Base.php:3861
    31923194msgid "Previous month"
    31933195msgstr ""
    31943196
    3195 #: src/Admin/Events/Tables/Base.php:3845
     3197#: src/Admin/Events/Tables/Base.php:3862
    31963198msgid "Previous year"
    31973199msgstr ""
     
    33823384
    33833385#: src/Admin/Pages/SettingsGeneralTab.php:116
     3386#: src/Integrations/Elementor/CalendarWidget.php:141
     3387#: src/Integrations/Elementor/ListWidget.php:144
    33843388msgid "Display"
    33853389msgstr ""
     
    34753479
    34763480#. Translators: %s - discount value 50%
    3477 #: src/Admin/Pages/SettingsGeneralTab.php:400
     3481#: src/Admin/Pages/SettingsGeneralTab.php:407
    34783482msgid "As a valued Sugar Calendar Lite user you receive <strong>%s off</strong>, automatically applied at checkout!"
    34793483msgstr ""
    34803484
    3481 #: src/Admin/Pages/SettingsGeneralTab.php:417
     3485#: src/Admin/Pages/SettingsGeneralTab.php:424
    34823486msgid "Paste license key here"
    34833487msgstr ""
    34843488
    3485 #: src/Admin/Pages/SettingsGeneralTab.php:422
     3489#: src/Admin/Pages/SettingsGeneralTab.php:429
    34863490msgid "Verify Key"
    34873491msgstr ""
    34883492
    34893493#. translators: %1$s - Sugar Calendar account dashboard url; %2$s - pricing page url.
    3490 #: src/Admin/Pages/SettingsGeneralTab.php:429
     3494#: src/Admin/Pages/SettingsGeneralTab.php:436
    34913495msgid "Your license key can be found in your <a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">Sugar Calendar Account Dashboard</a>. Don't have a license?  <a href=\"%2$s\" target=\"_blank\" rel=\"noopener noreferrer\">Sign up today!</a>"
    34923496msgstr ""
    34933497
    3494 #: src/Admin/Pages/SettingsGeneralTab.php:532
    3495 #: src/Admin/Pages/SettingsMapsTab.php:113
     3498#: src/Admin/Pages/SettingsGeneralTab.php:546
     3499#: src/Admin/Pages/SettingsMapsTab.php:120
    34963500#: src/Admin/Pages/SettingsMiscTab.php:143
    34973501msgid "Settings saved."
    34983502msgstr ""
    34993503
    3500 #: src/Admin/Pages/SettingsMapsTab.php:49
     3504#: src/Admin/Pages/SettingsMapsTab.php:50
    35013505msgid "Maps"
    35023506msgstr ""
    35033507
    3504 #: src/Admin/Pages/SettingsMapsTab.php:78
     3508#: src/Admin/Pages/SettingsMapsTab.php:85
    35053509msgid "Google Maps"
    35063510msgstr ""
    35073511
    35083512#. translators: %1$s - Google Maps API Key link url; %1$s - Documentation link url.
    3509 #: src/Admin/Pages/SettingsMapsTab.php:80
     3513#: src/Admin/Pages/SettingsMapsTab.php:87
    35103514msgid "In order to display maps with pins and dynamic views, you’ll need to obtain and enter your own <a href=\"%1$s\" target=\"_blank\">Google Maps API Key</a>.<br>If you need help, please refer to <a href=\"%2$s\" target=\"_blank\">our documentation</a>."
    35113515msgstr ""
    35123516
    3513 #: src/Admin/Pages/SettingsMapsTab.php:94
     3517#: src/Admin/Pages/SettingsMapsTab.php:101
    35143518msgid "API Key"
    35153519msgstr ""
     
    36763680
    36773681#: src/Block/Calendar/CalendarView/Block.php:108
    3678 #: src/Block/Calendar/Loader.php:105
     3682#: src/Block/Calendar/Loader.php:108
    36793683#: src/Block/EventList/EventListView/Block.php:161
    36803684#: src/Block/Loader.php:99
     
    36833687
    36843688#: src/Block/Calendar/CalendarView/Block.php:112
     3689#: src/Block/Calendar/Loader.php:107
     3690msgid "This Month"
     3691msgstr ""
     3692
     3693#. translators: %s: Month name and the date. E.g January 1.
    36853694#: src/Block/Calendar/Loader.php:104
    3686 msgid "This Month"
    3687 msgstr ""
    3688 
    3689 #. translators: %s: Month name and the date. E.g January 1.
    3690 #: src/Block/Calendar/Loader.php:101
    36913695msgid "Events on %s"
    36923696msgstr ""
    36933697
    3694 #: src/Block/Calendar/Loader.php:213
    3695 #: src/Block/Calendar/Loader.php:223
    3696 #: src/Block/Calendar/Loader.php:272
    3697 #: src/Block/EventList/Loader.php:164
     3698#: src/Block/Calendar/Loader.php:233
     3699#: src/Block/Calendar/Loader.php:243
     3700#: src/Block/Calendar/Loader.php:292
     3701#: src/Block/EventList/Loader.php:185
    36983702msgid "Invalid request."
    36993703msgstr ""
     
    37323736
    37333737#: src/Block/EventList/EventListView/Block.php:77
     3738#: src/Integrations/Elementor/ListWidget.php:147
    37343739msgid "Grid"
    37353740msgstr ""
    37363741
    37373742#: src/Block/EventList/EventListView/Block.php:78
     3743#: src/Integrations/Elementor/ListWidget.php:148
    37383744msgid "Plain"
    37393745msgstr ""
    37403746
    37413747#: src/Block/EventList/EventListView/Block.php:209
    3742 #: src/Block/EventList/Loader.php:144
     3748#: src/Block/EventList/Loader.php:148
    37433749msgid "There are no events scheduled that match your criteria."
    37443750msgstr ""
     
    38113817
    38123818#. translators: 1: start date, 2: end date.
    3813 #: src/Helpers.php:296
     3819#: src/Helpers.php:300
    38143820msgid "%1$s - %2$s"
     3821msgstr ""
     3822
     3823#: src/Helpers/UI.php:44
     3824msgid "Sugar Calendar Logo"
     3825msgstr ""
     3826
     3827#: src/Integrations/Elementor/CalendarWidget.php:38
     3828#: src/Integrations/Elementor/CalendarWidget.php:115
     3829msgid "Events Calendar"
     3830msgstr ""
     3831
     3832#: src/Integrations/Elementor/CalendarWidget.php:156
     3833#: src/Integrations/Elementor/ListWidget.php:159
     3834msgid "Allow Users to Change Display"
     3835msgstr ""
     3836
     3837#: src/Integrations/Elementor/CalendarWidget.php:167
     3838#: src/Integrations/Elementor/ListWidget.php:190
     3839msgid "Accent Color"
     3840msgstr ""
     3841
     3842#: src/Integrations/Elementor/ListWidget.php:41
     3843#: src/Integrations/Elementor/ListWidget.php:118
     3844msgid "Events List"
     3845msgstr ""
     3846
     3847#: src/Integrations/Elementor/ListWidget.php:169
     3848msgid "Show Featured Images"
     3849msgstr ""
     3850
     3851#: src/Integrations/Elementor/ListWidget.php:179
     3852msgid "Show Descriptions"
     3853msgstr ""
     3854
     3855#: src/Integrations/Elementor/ListWidget.php:200
     3856msgid "Links Color"
    38153857msgstr ""
    38163858
     
    38203862msgstr ""
    38213863
    3822 #: sugar-calendar-plugin.php:564
     3864#: sugar-calendar-plugin.php:567
    38233865msgid "My Calendar"
    38243866msgstr ""
    38253867
    3826 #: sugar-calendar-plugin.php:567
     3868#: sugar-calendar-plugin.php:570
    38273869msgid "The default calendar events will be added to."
    38283870msgstr ""
  • sugar-calendar-lite/trunk/includes/common/Features/EventTicketing/includes/admin/settings.php

    r3112714 r3132158  
    99use Sugar_Calendar\AddOn\Ticketing\Helpers\UI;
    1010use Sugar_Calendar\AddOn\Ticketing\Settings as Settings;
     11use Sugar_Calendar\Helpers\Helpers;
    1112
    1213/**
     
    240241                '%1$s <a href="%2$s" target="_blank">%3$s</a>.',
    241242                esc_html__( 'Easily collect credit card payments with Stripe. For getting started and more information, see our', 'sugar-calendar' ),
    242                 'https://sugarcalendar.com/docs/event-ticketing-addon/#connecting-stripe',
     243                esc_url(
     244                    Helpers::get_utm_url(
     245                        'https://sugarcalendar.com/docs/event-ticketing-addon/#connecting-stripe',
     246                        [
     247                            'content' => 'Stripe documentation',
     248                            'medium'  => 'settings-payments',
     249                        ]
     250                    )
     251                ),
    243252                esc_html__( 'Stripe documentation', 'sugar-calendar' )
    244253            ),
  • sugar-calendar-lite/trunk/includes/common/Features/EventTicketing/includes/common/functions.php

    r3112525 r3132158  
    14541454    return $attendee->email;
    14551455}
     1456
     1457/**
     1458 * Whether or not to display tickets.
     1459 *
     1460 * @since 3.2.0
     1461 *
     1462 * @param \Sugar_Calendar\Event $event The event object.
     1463 *
     1464 * @return bool
     1465 */
     1466function should_display_tickets( $event ) {
     1467
     1468    /**
     1469     * Filters whether or not to display tickets.
     1470     *
     1471     * @since 3.2.0
     1472     *
     1473     * @param bool                  $display_tickets Whether or not to display tickets.
     1474     * @param \Sugar_Calendar\Event $event The event object.
     1475     */
     1476    return apply_filters(
     1477        'sc_et_should_display_tickets',
     1478        get_stripe_publishable_key() && get_stripe_secret_key(),
     1479        $event
     1480    );
     1481}
  • sugar-calendar-lite/trunk/includes/common/Features/EventTicketing/includes/front-end/modal.php

    r3118281 r3132158  
    33
    44use Sugar_Calendar\AddOn\Ticketing\Common\Functions;
     5use Sugar_Calendar\Event;
    56use Sugar_Calendar\Helpers;
    67
     
    196197                                            echo wp_kses(
    197198                                                sprintf(
    198                                                     /**
    199                                                      * translators: %s: Event name.
    200                                                      */
     199                                                    /* translators: %s: Event name. */
    201200                                                    __( '<span>Event:</span> %s', 'sugar-calendar' ),
    202                                                     '<span><strong>' . $event->title . '</strong></span>' ),
     201                                                    '<span><strong>' . $event->title . '</strong></span>'
     202                                                ),
    203203                                                [
    204204                                                    'strong' => [],
     
    210210                                        <?php
    211211                                        render_event_date_time( $event );
     212
     213                                        /**
     214                                         * Fires after the event date time is rendered in the modal.
     215                                         *
     216                                         * @since 3.2.0
     217                                         *
     218                                         * @param Event $event The event object.
     219                                         */
     220                                        do_action( 'sc_et_modal_event_summary_render_event_date_time_after', $event );
    212221                                        ?>
    213222                                    </fieldset>
     
    221230                                            echo wp_kses(
    222231                                                sprintf(
    223                                                     /**
    224                                                      * translators: %s: Tickets quantity.
    225                                                      */
     232                                                    /* translators: %s: Tickets quantity. */
    226233                                                    __( '<span>Tickets:</span> %s', 'sugar-calendar' ),
    227234                                                    '<strong><span id="sc-event-ticketing-quantity-span"></span></strong>'
     
    230237                                                    'strong' => [],
    231238                                                    'span' => [
    232                                                         'id' => []
     239                                                        'id' => [],
    233240                                                    ],
    234241                                                ]
     
    240247                                            echo wp_kses(
    241248                                                sprintf(
    242                                                     /**
    243                                                      * translators: %s: Ticket Price.
    244                                                      */
     249                                                    /* translators: %s: Ticket Price. */
    245250                                                    __( '<span>Ticket Price:</span> <strong>%s</strong>', 'sugar-calendar' ),
    246251                                                    Functions\currency_filter( $price )
  • sugar-calendar-lite/trunk/includes/common/Features/EventTicketing/includes/front-end/singular.php

    r3112714 r3132158  
    22namespace Sugar_Calendar\AddOn\Ticketing\Frontend\Single;
    33
    4 use Sugar_Calendar\AddOn\Ticketing\Common\Functions as Functions;
     4use Sugar_Calendar\AddOn\Ticketing\Common\Functions;
    55
    66/**
    7  * Render the ticket add-to-cart form
     7 * Render the ticket add-to-cart form.
    88 *
    99 * @since 1.0.0
    1010 * @since 3.1.0 Only display on single event page.
     11 * @since 3.2.0 Added a check to determine if the tickets should be displayed.
     12 *
     13 * @param int|string $post_id The post ID.
    1114 */
    12 function display( $post_id = 0 ) {
     15function display( $post_id = 0 ) { // phpcs:ignore Generic.Metrics.CyclomaticComplexity.TooHigh
    1316
    14     // Bail if no post
     17    // Bail if no post.
    1518    if ( empty( $post_id ) || ! is_singular( sugar_calendar_get_event_post_type_id() ) ) {
    1619        return;
     
    2023    $enabled = get_event_meta( $event->id, 'tickets', true );
    2124
    22     // Bail if not enabled
     25    // Bail if not enabled.
    2326    if ( empty( $enabled ) ) {
     27        return;
     28    }
     29
     30    if ( ! Functions\should_display_tickets( $event ) ) {
    2431        return;
    2532    }
     
    2835    $start     = new \DateTime( $event->start, $tz );
    2936    $today     = new \DateTime( 'now', $tz );
    30 
    3137    $price     = get_event_meta( $event->id, 'ticket_price', true );
    3238    $available = Functions\get_available_tickets( $event->id );
  • sugar-calendar-lite/trunk/includes/common/Features/EventTicketing/src/Frontend/Loader.php

    r3112714 r3132158  
    6868     *
    6969     * @since 3.1.0
     70     * @since 3.2.0 Added a check to determine if the tickets should be displayed.
    7071     *
    7172     * @param \Sugar_Calendar\Event $event The event object.
     
    7374    public function render_single_event_ticket_button( $event ) {
    7475
    75         if ( ! is_singular( sugar_calendar_get_event_post_type_id() ) || empty( Helpers::get_event_remaining_tickets( $event ) ) ) {
     76        if (
     77            ! is_singular( sugar_calendar_get_event_post_type_id() ) ||
     78            empty( Helpers::get_event_remaining_tickets( $event ) ) ||
     79            ! Functions\should_display_tickets( $event )
     80        ) {
    7681            return;
    7782        }
  • sugar-calendar-lite/trunk/includes/events/functions.php

    r3095175 r3132158  
    209209 *
    210210 * @since 2.2.0
     211 * @since 3.2.0 Preserved the original start time and time zone.
    211212 *
    212213 * @param int          $event_id
     
    234235    // Event is recurring, so compute the sequence
    235236    } else {
     237
     238        $event->original_start    = $event->start;
     239        $event->original_start_tz = $event->start_tz;
    236240
    237241        // Default return value
  • sugar-calendar-lite/trunk/readme.txt

    r3118281 r3132158  
    1010Requires at least: 5.8
    1111Tested up to:      6.5
    12 Stable tag:        3.1.2
     12Stable tag:        3.2.0
    1313
    1414Easily manage events and sell tickets on your WordPress site. Sugar Calendar is easy-to-use, reliable, and exceptionally powerful. See for yourself.
     
    177177
    178178== Changelog ==
     179= 3.2.0 - 2024-08-07 =
     180- Added: Elementor Widgets: Events Calendar and Events List.
     181- Changed: Buy Tickets button are no longer displayed if Stripe is not connected.
     182- Changed: Update Calendar selection in Classic Editor to checkbox to support multiple calendars assignment of an event.
     183- Changed: Remove the usage of the `should_load_separate_core_block_assets` filter.
     184- Fixed: Limited Calendars displayed in Calendars Filter on the Event List block settings.
     185- Fixed: Past events not displaying on Calendar shortcode.
     186- Fixed: Default Calendar not working when the event is created using the Gutenberg editor.
     187- Fixed: Errors in Calendar Block on some cases when there are recurring events.
     188- Fixed: Events in Calendar Block not displaying in ascending order.
     189
    179190= 3.1.2 - 2024-07-15 =
    180191- Added: Support for Timezone Visitor Conversion feature in shortcodes and both Event List and Event Calendar blocks.
  • sugar-calendar-lite/trunk/src/Admin/Area.php

    r3118281 r3132158  
    33namespace Sugar_Calendar\Admin;
    44
     5use Sugar_Calendar\Admin\Events\Events as AdminEvents;
    56use Sugar_Calendar\Admin\Events\Metaboxes;
    67use Sugar_Calendar\Admin\Pages\CalendarEdit;
     
    7071     *
    7172     * @since 3.0.0
     73     * @since 3.2.0 Added the Admin\Events hooks.
    7274     *
    7375     * @return void
    7476     */
    7577    public function hooks() {
     78
     79        ( new AdminEvents() )->hooks();
    7680
    7781        // Populate the menu. Hooked on highest priority
  • sugar-calendar-lite/trunk/src/Admin/Events/Metaboxes.php

    r3112714 r3132158  
    55use Sugar_Calendar\Admin\Events\Metaboxes\Details;
    66use Sugar_Calendar\Admin\Events\Metaboxes\Event;
    7 use Sugar_Calendar\Admin\Events\Metaboxes\WalkerCategoryRadio;
     7use Sugar_Calendar\Admin\Events\Metaboxes\WalkerCategoryCheckbox;
    88use Sugar_Calendar\Common\Editor;
    99use Sugar_Calendar\Helpers\Helpers;
     
    9999    /**
    100100     * Event Types Meta-box.
    101      * Output radio buttons instead of the default WordPress mechanism.
     101     * Output custom checkboxes instead of the default WordPress mechanism.
    102102     *
    103103     * @since 2.0.0
     
    135135
    136136    /**
    137      * Use the custom walker for radio buttons.
     137     * Use the custom walker for checkboxes.
    138138     *
    139139     * @since 2.0.0
     140     * @since 3.2.0 Replaced radio buttons with checkboxes.
    140141     *
    141142     * @param array $args Checklist arguments.
     
    151152             *
    152153             * @since 3.0.0
     154             * @since 3.2.0 Changed the walker to WalkerCategoryCheckbox.
    153155             *
    154156             * @param array $checklist_args Checklist arguments.
     
    158160                'sugar_calendar_admin_events_metaboxes_checklist_args',
    159161                [
    160                     'walker' => new WalkerCategoryRadio(),
     162                    'walker' => new WalkerCategoryCheckbox(),
    161163                ],
    162164                $args
  • sugar-calendar-lite/trunk/src/Admin/Events/Tables/Base.php

    r3095175 r3132158  
    44
    55use Sugar_Calendar\Admin\Area;
     6use Sugar_Calendar\Event;
    67use Sugar_Calendar\Event_Query;
    78use WP_List_Table;
     
    24752476     *
    24762477     * @since 2.0.0
    2477      *
    2478      * @param object $event Event object.
     2478     * @since 3.2.0 Corrected the start and end time labels for recurring events.
     2479     *
     2480     * @param Event $event Event object.
    24792481     *
    24802482     * @return array
     
    25972599                // No recurrence.
    25982600            } else {
     2601
     2602                // Display the start and end time if available.
     2603                if ( ! $event->is_all_day() ) {
     2604                    $start .= ' - ' . esc_html( $this->get_event_time( $event->start, $event->start_tz ) );
     2605
     2606                    // Maybe append time zone.
     2607                    if ( ! empty( $stz ) ) {
     2608                        $start .= $stz;
     2609                    }
     2610
     2611                    if ( ! empty( $event->end ) ) {
     2612                        $end .= ' - ' . esc_html( $this->get_event_time( $event->end, $event->end_tz ) );
     2613
     2614                        // Maybe append time zone.
     2615                        if ( ! empty( $etz ) ) {
     2616                            $end .= $etz;
     2617                        }
     2618                    }
     2619                }
     2620
    25992621                $pointer_dates['start_title'] = '<strong>' . esc_html__( 'Start', 'sugar-calendar' ) . '</strong>';
    2600                 $pointer_dates['start']       = '<span>' . esc_html( $start ) . '</span>';
     2622                $pointer_dates['start']       = '<span>' . wp_kses( $start, [ 'span' => [ 'class' ] ] ) . '</span>';
    26012623                $pointer_dates['end_title']   = '<strong>' . esc_html__( 'End', 'sugar-calendar' ) . '</strong>';
    2602                 $pointer_dates['end']         = '<span>' . esc_html( $end ) . '</span>';
     2624                $pointer_dates['end']         = '<span>' . wp_kses( $end, [ 'span' => [ 'class' ] ] ) . '</span>';
    26032625            }
    26042626
     
    26082630            // Date & Time.
    26092631            if ( ! $event->is_empty_date( $event->start ) ) {
    2610                 $time  = $this->get_event_time( $event->start, $event->start_tz );
    2611                 $day   = sugar_calendar_format_date_i18n( 'w', $event->start, $event->start_tz );
    2612                 $start = esc_html(
    2613                     sprintf( /* translators: %1$s - Time; %2$s - Week day. */
    2614                         esc_html_x( '%1$s on %2$s', '20:00 on Friday', 'sugar-calendar' ),
    2615                         $time,
    2616                         $GLOBALS['wp_locale']->get_weekday( $day )
    2617                     )
    2618                 );
     2632
     2633                $start = esc_html( $this->get_event_time( $event->start, $event->start_tz ) );
    26192634
    26202635                // Maybe append time zone.
     
    26292644            // Date & Time.
    26302645            if ( ! $event->is_empty_date( $event->end ) && ( $event->start !== $event->end ) ) {
    2631                 $time = $this->get_event_time( $event->end, $event->end_tz );
    2632                 $day  = sugar_calendar_format_date_i18n( 'w', $event->end, $event->end_tz );
    2633                 $end  = esc_html(
    2634                     sprintf( /* translators: %1$s - Time; %2$s - Week day. */
    2635                         esc_html_x( '%1$s on %2$s', '20:00 on Friday', 'sugar-calendar' ),
    2636                         $time,
    2637                         $GLOBALS['wp_locale']->get_weekday( $day )
    2638                     )
    2639                 );
     2646                $end = esc_html( $this->get_event_time( $event->end, $event->end_tz ) );
    26402647
    26412648                // Maybe append time zone.
     
    26632670                    // Recurrence ends.
    26642671                } elseif ( ! $event->is_empty_date( $event->recurrence_end ) ) {
     2672
     2673                    if (
     2674                        property_exists( $event, 'original_start' ) &&
     2675                        property_exists( $event, 'original_start_tz' )
     2676                    ) {
     2677                        $recurring_start = $this->get_event_date( $event->original_start, $event->original_start_tz );
     2678                    } else {
     2679                        $recurring_start = $this->get_event_date( $event->start, $event->start_tz );
     2680                    }
     2681
    26652682                    $recurring = sprintf( /* translators: %1$s - Recurrence; %2$s - Start date; %3$s - End date. */
    26662683                        esc_html_x( '%1$s from %2$s until %3$s', 'Weekly from December 1, 2030 until December 31, 2030', 'sugar-calendar' ),
    26672684                        $intervals[ $event->recurrence ],
    2668                         $this->get_event_date( $event->start, $event->start_tz ),
     2685                        $recurring_start,
    26692686                        $this->get_event_date( $event->recurrence_end, $event->recurrence_end_tz )
    26702687                    );
  • sugar-calendar-lite/trunk/src/Admin/Pages/SettingsGeneralTab.php

    r3118281 r3132158  
    389389                    ]
    390390                ),
    391                 esc_url( Helpers::get_upgrade_link( 'general-license-key' ) )
     391                esc_url(
     392                    Helpers::get_upgrade_link(
     393                        [
     394                            'content' => 'general-license-key',
     395                            'medium'  => 'settings-general',
     396                        ]
     397                    )
     398                )
    392399            );
    393400            ?>
     
    429436                    __( 'Your license key can be found in your <a href="%1$s" target="_blank" rel="noopener noreferrer">Sugar Calendar Account Dashboard</a>. Don\'t have a license?  <a href="%2$s" target="_blank" rel="noopener noreferrer">Sign up today!</a>', 'sugar-calendar' ),
    430437                    // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
    431                     esc_url( Helpers::get_utm_url( 'https://sugarcalendar.com/account/', [ 'content' => 'License Key Account Dashboard Link' ] ) ),
    432                     esc_url( Helpers::get_upgrade_link( [ 'content' => 'License Sign Up Today' ] ) )
     438                    esc_url( Helpers::get_utm_url( 'https://sugarcalendar.com/account/', [ 'content' => 'License Key Account Dashboard Link', 'medium' => 'settings-general' ] ) ),
     439                    esc_url(
     440                        Helpers::get_upgrade_link(
     441                            [
     442                                'content' => 'License Sign Up Today',
     443                                'medium'  => 'settings-general',
     444                            ]
     445                        )
     446                    )
    433447                ),
    434448                [
  • sugar-calendar-lite/trunk/src/Admin/Pages/SettingsMapsTab.php

    r3118281 r3132158  
    33namespace Sugar_Calendar\Admin\Pages;
    44
     5use Sugar_Calendar\Helpers\Helpers;
    56use Sugar_Calendar\Helpers\UI;
    67use Sugar_Calendar\Helpers\WP;
     
    7273
    7374        $api_key_link_url       = 'https://developers.google.com/maps/documentation/javascript/get-api-key';
    74         $documentation_link_url = 'https://sugarcalendar.com/docs/using-google-maps-to-display-event-location';
     75        $documentation_link_url = Helpers::get_utm_url(
     76            'https://sugarcalendar.com/docs/using-google-maps-to-display-event-location',
     77            [
     78                'content' => 'our documentation',
     79                'medium'  => 'settings-maps',
     80            ]
     81        );
    7582
    7683        UI::heading(
     
    7986                'description' => sprintf( /* translators: %1$s - Google Maps API Key link url; %1$s - Documentation link url. */
    8087                    __( 'In order to display maps with pins and dynamic views, you’ll need to obtain and enter your own <a href="%1$s" target="_blank">Google Maps API Key</a>.<br>If you need help, please refer to <a href="%2$s" target="_blank">our documentation</a>.', 'sugar-calendar' ),
    81                     $api_key_link_url,
    82                     $documentation_link_url
     88                    esc_url( $api_key_link_url ),
     89                    esc_url( $documentation_link_url )
    8390                ),
    8491            ]
  • sugar-calendar-lite/trunk/src/Block/Calendar/CalendarView/Month/Week.php

    r3112525 r3132158  
    215215     *
    216216     * @since 3.0.0
     217     * @since 3.2.0 Fix the issue with positioning and recurring events.
    217218     *
    218219     * @param array $original_events Current form of the events.
     
    222223     * @return array
    223224     */
    224     private function fill_with_spacers( $original_events, $intersect ) {
     225    private function fill_with_spacers( $original_events, $intersect ) { // phpcs:ignore Generic.Metrics.CyclomaticComplexity.TooHigh
    225226
    226227        $output = [];
    227228
    228         foreach ( $original_events as $k => $v ) {
     229        foreach ( $original_events as $position => $event_id ) {
    229230            // Get the new position of the event.
    230             $new_position = array_search( $v, $intersect, true );
     231            $new_position = array_search( $event_id, $intersect, true );
    231232
    232233            if ( ! $new_position ) {
    233                 $output[] = $v;
     234                $output[] = $event_id;
    234235
    235236                continue;
    236237            }
    237238
    238             // Let's fill the old positions with false.
    239             foreach ( range( $k, $new_position ) as $j ) {
     239            // If the event is not multi-day, then we don't need to reposition it.
     240            if (
     241                isset( $this->previous_day_events[ $new_position ] ) &&
     242                ! $this->events[ $event_id ]->is_multi()
     243            ) {
     244                $output[] = $event_id;
     245
     246                continue;
     247            }
     248
     249            foreach ( range( $position, $new_position ) as $j ) {
    240250                if ( $j === $new_position ) {
    241                     $output[ $j ] = $v;
     251                    $output[ $j ] = $event_id;
    242252                } elseif ( ! array_key_exists( $j, $output ) ) {
    243253                    $output[ $j ] = $this->get_spacer_based_on_previous_day_event( $j );
  • sugar-calendar-lite/trunk/src/Block/Calendar/Loader.php

    r3118281 r3132158  
    3434     */
    3535    private function hooks() {
    36 
    37         add_filter( 'should_load_separate_core_block_assets', '__return_true' );
    3836
    3937        add_action( 'init', [ $this, 'register_block' ] );
     
    6058     * @since 3.0.0
    6159     * @since 3.1.2 Add new deps for the `sugar-calendar-js` script.
     60     * @since 3.2.0 Loaded the assets only when the block is present.
    6261     */
    6362    public function enqueue_script() {
     63
     64        if ( ! $this->should_load_assets() ) {
     65            return;
     66        }
    6467
    6568        $min = '.min';
     
    114117
    115118    /**
     119     * Check if the assets should be loaded.
     120     *
     121     * @since 3.2.0
     122     *
     123     * @return bool
     124     */
     125    private function should_load_assets() {
     126
     127        if ( ! is_singular() ) {
     128            return false;
     129        }
     130
     131        return function_exists( 'has_block' ) &&
     132            has_block( 'sugar-calendar/block' );
     133    }
     134
     135    /**
    116136     * Register the block.
    117137     *
     
    321341
    322342    /**
    323      * Clean the incoming data.
    324      *
    325      * @since 3.0.0
    326      *
    327      * @param array $incoming_data Data needed to be cleaned.
    328      *
    329      * @return array
    330      */
    331     private function clean_ajax_data( $incoming_data ) { // phpcs:ignore Generic.Metrics.NestingLevel.MaxExceeded, Generic.Metrics.CyclomaticComplexity.MaxExceeded
    332 
    333 
    334     }
    335 
    336     /**
    337343     * Register the Sugar Calendar block category.
    338344     *
  • sugar-calendar-lite/trunk/src/Block/Calendar/build/index.asset.php

    r3112525 r3132158  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '7b04c885d92537851799');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '5decc80d41372e60cf4f');
  • sugar-calendar-lite/trunk/src/Block/Calendar/build/index.js

    r3112525 r3132158  
    1 !function(){"use strict";var e,t={69:function(e,t,n){var r=window.wp.element,o=window.wp.blocks,i=window.wp.i18n,a=window.wp.blockEditor,s=window.wp.components,u=window.wp.serverSideRender,l=n.n(u),c=window.wp.data;function p(e){return p="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},p(e)}function d(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:t+""}function f(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var O=window.React,w=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function C(){return C=Object.assign?Object.assign.bind():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},C.apply(this,arguments)}function S(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,d(r.key),r)}}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(I=function(){return!!e})()}function k(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var M=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),P=Math.abs,V=String.fromCharCode,R=Object.assign;function D(e){return e.trim()}function L(e,t,n){return e.replace(t,n)}function F(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function A(e,t,n){return e.slice(t,n)}function _(e){return e.length}function H(e){return e.length}function j(e,t){return t.push(e),e}var $=1,N=1,U=0,z=0,B=0,W="";function G(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:$,column:N,length:a,return:""}}function Y(e,t){return R(G("",null,null,"",null,null,0),e,{length:-e.length},t)}function q(){return B=z>0?T(W,--z):0,N--,10===B&&(N=1,$--),B}function X(){return B=z<U?T(W,z++):0,N++,10===B&&(N=1,$++),B}function Z(){return T(W,z)}function K(){return z}function J(e,t){return A(W,e,t)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ee(e){return $=N=1,U=_(W=e),z=0,[]}function te(e){return W="",e}function ne(e){return D(J(z-1,ie(91===e?e+2:40===e?e+1:e)))}function re(e){for(;(B=Z())&&B<33;)X();return Q(e)>2||Q(B)>3?"":" "}function oe(e,t){for(;--t&&X()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return J(e,K()+(t<6&&32==Z()&&32==X()))}function ie(e){for(;X();)switch(B){case e:return z;case 34:case 39:34!==e&&39!==e&&ie(B);break;case 40:41===e&&ie(e);break;case 92:X()}return z}function ae(e,t){for(;X()&&e+B!==57&&(e+B!==84||47!==Z()););return"/*"+J(t,z-1)+"*"+V(47===e?e:X())}function se(e){for(;!Q(Z());)X();return J(e,z)}var ue="-ms-",le="-moz-",ce="-webkit-",pe="comm",de="rule",fe="decl",he="@keyframes";function me(e,t){for(var n="",r=H(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ve(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case fe:return e.return=e.return||e.value;case pe:return"";case he:return e.return=e.value+"{"+me(e.children,r)+"}";case de:e.value=e.props.join(",")}return _(n=me(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,d=0,f=0,h=0,m=1,v=1,g=1,b=0,y="",O=o,w=i,C=r,S=y;v;)switch(h=b,b=X()){case 40:if(108!=h&&58==T(S,p-1)){-1!=F(S+=L(ne(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=ne(b);break;case 9:case 10:case 13:case 32:S+=re(h);break;case 92:S+=oe(K()-1,7);continue;case 47:switch(Z()){case 42:case 47:j(Oe(ae(X(),K()),t,n),u);break;default:S+="/"}break;case 123*m:s[l++]=_(S)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:-1==g&&(S=L(S,/\f/g,"")),f>0&&_(S)-p&&j(f>32?we(S+";",r,n,p-1):we(L(S," ","")+";",r,n,p-2),u);break;case 59:S+=";";default:if(j(C=ye(S,t,n,l,c,o,s,y,O=[],w=[],p),i),123===b)if(0===c)be(S,t,C,C,O,i,p,s,w);else switch(99===d&&110===T(S,3)?100:d){case 100:case 108:case 109:case 115:be(e,C,C,r&&j(ye(e,C,C,0,0,o,s,y,o,O=[],p),w),o,w,p,s,r?O:w);break;default:be(S,C,C,C,[""],w,0,s,w)}}l=c=f=0,m=g=1,y=S="",p=a;break;case 58:p=1+_(S),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==q())continue;switch(S+=V(b),b*m){case 38:g=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(_(S)-1)*g,g=1;break;case 64:45===Z()&&(S+=ne(X())),d=Z(),c=p=_(y=S+=se(K())),b++;break;case 45:45===h&&2==_(S)&&(m=0)}}return i}function ye(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=H(d),h=0,m=0,v=0;h<r;++h)for(var g=0,b=A(e,p+1,p=P(m=a[h])),y=e;g<f;++g)(y=D(m>0?d[g]+" "+b:L(b,/&\f/g,d[g])))&&(u[v++]=y);return G(e,t,n,0===o?de:s,u,l,c)}function Oe(e,t,n){return G(e,t,n,pe,V(B),A(e,2,-2),0)}function we(e,t,n,r){return G(e,t,n,fe,A(e,0,r),A(e,r+1,-1),r)}var Ce=function(e,t,n){for(var r=0,o=0;r=o,o=Z(),38===r&&12===o&&(t[n]=1),!Q(o);)X();return J(e,z)},Se=new WeakMap,xe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Se.get(n))&&!r){Se.set(e,!0);for(var o=[],i=function(e,t){return te(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Ce(z-1,t,n);break;case 2:e[n]+=ne(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=V(r)}}while(r=X());return e}(ee(e),t))}(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ie(e,t){switch(function(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}(e,t)){case 5103:return ce+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ce+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ce+e+le+e+ue+e+e;case 6828:case 4268:return ce+e+ue+e+e;case 6165:return ce+e+ue+"flex-"+e+e;case 5187:return ce+e+L(e,/(\w+).+(:[^]+)/,ce+"box-$1$2"+ue+"flex-$1$2")+e;case 5443:return ce+e+ue+"flex-item-"+L(e,/flex-|-self/,"")+e;case 4675:return ce+e+ue+"flex-line-pack"+L(e,/align-content|flex-|-self/,"")+e;case 5548:return ce+e+ue+L(e,"shrink","negative")+e;case 5292:return ce+e+ue+L(e,"basis","preferred-size")+e;case 6060:return ce+"box-"+L(e,"-grow","")+ce+e+ue+L(e,"grow","positive")+e;case 4554:return ce+L(e,/([^-])(transform)/g,"$1"+ce+"$2")+e;case 6187:return L(L(L(e,/(zoom-|grab)/,ce+"$1"),/(image-set)/,ce+"$1"),e,"")+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,ce+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,ce+"box-pack:$3"+ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ce+e+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,ce+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-t>6)switch(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return L(e,/(.+:)(.+)-([^]+)/,"$1"+ce+"$2-$3$1"+le+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~F(e,"stretch")?Ie(L(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==T(e,t+1))break;case 6444:switch(T(e,_(e)-3-(~F(e,"!important")&&10))){case 107:return L(e,":",":"+ce)+e;case 101:return L(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ce+(45===T(e,14)?"inline-":"")+"box$3$1"+ce+"$2$3$1"+ue+"$2box$3")+e}break;case 5936:switch(T(e,t+11)){case 114:return ce+e+ue+L(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ce+e+ue+L(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ce+e+ue+L(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ce+e+ue+e+e}return e}var ke=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case fe:e.return=Ie(e.value,e.length);break;case he:return me([Y(e,{value:L(e.value,"@","@"+ce)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return me([Y(e,{props:[L(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return me([Y(e,{props:[L(t,/:(plac\w+)/,":"+ce+"input-$1")]}),Y(e,{props:[L(t,/:(plac\w+)/,":-moz-$1")]}),Y(e,{props:[L(t,/:(plac\w+)/,ue+"input-$1")]})],r)}return""}))}}],Me=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ke,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,p,d=[ve,(p=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(l=[xe,Ee].concat(i,d),c=H(l),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,me(ge(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new M({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},Pe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ve={animationIterationCount:1,aspectRatio: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};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var De=/[A-Z]|^ms/g,Le=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fe=function(e){return 45===e.charCodeAt(1)},Te=function(e){return null!=e&&"boolean"!=typeof e},Ae=Re((function(e){return Fe(e)?e:e.replace(De,"-$&").toLowerCase()})),_e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Le,(function(e,t,n){return je={name:t,styles:n,next:je},t}))}return 1===Ve[e]||Fe(e)||"number"!=typeof t||0===t?t:t+"px"};function He(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return je={name:n.name,styles:n.styles,next:je},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)je={name:r.name,styles:r.styles,next:je},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=He(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Te(a)&&(r+=Ae(i)+":"+_e(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=He(e,t,a);switch(i){case"animation":case"animationName":r+=Ae(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Te(a[u])&&(r+=Ae(i)+":"+_e(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=je,i=n(e);return je=o,He(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var je,$e=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ne=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";je=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=He(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=He(n,t,e[a]),r&&(o+=i[a]);$e.lastIndex=0;for(var s,u="";null!==(s=$e.exec(o));)u+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:l,styles:o,next:je}},Ue=!!O.useInsertionEffect&&O.useInsertionEffect,ze=Ue||function(e){return e()},Be=(Ue||O.useLayoutEffect,{}.hasOwnProperty),We=O.createContext("undefined"!=typeof HTMLElement?Me({key:"css"}):null);We.Provider;var Ge=function(e){return(0,O.forwardRef)((function(t,n){var r=(0,O.useContext)(We);return e(t,r,n)}))},Ye=O.createContext({}),qe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pe(t,n,r),ze((function(){return function(e,t,n){Pe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Ze=Ge((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[qe],i=[r],a="";"string"==typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Ne(i,void 0,O.useContext(Ye));a+=t.key+"-"+s.name;var u={};for(var l in e)Be.call(e,l)&&"css"!==l&&l!==qe&&(u[l]=e[l]);return u.ref=n,u.className=a,O.createElement(O.Fragment,null,O.createElement(Xe,{cache:t,serialized:s,isStringTag:"string"==typeof o}),O.createElement(o,u))})),Ke=Ze,Je=(n(146),function(e,t){var n=arguments;if(null==t||!Be.call(t,"css"))return O.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ke,o[1]=function(e,t){var n={};for(var r in t)Be.call(t,r)&&(n[r]=t[r]);return n[qe]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return O.createElement.apply(null,o)});function Qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ne(t)}var et=window.ReactDOM;const tt=Math.min,nt=Math.max,rt=Math.round,ot=Math.floor,it=e=>({x:e,y:e});function at(e){return lt(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ut(e){var t;return null==(t=(lt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function lt(e){return e instanceof Node||e instanceof st(e).Node}function ct(e){return e instanceof Element||e instanceof st(e).Element}function pt(e){return e instanceof HTMLElement||e instanceof st(e).HTMLElement}function dt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof st(e).ShadowRoot)}function ft(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ht(e){return st(e).getComputedStyle(e)}function mt(e){const t=function(e){if("html"===at(e))return e;const t=e.assignedSlot||e.parentNode||dt(e)&&e.host||ut(e);return dt(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(at(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pt(t)&&ft(t)?t:mt(t)}function vt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=mt(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=st(o);return i?t.concat(a,a.visualViewport||[],ft(o)?o:[],a.frameElement&&n?vt(a.frameElement):[]):t.concat(o,vt(o,[],n))}function gt(e){return ct(e)?e:e.contextElement}function bt(e){const t=gt(e);if(!pt(t))return it(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=pt(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=rt(n)!==i||rt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?rt(n.width):n.width)/r,s=(i?rt(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const yt=it(0);function Ot(e){const t=st(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:yt}function wt(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=gt(e);let a=it(1);t&&(r?ct(r)&&(a=bt(r)):a=bt(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==st(e))&&t}(i,n,r)?Ot(i):it(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,c=o.width/a.x,p=o.height/a.y;if(i){const e=st(i),t=r&&ct(r)?st(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=bt(o),t=o.getBoundingClientRect(),r=ht(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,p*=e.y,u+=i,l+=a,n=st(o),o=n.frameElement}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:p,x:u,y:l})}var Ct=O.useLayoutEffect,St=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xt=function(){};function Et(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function It(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Et(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var kt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===p(e)&&null!==e?[e]:[];var t},Mt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,m({},y(e,St))},Pt=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function Vt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Rt(e){return Vt(e)?window.pageYOffset:e.scrollTop}function Dt(e,t){Vt(e)?window.scrollTo(0,t):e.scrollTop=t}function Lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,o=Rt(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Dt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function Ft(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Dt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Dt(e,Math.max(t.offsetTop-o,0))}function Tt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var At=!1,_t={get passive(){return At=!0}},Ht="undefined"!=typeof window?window:{};Ht.addEventListener&&Ht.removeEventListener&&(Ht.addEventListener("p",xt,_t),Ht.removeEventListener("p",xt,!1));var jt=At;function $t(e){return null!=e}function Nt(e,t,n){return e?t:n}var Ut=["children","innerProps"],zt=["children","innerProps"];var Bt,Wt,Gt,Yt=function(e){return"auto"===e?"bottom":e},qt=(0,O.createContext)(null),Xt=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=((0,O.useContext)(qt)||{}).setPortalPlacement,l=(0,O.useRef)(null),c=b((0,O.useState)(r),2),p=c[0],d=c[1],f=b((0,O.useState)(null),2),h=f[0],v=f[1],g=s.spacing.controlHeight;return Ct((function(){var e=l.current;if(e){var t="fixed"===i,s=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,p=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,m=d.top,v=n.offsetParent.getBoundingClientRect().top,g=a||Vt(c=u)?window.innerHeight:c.clientHeight,b=Rt(u),y=parseInt(getComputedStyle(n).marginBottom,10),O=parseInt(getComputedStyle(n).marginTop,10),w=v-O,C=g-m,S=w+b,x=p-b-m,E=f-g+b+y,I=b+m-O,k=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(x>=h&&!a)return i&&Lt(u,E,k),{placement:"bottom",maxHeight:t};if(!a&&x>=r||a&&C>=r)return i&&Lt(u,E,k),{placement:"bottom",maxHeight:a?C-y:x-y};if("auto"===o||a){var M=t,P=a?w:S;return P>=r&&(M=Math.min(P-y-s,t)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&Dt(u,E),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&Lt(u,I,k),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&w>=r){var V=t;return(!a&&S>=r||a&&w>=r)&&(V=a?w-O:S-O),i&&Lt(u,I,k),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:g});d(s.maxHeight),v(s.placement),null==u||u(s.placement)}}),[r,o,i,a,n,u,g]),t({ref:l,placerProps:m(m({},e),{},{placement:h||Yt(o),maxHeight:p})})},Zt=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return m({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Kt=Zt,Jt=Zt,Qt=["size"],en=["innerProps","isRtl","size"],tn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},nn=function(e){var t=e.size,n=y(e,Qt);return Je("svg",C({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tn},n))},rn=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},on=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},an=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},sn=an,un=an,ln=function(){var e=Qe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Bt||(Wt=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],Gt||(Gt=Wt.slice(0)),Bt=Object.freeze(Object.defineProperties(Wt,{raw:{value:Object.freeze(Gt)}})))),cn=function(e){var t=e.delay,n=e.offset;return Je("span",{css:Qe({animation:"".concat(ln," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},pn=["data"],dn=["innerRef","isDisabled","isHidden","inputClassName"],fn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":m({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},fn)},mn=function(e){return m({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},fn)},vn=function(e){var t=e.children,n=e.innerProps;return Je("div",n,t)},gn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Je(rn,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Je("div",C({ref:o},Pt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Je(on,null))},DownChevron:on,CrossIcon:rn,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return Je("div",C({},Pt(e,"group",{group:!0}),s),Je(i,C({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),Je("div",null,t))},GroupHeading:function(e){var t=Mt(e);t.data;var n=y(t,pn);return Je("div",C({},Pt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Je("span",C({},t,Pt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Mt(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,u=y(r,dn);return Je("div",C({},Pt(e,"input",{"input-container":!0}),{"data-value":n||""}),Je("input",C({className:t({input:!0},s),ref:o,style:mn(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=y(e,en);return Je("div",C({},Pt(m(m({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Je(cn,{delay:0,offset:n}),Je(cn,{delay:160,offset:!0}),Je(cn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Je("div",C({},Pt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Je("div",C({},Pt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,a=e.menuPosition,s=(0,O.useRef)(null),u=(0,O.useRef)(null),l=b((0,O.useState)(Yt(i)),2),c=l[0],p=l[1],d=(0,O.useMemo)((function(){return{setPortalPlacement:p}}),[]),f=b((0,O.useState)(null),2),h=f[0],v=f[1],g=(0,O.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[c]+t;n===(null==h?void 0:h.offset)&&e.left===(null==h?void 0:h.rect.left)&&e.width===(null==h?void 0:h.rect.width)||v({offset:n,rect:e})}}),[r,a,c,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);Ct((function(){g()}),[g]);var y=(0,O.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&s.current&&(u.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,l=gt(e),c=o||i?[...l?vt(l):[],...vt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=l&&s?function(e,t){let n,r=null;const o=ut(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();const{left:l,top:c,width:p,height:d}=e.getBoundingClientRect();if(s||t(),!p||!d)return;const f={rootMargin:-ot(c)+"px "+-ot(o.clientWidth-(l+p))+"px "+-ot(o.clientHeight-(c+d))+"px "+-ot(l)+"px",threshold:nt(0,tt(1,u))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(l,n):null;let d,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),l&&!u&&h.observe(l),h.observe(t));let m=u?wt(e):null;return u&&function t(){const r=wt(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(d)}}(r,s.current,g,{elementResize:"ResizeObserver"in window}))}),[r,g]);Ct((function(){y()}),[y]);var w=(0,O.useCallback)((function(e){s.current=e,y()}),[y]);if(!t&&"fixed"!==a||!h)return null;var S=Je("div",C({ref:w},Pt(m(m({},e),{},{offset:h.offset,position:a,rect:h.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Je(qt.Provider,{value:d},t?(0,et.createPortal)(S,t):S)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=y(e,zt);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=y(e,Ut);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,u=n.Container,l=n.Label,c=n.Remove;return Je(u,{data:r,innerProps:m(m({},Pt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Je(l,{data:r,innerProps:m({},Pt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Je(c,{data:r,innerProps:m(m({},Pt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:vn,MultiValueLabel:vn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Je("div",C({role:"button"},n),t||Je(rn,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Je("div",C({},Pt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Je("div",C({},Pt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Je("div",C({},Pt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Je("div",C({},Pt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},bn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||bn(r)&&bn(o)))return!1;var r,o;return!0}for(var On={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},wn=function(e){return Je("span",C({css:On},e))},Cn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&l){var p=s?" disabled":"",d="".concat(u?" selected":"").concat(p);return"".concat(i).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Sn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,l=e.isAppleDevice,c=s.ariaLiveMessages,p=s.getOptionLabel,d=s.inputValue,f=s.isMulti,h=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,b=s.options,y=s.screenReaderStatus,w=s.tabSelectsValue,C=s.isLoading,S=s["aria-label"],x=s["aria-live"],E=(0,O.useMemo)((function(){return m(m({},Cn),c||{})}),[c]),I=(0,O.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,u=t.value,l=i||r||(e=u,Array.isArray(e)?null:e),c=l?p(l):"",d=o||s||void 0,f=d?d.map(p):[],v=m({isDisabled:l&&h(l,a),label:c,labels:f},t);n=E.onChange(v)}return n}),[t,E,h,a,p]),k=(0,O.useMemo)((function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var s={focused:t,label:p(t),isDisabled:h(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=E.onFocus(s)}return e}),[n,r,p,h,E,o,a,l]),M=(0,O.useMemo)((function(){var e="";if(g&&b.length&&!C&&E.onFilter){var t=y({count:o.length});e=E.onFilter({inputValue:d,resultsMessage:t})}return e}),[o,d,g,E,b,y,C]),P="initial-input-focus"===(null==t?void 0:t.action),V=(0,O.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":g?"menu":"input";e=E.guidance({"aria-label":S,context:t,isDisabled:n&&h(n,a),isMulti:f,isSearchable:v,tabSelectsValue:w,isInitialFocus:P})}return e}),[S,n,r,f,h,v,g,E,a,w,P]),R=Je(O.Fragment,null,Je("span",{id:"aria-selection"},I),Je("span",{id:"aria-focused"},k),Je("span",{id:"aria-results"},M),Je("span",{id:"aria-guidance"},V));return Je(O.Fragment,null,Je(wn,{id:u},P&&R),Je(wn,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!P&&R))},xn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],En=new RegExp("["+xn.map((function(e){return e.letters})).join("")+"]","g"),In={},kn=0;kn<xn.length;kn++)for(var Mn=xn[kn],Pn=0;Pn<Mn.letters.length;Pn++)In[Mn.letters[Pn]]=Mn.base;var Vn=function(e){return e.replace(En,(function(e){return In[e]}))},Rn=function(e,t){void 0===t&&(t=yn);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Vn),Dn=function(e){return e.replace(/^\s+|\s+$/g,"")},Ln=function(e){return"".concat(e.label," ").concat(e.value)},Fn=["innerRef"];function Tn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=b(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=b(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(y(e,Fn),"onExited","in","enter","exit","appear");return Je("input",C({ref:t},n,{css:Qe({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var An=["boxSizing","height","overflow","paddingRight","position"],Hn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function jn(e){e.preventDefault()}function $n(e){e.stopPropagation()}function Nn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Un(){return"ontouchstart"in window||navigator.maxTouchPoints}var zn=!("undefined"==typeof window||!window.document||!window.document.createElement),Bn=0,Wn={capture:!1,passive:!1},Gn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Yn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function qn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,O.useRef)(!1),s=(0,O.useRef)(!1),u=(0,O.useRef)(0),l=(0,O.useRef)(null),c=(0,O.useCallback)((function(e,t){if(null!==l.current){var u=l.current,c=u.scrollTop,p=u.scrollHeight,d=u.clientHeight,f=l.current,h=t>0,m=p-d-c,v=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=p,v=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),f.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),p=(0,O.useCallback)((function(e){c(e,e.deltaY)}),[c]),d=(0,O.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),f=(0,O.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;c(e,t)}),[c]),h=(0,O.useCallback)((function(e){if(e){var t=!!jt&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",f,t)}}),[f,d,p]),m=(0,O.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",f,!1))}),[f,d,p]);return(0,O.useEffect)((function(){if(t){var e=l.current;return h(e),function(){m(e)}}}),[t,h,m]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,O.useRef)({}),i=(0,O.useRef)(null),a=(0,O.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Bn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Hn).forEach((function(e){var t=Hn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Un()&&(t.addEventListener("touchmove",jn,Wn),e&&(e.addEventListener("touchstart",Nn,Wn),e.addEventListener("touchmove",$n,Wn))),Bn+=1}}),[r]),s=(0,O.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;Bn=Math.max(Bn-1,0),r&&Bn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Un()&&(t.removeEventListener("touchmove",jn,Wn),e&&(e.removeEventListener("touchstart",Nn,Wn),e.removeEventListener("touchmove",$n,Wn)))}}),[r]);return(0,O.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Je(O.Fragment,null,n&&Je("div",{onClick:Gn,css:Yn}),t((function(e){o(e),i(e)})))}var Xn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Zn=function(e){var t=e.name,n=e.onFocus;return Je("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Xn,value:"",onChange:function(){}})};function Kn(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Jn(){return Kn(/^Mac/i)}var Qn={clearIndicator:un,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return m({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:sn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return m({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return m(m({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},hn),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return m({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Jt,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return m((f(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),f(n,"position","absolute"),f(n,"width","100%"),f(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return m({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return m({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return m({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return m({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Kt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return m({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return m({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return m({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return m({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},er={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},tr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Tt(),captureMenuScroll:!Tt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=m({ignoreCase:!0,ignoreAccents:!0,stringify:Ln,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?Dn(t):t,l=a?Dn(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=Rn(u),l=Vn(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function nr(e,t,n,r){return{type:"option",data:t,isDisabled:cr(e,t,n),isSelected:pr(e,t,n),label:ur(e,t),value:lr(e,t),index:r}}function rr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return nr(e,n,t,r)})).filter((function(t){return ar(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=nr(e,n,t,r);return ar(e,i)?i:void 0})).filter($t)}function or(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,k(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ir(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,k(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function ar(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!fr(e)||!i)&&dr(e,{label:a,value:s,data:o},r)}var sr=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ur=function(e,t){return e.getOptionLabel(t)},lr=function(e,t){return e.getOptionValue(t)};function cr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function pr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=lr(e,t);return n.some((function(t){return lr(e,t)===r}))}function dr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var fr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},hr=1,mr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(s,e);var t,n,r,o,i,a=(t=s,n=I(),function(){var e,r=E(t);if(n){var o=E(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function s(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=Jn()||Kn(/^iPhone/i)||Kn(/^iPad/i)||Jn()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(k(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=Nt(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Nt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=Nt(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return sr(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return ir(rr(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return It.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ur(t.props,e)},t.getOptionValue=function(e){return lr(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=Qn[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,m(m({},gn),e.components);var e},t.buildCategorizedOptions=function(){return rr(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return or(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:m({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Vt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return fr(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,h=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!p||!h||d&&t.isOptionSelected(h,v))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++hr),t.state.selectValue=kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),o=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[o],t.state.focusedOptionId=sr(n,r[o])}return t}return r=s,o=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ft(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ft(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(er):m(m({},er),this.props.theme):er}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return cr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return pr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return dr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,u=e.required,l=this.getComponents().Input,c=this.state,p=c.inputIsHidden,d=c.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),v=m(m(m({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?O.createElement(l,C({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):O.createElement(Tn,C({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xt,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,p=l.isDisabled,d=l.isMulti,f=l.inputValue,h=l.placeholder,m=this.state,v=m.selectValue,g=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return f?null:O.createElement(s,C({},u,{key:"placeholder",isDisabled:p,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(d)return v.map((function(t,a){var s=t===g,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return O.createElement(n,C({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var y=v[0];return O.createElement(a,C({},u,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return O.createElement(e,C({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?O.createElement(e,C({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return O.createElement(n,C({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return O.createElement(e,C({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,u=t.NoOptionsMessage,l=t.Option,c=this.commonProps,p=this.state.focusedOption,d=this.props,f=d.captureMenuScroll,h=d.inputValue,m=d.isLoading,v=d.loadingMessage,g=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,w=d.menuPlacement,S=d.menuPosition,x=d.menuPortalTarget,E=d.menuShouldBlockScroll,I=d.menuShouldScrollIntoView,k=d.noOptionsMessage,M=d.onMenuScrollToTop,P=d.onMenuScrollToBottom;if(!y)return null;var V,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,d=p===o,f=i?void 0:function(){return e.onOptionHover(o)},h=i?void 0:function(){return e.selectOption(o)},m="".concat(e.getElementId("option"),"-").concat(n),v={id:m,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return O.createElement(l,C({},c,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:m,label:s,type:r,value:u,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return O.createElement(n,C({},c,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(m){var D=v({inputValue:h});if(null===D)return null;V=O.createElement(s,c,D)}else{var L=k({inputValue:h});if(null===L)return null;V=O.createElement(u,c,L)}var F={minMenuHeight:g,maxMenuHeight:b,menuPlacement:w,menuPosition:S,menuShouldScrollIntoView:I},T=O.createElement(Xt,C({},c,F),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return O.createElement(o,C({},c,F,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:a}),O.createElement(qn,{captureEnabled:f,onTopArrive:M,onBottomArrive:P,lockEnabled:E},(function(t){return O.createElement(i,C({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:s,focusedOption:p}),V)})))}));return x||"fixed"===S?O.createElement(a,C({},c,{appendTo:x,controlElement:this.controlRef,menuPlacement:w,menuPosition:S}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return O.createElement(Zn,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return O.createElement("input",{name:i,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return O.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):O.createElement("input",{name:i,type:"hidden",value:""});return O.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return O.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return O.createElement(Sn,C({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,p=this.commonProps=this.getCommonProps();return O.createElement(r,C({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),O.createElement(t,C({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),O.createElement(o,C({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),O.createElement(n,C({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=t.instancePrefix,l=e.options,c=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,h=kt(c),v={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var g=p?function(e,t){return or(rr(e,t))}(e,h):[],b=p?ir(rr(e,h),"".concat(u,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,O=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);v={selectValue:h,focusedOption:O,focusedOptionId:sr(b,O),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},C=i,S=a&&s;return a&&!S&&(C={value:Nt(f,h,h[0]||null),options:h,action:"initial-input-focus"},S=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),m(m(m({},v),w),{},{prevProps:e,ariaSelection:C,prevWasFocused:S})}}],o&&S(r.prototype,o),i&&S(r,i),Object.defineProperty(r,"prototype",{writable:!1}),s}(O.Component);mr.defaultProps=tr;var vr=(0,O.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,p=e.onMenuClose,d=e.onMenuOpen,f=e.value,h=y(e,w),v=b((0,O.useState)(void 0!==s?s:n),2),g=v[0],C=v[1],S=b((0,O.useState)(void 0!==u?u:o),2),x=S[0],E=S[1],I=b((0,O.useState)(void 0!==f?f:a),2),k=I[0],M=I[1],P=(0,O.useCallback)((function(e,t){"function"==typeof l&&l(e,t),M(e)}),[l]),V=(0,O.useCallback)((function(e,t){var n;"function"==typeof c&&(n=c(e,t)),C(void 0!==n?n:e)}),[c]),R=(0,O.useCallback)((function(){"function"==typeof d&&d(),E(!0)}),[d]),D=(0,O.useCallback)((function(){"function"==typeof p&&p(),E(!1)}),[p]),L=void 0!==s?s:g,F=void 0!==u?u:x,T=void 0!==f?f:k;return m(m({},h),{},{inputValue:L,menuIsOpen:F,onChange:P,onInputChange:V,onMenuClose:D,onMenuOpen:R,value:T})}(e);return O.createElement(mr,C({ref:t},n))})),gr=vr,br=JSON.parse('{"UU":"sugar-calendar/block"}'),yr=(0,r.createElement)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.03233 0.926845C4.03233 0.698208 4.13626 0.469571 4.30254 0.303289C4.48961 0.137007 4.71824 0.0330811 4.96767 0.0330811C5.21709 0.0330811 5.46651 0.137007 5.63279 0.303289C5.79908 0.469571 5.903 0.677423 5.903 0.926845L12.097 0.926845C12.097 0.698208 12.2009 0.469571 12.3672 0.303289C12.5335 0.137007 12.7829 0.0330811 13.0323 0.0330811C13.2818 0.0330811 13.5312 0.137007 13.6975 0.303289C13.8637 0.469571 13.9677 0.677423 13.9677 0.926845L14.2794 0.926845C16.3372 0.926845 18 2.58966 18 4.6474L18 14.2917C18 16.3495 16.3372 18.0123 14.2794 18.0123L3.72055 18.0123C1.66282 18.0123 0 16.3495 0 14.2917L0 4.6474C0 2.58966 1.66282 0.926845 3.72055 0.926845L4.03233 0.926845ZM15.7136 13.4188C15.7136 14.0631 15.4642 14.6659 15.0069 15.1232C14.5497 15.5804 13.9469 15.8298 13.3025 15.8298L4.69746 15.8298C3.36721 15.8298 2.28637 14.749 2.28637 13.4188V12.9823C2.28637 12.9823 2.34873 12.8368 2.41109 12.8368L11.1409 12.8368C11.6813 12.8368 12.097 12.4211 12.097 11.8807C12.097 11.361 11.6605 10.9245 11.1409 10.9245L3.36721 10.9245C3.07621 10.9245 2.806 10.8206 2.59815 10.6128C2.3903 10.4049 2.28637 10.1347 2.28637 9.86449L2.28637 4.81368C2.28637 4.35641 2.47344 3.91992 2.78522 3.60814C3.097 3.29636 3.53349 3.10929 3.99076 3.10929C3.99076 3.10929 3.99076 3.10929 4.01155 3.10929C4.01155 3.10929 4.01155 3.10929 4.01155 3.13008C4.01155 3.58735 4.38568 3.96149 4.84296 3.96149H5.07159C5.52887 3.96149 5.903 3.58735 5.903 3.13008C5.903 3.13008 5.903 3.08851 5.94457 3.08851L12.0554 3.08851C12.0554 3.08851 12.097 3.08851 12.097 3.13008C12.097 3.58735 12.4711 3.96149 12.9284 3.96149H13.157C13.6143 3.96149 13.9885 3.58735 13.9885 3.13008V3.10929C13.9885 3.10929 13.9885 3.10929 14.0092 3.10929C14.9654 3.10929 15.7136 3.87835 15.7136 4.81368L15.7136 5.95687C15.7136 5.95687 15.6513 6.10237 15.5889 6.10237L6.87991 6.10237C6.36028 6.10237 5.92379 6.51807 5.92379 7.05849C5.92379 7.57812 6.36028 8.01461 6.87991 8.01461L14.6536 8.01461C14.9446 8.01461 15.2148 8.11853 15.4226 8.32638C15.6305 8.53424 15.7344 8.80444 15.7344 9.07465V13.4188H15.7136Z",fill:"#1E1E1E"}));(0,o.registerBlockType)(br.UU,{edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,u=t.blockId;(0,r.useEffect)((function(){u||n({calendarId:o})}),[]);var p=(0,c.useSelect)((function(e){return e("core").getEntityRecords("taxonomy","sc_event_category")})),d=(0,c.useSelect)((function(e){return e("core/data").hasFinishedResolution("core","getEntityRecords",["taxonomy","sc_event_category"])}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:(0,i.__)("Settings","sugar-calendar-block")},d&&p&&p.length>1&&(0,r.createElement)(s.__experimentalHeading,{level:3},"Calendars"),d&&p&&p.length>1&&(0,r.createElement)(gr,{className:"sugar-calendar-block__calendars",classNamePrefix:"sc-calendar-block-select",isMulti:!0,options:p.map((function(e){return{value:e.id,label:e.name}})),onChange:function(e){var t=e?e.map((function(e){return e.value})):[];n({calendars:t})},value:t.calendars?t.calendars.map((function(e){var t=p.find((function(t){return t.id===e}));return{value:t.id,label:t.name}})):[]}),(0,r.createElement)(s.__experimentalToggleGroupControl,{onChange:function(e){n({display:e})},label:(0,i.__)("Display","sugar-calendar-block"),value:t.display,isBlock:!0},(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"month",label:(0,i.__)("Month","sugar-calendar-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"week",label:(0,i.__)("Week","sugar-calendar-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"day",label:(0,i.__)("Day","sugar-calendar-block")})),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Allow Users to Change Display","sugar-calendar-block"),checked:t.allowUserChangeDisplay,onChange:function(e){n({allowUserChangeDisplay:e})}}),(0,r.createElement)(s.__experimentalHeading,{level:3},(0,i.__)("Colors","sugar-calendar-block")),(0,r.createElement)(a.PanelColorSettings,{__experimentalIsRenderedInSidebar:!0,showTitle:!1,className:"sugar-calendar-block__colors",colorSettings:[{value:t.accentColor,onChange:function(e){n({accentColor:e})},label:(0,i.__)("Accent","sugar-calendar-block")}]}))),(0,r.createElement)("div",(0,a.useBlockProps)(),(0,r.createElement)(l(),{attributes:t,key:"sugar-calendar-block-server-side-renderer",block:"sugar-calendar/block"})))},save:function(){return(0,r.createElement)("p",a.useBlockProps.save(),"Sugar Calendar Block")},icon:yr})},146:function(e,t,n){var r=n(363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},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]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),m=u(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var b=d(n,g);try{l(t,g,b)}catch(e){}}}}return t}},799:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=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,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case m:case u:return e;default:return t}}case o:return t}}}function C(e){return w(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return C(e)||w(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===O||e.$$typeof===g)},t.typeOf=w},363:function(e,t,n){e.exports=n(799)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=function(t,n,o,i){if(!n){var a=1/0;for(c=0;c<e.length;c++){n=e[c][0],o=e[c][1],i=e[c][2];for(var s=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[u])}))?n.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(c--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={57:0,350:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,a=n[0],s=n[1],u=n[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(u)var c=u(r)}for(t&&t(n);l<a.length;l++)i=a[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(c)},n=self.webpackChunksugar_calendar=self.webpackChunksugar_calendar||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[350],(function(){return r(69)}));o=r.O(o)}();
     1!function(){"use strict";var e,t={69:function(e,t,n){var r=window.wp.element,o=window.wp.blocks,i=window.wp.i18n,a=window.wp.blockEditor,s=window.wp.components,u=window.wp.serverSideRender,l=n.n(u),c=window.wp.data;function p(e){return p="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},p(e)}function d(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:t+""}function f(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var O=window.React,w=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function C(){return C=Object.assign?Object.assign.bind():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},C.apply(this,arguments)}function S(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,d(r.key),r)}}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(I=function(){return!!e})()}function k(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var M=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),P=Math.abs,V=String.fromCharCode,R=Object.assign;function D(e){return e.trim()}function L(e,t,n){return e.replace(t,n)}function F(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function A(e,t,n){return e.slice(t,n)}function _(e){return e.length}function H(e){return e.length}function j(e,t){return t.push(e),e}var $=1,N=1,U=0,z=0,B=0,W="";function G(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:$,column:N,length:a,return:""}}function Y(e,t){return R(G("",null,null,"",null,null,0),e,{length:-e.length},t)}function q(){return B=z>0?T(W,--z):0,N--,10===B&&(N=1,$--),B}function X(){return B=z<U?T(W,z++):0,N++,10===B&&(N=1,$++),B}function Z(){return T(W,z)}function K(){return z}function J(e,t){return A(W,e,t)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ee(e){return $=N=1,U=_(W=e),z=0,[]}function te(e){return W="",e}function ne(e){return D(J(z-1,ie(91===e?e+2:40===e?e+1:e)))}function re(e){for(;(B=Z())&&B<33;)X();return Q(e)>2||Q(B)>3?"":" "}function oe(e,t){for(;--t&&X()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return J(e,K()+(t<6&&32==Z()&&32==X()))}function ie(e){for(;X();)switch(B){case e:return z;case 34:case 39:34!==e&&39!==e&&ie(B);break;case 40:41===e&&ie(e);break;case 92:X()}return z}function ae(e,t){for(;X()&&e+B!==57&&(e+B!==84||47!==Z()););return"/*"+J(t,z-1)+"*"+V(47===e?e:X())}function se(e){for(;!Q(Z());)X();return J(e,z)}var ue="-ms-",le="-moz-",ce="-webkit-",pe="comm",de="rule",fe="decl",he="@keyframes";function me(e,t){for(var n="",r=H(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ve(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case fe:return e.return=e.return||e.value;case pe:return"";case he:return e.return=e.value+"{"+me(e.children,r)+"}";case de:e.value=e.props.join(",")}return _(n=me(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,d=0,f=0,h=0,m=1,v=1,g=1,b=0,y="",O=o,w=i,C=r,S=y;v;)switch(h=b,b=X()){case 40:if(108!=h&&58==T(S,p-1)){-1!=F(S+=L(ne(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=ne(b);break;case 9:case 10:case 13:case 32:S+=re(h);break;case 92:S+=oe(K()-1,7);continue;case 47:switch(Z()){case 42:case 47:j(Oe(ae(X(),K()),t,n),u);break;default:S+="/"}break;case 123*m:s[l++]=_(S)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:-1==g&&(S=L(S,/\f/g,"")),f>0&&_(S)-p&&j(f>32?we(S+";",r,n,p-1):we(L(S," ","")+";",r,n,p-2),u);break;case 59:S+=";";default:if(j(C=ye(S,t,n,l,c,o,s,y,O=[],w=[],p),i),123===b)if(0===c)be(S,t,C,C,O,i,p,s,w);else switch(99===d&&110===T(S,3)?100:d){case 100:case 108:case 109:case 115:be(e,C,C,r&&j(ye(e,C,C,0,0,o,s,y,o,O=[],p),w),o,w,p,s,r?O:w);break;default:be(S,C,C,C,[""],w,0,s,w)}}l=c=f=0,m=g=1,y=S="",p=a;break;case 58:p=1+_(S),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==q())continue;switch(S+=V(b),b*m){case 38:g=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(_(S)-1)*g,g=1;break;case 64:45===Z()&&(S+=ne(X())),d=Z(),c=p=_(y=S+=se(K())),b++;break;case 45:45===h&&2==_(S)&&(m=0)}}return i}function ye(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=H(d),h=0,m=0,v=0;h<r;++h)for(var g=0,b=A(e,p+1,p=P(m=a[h])),y=e;g<f;++g)(y=D(m>0?d[g]+" "+b:L(b,/&\f/g,d[g])))&&(u[v++]=y);return G(e,t,n,0===o?de:s,u,l,c)}function Oe(e,t,n){return G(e,t,n,pe,V(B),A(e,2,-2),0)}function we(e,t,n,r){return G(e,t,n,fe,A(e,0,r),A(e,r+1,-1),r)}var Ce=function(e,t,n){for(var r=0,o=0;r=o,o=Z(),38===r&&12===o&&(t[n]=1),!Q(o);)X();return J(e,z)},Se=new WeakMap,xe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Se.get(n))&&!r){Se.set(e,!0);for(var o=[],i=function(e,t){return te(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Ce(z-1,t,n);break;case 2:e[n]+=ne(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=V(r)}}while(r=X());return e}(ee(e),t))}(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ie(e,t){switch(function(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}(e,t)){case 5103:return ce+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ce+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ce+e+le+e+ue+e+e;case 6828:case 4268:return ce+e+ue+e+e;case 6165:return ce+e+ue+"flex-"+e+e;case 5187:return ce+e+L(e,/(\w+).+(:[^]+)/,ce+"box-$1$2"+ue+"flex-$1$2")+e;case 5443:return ce+e+ue+"flex-item-"+L(e,/flex-|-self/,"")+e;case 4675:return ce+e+ue+"flex-line-pack"+L(e,/align-content|flex-|-self/,"")+e;case 5548:return ce+e+ue+L(e,"shrink","negative")+e;case 5292:return ce+e+ue+L(e,"basis","preferred-size")+e;case 6060:return ce+"box-"+L(e,"-grow","")+ce+e+ue+L(e,"grow","positive")+e;case 4554:return ce+L(e,/([^-])(transform)/g,"$1"+ce+"$2")+e;case 6187:return L(L(L(e,/(zoom-|grab)/,ce+"$1"),/(image-set)/,ce+"$1"),e,"")+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,ce+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,ce+"box-pack:$3"+ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ce+e+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,ce+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-t>6)switch(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return L(e,/(.+:)(.+)-([^]+)/,"$1"+ce+"$2-$3$1"+le+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~F(e,"stretch")?Ie(L(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==T(e,t+1))break;case 6444:switch(T(e,_(e)-3-(~F(e,"!important")&&10))){case 107:return L(e,":",":"+ce)+e;case 101:return L(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ce+(45===T(e,14)?"inline-":"")+"box$3$1"+ce+"$2$3$1"+ue+"$2box$3")+e}break;case 5936:switch(T(e,t+11)){case 114:return ce+e+ue+L(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ce+e+ue+L(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ce+e+ue+L(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ce+e+ue+e+e}return e}var ke=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case fe:e.return=Ie(e.value,e.length);break;case he:return me([Y(e,{value:L(e.value,"@","@"+ce)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return me([Y(e,{props:[L(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return me([Y(e,{props:[L(t,/:(plac\w+)/,":"+ce+"input-$1")]}),Y(e,{props:[L(t,/:(plac\w+)/,":-moz-$1")]}),Y(e,{props:[L(t,/:(plac\w+)/,ue+"input-$1")]})],r)}return""}))}}],Me=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ke,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,p,d=[ve,(p=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(l=[xe,Ee].concat(i,d),c=H(l),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,me(ge(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new M({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},Pe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ve={animationIterationCount:1,aspectRatio: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};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var De=/[A-Z]|^ms/g,Le=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fe=function(e){return 45===e.charCodeAt(1)},Te=function(e){return null!=e&&"boolean"!=typeof e},Ae=Re((function(e){return Fe(e)?e:e.replace(De,"-$&").toLowerCase()})),_e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Le,(function(e,t,n){return je={name:t,styles:n,next:je},t}))}return 1===Ve[e]||Fe(e)||"number"!=typeof t||0===t?t:t+"px"};function He(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return je={name:n.name,styles:n.styles,next:je},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)je={name:r.name,styles:r.styles,next:je},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=He(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Te(a)&&(r+=Ae(i)+":"+_e(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=He(e,t,a);switch(i){case"animation":case"animationName":r+=Ae(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Te(a[u])&&(r+=Ae(i)+":"+_e(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=je,i=n(e);return je=o,He(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var je,$e=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ne=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";je=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=He(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=He(n,t,e[a]),r&&(o+=i[a]);$e.lastIndex=0;for(var s,u="";null!==(s=$e.exec(o));)u+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:l,styles:o,next:je}},Ue=!!O.useInsertionEffect&&O.useInsertionEffect,ze=Ue||function(e){return e()},Be=(Ue||O.useLayoutEffect,{}.hasOwnProperty),We=O.createContext("undefined"!=typeof HTMLElement?Me({key:"css"}):null);We.Provider;var Ge=function(e){return(0,O.forwardRef)((function(t,n){var r=(0,O.useContext)(We);return e(t,r,n)}))},Ye=O.createContext({}),qe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pe(t,n,r),ze((function(){return function(e,t,n){Pe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Ze=Ge((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[qe],i=[r],a="";"string"==typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Ne(i,void 0,O.useContext(Ye));a+=t.key+"-"+s.name;var u={};for(var l in e)Be.call(e,l)&&"css"!==l&&l!==qe&&(u[l]=e[l]);return u.ref=n,u.className=a,O.createElement(O.Fragment,null,O.createElement(Xe,{cache:t,serialized:s,isStringTag:"string"==typeof o}),O.createElement(o,u))})),Ke=Ze,Je=(n(146),function(e,t){var n=arguments;if(null==t||!Be.call(t,"css"))return O.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ke,o[1]=function(e,t){var n={};for(var r in t)Be.call(t,r)&&(n[r]=t[r]);return n[qe]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return O.createElement.apply(null,o)});function Qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ne(t)}var et=window.ReactDOM;const tt=Math.min,nt=Math.max,rt=Math.round,ot=Math.floor,it=e=>({x:e,y:e});function at(e){return lt(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ut(e){var t;return null==(t=(lt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function lt(e){return e instanceof Node||e instanceof st(e).Node}function ct(e){return e instanceof Element||e instanceof st(e).Element}function pt(e){return e instanceof HTMLElement||e instanceof st(e).HTMLElement}function dt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof st(e).ShadowRoot)}function ft(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ht(e){return st(e).getComputedStyle(e)}function mt(e){const t=function(e){if("html"===at(e))return e;const t=e.assignedSlot||e.parentNode||dt(e)&&e.host||ut(e);return dt(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(at(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pt(t)&&ft(t)?t:mt(t)}function vt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=mt(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=st(o);return i?t.concat(a,a.visualViewport||[],ft(o)?o:[],a.frameElement&&n?vt(a.frameElement):[]):t.concat(o,vt(o,[],n))}function gt(e){return ct(e)?e:e.contextElement}function bt(e){const t=gt(e);if(!pt(t))return it(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=pt(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=rt(n)!==i||rt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?rt(n.width):n.width)/r,s=(i?rt(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const yt=it(0);function Ot(e){const t=st(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:yt}function wt(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=gt(e);let a=it(1);t&&(r?ct(r)&&(a=bt(r)):a=bt(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==st(e))&&t}(i,n,r)?Ot(i):it(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,c=o.width/a.x,p=o.height/a.y;if(i){const e=st(i),t=r&&ct(r)?st(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=bt(o),t=o.getBoundingClientRect(),r=ht(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,p*=e.y,u+=i,l+=a,n=st(o),o=n.frameElement}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:p,x:u,y:l})}var Ct=O.useLayoutEffect,St=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xt=function(){};function Et(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function It(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Et(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var kt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===p(e)&&null!==e?[e]:[];var t},Mt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,m({},y(e,St))},Pt=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function Vt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Rt(e){return Vt(e)?window.pageYOffset:e.scrollTop}function Dt(e,t){Vt(e)?window.scrollTo(0,t):e.scrollTop=t}function Lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,o=Rt(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Dt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function Ft(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Dt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Dt(e,Math.max(t.offsetTop-o,0))}function Tt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var At=!1,_t={get passive(){return At=!0}},Ht="undefined"!=typeof window?window:{};Ht.addEventListener&&Ht.removeEventListener&&(Ht.addEventListener("p",xt,_t),Ht.removeEventListener("p",xt,!1));var jt=At;function $t(e){return null!=e}function Nt(e,t,n){return e?t:n}var Ut=["children","innerProps"],zt=["children","innerProps"];var Bt,Wt,Gt,Yt=function(e){return"auto"===e?"bottom":e},qt=(0,O.createContext)(null),Xt=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=((0,O.useContext)(qt)||{}).setPortalPlacement,l=(0,O.useRef)(null),c=b((0,O.useState)(r),2),p=c[0],d=c[1],f=b((0,O.useState)(null),2),h=f[0],v=f[1],g=s.spacing.controlHeight;return Ct((function(){var e=l.current;if(e){var t="fixed"===i,s=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,p=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,m=d.top,v=n.offsetParent.getBoundingClientRect().top,g=a||Vt(c=u)?window.innerHeight:c.clientHeight,b=Rt(u),y=parseInt(getComputedStyle(n).marginBottom,10),O=parseInt(getComputedStyle(n).marginTop,10),w=v-O,C=g-m,S=w+b,x=p-b-m,E=f-g+b+y,I=b+m-O,k=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(x>=h&&!a)return i&&Lt(u,E,k),{placement:"bottom",maxHeight:t};if(!a&&x>=r||a&&C>=r)return i&&Lt(u,E,k),{placement:"bottom",maxHeight:a?C-y:x-y};if("auto"===o||a){var M=t,P=a?w:S;return P>=r&&(M=Math.min(P-y-s,t)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&Dt(u,E),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&Lt(u,I,k),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&w>=r){var V=t;return(!a&&S>=r||a&&w>=r)&&(V=a?w-O:S-O),i&&Lt(u,I,k),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:g});d(s.maxHeight),v(s.placement),null==u||u(s.placement)}}),[r,o,i,a,n,u,g]),t({ref:l,placerProps:m(m({},e),{},{placement:h||Yt(o),maxHeight:p})})},Zt=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return m({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Kt=Zt,Jt=Zt,Qt=["size"],en=["innerProps","isRtl","size"],tn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},nn=function(e){var t=e.size,n=y(e,Qt);return Je("svg",C({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tn},n))},rn=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},on=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},an=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},sn=an,un=an,ln=function(){var e=Qe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Bt||(Wt=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],Gt||(Gt=Wt.slice(0)),Bt=Object.freeze(Object.defineProperties(Wt,{raw:{value:Object.freeze(Gt)}})))),cn=function(e){var t=e.delay,n=e.offset;return Je("span",{css:Qe({animation:"".concat(ln," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},pn=["data"],dn=["innerRef","isDisabled","isHidden","inputClassName"],fn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":m({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},fn)},mn=function(e){return m({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},fn)},vn=function(e){var t=e.children,n=e.innerProps;return Je("div",n,t)},gn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Je(rn,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Je("div",C({ref:o},Pt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Je(on,null))},DownChevron:on,CrossIcon:rn,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return Je("div",C({},Pt(e,"group",{group:!0}),s),Je(i,C({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),Je("div",null,t))},GroupHeading:function(e){var t=Mt(e);t.data;var n=y(t,pn);return Je("div",C({},Pt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Je("span",C({},t,Pt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Mt(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,u=y(r,dn);return Je("div",C({},Pt(e,"input",{"input-container":!0}),{"data-value":n||""}),Je("input",C({className:t({input:!0},s),ref:o,style:mn(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=y(e,en);return Je("div",C({},Pt(m(m({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Je(cn,{delay:0,offset:n}),Je(cn,{delay:160,offset:!0}),Je(cn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Je("div",C({},Pt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Je("div",C({},Pt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,a=e.menuPosition,s=(0,O.useRef)(null),u=(0,O.useRef)(null),l=b((0,O.useState)(Yt(i)),2),c=l[0],p=l[1],d=(0,O.useMemo)((function(){return{setPortalPlacement:p}}),[]),f=b((0,O.useState)(null),2),h=f[0],v=f[1],g=(0,O.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[c]+t;n===(null==h?void 0:h.offset)&&e.left===(null==h?void 0:h.rect.left)&&e.width===(null==h?void 0:h.rect.width)||v({offset:n,rect:e})}}),[r,a,c,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);Ct((function(){g()}),[g]);var y=(0,O.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&s.current&&(u.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,l=gt(e),c=o||i?[...l?vt(l):[],...vt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=l&&s?function(e,t){let n,r=null;const o=ut(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();const{left:l,top:c,width:p,height:d}=e.getBoundingClientRect();if(s||t(),!p||!d)return;const f={rootMargin:-ot(c)+"px "+-ot(o.clientWidth-(l+p))+"px "+-ot(o.clientHeight-(c+d))+"px "+-ot(l)+"px",threshold:nt(0,tt(1,u))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(l,n):null;let d,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),l&&!u&&h.observe(l),h.observe(t));let m=u?wt(e):null;return u&&function t(){const r=wt(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(d)}}(r,s.current,g,{elementResize:"ResizeObserver"in window}))}),[r,g]);Ct((function(){y()}),[y]);var w=(0,O.useCallback)((function(e){s.current=e,y()}),[y]);if(!t&&"fixed"!==a||!h)return null;var S=Je("div",C({ref:w},Pt(m(m({},e),{},{offset:h.offset,position:a,rect:h.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Je(qt.Provider,{value:d},t?(0,et.createPortal)(S,t):S)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=y(e,zt);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=y(e,Ut);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,u=n.Container,l=n.Label,c=n.Remove;return Je(u,{data:r,innerProps:m(m({},Pt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Je(l,{data:r,innerProps:m({},Pt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Je(c,{data:r,innerProps:m(m({},Pt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:vn,MultiValueLabel:vn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Je("div",C({role:"button"},n),t||Je(rn,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Je("div",C({},Pt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Je("div",C({},Pt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Je("div",C({},Pt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Je("div",C({},Pt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},bn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||bn(r)&&bn(o)))return!1;var r,o;return!0}for(var On={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},wn=function(e){return Je("span",C({css:On},e))},Cn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&l){var p=s?" disabled":"",d="".concat(u?" selected":"").concat(p);return"".concat(i).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Sn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,l=e.isAppleDevice,c=s.ariaLiveMessages,p=s.getOptionLabel,d=s.inputValue,f=s.isMulti,h=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,b=s.options,y=s.screenReaderStatus,w=s.tabSelectsValue,C=s.isLoading,S=s["aria-label"],x=s["aria-live"],E=(0,O.useMemo)((function(){return m(m({},Cn),c||{})}),[c]),I=(0,O.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,u=t.value,l=i||r||(e=u,Array.isArray(e)?null:e),c=l?p(l):"",d=o||s||void 0,f=d?d.map(p):[],v=m({isDisabled:l&&h(l,a),label:c,labels:f},t);n=E.onChange(v)}return n}),[t,E,h,a,p]),k=(0,O.useMemo)((function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var s={focused:t,label:p(t),isDisabled:h(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=E.onFocus(s)}return e}),[n,r,p,h,E,o,a,l]),M=(0,O.useMemo)((function(){var e="";if(g&&b.length&&!C&&E.onFilter){var t=y({count:o.length});e=E.onFilter({inputValue:d,resultsMessage:t})}return e}),[o,d,g,E,b,y,C]),P="initial-input-focus"===(null==t?void 0:t.action),V=(0,O.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":g?"menu":"input";e=E.guidance({"aria-label":S,context:t,isDisabled:n&&h(n,a),isMulti:f,isSearchable:v,tabSelectsValue:w,isInitialFocus:P})}return e}),[S,n,r,f,h,v,g,E,a,w,P]),R=Je(O.Fragment,null,Je("span",{id:"aria-selection"},I),Je("span",{id:"aria-focused"},k),Je("span",{id:"aria-results"},M),Je("span",{id:"aria-guidance"},V));return Je(O.Fragment,null,Je(wn,{id:u},P&&R),Je(wn,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!P&&R))},xn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],En=new RegExp("["+xn.map((function(e){return e.letters})).join("")+"]","g"),In={},kn=0;kn<xn.length;kn++)for(var Mn=xn[kn],Pn=0;Pn<Mn.letters.length;Pn++)In[Mn.letters[Pn]]=Mn.base;var Vn=function(e){return e.replace(En,(function(e){return In[e]}))},Rn=function(e,t){void 0===t&&(t=yn);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Vn),Dn=function(e){return e.replace(/^\s+|\s+$/g,"")},Ln=function(e){return"".concat(e.label," ").concat(e.value)},Fn=["innerRef"];function Tn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=b(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=b(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(y(e,Fn),"onExited","in","enter","exit","appear");return Je("input",C({ref:t},n,{css:Qe({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var An=["boxSizing","height","overflow","paddingRight","position"],Hn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function jn(e){e.preventDefault()}function $n(e){e.stopPropagation()}function Nn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Un(){return"ontouchstart"in window||navigator.maxTouchPoints}var zn=!("undefined"==typeof window||!window.document||!window.document.createElement),Bn=0,Wn={capture:!1,passive:!1},Gn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Yn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function qn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,O.useRef)(!1),s=(0,O.useRef)(!1),u=(0,O.useRef)(0),l=(0,O.useRef)(null),c=(0,O.useCallback)((function(e,t){if(null!==l.current){var u=l.current,c=u.scrollTop,p=u.scrollHeight,d=u.clientHeight,f=l.current,h=t>0,m=p-d-c,v=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=p,v=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),f.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),p=(0,O.useCallback)((function(e){c(e,e.deltaY)}),[c]),d=(0,O.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),f=(0,O.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;c(e,t)}),[c]),h=(0,O.useCallback)((function(e){if(e){var t=!!jt&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",f,t)}}),[f,d,p]),m=(0,O.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",f,!1))}),[f,d,p]);return(0,O.useEffect)((function(){if(t){var e=l.current;return h(e),function(){m(e)}}}),[t,h,m]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,O.useRef)({}),i=(0,O.useRef)(null),a=(0,O.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Bn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Hn).forEach((function(e){var t=Hn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Un()&&(t.addEventListener("touchmove",jn,Wn),e&&(e.addEventListener("touchstart",Nn,Wn),e.addEventListener("touchmove",$n,Wn))),Bn+=1}}),[r]),s=(0,O.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;Bn=Math.max(Bn-1,0),r&&Bn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Un()&&(t.removeEventListener("touchmove",jn,Wn),e&&(e.removeEventListener("touchstart",Nn,Wn),e.removeEventListener("touchmove",$n,Wn)))}}),[r]);return(0,O.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Je(O.Fragment,null,n&&Je("div",{onClick:Gn,css:Yn}),t((function(e){o(e),i(e)})))}var Xn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Zn=function(e){var t=e.name,n=e.onFocus;return Je("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Xn,value:"",onChange:function(){}})};function Kn(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Jn(){return Kn(/^Mac/i)}var Qn={clearIndicator:un,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return m({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:sn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return m({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return m(m({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},hn),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return m({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Jt,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return m((f(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),f(n,"position","absolute"),f(n,"width","100%"),f(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return m({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return m({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return m({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return m({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Kt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return m({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return m({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return m({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return m({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},er={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},tr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Tt(),captureMenuScroll:!Tt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=m({ignoreCase:!0,ignoreAccents:!0,stringify:Ln,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?Dn(t):t,l=a?Dn(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=Rn(u),l=Vn(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function nr(e,t,n,r){return{type:"option",data:t,isDisabled:cr(e,t,n),isSelected:pr(e,t,n),label:ur(e,t),value:lr(e,t),index:r}}function rr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return nr(e,n,t,r)})).filter((function(t){return ar(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=nr(e,n,t,r);return ar(e,i)?i:void 0})).filter($t)}function or(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,k(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ir(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,k(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function ar(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!fr(e)||!i)&&dr(e,{label:a,value:s,data:o},r)}var sr=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ur=function(e,t){return e.getOptionLabel(t)},lr=function(e,t){return e.getOptionValue(t)};function cr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function pr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=lr(e,t);return n.some((function(t){return lr(e,t)===r}))}function dr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var fr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},hr=1,mr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(s,e);var t,n,r,o,i,a=(t=s,n=I(),function(){var e,r=E(t);if(n){var o=E(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function s(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=Jn()||Kn(/^iPhone/i)||Kn(/^iPad/i)||Jn()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(k(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=Nt(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Nt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=Nt(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return sr(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return ir(rr(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return It.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ur(t.props,e)},t.getOptionValue=function(e){return lr(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=Qn[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,m(m({},gn),e.components);var e},t.buildCategorizedOptions=function(){return rr(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return or(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:m({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Vt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return fr(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,h=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!p||!h||d&&t.isOptionSelected(h,v))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++hr),t.state.selectValue=kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),o=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[o],t.state.focusedOptionId=sr(n,r[o])}return t}return r=s,o=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ft(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ft(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(er):m(m({},er),this.props.theme):er}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return cr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return pr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return dr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,u=e.required,l=this.getComponents().Input,c=this.state,p=c.inputIsHidden,d=c.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),v=m(m(m({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?O.createElement(l,C({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):O.createElement(Tn,C({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xt,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,p=l.isDisabled,d=l.isMulti,f=l.inputValue,h=l.placeholder,m=this.state,v=m.selectValue,g=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return f?null:O.createElement(s,C({},u,{key:"placeholder",isDisabled:p,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(d)return v.map((function(t,a){var s=t===g,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return O.createElement(n,C({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var y=v[0];return O.createElement(a,C({},u,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return O.createElement(e,C({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?O.createElement(e,C({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return O.createElement(n,C({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return O.createElement(e,C({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,u=t.NoOptionsMessage,l=t.Option,c=this.commonProps,p=this.state.focusedOption,d=this.props,f=d.captureMenuScroll,h=d.inputValue,m=d.isLoading,v=d.loadingMessage,g=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,w=d.menuPlacement,S=d.menuPosition,x=d.menuPortalTarget,E=d.menuShouldBlockScroll,I=d.menuShouldScrollIntoView,k=d.noOptionsMessage,M=d.onMenuScrollToTop,P=d.onMenuScrollToBottom;if(!y)return null;var V,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,d=p===o,f=i?void 0:function(){return e.onOptionHover(o)},h=i?void 0:function(){return e.selectOption(o)},m="".concat(e.getElementId("option"),"-").concat(n),v={id:m,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return O.createElement(l,C({},c,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:m,label:s,type:r,value:u,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return O.createElement(n,C({},c,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(m){var D=v({inputValue:h});if(null===D)return null;V=O.createElement(s,c,D)}else{var L=k({inputValue:h});if(null===L)return null;V=O.createElement(u,c,L)}var F={minMenuHeight:g,maxMenuHeight:b,menuPlacement:w,menuPosition:S,menuShouldScrollIntoView:I},T=O.createElement(Xt,C({},c,F),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return O.createElement(o,C({},c,F,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:a}),O.createElement(qn,{captureEnabled:f,onTopArrive:M,onBottomArrive:P,lockEnabled:E},(function(t){return O.createElement(i,C({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:s,focusedOption:p}),V)})))}));return x||"fixed"===S?O.createElement(a,C({},c,{appendTo:x,controlElement:this.controlRef,menuPlacement:w,menuPosition:S}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return O.createElement(Zn,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return O.createElement("input",{name:i,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return O.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):O.createElement("input",{name:i,type:"hidden",value:""});return O.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return O.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return O.createElement(Sn,C({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,p=this.commonProps=this.getCommonProps();return O.createElement(r,C({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),O.createElement(t,C({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),O.createElement(o,C({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),O.createElement(n,C({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=t.instancePrefix,l=e.options,c=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,h=kt(c),v={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var g=p?function(e,t){return or(rr(e,t))}(e,h):[],b=p?ir(rr(e,h),"".concat(u,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,O=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);v={selectValue:h,focusedOption:O,focusedOptionId:sr(b,O),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},C=i,S=a&&s;return a&&!S&&(C={value:Nt(f,h,h[0]||null),options:h,action:"initial-input-focus"},S=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),m(m(m({},v),w),{},{prevProps:e,ariaSelection:C,prevWasFocused:S})}}],o&&S(r.prototype,o),i&&S(r,i),Object.defineProperty(r,"prototype",{writable:!1}),s}(O.Component);mr.defaultProps=tr;var vr=(0,O.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,p=e.onMenuClose,d=e.onMenuOpen,f=e.value,h=y(e,w),v=b((0,O.useState)(void 0!==s?s:n),2),g=v[0],C=v[1],S=b((0,O.useState)(void 0!==u?u:o),2),x=S[0],E=S[1],I=b((0,O.useState)(void 0!==f?f:a),2),k=I[0],M=I[1],P=(0,O.useCallback)((function(e,t){"function"==typeof l&&l(e,t),M(e)}),[l]),V=(0,O.useCallback)((function(e,t){var n;"function"==typeof c&&(n=c(e,t)),C(void 0!==n?n:e)}),[c]),R=(0,O.useCallback)((function(){"function"==typeof d&&d(),E(!0)}),[d]),D=(0,O.useCallback)((function(){"function"==typeof p&&p(),E(!1)}),[p]),L=void 0!==s?s:g,F=void 0!==u?u:x,T=void 0!==f?f:k;return m(m({},h),{},{inputValue:L,menuIsOpen:F,onChange:P,onInputChange:V,onMenuClose:D,onMenuOpen:R,value:T})}(e);return O.createElement(mr,C({ref:t},n))})),gr=vr,br=JSON.parse('{"UU":"sugar-calendar/block"}'),yr=(0,r.createElement)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.03233 0.926845C4.03233 0.698208 4.13626 0.469571 4.30254 0.303289C4.48961 0.137007 4.71824 0.0330811 4.96767 0.0330811C5.21709 0.0330811 5.46651 0.137007 5.63279 0.303289C5.79908 0.469571 5.903 0.677423 5.903 0.926845L12.097 0.926845C12.097 0.698208 12.2009 0.469571 12.3672 0.303289C12.5335 0.137007 12.7829 0.0330811 13.0323 0.0330811C13.2818 0.0330811 13.5312 0.137007 13.6975 0.303289C13.8637 0.469571 13.9677 0.677423 13.9677 0.926845L14.2794 0.926845C16.3372 0.926845 18 2.58966 18 4.6474L18 14.2917C18 16.3495 16.3372 18.0123 14.2794 18.0123L3.72055 18.0123C1.66282 18.0123 0 16.3495 0 14.2917L0 4.6474C0 2.58966 1.66282 0.926845 3.72055 0.926845L4.03233 0.926845ZM15.7136 13.4188C15.7136 14.0631 15.4642 14.6659 15.0069 15.1232C14.5497 15.5804 13.9469 15.8298 13.3025 15.8298L4.69746 15.8298C3.36721 15.8298 2.28637 14.749 2.28637 13.4188V12.9823C2.28637 12.9823 2.34873 12.8368 2.41109 12.8368L11.1409 12.8368C11.6813 12.8368 12.097 12.4211 12.097 11.8807C12.097 11.361 11.6605 10.9245 11.1409 10.9245L3.36721 10.9245C3.07621 10.9245 2.806 10.8206 2.59815 10.6128C2.3903 10.4049 2.28637 10.1347 2.28637 9.86449L2.28637 4.81368C2.28637 4.35641 2.47344 3.91992 2.78522 3.60814C3.097 3.29636 3.53349 3.10929 3.99076 3.10929C3.99076 3.10929 3.99076 3.10929 4.01155 3.10929C4.01155 3.10929 4.01155 3.10929 4.01155 3.13008C4.01155 3.58735 4.38568 3.96149 4.84296 3.96149H5.07159C5.52887 3.96149 5.903 3.58735 5.903 3.13008C5.903 3.13008 5.903 3.08851 5.94457 3.08851L12.0554 3.08851C12.0554 3.08851 12.097 3.08851 12.097 3.13008C12.097 3.58735 12.4711 3.96149 12.9284 3.96149H13.157C13.6143 3.96149 13.9885 3.58735 13.9885 3.13008V3.10929C13.9885 3.10929 13.9885 3.10929 14.0092 3.10929C14.9654 3.10929 15.7136 3.87835 15.7136 4.81368L15.7136 5.95687C15.7136 5.95687 15.6513 6.10237 15.5889 6.10237L6.87991 6.10237C6.36028 6.10237 5.92379 6.51807 5.92379 7.05849C5.92379 7.57812 6.36028 8.01461 6.87991 8.01461L14.6536 8.01461C14.9446 8.01461 15.2148 8.11853 15.4226 8.32638C15.6305 8.53424 15.7344 8.80444 15.7344 9.07465V13.4188H15.7136Z",fill:"#1E1E1E"}));(0,o.registerBlockType)(br.UU,{edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,u=t.blockId;(0,r.useEffect)((function(){u||n({calendarId:o})}),[]);var p={per_page:-1},d=(0,c.useSelect)((function(e){return e("core").getEntityRecords("taxonomy","sc_event_category",p)})),f=(0,c.useSelect)((function(e){return e("core/data").hasFinishedResolution("core","getEntityRecords",["taxonomy","sc_event_category",p])}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:(0,i.__)("Settings","sugar-calendar-block")},f&&d&&d.length>1&&(0,r.createElement)(s.__experimentalHeading,{level:3},"Calendars"),f&&d&&d.length>1&&(0,r.createElement)(gr,{className:"sugar-calendar-block__calendars",classNamePrefix:"sc-calendar-block-select",isMulti:!0,options:d.map((function(e){return{value:e.id,label:e.name}})),onChange:function(e){var t=e?e.map((function(e){return e.value})):[];n({calendars:t})},value:t.calendars?t.calendars.map((function(e){var t=d.find((function(t){return t.id===e}));return{value:t.id,label:t.name}})):[]}),(0,r.createElement)(s.__experimentalToggleGroupControl,{onChange:function(e){n({display:e})},label:(0,i.__)("Display","sugar-calendar-block"),value:t.display,isBlock:!0},(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"month",label:(0,i.__)("Month","sugar-calendar-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"week",label:(0,i.__)("Week","sugar-calendar-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"day",label:(0,i.__)("Day","sugar-calendar-block")})),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Allow Users to Change Display","sugar-calendar-block"),checked:t.allowUserChangeDisplay,onChange:function(e){n({allowUserChangeDisplay:e})}}),(0,r.createElement)(s.__experimentalHeading,{level:3},(0,i.__)("Colors","sugar-calendar-block")),(0,r.createElement)(a.PanelColorSettings,{__experimentalIsRenderedInSidebar:!0,showTitle:!1,className:"sugar-calendar-block__colors",colorSettings:[{value:t.accentColor,onChange:function(e){n({accentColor:e})},label:(0,i.__)("Accent","sugar-calendar-block")}]}))),(0,r.createElement)("div",(0,a.useBlockProps)(),(0,r.createElement)(l(),{attributes:t,key:"sugar-calendar-block-server-side-renderer",block:"sugar-calendar/block"})))},save:function(){return(0,r.createElement)("p",a.useBlockProps.save(),"Sugar Calendar Block")},icon:yr})},146:function(e,t,n){var r=n(363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},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]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),m=u(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var b=d(n,g);try{l(t,g,b)}catch(e){}}}}return t}},799:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=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,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case m:case u:return e;default:return t}}case o:return t}}}function C(e){return w(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return C(e)||w(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===O||e.$$typeof===g)},t.typeOf=w},363:function(e,t,n){e.exports=n(799)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=function(t,n,o,i){if(!n){var a=1/0;for(c=0;c<e.length;c++){n=e[c][0],o=e[c][1],i=e[c][2];for(var s=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[u])}))?n.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(c--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={57:0,350:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,a=n[0],s=n[1],u=n[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(u)var c=u(r)}for(t&&t(n);l<a.length;l++)i=a[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(c)},n=self.webpackChunksugar_calendar=self.webpackChunksugar_calendar||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[350],(function(){return r(69)}));o=r.O(o)}();
  • sugar-calendar-lite/trunk/src/Block/Calendar/src/edit.js

    r3112525 r3132158  
    5555    }, [] );
    5656
     57    const calendarQuery = {
     58        per_page: -1
     59    };
     60
    5761    // Request the calendars.
    5862    const calendars = useSelect( ( select ) => {
    59         return select( 'core' ).getEntityRecords( 'taxonomy', 'sc_event_category' );
     63        return select( 'core' ).getEntityRecords( 'taxonomy', 'sc_event_category', calendarQuery );
    6064    });
    6165
    6266    // Is the request to get the calendars loading resolved?
    6367    const hasFinishedGettingCalendars = useSelect( ( select ) => {
    64         return select( 'core/data' ).hasFinishedResolution( 'core', 'getEntityRecords', [ 'taxonomy', 'sc_event_category' ] );
     68        return select( 'core/data' ).hasFinishedResolution( 'core', 'getEntityRecords', [ 'taxonomy', 'sc_event_category', calendarQuery ] );
    6569    });
    6670
  • sugar-calendar-lite/trunk/src/Block/Calendar/templates/month/day.php

    r3112525 r3132158  
    2222         */
    2323        foreach ( $context->get_events() as $event ) {
     24
     25            if ( empty( $event ) ) {
     26                continue;
     27            }
    2428
    2529            // If `$event` is string, then it's a spacer.
  • sugar-calendar-lite/trunk/src/Block/Common/AbstractBlock.php

    r3118281 r3132158  
    234234     *
    235235     * @since 3.0.0
     236     * @since 3.2.0 Support filtering by Block Settings.
    236237     *
    237238     * @return array
     
    239240    public function get_calendars() {
    240241
    241         return ! empty( $this->attributes['calendars'] ) ? $this->attributes['calendars'] : [];
     242        $attributes = $this->get_attributes();
     243        $calendars  = ! empty( $attributes['calendars'] ) ? $attributes['calendars'] : [];
     244
     245        if ( empty( $calendars ) && ! empty( $attributes['calendarsFilter'] ) ) {
     246            return $attributes['calendarsFilter'];
     247        }
     248
     249        return $calendars;
    242250    }
    243251
  • sugar-calendar-lite/trunk/src/Block/Common/templates/form.php

    r3118281 r3132158  
    1515    <input type="hidden" name="sc_search" value="" />
    1616    <input type="hidden" name="sc_visitor_tz_convert" value="<?php echo esc_attr( absint( Options::get( 'timezone_convert' ) ) ); ?>">
     17    <input type="hidden" name="sc_calendars_filter" value="<?php echo esc_attr( implode( ',', $context->get_calendars() ) ); ?>" />
    1718</form>
  • sugar-calendar-lite/trunk/src/Block/EventList/Loader.php

    r3118281 r3132158  
    3838    public function hooks() {
    3939
    40         add_filter( 'should_load_separate_core_block_assets', '__return_true' );
    4140        add_action( 'init', [ $this, 'register_block' ] );
    4241        add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_script' ] );
     
    116115     *
    117116     * @since 3.1.0
     117     * @since 3.2.0 Loaded the assets only when the block is present.
    118118     */
    119119    public function enqueue_script() {
     120
     121        if ( ! $this->should_load_assets() ) {
     122            return;
     123        }
    120124
    121125        $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
     
    146150            ]
    147151        );
     152    }
     153
     154    /**
     155     * Check if the assets should be loaded.
     156     *
     157     * @since 3.2.0
     158     *
     159     * @return bool
     160     */
     161    private function should_load_assets() {
     162
     163        if ( ! is_singular() ) {
     164            return false;
     165        }
     166
     167        return function_exists( 'has_block' ) &&
     168            has_block( 'sugar-calendar/event-list-block' );
    148169    }
    149170
  • sugar-calendar-lite/trunk/src/Block/EventList/build/index.asset.php

    r3112525 r3132158  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '329de73fab3c8920e442');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'cd6c56fe2441f32664f5');
  • sugar-calendar-lite/trunk/src/Block/EventList/build/index.js

    r3112525 r3132158  
    1 !function(){"use strict";var e,t={433:function(e,t,n){var r=window.wp.element,o=window.wp.blocks,i=window.wp.i18n,a=window.wp.blockEditor,s=window.wp.components,u=window.wp.serverSideRender,l=n.n(u),c=window.wp.data;function p(e){return p="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},p(e)}function d(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:t+""}function f(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var w=window.React,O=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function C(){return C=Object.assign?Object.assign.bind():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},C.apply(this,arguments)}function S(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,d(r.key),r)}}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(I=function(){return!!e})()}function k(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var M=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),P=Math.abs,V=String.fromCharCode,R=Object.assign;function L(e){return e.trim()}function D(e,t,n){return e.replace(t,n)}function F(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function A(e,t,n){return e.slice(t,n)}function _(e){return e.length}function H(e){return e.length}function j(e,t){return t.push(e),e}var $=1,N=1,U=0,z=0,B=0,W="";function G(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:$,column:N,length:a,return:""}}function Y(e,t){return R(G("",null,null,"",null,null,0),e,{length:-e.length},t)}function q(){return B=z>0?T(W,--z):0,N--,10===B&&(N=1,$--),B}function X(){return B=z<U?T(W,z++):0,N++,10===B&&(N=1,$++),B}function Z(){return T(W,z)}function K(){return z}function J(e,t){return A(W,e,t)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ee(e){return $=N=1,U=_(W=e),z=0,[]}function te(e){return W="",e}function ne(e){return L(J(z-1,ie(91===e?e+2:40===e?e+1:e)))}function re(e){for(;(B=Z())&&B<33;)X();return Q(e)>2||Q(B)>3?"":" "}function oe(e,t){for(;--t&&X()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return J(e,K()+(t<6&&32==Z()&&32==X()))}function ie(e){for(;X();)switch(B){case e:return z;case 34:case 39:34!==e&&39!==e&&ie(B);break;case 40:41===e&&ie(e);break;case 92:X()}return z}function ae(e,t){for(;X()&&e+B!==57&&(e+B!==84||47!==Z()););return"/*"+J(t,z-1)+"*"+V(47===e?e:X())}function se(e){for(;!Q(Z());)X();return J(e,z)}var ue="-ms-",le="-moz-",ce="-webkit-",pe="comm",de="rule",fe="decl",he="@keyframes";function me(e,t){for(var n="",r=H(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ve(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case fe:return e.return=e.return||e.value;case pe:return"";case he:return e.return=e.value+"{"+me(e.children,r)+"}";case de:e.value=e.props.join(",")}return _(n=me(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,d=0,f=0,h=0,m=1,v=1,g=1,b=0,y="",w=o,O=i,C=r,S=y;v;)switch(h=b,b=X()){case 40:if(108!=h&&58==T(S,p-1)){-1!=F(S+=D(ne(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=ne(b);break;case 9:case 10:case 13:case 32:S+=re(h);break;case 92:S+=oe(K()-1,7);continue;case 47:switch(Z()){case 42:case 47:j(we(ae(X(),K()),t,n),u);break;default:S+="/"}break;case 123*m:s[l++]=_(S)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:-1==g&&(S=D(S,/\f/g,"")),f>0&&_(S)-p&&j(f>32?Oe(S+";",r,n,p-1):Oe(D(S," ","")+";",r,n,p-2),u);break;case 59:S+=";";default:if(j(C=ye(S,t,n,l,c,o,s,y,w=[],O=[],p),i),123===b)if(0===c)be(S,t,C,C,w,i,p,s,O);else switch(99===d&&110===T(S,3)?100:d){case 100:case 108:case 109:case 115:be(e,C,C,r&&j(ye(e,C,C,0,0,o,s,y,o,w=[],p),O),o,O,p,s,r?w:O);break;default:be(S,C,C,C,[""],O,0,s,O)}}l=c=f=0,m=g=1,y=S="",p=a;break;case 58:p=1+_(S),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==q())continue;switch(S+=V(b),b*m){case 38:g=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(_(S)-1)*g,g=1;break;case 64:45===Z()&&(S+=ne(X())),d=Z(),c=p=_(y=S+=se(K())),b++;break;case 45:45===h&&2==_(S)&&(m=0)}}return i}function ye(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=H(d),h=0,m=0,v=0;h<r;++h)for(var g=0,b=A(e,p+1,p=P(m=a[h])),y=e;g<f;++g)(y=L(m>0?d[g]+" "+b:D(b,/&\f/g,d[g])))&&(u[v++]=y);return G(e,t,n,0===o?de:s,u,l,c)}function we(e,t,n){return G(e,t,n,pe,V(B),A(e,2,-2),0)}function Oe(e,t,n,r){return G(e,t,n,fe,A(e,0,r),A(e,r+1,-1),r)}var Ce=function(e,t,n){for(var r=0,o=0;r=o,o=Z(),38===r&&12===o&&(t[n]=1),!Q(o);)X();return J(e,z)},Se=new WeakMap,xe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Se.get(n))&&!r){Se.set(e,!0);for(var o=[],i=function(e,t){return te(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Ce(z-1,t,n);break;case 2:e[n]+=ne(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=V(r)}}while(r=X());return e}(ee(e),t))}(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ie(e,t){switch(function(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}(e,t)){case 5103:return ce+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ce+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ce+e+le+e+ue+e+e;case 6828:case 4268:return ce+e+ue+e+e;case 6165:return ce+e+ue+"flex-"+e+e;case 5187:return ce+e+D(e,/(\w+).+(:[^]+)/,ce+"box-$1$2"+ue+"flex-$1$2")+e;case 5443:return ce+e+ue+"flex-item-"+D(e,/flex-|-self/,"")+e;case 4675:return ce+e+ue+"flex-line-pack"+D(e,/align-content|flex-|-self/,"")+e;case 5548:return ce+e+ue+D(e,"shrink","negative")+e;case 5292:return ce+e+ue+D(e,"basis","preferred-size")+e;case 6060:return ce+"box-"+D(e,"-grow","")+ce+e+ue+D(e,"grow","positive")+e;case 4554:return ce+D(e,/([^-])(transform)/g,"$1"+ce+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,ce+"$1"),/(image-set)/,ce+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,ce+"$1$`$1");case 4968:return D(D(e,/(.+:)(flex-)?(.*)/,ce+"box-pack:$3"+ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ce+e+e;case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,ce+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-t>6)switch(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return D(e,/(.+:)(.+)-([^]+)/,"$1"+ce+"$2-$3$1"+le+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~F(e,"stretch")?Ie(D(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==T(e,t+1))break;case 6444:switch(T(e,_(e)-3-(~F(e,"!important")&&10))){case 107:return D(e,":",":"+ce)+e;case 101:return D(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ce+(45===T(e,14)?"inline-":"")+"box$3$1"+ce+"$2$3$1"+ue+"$2box$3")+e}break;case 5936:switch(T(e,t+11)){case 114:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ce+e+ue+e+e}return e}var ke=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case fe:e.return=Ie(e.value,e.length);break;case he:return me([Y(e,{value:D(e.value,"@","@"+ce)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return me([Y(e,{props:[D(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return me([Y(e,{props:[D(t,/:(plac\w+)/,":"+ce+"input-$1")]}),Y(e,{props:[D(t,/:(plac\w+)/,":-moz-$1")]}),Y(e,{props:[D(t,/:(plac\w+)/,ue+"input-$1")]})],r)}return""}))}}],Me=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ke,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,p,d=[ve,(p=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(l=[xe,Ee].concat(i,d),c=H(l),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,me(ge(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new M({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},Pe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ve={animationIterationCount:1,aspectRatio: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};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Le=/[A-Z]|^ms/g,De=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fe=function(e){return 45===e.charCodeAt(1)},Te=function(e){return null!=e&&"boolean"!=typeof e},Ae=Re((function(e){return Fe(e)?e:e.replace(Le,"-$&").toLowerCase()})),_e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(De,(function(e,t,n){return je={name:t,styles:n,next:je},t}))}return 1===Ve[e]||Fe(e)||"number"!=typeof t||0===t?t:t+"px"};function He(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return je={name:n.name,styles:n.styles,next:je},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)je={name:r.name,styles:r.styles,next:je},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=He(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Te(a)&&(r+=Ae(i)+":"+_e(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=He(e,t,a);switch(i){case"animation":case"animationName":r+=Ae(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Te(a[u])&&(r+=Ae(i)+":"+_e(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=je,i=n(e);return je=o,He(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var je,$e=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ne=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";je=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=He(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=He(n,t,e[a]),r&&(o+=i[a]);$e.lastIndex=0;for(var s,u="";null!==(s=$e.exec(o));)u+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:l,styles:o,next:je}},Ue=!!w.useInsertionEffect&&w.useInsertionEffect,ze=Ue||function(e){return e()},Be=(Ue||w.useLayoutEffect,{}.hasOwnProperty),We=w.createContext("undefined"!=typeof HTMLElement?Me({key:"css"}):null);We.Provider;var Ge=function(e){return(0,w.forwardRef)((function(t,n){var r=(0,w.useContext)(We);return e(t,r,n)}))},Ye=w.createContext({}),qe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pe(t,n,r),ze((function(){return function(e,t,n){Pe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Ze=Ge((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[qe],i=[r],a="";"string"==typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Ne(i,void 0,w.useContext(Ye));a+=t.key+"-"+s.name;var u={};for(var l in e)Be.call(e,l)&&"css"!==l&&l!==qe&&(u[l]=e[l]);return u.ref=n,u.className=a,w.createElement(w.Fragment,null,w.createElement(Xe,{cache:t,serialized:s,isStringTag:"string"==typeof o}),w.createElement(o,u))})),Ke=Ze,Je=(n(146),function(e,t){var n=arguments;if(null==t||!Be.call(t,"css"))return w.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ke,o[1]=function(e,t){var n={};for(var r in t)Be.call(t,r)&&(n[r]=t[r]);return n[qe]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return w.createElement.apply(null,o)});function Qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ne(t)}var et=window.ReactDOM;const tt=Math.min,nt=Math.max,rt=Math.round,ot=Math.floor,it=e=>({x:e,y:e});function at(e){return lt(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ut(e){var t;return null==(t=(lt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function lt(e){return e instanceof Node||e instanceof st(e).Node}function ct(e){return e instanceof Element||e instanceof st(e).Element}function pt(e){return e instanceof HTMLElement||e instanceof st(e).HTMLElement}function dt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof st(e).ShadowRoot)}function ft(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ht(e){return st(e).getComputedStyle(e)}function mt(e){const t=function(e){if("html"===at(e))return e;const t=e.assignedSlot||e.parentNode||dt(e)&&e.host||ut(e);return dt(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(at(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pt(t)&&ft(t)?t:mt(t)}function vt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=mt(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=st(o);return i?t.concat(a,a.visualViewport||[],ft(o)?o:[],a.frameElement&&n?vt(a.frameElement):[]):t.concat(o,vt(o,[],n))}function gt(e){return ct(e)?e:e.contextElement}function bt(e){const t=gt(e);if(!pt(t))return it(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=pt(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=rt(n)!==i||rt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?rt(n.width):n.width)/r,s=(i?rt(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const yt=it(0);function wt(e){const t=st(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:yt}function Ot(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=gt(e);let a=it(1);t&&(r?ct(r)&&(a=bt(r)):a=bt(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==st(e))&&t}(i,n,r)?wt(i):it(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,c=o.width/a.x,p=o.height/a.y;if(i){const e=st(i),t=r&&ct(r)?st(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=bt(o),t=o.getBoundingClientRect(),r=ht(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,p*=e.y,u+=i,l+=a,n=st(o),o=n.frameElement}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:p,x:u,y:l})}var Ct=w.useLayoutEffect,St=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xt=function(){};function Et(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function It(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Et(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var kt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===p(e)&&null!==e?[e]:[];var t},Mt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,m({},y(e,St))},Pt=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function Vt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Rt(e){return Vt(e)?window.pageYOffset:e.scrollTop}function Lt(e,t){Vt(e)?window.scrollTo(0,t):e.scrollTop=t}function Dt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,o=Rt(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Lt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function Ft(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Lt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Lt(e,Math.max(t.offsetTop-o,0))}function Tt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var At=!1,_t={get passive(){return At=!0}},Ht="undefined"!=typeof window?window:{};Ht.addEventListener&&Ht.removeEventListener&&(Ht.addEventListener("p",xt,_t),Ht.removeEventListener("p",xt,!1));var jt=At;function $t(e){return null!=e}function Nt(e,t,n){return e?t:n}var Ut=["children","innerProps"],zt=["children","innerProps"];var Bt,Wt,Gt,Yt=function(e){return"auto"===e?"bottom":e},qt=(0,w.createContext)(null),Xt=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=((0,w.useContext)(qt)||{}).setPortalPlacement,l=(0,w.useRef)(null),c=b((0,w.useState)(r),2),p=c[0],d=c[1],f=b((0,w.useState)(null),2),h=f[0],v=f[1],g=s.spacing.controlHeight;return Ct((function(){var e=l.current;if(e){var t="fixed"===i,s=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,p=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,m=d.top,v=n.offsetParent.getBoundingClientRect().top,g=a||Vt(c=u)?window.innerHeight:c.clientHeight,b=Rt(u),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=v-w,C=g-m,S=O+b,x=p-b-m,E=f-g+b+y,I=b+m-w,k=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(x>=h&&!a)return i&&Dt(u,E,k),{placement:"bottom",maxHeight:t};if(!a&&x>=r||a&&C>=r)return i&&Dt(u,E,k),{placement:"bottom",maxHeight:a?C-y:x-y};if("auto"===o||a){var M=t,P=a?O:S;return P>=r&&(M=Math.min(P-y-s,t)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&Lt(u,E),{placement:"bottom",maxHeight:t};break;case"top":if(O>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&Dt(u,I,k),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&O>=r){var V=t;return(!a&&S>=r||a&&O>=r)&&(V=a?O-w:S-w),i&&Dt(u,I,k),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:g});d(s.maxHeight),v(s.placement),null==u||u(s.placement)}}),[r,o,i,a,n,u,g]),t({ref:l,placerProps:m(m({},e),{},{placement:h||Yt(o),maxHeight:p})})},Zt=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return m({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Kt=Zt,Jt=Zt,Qt=["size"],en=["innerProps","isRtl","size"],tn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},nn=function(e){var t=e.size,n=y(e,Qt);return Je("svg",C({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tn},n))},rn=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},on=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},an=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},sn=an,un=an,ln=function(){var e=Qe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Bt||(Wt=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],Gt||(Gt=Wt.slice(0)),Bt=Object.freeze(Object.defineProperties(Wt,{raw:{value:Object.freeze(Gt)}})))),cn=function(e){var t=e.delay,n=e.offset;return Je("span",{css:Qe({animation:"".concat(ln," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},pn=["data"],dn=["innerRef","isDisabled","isHidden","inputClassName"],fn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":m({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},fn)},mn=function(e){return m({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},fn)},vn=function(e){var t=e.children,n=e.innerProps;return Je("div",n,t)},gn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Je(rn,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Je("div",C({ref:o},Pt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Je(on,null))},DownChevron:on,CrossIcon:rn,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return Je("div",C({},Pt(e,"group",{group:!0}),s),Je(i,C({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),Je("div",null,t))},GroupHeading:function(e){var t=Mt(e);t.data;var n=y(t,pn);return Je("div",C({},Pt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Je("span",C({},t,Pt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Mt(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,u=y(r,dn);return Je("div",C({},Pt(e,"input",{"input-container":!0}),{"data-value":n||""}),Je("input",C({className:t({input:!0},s),ref:o,style:mn(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=y(e,en);return Je("div",C({},Pt(m(m({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Je(cn,{delay:0,offset:n}),Je(cn,{delay:160,offset:!0}),Je(cn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Je("div",C({},Pt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Je("div",C({},Pt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,a=e.menuPosition,s=(0,w.useRef)(null),u=(0,w.useRef)(null),l=b((0,w.useState)(Yt(i)),2),c=l[0],p=l[1],d=(0,w.useMemo)((function(){return{setPortalPlacement:p}}),[]),f=b((0,w.useState)(null),2),h=f[0],v=f[1],g=(0,w.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[c]+t;n===(null==h?void 0:h.offset)&&e.left===(null==h?void 0:h.rect.left)&&e.width===(null==h?void 0:h.rect.width)||v({offset:n,rect:e})}}),[r,a,c,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);Ct((function(){g()}),[g]);var y=(0,w.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&s.current&&(u.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,l=gt(e),c=o||i?[...l?vt(l):[],...vt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=l&&s?function(e,t){let n,r=null;const o=ut(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();const{left:l,top:c,width:p,height:d}=e.getBoundingClientRect();if(s||t(),!p||!d)return;const f={rootMargin:-ot(c)+"px "+-ot(o.clientWidth-(l+p))+"px "+-ot(o.clientHeight-(c+d))+"px "+-ot(l)+"px",threshold:nt(0,tt(1,u))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(l,n):null;let d,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),l&&!u&&h.observe(l),h.observe(t));let m=u?Ot(e):null;return u&&function t(){const r=Ot(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(d)}}(r,s.current,g,{elementResize:"ResizeObserver"in window}))}),[r,g]);Ct((function(){y()}),[y]);var O=(0,w.useCallback)((function(e){s.current=e,y()}),[y]);if(!t&&"fixed"!==a||!h)return null;var S=Je("div",C({ref:O},Pt(m(m({},e),{},{offset:h.offset,position:a,rect:h.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Je(qt.Provider,{value:d},t?(0,et.createPortal)(S,t):S)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=y(e,zt);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=y(e,Ut);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,u=n.Container,l=n.Label,c=n.Remove;return Je(u,{data:r,innerProps:m(m({},Pt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Je(l,{data:r,innerProps:m({},Pt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Je(c,{data:r,innerProps:m(m({},Pt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:vn,MultiValueLabel:vn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Je("div",C({role:"button"},n),t||Je(rn,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Je("div",C({},Pt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Je("div",C({},Pt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Je("div",C({},Pt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Je("div",C({},Pt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},bn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||bn(r)&&bn(o)))return!1;var r,o;return!0}for(var wn={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},On=function(e){return Je("span",C({css:wn},e))},Cn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&l){var p=s?" disabled":"",d="".concat(u?" selected":"").concat(p);return"".concat(i).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Sn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,l=e.isAppleDevice,c=s.ariaLiveMessages,p=s.getOptionLabel,d=s.inputValue,f=s.isMulti,h=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,b=s.options,y=s.screenReaderStatus,O=s.tabSelectsValue,C=s.isLoading,S=s["aria-label"],x=s["aria-live"],E=(0,w.useMemo)((function(){return m(m({},Cn),c||{})}),[c]),I=(0,w.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,u=t.value,l=i||r||(e=u,Array.isArray(e)?null:e),c=l?p(l):"",d=o||s||void 0,f=d?d.map(p):[],v=m({isDisabled:l&&h(l,a),label:c,labels:f},t);n=E.onChange(v)}return n}),[t,E,h,a,p]),k=(0,w.useMemo)((function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var s={focused:t,label:p(t),isDisabled:h(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=E.onFocus(s)}return e}),[n,r,p,h,E,o,a,l]),M=(0,w.useMemo)((function(){var e="";if(g&&b.length&&!C&&E.onFilter){var t=y({count:o.length});e=E.onFilter({inputValue:d,resultsMessage:t})}return e}),[o,d,g,E,b,y,C]),P="initial-input-focus"===(null==t?void 0:t.action),V=(0,w.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":g?"menu":"input";e=E.guidance({"aria-label":S,context:t,isDisabled:n&&h(n,a),isMulti:f,isSearchable:v,tabSelectsValue:O,isInitialFocus:P})}return e}),[S,n,r,f,h,v,g,E,a,O,P]),R=Je(w.Fragment,null,Je("span",{id:"aria-selection"},I),Je("span",{id:"aria-focused"},k),Je("span",{id:"aria-results"},M),Je("span",{id:"aria-guidance"},V));return Je(w.Fragment,null,Je(On,{id:u},P&&R),Je(On,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!P&&R))},xn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],En=new RegExp("["+xn.map((function(e){return e.letters})).join("")+"]","g"),In={},kn=0;kn<xn.length;kn++)for(var Mn=xn[kn],Pn=0;Pn<Mn.letters.length;Pn++)In[Mn.letters[Pn]]=Mn.base;var Vn=function(e){return e.replace(En,(function(e){return In[e]}))},Rn=function(e,t){void 0===t&&(t=yn);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Vn),Ln=function(e){return e.replace(/^\s+|\s+$/g,"")},Dn=function(e){return"".concat(e.label," ").concat(e.value)},Fn=["innerRef"];function Tn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=b(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=b(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(y(e,Fn),"onExited","in","enter","exit","appear");return Je("input",C({ref:t},n,{css:Qe({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var An=["boxSizing","height","overflow","paddingRight","position"],Hn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function jn(e){e.preventDefault()}function $n(e){e.stopPropagation()}function Nn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Un(){return"ontouchstart"in window||navigator.maxTouchPoints}var zn=!("undefined"==typeof window||!window.document||!window.document.createElement),Bn=0,Wn={capture:!1,passive:!1},Gn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Yn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function qn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,w.useRef)(!1),s=(0,w.useRef)(!1),u=(0,w.useRef)(0),l=(0,w.useRef)(null),c=(0,w.useCallback)((function(e,t){if(null!==l.current){var u=l.current,c=u.scrollTop,p=u.scrollHeight,d=u.clientHeight,f=l.current,h=t>0,m=p-d-c,v=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=p,v=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),f.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),p=(0,w.useCallback)((function(e){c(e,e.deltaY)}),[c]),d=(0,w.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),f=(0,w.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;c(e,t)}),[c]),h=(0,w.useCallback)((function(e){if(e){var t=!!jt&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",f,t)}}),[f,d,p]),m=(0,w.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",f,!1))}),[f,d,p]);return(0,w.useEffect)((function(){if(t){var e=l.current;return h(e),function(){m(e)}}}),[t,h,m]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,w.useRef)({}),i=(0,w.useRef)(null),a=(0,w.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Bn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Hn).forEach((function(e){var t=Hn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Un()&&(t.addEventListener("touchmove",jn,Wn),e&&(e.addEventListener("touchstart",Nn,Wn),e.addEventListener("touchmove",$n,Wn))),Bn+=1}}),[r]),s=(0,w.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;Bn=Math.max(Bn-1,0),r&&Bn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Un()&&(t.removeEventListener("touchmove",jn,Wn),e&&(e.removeEventListener("touchstart",Nn,Wn),e.removeEventListener("touchmove",$n,Wn)))}}),[r]);return(0,w.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Je(w.Fragment,null,n&&Je("div",{onClick:Gn,css:Yn}),t((function(e){o(e),i(e)})))}var Xn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Zn=function(e){var t=e.name,n=e.onFocus;return Je("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Xn,value:"",onChange:function(){}})};function Kn(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Jn(){return Kn(/^Mac/i)}var Qn={clearIndicator:un,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return m({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:sn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return m({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return m(m({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},hn),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return m({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Jt,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return m((f(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),f(n,"position","absolute"),f(n,"width","100%"),f(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return m({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return m({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return m({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return m({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Kt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return m({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return m({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return m({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return m({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},er={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},tr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Tt(),captureMenuScroll:!Tt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=m({ignoreCase:!0,ignoreAccents:!0,stringify:Dn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?Ln(t):t,l=a?Ln(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=Rn(u),l=Vn(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function nr(e,t,n,r){return{type:"option",data:t,isDisabled:cr(e,t,n),isSelected:pr(e,t,n),label:ur(e,t),value:lr(e,t),index:r}}function rr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return nr(e,n,t,r)})).filter((function(t){return ar(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=nr(e,n,t,r);return ar(e,i)?i:void 0})).filter($t)}function or(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,k(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ir(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,k(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function ar(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!fr(e)||!i)&&dr(e,{label:a,value:s,data:o},r)}var sr=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ur=function(e,t){return e.getOptionLabel(t)},lr=function(e,t){return e.getOptionValue(t)};function cr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function pr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=lr(e,t);return n.some((function(t){return lr(e,t)===r}))}function dr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var fr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},hr=1,mr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(s,e);var t,n,r,o,i,a=(t=s,n=I(),function(){var e,r=E(t);if(n){var o=E(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function s(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=Jn()||Kn(/^iPhone/i)||Kn(/^iPad/i)||Jn()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(k(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=Nt(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Nt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=Nt(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return sr(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return ir(rr(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return It.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ur(t.props,e)},t.getOptionValue=function(e){return lr(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=Qn[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,m(m({},gn),e.components);var e},t.buildCategorizedOptions=function(){return rr(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return or(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:m({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Vt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return fr(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,h=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!p||!h||d&&t.isOptionSelected(h,v))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++hr),t.state.selectValue=kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),o=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[o],t.state.focusedOptionId=sr(n,r[o])}return t}return r=s,o=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ft(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ft(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(er):m(m({},er),this.props.theme):er}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return cr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return pr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return dr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,u=e.required,l=this.getComponents().Input,c=this.state,p=c.inputIsHidden,d=c.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),v=m(m(m({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?w.createElement(l,C({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):w.createElement(Tn,C({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xt,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,p=l.isDisabled,d=l.isMulti,f=l.inputValue,h=l.placeholder,m=this.state,v=m.selectValue,g=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return f?null:w.createElement(s,C({},u,{key:"placeholder",isDisabled:p,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(d)return v.map((function(t,a){var s=t===g,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return w.createElement(n,C({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var y=v[0];return w.createElement(a,C({},u,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return w.createElement(e,C({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?w.createElement(e,C({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return w.createElement(n,C({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return w.createElement(e,C({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,u=t.NoOptionsMessage,l=t.Option,c=this.commonProps,p=this.state.focusedOption,d=this.props,f=d.captureMenuScroll,h=d.inputValue,m=d.isLoading,v=d.loadingMessage,g=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,O=d.menuPlacement,S=d.menuPosition,x=d.menuPortalTarget,E=d.menuShouldBlockScroll,I=d.menuShouldScrollIntoView,k=d.noOptionsMessage,M=d.onMenuScrollToTop,P=d.onMenuScrollToBottom;if(!y)return null;var V,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,d=p===o,f=i?void 0:function(){return e.onOptionHover(o)},h=i?void 0:function(){return e.selectOption(o)},m="".concat(e.getElementId("option"),"-").concat(n),v={id:m,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return w.createElement(l,C({},c,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:m,label:s,type:r,value:u,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return w.createElement(n,C({},c,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(m){var L=v({inputValue:h});if(null===L)return null;V=w.createElement(s,c,L)}else{var D=k({inputValue:h});if(null===D)return null;V=w.createElement(u,c,D)}var F={minMenuHeight:g,maxMenuHeight:b,menuPlacement:O,menuPosition:S,menuShouldScrollIntoView:I},T=w.createElement(Xt,C({},c,F),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return w.createElement(o,C({},c,F,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:a}),w.createElement(qn,{captureEnabled:f,onTopArrive:M,onBottomArrive:P,lockEnabled:E},(function(t){return w.createElement(i,C({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:s,focusedOption:p}),V)})))}));return x||"fixed"===S?w.createElement(a,C({},c,{appendTo:x,controlElement:this.controlRef,menuPlacement:O,menuPosition:S}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return w.createElement(Zn,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return w.createElement("input",{name:i,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return w.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):w.createElement("input",{name:i,type:"hidden",value:""});return w.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return w.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return w.createElement(Sn,C({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,p=this.commonProps=this.getCommonProps();return w.createElement(r,C({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),w.createElement(t,C({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),w.createElement(o,C({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),w.createElement(n,C({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=t.instancePrefix,l=e.options,c=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,h=kt(c),v={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var g=p?function(e,t){return or(rr(e,t))}(e,h):[],b=p?ir(rr(e,h),"".concat(u,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,w=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);v={selectValue:h,focusedOption:w,focusedOptionId:sr(b,w),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var O=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},C=i,S=a&&s;return a&&!S&&(C={value:Nt(f,h,h[0]||null),options:h,action:"initial-input-focus"},S=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),m(m(m({},v),O),{},{prevProps:e,ariaSelection:C,prevWasFocused:S})}}],o&&S(r.prototype,o),i&&S(r,i),Object.defineProperty(r,"prototype",{writable:!1}),s}(w.Component);mr.defaultProps=tr;var vr=(0,w.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,p=e.onMenuClose,d=e.onMenuOpen,f=e.value,h=y(e,O),v=b((0,w.useState)(void 0!==s?s:n),2),g=v[0],C=v[1],S=b((0,w.useState)(void 0!==u?u:o),2),x=S[0],E=S[1],I=b((0,w.useState)(void 0!==f?f:a),2),k=I[0],M=I[1],P=(0,w.useCallback)((function(e,t){"function"==typeof l&&l(e,t),M(e)}),[l]),V=(0,w.useCallback)((function(e,t){var n;"function"==typeof c&&(n=c(e,t)),C(void 0!==n?n:e)}),[c]),R=(0,w.useCallback)((function(){"function"==typeof d&&d(),E(!0)}),[d]),L=(0,w.useCallback)((function(){"function"==typeof p&&p(),E(!1)}),[p]),D=void 0!==s?s:g,F=void 0!==u?u:x,T=void 0!==f?f:k;return m(m({},h),{},{inputValue:D,menuIsOpen:F,onChange:P,onInputChange:V,onMenuClose:L,onMenuOpen:R,value:T})}(e);return w.createElement(mr,C({ref:t},n))})),gr=vr,br=JSON.parse('{"UU":"sugar-calendar/event-list-block"}'),yr=(0,r.createElement)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.03233 0.926845C4.03233 0.698208 4.13626 0.469571 4.30254 0.303289C4.48961 0.137007 4.71824 0.0330811 4.96767 0.0330811C5.21709 0.0330811 5.46651 0.137007 5.63279 0.303289C5.79908 0.469571 5.903 0.677423 5.903 0.926845L12.097 0.926845C12.097 0.698208 12.2009 0.469571 12.3672 0.303289C12.5335 0.137007 12.7829 0.0330811 13.0323 0.0330811C13.2818 0.0330811 13.5312 0.137007 13.6975 0.303289C13.8637 0.469571 13.9677 0.677423 13.9677 0.926845L14.2794 0.926845C16.3372 0.926845 18 2.58966 18 4.6474L18 14.2917C18 16.3495 16.3372 18.0123 14.2794 18.0123L3.72055 18.0123C1.66282 18.0123 0 16.3495 0 14.2917L0 4.6474C0 2.58966 1.66282 0.926845 3.72055 0.926845L4.03233 0.926845ZM15.7136 13.4188C15.7136 14.0631 15.4642 14.6659 15.0069 15.1232C14.5497 15.5804 13.9469 15.8298 13.3025 15.8298L4.69746 15.8298C3.36721 15.8298 2.28637 14.749 2.28637 13.4188V12.9823C2.28637 12.9823 2.34873 12.8368 2.41109 12.8368L11.1409 12.8368C11.6813 12.8368 12.097 12.4211 12.097 11.8807C12.097 11.361 11.6605 10.9245 11.1409 10.9245L3.36721 10.9245C3.07621 10.9245 2.806 10.8206 2.59815 10.6128C2.3903 10.4049 2.28637 10.1347 2.28637 9.86449L2.28637 4.81368C2.28637 4.35641 2.47344 3.91992 2.78522 3.60814C3.097 3.29636 3.53349 3.10929 3.99076 3.10929C3.99076 3.10929 3.99076 3.10929 4.01155 3.10929C4.01155 3.10929 4.01155 3.10929 4.01155 3.13008C4.01155 3.58735 4.38568 3.96149 4.84296 3.96149H5.07159C5.52887 3.96149 5.903 3.58735 5.903 3.13008C5.903 3.13008 5.903 3.08851 5.94457 3.08851L12.0554 3.08851C12.0554 3.08851 12.097 3.08851 12.097 3.13008C12.097 3.58735 12.4711 3.96149 12.9284 3.96149H13.157C13.6143 3.96149 13.9885 3.58735 13.9885 3.13008V3.10929C13.9885 3.10929 13.9885 3.10929 14.0092 3.10929C14.9654 3.10929 15.7136 3.87835 15.7136 4.81368L15.7136 5.95687C15.7136 5.95687 15.6513 6.10237 15.5889 6.10237L6.87991 6.10237C6.36028 6.10237 5.92379 6.51807 5.92379 7.05849C5.92379 7.57812 6.36028 8.01461 6.87991 8.01461L14.6536 8.01461C14.9446 8.01461 15.2148 8.11853 15.4226 8.32638C15.6305 8.53424 15.7344 8.80444 15.7344 9.07465V13.4188H15.7136Z",fill:"#1E1E1E"}));(0,o.registerBlockType)(br.UU,{edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,u=t.blockId;(0,r.useEffect)((function(){u||n({blockId:o})}),[]);var p=(0,c.useSelect)((function(e){return e("core").getEntityRecords("taxonomy","sc_event_category")})),d=(0,c.useSelect)((function(e){return e("core/data").hasFinishedResolution("core","getEntityRecords",["taxonomy","sc_event_category"])}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:(0,i.__)("Settings","sugar-calendar-event-list-block")},d&&p&&p.length>1&&(0,r.createElement)(s.__experimentalHeading,{level:3},"Calendars"),d&&p&&p.length>1&&(0,r.createElement)(gr,{className:"sugar-calendar-event-list-block__calendars",classNamePrefix:"sc-calendar-event-list-block-select",isMulti:!0,options:p.map((function(e){return{value:e.id,label:e.name}})),onChange:function(e){var t=e?e.map((function(e){return e.value})):[];n({calendars:t})},value:t.calendars?t.calendars.map((function(e){var t=p.find((function(t){return t.id===e}));return{value:t.id,label:t.name}})):[]}),(0,r.createElement)(s.__experimentalToggleGroupControl,{onChange:function(e){n({display:e})},label:(0,i.__)("Display","sugar-calendar-block"),value:t.display,isBlock:!0},(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"list",label:(0,i.__)("List","sugar-calendar-event-list-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"grid",label:(0,i.__)("Grid","sugar-calendar-event-list-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"plain",label:(0,i.__)("Plain","sugar-calendar-event-list-block")})),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Allow Users to Change Display","sugar-calendar-event-list-block"),checked:t.allowUserChangeDisplay,onChange:function(e){n({allowUserChangeDisplay:e})}}),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Show Featured Images","sugar-calendar-event-list-block"),checked:t.showFeaturedImages,onChange:function(e){n({showFeaturedImages:e})}}),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Show Descriptions","sugar-calendar-event-list-block"),checked:t.showDescriptions,onChange:function(e){n({showDescriptions:e})}}),(0,r.createElement)(s.__experimentalHeading,{level:3},(0,i.__)("Colors","sugar-calendar-event-list-block")),(0,r.createElement)(a.PanelColorSettings,{__experimentalIsRenderedInSidebar:!0,showTitle:!1,className:"sugar-calendar-event-list-block__colors",colorSettings:[{value:t.accentColor,onChange:function(e){n({accentColor:e})},label:(0,i.__)("Accent","sugar-calendar-event-list-block")},{value:t.linksColor,onChange:function(e){n({linksColor:e})},label:(0,i.__)("Links","sugar-calendar-event-list-block")}]}))),(0,r.createElement)("div",(0,a.useBlockProps)(),(0,r.createElement)(l(),{attributes:t,key:"sugar-calendar-event-list-block-server-side-renderer",block:"sugar-calendar/event-list-block"})))},save:function(){return(0,r.createElement)("p",a.useBlockProps.save(),"Sugar Calendar Event List Block")},icon:yr})},146:function(e,t,n){var r=n(363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},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]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),m=u(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var b=d(n,g);try{l(t,g,b)}catch(e){}}}}return t}},799:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=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,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case m:case u:return e;default:return t}}case o:return t}}}function C(e){return O(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return C(e)||O(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===v},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===a},t.isSuspense=function(e){return O(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===g)},t.typeOf=O},363:function(e,t,n){e.exports=n(799)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=function(t,n,o,i){if(!n){var a=1/0;for(c=0;c<e.length;c++){n=e[c][0],o=e[c][1],i=e[c][2];for(var s=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[u])}))?n.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(c--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={57:0,350:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,a=n[0],s=n[1],u=n[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(u)var c=u(r)}for(t&&t(n);l<a.length;l++)i=a[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(c)},n=self.webpackChunksugar_calendar=self.webpackChunksugar_calendar||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[350],(function(){return r(433)}));o=r.O(o)}();
     1!function(){"use strict";var e,t={433:function(e,t,n){var r=window.wp.element,o=window.wp.blocks,i=window.wp.i18n,a=window.wp.blockEditor,s=window.wp.components,u=window.wp.serverSideRender,l=n.n(u),c=window.wp.data;function p(e){return p="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},p(e)}function d(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p(t)?t:t+""}function f(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var w=window.React,O=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function C(){return C=Object.assign?Object.assign.bind():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},C.apply(this,arguments)}function S(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,d(r.key),r)}}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(I=function(){return!!e})()}function k(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var M=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),P=Math.abs,V=String.fromCharCode,R=Object.assign;function L(e){return e.trim()}function D(e,t,n){return e.replace(t,n)}function F(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function A(e,t,n){return e.slice(t,n)}function _(e){return e.length}function H(e){return e.length}function j(e,t){return t.push(e),e}var $=1,N=1,U=0,z=0,B=0,W="";function G(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:$,column:N,length:a,return:""}}function Y(e,t){return R(G("",null,null,"",null,null,0),e,{length:-e.length},t)}function q(){return B=z>0?T(W,--z):0,N--,10===B&&(N=1,$--),B}function X(){return B=z<U?T(W,z++):0,N++,10===B&&(N=1,$++),B}function Z(){return T(W,z)}function K(){return z}function J(e,t){return A(W,e,t)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ee(e){return $=N=1,U=_(W=e),z=0,[]}function te(e){return W="",e}function ne(e){return L(J(z-1,ie(91===e?e+2:40===e?e+1:e)))}function re(e){for(;(B=Z())&&B<33;)X();return Q(e)>2||Q(B)>3?"":" "}function oe(e,t){for(;--t&&X()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return J(e,K()+(t<6&&32==Z()&&32==X()))}function ie(e){for(;X();)switch(B){case e:return z;case 34:case 39:34!==e&&39!==e&&ie(B);break;case 40:41===e&&ie(e);break;case 92:X()}return z}function ae(e,t){for(;X()&&e+B!==57&&(e+B!==84||47!==Z()););return"/*"+J(t,z-1)+"*"+V(47===e?e:X())}function se(e){for(;!Q(Z());)X();return J(e,z)}var ue="-ms-",le="-moz-",ce="-webkit-",pe="comm",de="rule",fe="decl",he="@keyframes";function me(e,t){for(var n="",r=H(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ve(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case fe:return e.return=e.return||e.value;case pe:return"";case he:return e.return=e.value+"{"+me(e.children,r)+"}";case de:e.value=e.props.join(",")}return _(n=me(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,d=0,f=0,h=0,m=1,v=1,g=1,b=0,y="",w=o,O=i,C=r,S=y;v;)switch(h=b,b=X()){case 40:if(108!=h&&58==T(S,p-1)){-1!=F(S+=D(ne(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=ne(b);break;case 9:case 10:case 13:case 32:S+=re(h);break;case 92:S+=oe(K()-1,7);continue;case 47:switch(Z()){case 42:case 47:j(we(ae(X(),K()),t,n),u);break;default:S+="/"}break;case 123*m:s[l++]=_(S)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:-1==g&&(S=D(S,/\f/g,"")),f>0&&_(S)-p&&j(f>32?Oe(S+";",r,n,p-1):Oe(D(S," ","")+";",r,n,p-2),u);break;case 59:S+=";";default:if(j(C=ye(S,t,n,l,c,o,s,y,w=[],O=[],p),i),123===b)if(0===c)be(S,t,C,C,w,i,p,s,O);else switch(99===d&&110===T(S,3)?100:d){case 100:case 108:case 109:case 115:be(e,C,C,r&&j(ye(e,C,C,0,0,o,s,y,o,w=[],p),O),o,O,p,s,r?w:O);break;default:be(S,C,C,C,[""],O,0,s,O)}}l=c=f=0,m=g=1,y=S="",p=a;break;case 58:p=1+_(S),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==q())continue;switch(S+=V(b),b*m){case 38:g=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(_(S)-1)*g,g=1;break;case 64:45===Z()&&(S+=ne(X())),d=Z(),c=p=_(y=S+=se(K())),b++;break;case 45:45===h&&2==_(S)&&(m=0)}}return i}function ye(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=H(d),h=0,m=0,v=0;h<r;++h)for(var g=0,b=A(e,p+1,p=P(m=a[h])),y=e;g<f;++g)(y=L(m>0?d[g]+" "+b:D(b,/&\f/g,d[g])))&&(u[v++]=y);return G(e,t,n,0===o?de:s,u,l,c)}function we(e,t,n){return G(e,t,n,pe,V(B),A(e,2,-2),0)}function Oe(e,t,n,r){return G(e,t,n,fe,A(e,0,r),A(e,r+1,-1),r)}var Ce=function(e,t,n){for(var r=0,o=0;r=o,o=Z(),38===r&&12===o&&(t[n]=1),!Q(o);)X();return J(e,z)},Se=new WeakMap,xe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Se.get(n))&&!r){Se.set(e,!0);for(var o=[],i=function(e,t){return te(function(e,t){var n=-1,r=44;do{switch(Q(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Ce(z-1,t,n);break;case 2:e[n]+=ne(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=V(r)}}while(r=X());return e}(ee(e),t))}(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ie(e,t){switch(function(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}(e,t)){case 5103:return ce+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ce+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ce+e+le+e+ue+e+e;case 6828:case 4268:return ce+e+ue+e+e;case 6165:return ce+e+ue+"flex-"+e+e;case 5187:return ce+e+D(e,/(\w+).+(:[^]+)/,ce+"box-$1$2"+ue+"flex-$1$2")+e;case 5443:return ce+e+ue+"flex-item-"+D(e,/flex-|-self/,"")+e;case 4675:return ce+e+ue+"flex-line-pack"+D(e,/align-content|flex-|-self/,"")+e;case 5548:return ce+e+ue+D(e,"shrink","negative")+e;case 5292:return ce+e+ue+D(e,"basis","preferred-size")+e;case 6060:return ce+"box-"+D(e,"-grow","")+ce+e+ue+D(e,"grow","positive")+e;case 4554:return ce+D(e,/([^-])(transform)/g,"$1"+ce+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,ce+"$1"),/(image-set)/,ce+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,ce+"$1$`$1");case 4968:return D(D(e,/(.+:)(flex-)?(.*)/,ce+"box-pack:$3"+ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ce+e+e;case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,ce+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-t>6)switch(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return D(e,/(.+:)(.+)-([^]+)/,"$1"+ce+"$2-$3$1"+le+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~F(e,"stretch")?Ie(D(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==T(e,t+1))break;case 6444:switch(T(e,_(e)-3-(~F(e,"!important")&&10))){case 107:return D(e,":",":"+ce)+e;case 101:return D(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ce+(45===T(e,14)?"inline-":"")+"box$3$1"+ce+"$2$3$1"+ue+"$2box$3")+e}break;case 5936:switch(T(e,t+11)){case 114:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ce+e+ue+e+e}return e}var ke=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case fe:e.return=Ie(e.value,e.length);break;case he:return me([Y(e,{value:D(e.value,"@","@"+ce)})],r);case de:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return me([Y(e,{props:[D(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return me([Y(e,{props:[D(t,/:(plac\w+)/,":"+ce+"input-$1")]}),Y(e,{props:[D(t,/:(plac\w+)/,":-moz-$1")]}),Y(e,{props:[D(t,/:(plac\w+)/,ue+"input-$1")]})],r)}return""}))}}],Me=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ke,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,p,d=[ve,(p=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(l=[xe,Ee].concat(i,d),c=H(l),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,me(ge(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new M({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},Pe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ve={animationIterationCount:1,aspectRatio: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};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Le=/[A-Z]|^ms/g,De=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fe=function(e){return 45===e.charCodeAt(1)},Te=function(e){return null!=e&&"boolean"!=typeof e},Ae=Re((function(e){return Fe(e)?e:e.replace(Le,"-$&").toLowerCase()})),_e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(De,(function(e,t,n){return je={name:t,styles:n,next:je},t}))}return 1===Ve[e]||Fe(e)||"number"!=typeof t||0===t?t:t+"px"};function He(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return je={name:n.name,styles:n.styles,next:je},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)je={name:r.name,styles:r.styles,next:je},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=He(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Te(a)&&(r+=Ae(i)+":"+_e(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=He(e,t,a);switch(i){case"animation":case"animationName":r+=Ae(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Te(a[u])&&(r+=Ae(i)+":"+_e(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=je,i=n(e);return je=o,He(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var je,$e=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ne=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";je=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=He(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=He(n,t,e[a]),r&&(o+=i[a]);$e.lastIndex=0;for(var s,u="";null!==(s=$e.exec(o));)u+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:l,styles:o,next:je}},Ue=!!w.useInsertionEffect&&w.useInsertionEffect,ze=Ue||function(e){return e()},Be=(Ue||w.useLayoutEffect,{}.hasOwnProperty),We=w.createContext("undefined"!=typeof HTMLElement?Me({key:"css"}):null);We.Provider;var Ge=function(e){return(0,w.forwardRef)((function(t,n){var r=(0,w.useContext)(We);return e(t,r,n)}))},Ye=w.createContext({}),qe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pe(t,n,r),ze((function(){return function(e,t,n){Pe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Ze=Ge((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[qe],i=[r],a="";"string"==typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Ne(i,void 0,w.useContext(Ye));a+=t.key+"-"+s.name;var u={};for(var l in e)Be.call(e,l)&&"css"!==l&&l!==qe&&(u[l]=e[l]);return u.ref=n,u.className=a,w.createElement(w.Fragment,null,w.createElement(Xe,{cache:t,serialized:s,isStringTag:"string"==typeof o}),w.createElement(o,u))})),Ke=Ze,Je=(n(146),function(e,t){var n=arguments;if(null==t||!Be.call(t,"css"))return w.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ke,o[1]=function(e,t){var n={};for(var r in t)Be.call(t,r)&&(n[r]=t[r]);return n[qe]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return w.createElement.apply(null,o)});function Qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ne(t)}var et=window.ReactDOM;const tt=Math.min,nt=Math.max,rt=Math.round,ot=Math.floor,it=e=>({x:e,y:e});function at(e){return lt(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ut(e){var t;return null==(t=(lt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function lt(e){return e instanceof Node||e instanceof st(e).Node}function ct(e){return e instanceof Element||e instanceof st(e).Element}function pt(e){return e instanceof HTMLElement||e instanceof st(e).HTMLElement}function dt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof st(e).ShadowRoot)}function ft(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ht(e){return st(e).getComputedStyle(e)}function mt(e){const t=function(e){if("html"===at(e))return e;const t=e.assignedSlot||e.parentNode||dt(e)&&e.host||ut(e);return dt(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(at(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pt(t)&&ft(t)?t:mt(t)}function vt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=mt(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=st(o);return i?t.concat(a,a.visualViewport||[],ft(o)?o:[],a.frameElement&&n?vt(a.frameElement):[]):t.concat(o,vt(o,[],n))}function gt(e){return ct(e)?e:e.contextElement}function bt(e){const t=gt(e);if(!pt(t))return it(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=pt(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=rt(n)!==i||rt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?rt(n.width):n.width)/r,s=(i?rt(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const yt=it(0);function wt(e){const t=st(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:yt}function Ot(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=gt(e);let a=it(1);t&&(r?ct(r)&&(a=bt(r)):a=bt(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==st(e))&&t}(i,n,r)?wt(i):it(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,c=o.width/a.x,p=o.height/a.y;if(i){const e=st(i),t=r&&ct(r)?st(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=bt(o),t=o.getBoundingClientRect(),r=ht(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,p*=e.y,u+=i,l+=a,n=st(o),o=n.frameElement}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:p,x:u,y:l})}var Ct=w.useLayoutEffect,St=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xt=function(){};function Et(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function It(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Et(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var kt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===p(e)&&null!==e?[e]:[];var t},Mt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,m({},y(e,St))},Pt=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function Vt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Rt(e){return Vt(e)?window.pageYOffset:e.scrollTop}function Lt(e,t){Vt(e)?window.scrollTo(0,t):e.scrollTop=t}function Dt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xt,o=Rt(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Lt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function Ft(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Lt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Lt(e,Math.max(t.offsetTop-o,0))}function Tt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var At=!1,_t={get passive(){return At=!0}},Ht="undefined"!=typeof window?window:{};Ht.addEventListener&&Ht.removeEventListener&&(Ht.addEventListener("p",xt,_t),Ht.removeEventListener("p",xt,!1));var jt=At;function $t(e){return null!=e}function Nt(e,t,n){return e?t:n}var Ut=["children","innerProps"],zt=["children","innerProps"];var Bt,Wt,Gt,Yt=function(e){return"auto"===e?"bottom":e},qt=(0,w.createContext)(null),Xt=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=((0,w.useContext)(qt)||{}).setPortalPlacement,l=(0,w.useRef)(null),c=b((0,w.useState)(r),2),p=c[0],d=c[1],f=b((0,w.useState)(null),2),h=f[0],v=f[1],g=s.spacing.controlHeight;return Ct((function(){var e=l.current;if(e){var t="fixed"===i,s=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,p=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,m=d.top,v=n.offsetParent.getBoundingClientRect().top,g=a||Vt(c=u)?window.innerHeight:c.clientHeight,b=Rt(u),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=v-w,C=g-m,S=O+b,x=p-b-m,E=f-g+b+y,I=b+m-w,k=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(x>=h&&!a)return i&&Dt(u,E,k),{placement:"bottom",maxHeight:t};if(!a&&x>=r||a&&C>=r)return i&&Dt(u,E,k),{placement:"bottom",maxHeight:a?C-y:x-y};if("auto"===o||a){var M=t,P=a?O:S;return P>=r&&(M=Math.min(P-y-s,t)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&Lt(u,E),{placement:"bottom",maxHeight:t};break;case"top":if(O>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&Dt(u,I,k),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&O>=r){var V=t;return(!a&&S>=r||a&&O>=r)&&(V=a?O-w:S-w),i&&Dt(u,I,k),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:g});d(s.maxHeight),v(s.placement),null==u||u(s.placement)}}),[r,o,i,a,n,u,g]),t({ref:l,placerProps:m(m({},e),{},{placement:h||Yt(o),maxHeight:p})})},Zt=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return m({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Kt=Zt,Jt=Zt,Qt=["size"],en=["innerProps","isRtl","size"],tn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},nn=function(e){var t=e.size,n=y(e,Qt);return Je("svg",C({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tn},n))},rn=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},on=function(e){return Je(nn,C({size:20},e),Je("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},an=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},sn=an,un=an,ln=function(){var e=Qe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Bt||(Wt=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],Gt||(Gt=Wt.slice(0)),Bt=Object.freeze(Object.defineProperties(Wt,{raw:{value:Object.freeze(Gt)}})))),cn=function(e){var t=e.delay,n=e.offset;return Je("span",{css:Qe({animation:"".concat(ln," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},pn=["data"],dn=["innerRef","isDisabled","isHidden","inputClassName"],fn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":m({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},fn)},mn=function(e){return m({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},fn)},vn=function(e){var t=e.children,n=e.innerProps;return Je("div",n,t)},gn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Je(rn,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Je("div",C({ref:o},Pt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Je(on,null))},DownChevron:on,CrossIcon:rn,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return Je("div",C({},Pt(e,"group",{group:!0}),s),Je(i,C({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),Je("div",null,t))},GroupHeading:function(e){var t=Mt(e);t.data;var n=y(t,pn);return Je("div",C({},Pt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Je("span",C({},t,Pt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Mt(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,u=y(r,dn);return Je("div",C({},Pt(e,"input",{"input-container":!0}),{"data-value":n||""}),Je("input",C({className:t({input:!0},s),ref:o,style:mn(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=y(e,en);return Je("div",C({},Pt(m(m({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Je(cn,{delay:0,offset:n}),Je(cn,{delay:160,offset:!0}),Je(cn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Je("div",C({},Pt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Je("div",C({},Pt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,a=e.menuPosition,s=(0,w.useRef)(null),u=(0,w.useRef)(null),l=b((0,w.useState)(Yt(i)),2),c=l[0],p=l[1],d=(0,w.useMemo)((function(){return{setPortalPlacement:p}}),[]),f=b((0,w.useState)(null),2),h=f[0],v=f[1],g=(0,w.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[c]+t;n===(null==h?void 0:h.offset)&&e.left===(null==h?void 0:h.rect.left)&&e.width===(null==h?void 0:h.rect.width)||v({offset:n,rect:e})}}),[r,a,c,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);Ct((function(){g()}),[g]);var y=(0,w.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&s.current&&(u.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,l=gt(e),c=o||i?[...l?vt(l):[],...vt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=l&&s?function(e,t){let n,r=null;const o=ut(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();const{left:l,top:c,width:p,height:d}=e.getBoundingClientRect();if(s||t(),!p||!d)return;const f={rootMargin:-ot(c)+"px "+-ot(o.clientWidth-(l+p))+"px "+-ot(o.clientHeight-(c+d))+"px "+-ot(l)+"px",threshold:nt(0,tt(1,u))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(l,n):null;let d,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),l&&!u&&h.observe(l),h.observe(t));let m=u?Ot(e):null;return u&&function t(){const r=Ot(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(d)}}(r,s.current,g,{elementResize:"ResizeObserver"in window}))}),[r,g]);Ct((function(){y()}),[y]);var O=(0,w.useCallback)((function(e){s.current=e,y()}),[y]);if(!t&&"fixed"!==a||!h)return null;var S=Je("div",C({ref:O},Pt(m(m({},e),{},{offset:h.offset,position:a,rect:h.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Je(qt.Provider,{value:d},t?(0,et.createPortal)(S,t):S)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=y(e,zt);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=y(e,Ut);return Je("div",C({},Pt(m(m({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,u=n.Container,l=n.Label,c=n.Remove;return Je(u,{data:r,innerProps:m(m({},Pt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Je(l,{data:r,innerProps:m({},Pt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Je(c,{data:r,innerProps:m(m({},Pt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:vn,MultiValueLabel:vn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Je("div",C({role:"button"},n),t||Je(rn,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Je("div",C({},Pt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Je("div",C({},Pt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Je("div",C({},Pt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Je("div",C({},Pt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Je("div",C({},Pt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},bn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function yn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||bn(r)&&bn(o)))return!1;var r,o;return!0}for(var wn={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},On=function(e){return Je("span",C({css:wn},e))},Cn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&l){var p=s?" disabled":"",d="".concat(u?" selected":"").concat(p);return"".concat(i).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Sn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,l=e.isAppleDevice,c=s.ariaLiveMessages,p=s.getOptionLabel,d=s.inputValue,f=s.isMulti,h=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,b=s.options,y=s.screenReaderStatus,O=s.tabSelectsValue,C=s.isLoading,S=s["aria-label"],x=s["aria-live"],E=(0,w.useMemo)((function(){return m(m({},Cn),c||{})}),[c]),I=(0,w.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,u=t.value,l=i||r||(e=u,Array.isArray(e)?null:e),c=l?p(l):"",d=o||s||void 0,f=d?d.map(p):[],v=m({isDisabled:l&&h(l,a),label:c,labels:f},t);n=E.onChange(v)}return n}),[t,E,h,a,p]),k=(0,w.useMemo)((function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var s={focused:t,label:p(t),isDisabled:h(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=E.onFocus(s)}return e}),[n,r,p,h,E,o,a,l]),M=(0,w.useMemo)((function(){var e="";if(g&&b.length&&!C&&E.onFilter){var t=y({count:o.length});e=E.onFilter({inputValue:d,resultsMessage:t})}return e}),[o,d,g,E,b,y,C]),P="initial-input-focus"===(null==t?void 0:t.action),V=(0,w.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":g?"menu":"input";e=E.guidance({"aria-label":S,context:t,isDisabled:n&&h(n,a),isMulti:f,isSearchable:v,tabSelectsValue:O,isInitialFocus:P})}return e}),[S,n,r,f,h,v,g,E,a,O,P]),R=Je(w.Fragment,null,Je("span",{id:"aria-selection"},I),Je("span",{id:"aria-focused"},k),Je("span",{id:"aria-results"},M),Je("span",{id:"aria-guidance"},V));return Je(w.Fragment,null,Je(On,{id:u},P&&R),Je(On,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!P&&R))},xn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],En=new RegExp("["+xn.map((function(e){return e.letters})).join("")+"]","g"),In={},kn=0;kn<xn.length;kn++)for(var Mn=xn[kn],Pn=0;Pn<Mn.letters.length;Pn++)In[Mn.letters[Pn]]=Mn.base;var Vn=function(e){return e.replace(En,(function(e){return In[e]}))},Rn=function(e,t){void 0===t&&(t=yn);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Vn),Ln=function(e){return e.replace(/^\s+|\s+$/g,"")},Dn=function(e){return"".concat(e.label," ").concat(e.value)},Fn=["innerRef"];function Tn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=b(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=b(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(y(e,Fn),"onExited","in","enter","exit","appear");return Je("input",C({ref:t},n,{css:Qe({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var An=["boxSizing","height","overflow","paddingRight","position"],Hn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function jn(e){e.preventDefault()}function $n(e){e.stopPropagation()}function Nn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Un(){return"ontouchstart"in window||navigator.maxTouchPoints}var zn=!("undefined"==typeof window||!window.document||!window.document.createElement),Bn=0,Wn={capture:!1,passive:!1},Gn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Yn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function qn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,w.useRef)(!1),s=(0,w.useRef)(!1),u=(0,w.useRef)(0),l=(0,w.useRef)(null),c=(0,w.useCallback)((function(e,t){if(null!==l.current){var u=l.current,c=u.scrollTop,p=u.scrollHeight,d=u.clientHeight,f=l.current,h=t>0,m=p-d-c,v=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=p,v=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),f.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),p=(0,w.useCallback)((function(e){c(e,e.deltaY)}),[c]),d=(0,w.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),f=(0,w.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;c(e,t)}),[c]),h=(0,w.useCallback)((function(e){if(e){var t=!!jt&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",f,t)}}),[f,d,p]),m=(0,w.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",f,!1))}),[f,d,p]);return(0,w.useEffect)((function(){if(t){var e=l.current;return h(e),function(){m(e)}}}),[t,h,m]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,w.useRef)({}),i=(0,w.useRef)(null),a=(0,w.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;if(r&&An.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Bn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Hn).forEach((function(e){var t=Hn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Un()&&(t.addEventListener("touchmove",jn,Wn),e&&(e.addEventListener("touchstart",Nn,Wn),e.addEventListener("touchmove",$n,Wn))),Bn+=1}}),[r]),s=(0,w.useCallback)((function(e){if(zn){var t=document.body,n=t&&t.style;Bn=Math.max(Bn-1,0),r&&Bn<1&&An.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Un()&&(t.removeEventListener("touchmove",jn,Wn),e&&(e.removeEventListener("touchstart",Nn,Wn),e.removeEventListener("touchmove",$n,Wn)))}}),[r]);return(0,w.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Je(w.Fragment,null,n&&Je("div",{onClick:Gn,css:Yn}),t((function(e){o(e),i(e)})))}var Xn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Zn=function(e){var t=e.name,n=e.onFocus;return Je("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Xn,value:"",onChange:function(){}})};function Kn(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Jn(){return Kn(/^Mac/i)}var Qn={clearIndicator:un,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return m({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:sn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return m({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return m({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return m(m({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},hn),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return m({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Jt,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return m((f(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),f(n,"position","absolute"),f(n,"width","100%"),f(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return m({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return m({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return m({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return m({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Kt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return m({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return m({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return m({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return m({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},er={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},tr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Tt(),captureMenuScroll:!Tt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=m({ignoreCase:!0,ignoreAccents:!0,stringify:Dn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?Ln(t):t,l=a?Ln(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=Rn(u),l=Vn(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function nr(e,t,n,r){return{type:"option",data:t,isDisabled:cr(e,t,n),isSelected:pr(e,t,n),label:ur(e,t),value:lr(e,t),index:r}}function rr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return nr(e,n,t,r)})).filter((function(t){return ar(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=nr(e,n,t,r);return ar(e,i)?i:void 0})).filter($t)}function or(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,k(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ir(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,k(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function ar(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!fr(e)||!i)&&dr(e,{label:a,value:s,data:o},r)}var sr=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ur=function(e,t){return e.getOptionLabel(t)},lr=function(e,t){return e.getOptionValue(t)};function cr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function pr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=lr(e,t);return n.some((function(t){return lr(e,t)===r}))}function dr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var fr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},hr=1,mr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(s,e);var t,n,r,o,i,a=(t=s,n=I(),function(){var e,r=E(t);if(n){var o=E(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function s(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=Jn()||Kn(/^iPhone/i)||Kn(/^iPad/i)||Jn()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(k(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=Nt(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Nt(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=Nt(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return sr(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return ir(rr(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return It.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ur(t.props,e)},t.getOptionValue=function(e){return lr(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=Qn[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,m(m({},gn),e.components);var e},t.buildCategorizedOptions=function(){return rr(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return or(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:m({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Vt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return fr(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,h=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!p||!h||d&&t.isOptionSelected(h,v))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++hr),t.state.selectValue=kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),o=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[o],t.state.focusedOptionId=sr(n,r[o])}return t}return r=s,o=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ft(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ft(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(er):m(m({},er),this.props.theme):er}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return cr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return pr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return dr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,u=e.required,l=this.getComponents().Input,c=this.state,p=c.inputIsHidden,d=c.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),v=m(m(m({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?w.createElement(l,C({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):w.createElement(Tn,C({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xt,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,p=l.isDisabled,d=l.isMulti,f=l.inputValue,h=l.placeholder,m=this.state,v=m.selectValue,g=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return f?null:w.createElement(s,C({},u,{key:"placeholder",isDisabled:p,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(d)return v.map((function(t,a){var s=t===g,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return w.createElement(n,C({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var y=v[0];return w.createElement(a,C({},u,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return w.createElement(e,C({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?w.createElement(e,C({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return w.createElement(n,C({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return w.createElement(e,C({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,u=t.NoOptionsMessage,l=t.Option,c=this.commonProps,p=this.state.focusedOption,d=this.props,f=d.captureMenuScroll,h=d.inputValue,m=d.isLoading,v=d.loadingMessage,g=d.minMenuHeight,b=d.maxMenuHeight,y=d.menuIsOpen,O=d.menuPlacement,S=d.menuPosition,x=d.menuPortalTarget,E=d.menuShouldBlockScroll,I=d.menuShouldScrollIntoView,k=d.noOptionsMessage,M=d.onMenuScrollToTop,P=d.onMenuScrollToBottom;if(!y)return null;var V,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,d=p===o,f=i?void 0:function(){return e.onOptionHover(o)},h=i?void 0:function(){return e.selectOption(o)},m="".concat(e.getElementId("option"),"-").concat(n),v={id:m,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return w.createElement(l,C({},c,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:m,label:s,type:r,value:u,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return w.createElement(n,C({},c,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(m){var L=v({inputValue:h});if(null===L)return null;V=w.createElement(s,c,L)}else{var D=k({inputValue:h});if(null===D)return null;V=w.createElement(u,c,D)}var F={minMenuHeight:g,maxMenuHeight:b,menuPlacement:O,menuPosition:S,menuShouldScrollIntoView:I},T=w.createElement(Xt,C({},c,F),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return w.createElement(o,C({},c,F,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:a}),w.createElement(qn,{captureEnabled:f,onTopArrive:M,onBottomArrive:P,lockEnabled:E},(function(t){return w.createElement(i,C({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:s,focusedOption:p}),V)})))}));return x||"fixed"===S?w.createElement(a,C({},c,{appendTo:x,controlElement:this.controlRef,menuPlacement:O,menuPosition:S}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return w.createElement(Zn,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return w.createElement("input",{name:i,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return w.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):w.createElement("input",{name:i,type:"hidden",value:""});return w.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return w.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return w.createElement(Sn,C({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,p=this.commonProps=this.getCommonProps();return w.createElement(r,C({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),w.createElement(t,C({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),w.createElement(o,C({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),w.createElement(n,C({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=t.instancePrefix,l=e.options,c=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,h=kt(c),v={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var g=p?function(e,t){return or(rr(e,t))}(e,h):[],b=p?ir(rr(e,h),"".concat(u,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,w=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);v={selectValue:h,focusedOption:w,focusedOptionId:sr(b,w),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var O=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},C=i,S=a&&s;return a&&!S&&(C={value:Nt(f,h,h[0]||null),options:h,action:"initial-input-focus"},S=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),m(m(m({},v),O),{},{prevProps:e,ariaSelection:C,prevWasFocused:S})}}],o&&S(r.prototype,o),i&&S(r,i),Object.defineProperty(r,"prototype",{writable:!1}),s}(w.Component);mr.defaultProps=tr;var vr=(0,w.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,p=e.onMenuClose,d=e.onMenuOpen,f=e.value,h=y(e,O),v=b((0,w.useState)(void 0!==s?s:n),2),g=v[0],C=v[1],S=b((0,w.useState)(void 0!==u?u:o),2),x=S[0],E=S[1],I=b((0,w.useState)(void 0!==f?f:a),2),k=I[0],M=I[1],P=(0,w.useCallback)((function(e,t){"function"==typeof l&&l(e,t),M(e)}),[l]),V=(0,w.useCallback)((function(e,t){var n;"function"==typeof c&&(n=c(e,t)),C(void 0!==n?n:e)}),[c]),R=(0,w.useCallback)((function(){"function"==typeof d&&d(),E(!0)}),[d]),L=(0,w.useCallback)((function(){"function"==typeof p&&p(),E(!1)}),[p]),D=void 0!==s?s:g,F=void 0!==u?u:x,T=void 0!==f?f:k;return m(m({},h),{},{inputValue:D,menuIsOpen:F,onChange:P,onInputChange:V,onMenuClose:L,onMenuOpen:R,value:T})}(e);return w.createElement(mr,C({ref:t},n))})),gr=vr,br=JSON.parse('{"UU":"sugar-calendar/event-list-block"}'),yr=(0,r.createElement)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.03233 0.926845C4.03233 0.698208 4.13626 0.469571 4.30254 0.303289C4.48961 0.137007 4.71824 0.0330811 4.96767 0.0330811C5.21709 0.0330811 5.46651 0.137007 5.63279 0.303289C5.79908 0.469571 5.903 0.677423 5.903 0.926845L12.097 0.926845C12.097 0.698208 12.2009 0.469571 12.3672 0.303289C12.5335 0.137007 12.7829 0.0330811 13.0323 0.0330811C13.2818 0.0330811 13.5312 0.137007 13.6975 0.303289C13.8637 0.469571 13.9677 0.677423 13.9677 0.926845L14.2794 0.926845C16.3372 0.926845 18 2.58966 18 4.6474L18 14.2917C18 16.3495 16.3372 18.0123 14.2794 18.0123L3.72055 18.0123C1.66282 18.0123 0 16.3495 0 14.2917L0 4.6474C0 2.58966 1.66282 0.926845 3.72055 0.926845L4.03233 0.926845ZM15.7136 13.4188C15.7136 14.0631 15.4642 14.6659 15.0069 15.1232C14.5497 15.5804 13.9469 15.8298 13.3025 15.8298L4.69746 15.8298C3.36721 15.8298 2.28637 14.749 2.28637 13.4188V12.9823C2.28637 12.9823 2.34873 12.8368 2.41109 12.8368L11.1409 12.8368C11.6813 12.8368 12.097 12.4211 12.097 11.8807C12.097 11.361 11.6605 10.9245 11.1409 10.9245L3.36721 10.9245C3.07621 10.9245 2.806 10.8206 2.59815 10.6128C2.3903 10.4049 2.28637 10.1347 2.28637 9.86449L2.28637 4.81368C2.28637 4.35641 2.47344 3.91992 2.78522 3.60814C3.097 3.29636 3.53349 3.10929 3.99076 3.10929C3.99076 3.10929 3.99076 3.10929 4.01155 3.10929C4.01155 3.10929 4.01155 3.10929 4.01155 3.13008C4.01155 3.58735 4.38568 3.96149 4.84296 3.96149H5.07159C5.52887 3.96149 5.903 3.58735 5.903 3.13008C5.903 3.13008 5.903 3.08851 5.94457 3.08851L12.0554 3.08851C12.0554 3.08851 12.097 3.08851 12.097 3.13008C12.097 3.58735 12.4711 3.96149 12.9284 3.96149H13.157C13.6143 3.96149 13.9885 3.58735 13.9885 3.13008V3.10929C13.9885 3.10929 13.9885 3.10929 14.0092 3.10929C14.9654 3.10929 15.7136 3.87835 15.7136 4.81368L15.7136 5.95687C15.7136 5.95687 15.6513 6.10237 15.5889 6.10237L6.87991 6.10237C6.36028 6.10237 5.92379 6.51807 5.92379 7.05849C5.92379 7.57812 6.36028 8.01461 6.87991 8.01461L14.6536 8.01461C14.9446 8.01461 15.2148 8.11853 15.4226 8.32638C15.6305 8.53424 15.7344 8.80444 15.7344 9.07465V13.4188H15.7136Z",fill:"#1E1E1E"}));(0,o.registerBlockType)(br.UU,{edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,u=t.blockId;(0,r.useEffect)((function(){u||n({blockId:o})}),[]);var p={per_page:-1},d=(0,c.useSelect)((function(e){return e("core").getEntityRecords("taxonomy","sc_event_category",p)})),f=(0,c.useSelect)((function(e){return e("core/data").hasFinishedResolution("core","getEntityRecords",["taxonomy","sc_event_category",p])}));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:(0,i.__)("Settings","sugar-calendar-event-list-block")},f&&d&&d.length>1&&(0,r.createElement)(s.__experimentalHeading,{level:3},"Calendars"),f&&d&&d.length>1&&(0,r.createElement)(gr,{className:"sugar-calendar-event-list-block__calendars",classNamePrefix:"sc-calendar-event-list-block-select",isMulti:!0,options:d.map((function(e){return{value:e.id,label:e.name}})),onChange:function(e){var t=e?e.map((function(e){return e.value})):[];n({calendars:t})},value:t.calendars?t.calendars.map((function(e){var t=d.find((function(t){return t.id===e}));return{value:t.id,label:t.name}})):[]}),(0,r.createElement)(s.__experimentalToggleGroupControl,{onChange:function(e){n({display:e})},label:(0,i.__)("Display","sugar-calendar-block"),value:t.display,isBlock:!0},(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"list",label:(0,i.__)("List","sugar-calendar-event-list-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"grid",label:(0,i.__)("Grid","sugar-calendar-event-list-block")}),(0,r.createElement)(s.__experimentalToggleGroupControlOption,{value:"plain",label:(0,i.__)("Plain","sugar-calendar-event-list-block")})),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Allow Users to Change Display","sugar-calendar-event-list-block"),checked:t.allowUserChangeDisplay,onChange:function(e){n({allowUserChangeDisplay:e})}}),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Show Featured Images","sugar-calendar-event-list-block"),checked:t.showFeaturedImages,onChange:function(e){n({showFeaturedImages:e})}}),(0,r.createElement)(s.ToggleControl,{label:(0,i.__)("Show Descriptions","sugar-calendar-event-list-block"),checked:t.showDescriptions,onChange:function(e){n({showDescriptions:e})}}),(0,r.createElement)(s.__experimentalHeading,{level:3},(0,i.__)("Colors","sugar-calendar-event-list-block")),(0,r.createElement)(a.PanelColorSettings,{__experimentalIsRenderedInSidebar:!0,showTitle:!1,className:"sugar-calendar-event-list-block__colors",colorSettings:[{value:t.accentColor,onChange:function(e){n({accentColor:e})},label:(0,i.__)("Accent","sugar-calendar-event-list-block")},{value:t.linksColor,onChange:function(e){n({linksColor:e})},label:(0,i.__)("Links","sugar-calendar-event-list-block")}]}))),(0,r.createElement)("div",(0,a.useBlockProps)(),(0,r.createElement)(l(),{attributes:t,key:"sugar-calendar-event-list-block-server-side-renderer",block:"sugar-calendar/event-list-block"})))},save:function(){return(0,r.createElement)("p",a.useBlockProps.save(),"Sugar Calendar Event List Block")},icon:yr})},146:function(e,t,n){var r=n(363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},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]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),m=u(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var b=d(n,g);try{l(t,g,b)}catch(e){}}}}return t}},799:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=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,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case m:case u:return e;default:return t}}case o:return t}}}function C(e){return O(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return C(e)||O(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===v},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===a},t.isSuspense=function(e){return O(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===g)},t.typeOf=O},363:function(e,t,n){e.exports=n(799)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=function(t,n,o,i){if(!n){var a=1/0;for(c=0;c<e.length;c++){n=e[c][0],o=e[c][1],i=e[c][2];for(var s=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[u])}))?n.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(c--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={57:0,350:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,a=n[0],s=n[1],u=n[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(u)var c=u(r)}for(t&&t(n);l<a.length;l++)i=a[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(c)},n=self.webpackChunksugar_calendar=self.webpackChunksugar_calendar||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[350],(function(){return r(433)}));o=r.O(o)}();
  • sugar-calendar-lite/trunk/src/Block/EventList/src/edit.js

    r3112525 r3132158  
    5555    }, [] );
    5656
     57    const calendarQuery = {
     58        per_page: -1
     59    };
     60
    5761    // Request the calendars.
    5862    const calendars = useSelect( ( select ) => {
    59         return select( 'core' ).getEntityRecords( 'taxonomy', 'sc_event_category' );
     63        return select( 'core' ).getEntityRecords( 'taxonomy', 'sc_event_category', calendarQuery );
    6064    });
    6165
    6266    // Is the request to get the calendars loading resolved?
    6367    const hasFinishedGettingCalendars = useSelect( ( select ) => {
    64         return select( 'core/data' ).hasFinishedResolution( 'core', 'getEntityRecords', [ 'taxonomy', 'sc_event_category' ] );
     68        return select( 'core/data' ).hasFinishedResolution( 'core', 'getEntityRecords', [ 'taxonomy', 'sc_event_category', calendarQuery ] );
    6569    });
    6670
  • sugar-calendar-lite/trunk/src/Helper.php

    r3118281 r3132158  
    124124     * @since 3.0.0
    125125     * @since 3.1.2 Added the `$timezone` parameter.
     126     * @since 3.2.0 Sorted the simple events by start date.
    126127     *
    127128     * @param Event[]             $events   Events for the day.
     
    152153                $simple[] = $event;
    153154            }
     155        }
     156
     157        if ( ! empty( $simple ) ) {
     158            // Sort the simple events by start date.
     159            usort(
     160                $simple,
     161                function ( $a, $b ) {
     162                    return $a->start_dto <=> $b->start_dto;
     163                }
     164            );
    154165        }
    155166
  • sugar-calendar-lite/trunk/src/Helpers.php

    r3118281 r3132158  
    9999            ],
    100100            'calendars'          => [
     101                'default' => [],
     102                'type'    => 'array',
     103            ],
     104            'calendarsFilter'    => [
    101105                'default' => [],
    102106                'type'    => 'array',
     
    336340        $output = self::get_event_time_output( $event, $format, 'start' );
    337341
    338         if ( ! empty( $event->end ) ) {
     342        if ( ! empty( $event->end ) && $event->start !== $event->end ) {
    339343            if (
    340344                $date_or_time === 'time' ||
     
    354358     *
    355359     * @since 3.1.2
     360     * @since 3.2.0 Support 'recurrence_end' as the event time type.
    356361     *
    357362     * @param Event  $event           The event object.
     
    371376            $event_timezone = $event->end_tz;
    372377            $event_time     = $event->end;
     378        } elseif ( $event_time_type === 'recurrence_end' ) {
     379            $event_timezone = $event->recurrence_end_tz;
     380            $event_time     = $event->recurrence_end;
    373381        } else {
    374382            $event_timezone = $event->start_tz;
  • sugar-calendar-lite/trunk/src/Helpers/UI.php

    r3095175 r3132158  
    3838     */
    3939    public static function header() {
    40 
    41         ?>
    42         <div id="sugar-calendar-header"
    43              class="sugar-calendar-header">
    44             <img class="sugar-calendar-header-logo"
    45                  src="<?php echo esc_url( SC_PLUGIN_URL . 'assets/images/logo.svg' ); ?>"
    46                  alt="Sugar Calendar Logo"/>
    47             <a href="https://sugarcalendar.com/docs/" target="_blank" id="sugar-calendar-header-help"><?php esc_html_e( 'Help', 'sugar-calendar' ); ?></a>
    48         </div>
     40        ?>
     41        <div id="sugar-calendar-header" class="sugar-calendar-header">
     42            <img class="sugar-calendar-header-logo"
     43                src="<?php echo esc_url( SC_PLUGIN_URL . 'assets/images/logo.svg' ); ?>"
     44                alt="<?php esc_attr_e( 'Sugar Calendar Logo', 'sugar-calendar' ); ?>"/>
     45            <a href="<?php echo esc_url( Helpers::get_utm_url( 'https://sugarcalendar.com/docs/', [ 'content' => 'Help' ] ) ); ?>" target="_blank" id="sugar-calendar-header-help">
     46                <?php esc_html_e( 'Help', 'sugar-calendar' ); ?>
     47            </a>
     48        </div>
    4949        <?php
    5050    }
  • sugar-calendar-lite/trunk/sugar-calendar-lite.php

    r3118281 r3132158  
    1212 * Requires PHP:      7.4
    1313 * Requires at least: 5.8
    14  * Version:           3.1.2
     14 * Version:           3.2.0
    1515 */
    1616
     
    2424     * @since 3.0.0
    2525     */
    26     define( 'SC_PLUGIN_VERSION', '3.1.2' );
     26    define( 'SC_PLUGIN_VERSION', '3.2.0' );
    2727}
    2828
  • sugar-calendar-lite/trunk/sugar-calendar-plugin.php

    r3112714 r3132158  
    215215        // Load the Block.
    216216        $this->get_blocks();
     217
     218        // Load the integrations.
     219        $this->get_integrations();
    217220
    218221        if ( is_admin() ) {
     
    800803
    801804    /**
     805     * Get the Integrations.
     806     *
     807     * @since 3.2.0
     808     *
     809     * @return Integrations\Loader
     810     */
     811    public function get_integrations() {
     812
     813        static $integrations;
     814
     815        if ( ! isset( $integrations ) ) {
     816            $integrations = new Integrations\Loader();
     817
     818            if ( method_exists( $integrations, 'init' ) ) {
     819                $integrations->init();
     820            }
     821        }
     822
     823        return $integrations;
     824    }
     825
     826    /**
    802827     * Get the current license type.
    803828     *
  • sugar-calendar-lite/trunk/vendor/composer/autoload_classmap.php

    r3112525 r3132158  
    339339    'Sugar_Calendar\\Admin\\Area' => $baseDir . '/src/Admin/Area.php',
    340340    'Sugar_Calendar\\Admin\\Education' => $baseDir . '/src/Admin/Education.php',
     341    'Sugar_Calendar\\Admin\\Events\\Events' => $baseDir . '/src/Admin/Events/Events.php',
    341342    'Sugar_Calendar\\Admin\\Events\\MetaboxInterface' => $baseDir . '/src/Admin/Events/MetaboxInterface.php',
    342343    'Sugar_Calendar\\Admin\\Events\\Metaboxes' => $baseDir . '/src/Admin/Events/Metaboxes.php',
     
    344345    'Sugar_Calendar\\Admin\\Events\\Metaboxes\\Event' => $baseDir . '/src/Admin/Events/Metaboxes/Event.php',
    345346    'Sugar_Calendar\\Admin\\Events\\Metaboxes\\EventSection' => $baseDir . '/src/Admin/Events/Metaboxes/EventSection.php',
    346     'Sugar_Calendar\\Admin\\Events\\Metaboxes\\WalkerCategoryRadio' => $baseDir . '/src/Admin/Events/Metaboxes/WalkerCategoryRadio.php',
     347    'Sugar_Calendar\\Admin\\Events\\Metaboxes\\WalkerCategoryCheckbox' => $baseDir . '/src/Admin/Events/Metaboxes/WalkerCategoryCheckbox.php',
    347348    'Sugar_Calendar\\Admin\\Events\\Tables\\Base' => $baseDir . '/src/Admin/Events/Tables/Base.php',
    348349    'Sugar_Calendar\\Admin\\Events\\Tables\\Basic' => $baseDir . '/src/Admin/Events/Tables/Basic.php',
     
    372373    'Sugar_Calendar\\Admin\\Pages\\Welcome' => $baseDir . '/src/Admin/Pages/Welcome.php',
    373374    'Sugar_Calendar\\Admin\\PluginsInstallSkin' => $baseDir . '/src/Admin/PluginsInstallSkin.php',
     375    'Sugar_Calendar\\Admin\\Tools\\Importers\\Importer' => $baseDir . '/src/Admin/Tools/Importers/Importer.php',
     376    'Sugar_Calendar\\Admin\\Tools\\Importers\\ImporterInterface' => $baseDir . '/src/Admin/Tools/Importers/ImporterInterface.php',
     377    'Sugar_Calendar\\Admin\\Tools\\Importers\\TheEventCalendar' => $baseDir . '/src/Admin/Tools/Importers/TheEventCalendar.php',
    374378    'Sugar_Calendar\\Block\\Calendar\\CalendarView\\Block' => $baseDir . '/src/Block/Calendar/CalendarView/Block.php',
    375379    'Sugar_Calendar\\Block\\Calendar\\CalendarView\\Day\\Day' => $baseDir . '/src/Block/Calendar/CalendarView/Day/Day.php',
     
    401405    'Sugar_Calendar\\Helpers\\UI' => $baseDir . '/src/Helpers/UI.php',
    402406    'Sugar_Calendar\\Helpers\\WP' => $baseDir . '/src/Helpers/WP.php',
     407    'Sugar_Calendar\\Integrations\\Elementor\\CalendarWidget' => $baseDir . '/src/Integrations/Elementor/CalendarWidget.php',
     408    'Sugar_Calendar\\Integrations\\Elementor\\Elementor' => $baseDir . '/src/Integrations/Elementor/Elementor.php',
     409    'Sugar_Calendar\\Integrations\\Elementor\\ListWidget' => $baseDir . '/src/Integrations/Elementor/ListWidget.php',
     410    'Sugar_Calendar\\Integrations\\Loader' => $baseDir . '/src/Integrations/Loader.php',
    403411    'Sugar_Calendar\\Migrations\\Migration' => $baseDir . '/src/Migrations/Migration.php',
    404412    'Sugar_Calendar\\Migrations\\MigrationAbstract' => $baseDir . '/src/Migrations/MigrationAbstract.php',
     
    408416    'Sugar_Calendar\\Pro\\Features\\CalendarFeeds\\Migration' => $baseDir . '/src/Pro/Features/CalendarFeeds/Migration.php',
    409417    'Sugar_Calendar\\Pro\\Frontend\\Loader' => $baseDir . '/src/Pro/Frontend/Loader.php',
     418    'Sugar_Calendar\\Pro\\Helpers' => $baseDir . '/src/Pro/Helpers.php',
    410419    'Sugar_Calendar\\Pro\\License\\License' => $baseDir . '/src/Pro/License/License.php',
    411420    'Sugar_Calendar\\Pro\\License\\Updater' => $baseDir . '/src/Pro/License/Updater.php',
  • sugar-calendar-lite/trunk/vendor/composer/autoload_static.php

    r3112525 r3132158  
    364364        'Sugar_Calendar\\Admin\\Area' => __DIR__ . '/../..' . '/src/Admin/Area.php',
    365365        'Sugar_Calendar\\Admin\\Education' => __DIR__ . '/../..' . '/src/Admin/Education.php',
     366        'Sugar_Calendar\\Admin\\Events\\Events' => __DIR__ . '/../..' . '/src/Admin/Events/Events.php',
    366367        'Sugar_Calendar\\Admin\\Events\\MetaboxInterface' => __DIR__ . '/../..' . '/src/Admin/Events/MetaboxInterface.php',
    367368        'Sugar_Calendar\\Admin\\Events\\Metaboxes' => __DIR__ . '/../..' . '/src/Admin/Events/Metaboxes.php',
     
    369370        'Sugar_Calendar\\Admin\\Events\\Metaboxes\\Event' => __DIR__ . '/../..' . '/src/Admin/Events/Metaboxes/Event.php',
    370371        'Sugar_Calendar\\Admin\\Events\\Metaboxes\\EventSection' => __DIR__ . '/../..' . '/src/Admin/Events/Metaboxes/EventSection.php',
    371         'Sugar_Calendar\\Admin\\Events\\Metaboxes\\WalkerCategoryRadio' => __DIR__ . '/../..' . '/src/Admin/Events/Metaboxes/WalkerCategoryRadio.php',
     372        'Sugar_Calendar\\Admin\\Events\\Metaboxes\\WalkerCategoryCheckbox' => __DIR__ . '/../..' . '/src/Admin/Events/Metaboxes/WalkerCategoryCheckbox.php',
    372373        'Sugar_Calendar\\Admin\\Events\\Tables\\Base' => __DIR__ . '/../..' . '/src/Admin/Events/Tables/Base.php',
    373374        'Sugar_Calendar\\Admin\\Events\\Tables\\Basic' => __DIR__ . '/../..' . '/src/Admin/Events/Tables/Basic.php',
     
    397398        'Sugar_Calendar\\Admin\\Pages\\Welcome' => __DIR__ . '/../..' . '/src/Admin/Pages/Welcome.php',
    398399        'Sugar_Calendar\\Admin\\PluginsInstallSkin' => __DIR__ . '/../..' . '/src/Admin/PluginsInstallSkin.php',
     400        'Sugar_Calendar\\Admin\\Tools\\Importers\\Importer' => __DIR__ . '/../..' . '/src/Admin/Tools/Importers/Importer.php',
     401        'Sugar_Calendar\\Admin\\Tools\\Importers\\ImporterInterface' => __DIR__ . '/../..' . '/src/Admin/Tools/Importers/ImporterInterface.php',
     402        'Sugar_Calendar\\Admin\\Tools\\Importers\\TheEventCalendar' => __DIR__ . '/../..' . '/src/Admin/Tools/Importers/TheEventCalendar.php',
    399403        'Sugar_Calendar\\Block\\Calendar\\CalendarView\\Block' => __DIR__ . '/../..' . '/src/Block/Calendar/CalendarView/Block.php',
    400404        'Sugar_Calendar\\Block\\Calendar\\CalendarView\\Day\\Day' => __DIR__ . '/../..' . '/src/Block/Calendar/CalendarView/Day/Day.php',
     
    426430        'Sugar_Calendar\\Helpers\\UI' => __DIR__ . '/../..' . '/src/Helpers/UI.php',
    427431        'Sugar_Calendar\\Helpers\\WP' => __DIR__ . '/../..' . '/src/Helpers/WP.php',
     432        'Sugar_Calendar\\Integrations\\Elementor\\CalendarWidget' => __DIR__ . '/../..' . '/src/Integrations/Elementor/CalendarWidget.php',
     433        'Sugar_Calendar\\Integrations\\Elementor\\Elementor' => __DIR__ . '/../..' . '/src/Integrations/Elementor/Elementor.php',
     434        'Sugar_Calendar\\Integrations\\Elementor\\ListWidget' => __DIR__ . '/../..' . '/src/Integrations/Elementor/ListWidget.php',
     435        'Sugar_Calendar\\Integrations\\Loader' => __DIR__ . '/../..' . '/src/Integrations/Loader.php',
    428436        'Sugar_Calendar\\Migrations\\Migration' => __DIR__ . '/../..' . '/src/Migrations/Migration.php',
    429437        'Sugar_Calendar\\Migrations\\MigrationAbstract' => __DIR__ . '/../..' . '/src/Migrations/MigrationAbstract.php',
     
    433441        'Sugar_Calendar\\Pro\\Features\\CalendarFeeds\\Migration' => __DIR__ . '/../..' . '/src/Pro/Features/CalendarFeeds/Migration.php',
    434442        'Sugar_Calendar\\Pro\\Frontend\\Loader' => __DIR__ . '/../..' . '/src/Pro/Frontend/Loader.php',
     443        'Sugar_Calendar\\Pro\\Helpers' => __DIR__ . '/../..' . '/src/Pro/Helpers.php',
    435444        'Sugar_Calendar\\Pro\\License\\License' => __DIR__ . '/../..' . '/src/Pro/License/License.php',
    436445        'Sugar_Calendar\\Pro\\License\\Updater' => __DIR__ . '/../..' . '/src/Pro/License/Updater.php',
  • sugar-calendar-lite/trunk/vendor/composer/installed.php

    r3118281 r3132158  
    44        'pretty_version' => 'dev-develop',
    55        'version' => 'dev-develop',
    6         'reference' => 'b4ef481eba71f1d57d5f0a6ee555044cc437afce',
     6        'reference' => '5a691b1778beb9f405f8a08ce464392f98859923',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-develop',
    1515            'version' => 'dev-develop',
    16             'reference' => 'b4ef481eba71f1d57d5f0a6ee555044cc437afce',
     16            'reference' => '5a691b1778beb9f405f8a08ce464392f98859923',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.