(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.brella-widget-filters-active{transform:none!important}.schedule-filters{flex:1;padding-left:2em}.sticky{position:-webkit-sticky;position:sticky;top:0;max-height:100vh;overflow-y:scroll;padding-right:10px}.schedule-filters-header{font-size:18px;font-weight:600;margin-top:.8em;margin-bottom:.5em;line-height:2em;position:relative;text-transform:capitalize}.schedule-filters-tag{font-size:11px;font-weight:500;color:#1a1a1a;display:block;padding:5px 8px;background-color:#58c5d71a;border-radius:4px;margin-bottom:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.schedule-filters-tag:hover .schedule-filters-tag-name{text-decoration:underline}.schedule-filters-tag-deactive{background:#fff!important;opacity:.5}.schedule-filters-tag-deactive .schedule-filters-tag-name{color:#000!important}.schedule-filters-tag-deactive:hover{opacity:1}.schedule-filters-tag-deactive:hover .schedule-filters-tag-name{color:inherit!important}.schedule-filters-tag-deactive:hover .schedule-filters-tag-name{text-decoration:none}.schedule-filter-clear-button{text-align:right;position:absolute;right:0;font-size:12px;text-decoration:underline;cursor:pointer;top:2px;opacity:1;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:.2s}.schedule-filters-dimmed{opacity:.4;pointer-events:none}.powered-by-brella{font-size:12px;text-align:right;margin-top:2em;display:block;text-decoration:none;color:#000!important}.powered-by-brella-logo{height:11px;position:relative;bottom:-1px}.schedule-filter-footer-container{position:fixed;bottom:10px;left:10px;right:10px;z-index:2147483646;max-width:500px;margin:0 auto;display:flex;justify-content:center}.schedule-filter-footer-clear-button{background:#00af66;border-radius:6px;text-align:center;line-height:30px;color:#fff;display:inline-block;width:70%;outline:0px;border:0px;font-size:14px;cursor:pointer}.schedule-filter-footer-to-top-button{background:#333;border-radius:6px;text-align:center;line-height:30px;color:#fff;display:inline-block;width:28%;margin-right:2%;outline:0px;border:0px;font-size:14px;cursor:pointer}.schedule-filter-footer-container .schedule-filter-footer-to-top-button{animation:swayIn 2s ease-in-out both}@media only screen and (max-width: 768px){.schedule-filter-clear-button{display:none}}@keyframes swayIn{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,100,0,1)}1.3%{transform:matrix3d(1.207,0,0,0,0,1,0,0,0,0,1,0,0,79.007,0,1)}2.55%{transform:matrix3d(1.254,0,0,0,0,1,0,0,0,0,1,0,0,60.933,0,1)}4.1%{transform:matrix3d(1.216,0,0,0,0,1,0,0,0,0,1,0,0,41.971,0,1)}5.71%{transform:matrix3d(1.146,0,0,0,0,1,0,0,0,0,1,0,0,26.532,0,1)}8.11%{transform:matrix3d(1.059,0,0,0,0,1,0,0,0,0,1,0,0,10.549,0,1)}8.81%{transform:matrix3d(1.041,0,0,0,0,1,0,0,0,0,1,0,0,7.28,0,1)}11.96%{transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,0,-1.608,0,1)}12.11%{transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,0,-1.843,0,1)}15.07%{transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,0,-4.221,0,1)}16.12%{transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,0,-4.336,0,1)}27.23%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.784,0,1)}27.58%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.707,0,1)}38.34%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.104,0,1)}40.09%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.097,0,1)}50%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.016,0,1)}60.56%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.002,0,1)}82.78%{transform:scaleZ(1)}to{transform:scaleZ(1)}}@keyframes swayIn2{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,100,0,1)}1.3%{transform:matrix3d(1.207,0,0,0,0,1,0,0,0,0,1,0,0,79.007,0,1)}2.55%{transform:matrix3d(1.254,0,0,0,0,1,0,0,0,0,1,0,0,60.933,0,1)}4.1%{transform:matrix3d(1.216,0,0,0,0,1,0,0,0,0,1,0,0,41.971,0,1)}5.71%{transform:matrix3d(1.146,0,0,0,0,1,0,0,0,0,1,0,0,26.532,0,1)}8.11%{transform:matrix3d(1.059,0,0,0,0,1,0,0,0,0,1,0,0,10.549,0,1)}8.81%{transform:matrix3d(1.041,0,0,0,0,1,0,0,0,0,1,0,0,7.28,0,1)}11.96%{transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,0,-1.608,0,1)}12.11%{transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,0,-1.843,0,1)}15.07%{transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,0,-4.221,0,1)}16.12%{transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,0,-4.336,0,1)}27.23%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.784,0,1)}27.58%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.707,0,1)}38.34%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.104,0,1)}40.09%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.097,0,1)}50%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.016,0,1)}60.56%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.002,0,1)}82.78%{transform:scaleZ(1)}to{transform:scaleZ(1)}}.brella-search-container,.autocomplete__wrapper{position:relative}.autocomplete__hint,.autocomplete__input{-webkit-appearance:none;box-sizing:border-box;width:100%;border:2px solid #E6E3EB;margin:0;height:34px;color:#fff;padding:8px 16px;outline:none;border-radius:8px;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,-webkit-box-shadow .2s ease;color:#0d0c22;background-color:#fff}.autocomplete__input{position:relative}.autocomplete__hint{color:#b1b4b6;position:absolute}.autocomplete__input--default{padding:5px}.autocomplete__input--focused{background-color:#fff;border-color:#d4d0db;box-shadow:0 0 0 1px #d4d0db inset}.autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0B0C0C;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{box-shadow:#00000042 0 2px 6px;left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:solid #b1b4b6;border-width:1px 0;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#333;border-color:#333;color:#fff;outline:none}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:14px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width: 641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:14px;line-height:1.31579}}/*! * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/) * Copyright 2015 Daniel Cardoso <@DanielCardoso> * Licensed under MIT */.la-ball-clip-rotate,.la-ball-clip-rotate>div{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.la-ball-clip-rotate{display:block;font-size:0;color:#fff;margin:100px auto}.la-ball-clip-rotate.la-dark{color:#333}.la-ball-clip-rotate>div{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.la-ball-clip-rotate{width:32px;height:32px}.la-ball-clip-rotate>div{width:32px;height:32px;background:transparent;border-width:2px;border-bottom-color:transparent;border-radius:100%;-webkit-animation:ball-clip-rotate .75s linear infinite;-moz-animation:ball-clip-rotate .75s linear infinite;-o-animation:ball-clip-rotate .75s linear infinite;animation:ball-clip-rotate .75s linear infinite}@-webkit-keyframes ball-clip-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes ball-clip-rotate{0%{-moz-transform:rotate(0deg);transform:rotate(0)}50%{-moz-transform:rotate(180deg);transform:rotate(180deg)}to{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes ball-clip-rotate{0%{-o-transform:rotate(0deg);transform:rotate(0)}50%{-o-transform:rotate(180deg);transform:rotate(180deg)}to{-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ball-clip-rotate{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.schedule-tags{padding:12px 0 0}.schedule-tags-tag{font-size:11px;font-weight:500;color:#1a1a1a;display:inline-block;line-height:20px;background-color:#58c5d71a;margin:0 8px 2px 0;border-radius:4px;padding:0 7px}.schedule-modal-mask{z-index:2147483647;position:fixed;inset:0;width:100%;height:100%;background-color:#000;background-color:#201c3166}.schedule-modal-wrap{position:fixed;overflow:auto;inset:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.schedule-modal-content{background-color:#fff;border-radius:10px;margin:15% auto;padding:20px;max-width:420px;background-repeat:no-repeat;background-size:140% 70px;box-shadow:0 2px 20px #00000021,0 1px 3px #00000029;animation:blibIn 1s linear both;font:14px/1.21 Helvetica Neue,arial,sans-serif;font-weight:400}.schedule-modal-title{font-size:21px;font-weight:500;margin-top:.8em}.schedule-modal-time-and-location{display:flex;flex-flow:row wrap;padding:0 18px 18px;margin-top:12px;border-radius:15px;background-color:#f2f1f5}.schedule-modal-subheader{text-transform:uppercase;font-size:11px;margin-bottom:4px;color:#777;margin-top:18px;font-weight:400}.schedule-modal-time{flex:1 0 0;color:#000;padding-right:8px;font-size:13px;font-weight:500}.schedule-modal-date{flex:1 0 0;padding-right:8px;font-size:13px;font-weight:500;color:#000}.schedule-modal-location{flex:1 0 100%;font-size:13px;font-weight:500;color:#000}.schedule-modal-wysiwyg-content img{width:100%!important}.schedule-modal-wysiwyg-content h1{font:14px/1.21 Helvetica Neue,arial,sans-serif;color:#000;text-align:left;font-size:18px;font-weight:500}.schedule-modal-wysiwyg-content p{font:14px/1.5 Helvetica Neue,arial,sans-serif;color:#000;text-align:left;font-size:14px;font-weight:400}.schedule-modal-wysiwyg-content span{font:inherit!important}.modal-speakers-header{font-size:16px;font-weight:500;margin-top:32px}.modal-speakers-assignments{margin-top:16px;display:grid;grid-gap:5px;grid-template-columns:1fr 1fr}.modal-speakers-assignment{cursor:pointer;display:flex;flex:1 0 0;position:relative;align-items:center;margin:4px 0;padding:16px;border-radius:15px;border:2px solid #f2f1f5;transition:box-shadow .3s ease-in-out}.modal-speakers-assignment:hover .modal-speakers-assignments-name{text-decoration:underline}.modal-speakers-assignments-photo{min-width:40px;min-height:40px;background-size:cover;border-radius:99px}.modal-speakers-assignments-name{font-size:13px;font-weight:500;color:#1a1a1a;display:inline-block;border-radius:4px;padding:0 7px}.modal-speakers-assignments-role{position:absolute;background:#f2f1f5;padding:4px 6px;border-radius:6px;z-index:22;top:-12px;left:10px;display:block;color:#777;font-size:12px;font-weight:400}.modal-speakers-assignments-company{position:relative;display:block;color:#8c8c8c;margin-top:2px;font-size:12px;font-weight:400}.schedule-modal-speaker-info{display:flex;flex-flow:row wrap;margin:12px 0;border-top:2px solid #f2f1f5;border-bottom:2px solid #f2f1f5;padding-bottom:22px}.schedule-modal-speaker-photo{width:100px;height:100px;background-size:cover;border-radius:100px}.schedule-modal-speaker-name{font-size:21px;font-weight:500;margin-top:20px}.schedule-modal-speaker-info-item{flex:1 0 0;color:#000;padding-right:8px;font-size:13px;font-weight:500}.schedule-modal-speaker-back-button{position:absolute;right:16px;cursor:pointer;background:#000;font-size:14px;color:#fff;display:inline-block;border-radius:5px;padding:6px 10px;margin-bottom:16px}.schedule-slot{display:block;margin:16px 0 0 90px!important;padding:0!important;cursor:pointer;position:relative;line-height:1.4em}.schedule-slot:hover .schedule-slot-name{text-decoration:underline}.schedule-slot:last-child{border-bottom:0px}.schedule-slot-content{min-height:40px;border:2px solid#f2f1f5;border-radius:15px;padding:1em;max-width:400px}.schedule-slot-name{color:#000;font-size:15px;font-weight:500}.schedule-slot-header{margin-bottom:4px}.schedule-slot-head{box-sizing:unset;position:absolute;width:4px;height:4px;color:#00af66;border-radius:100px;border-width:2px;border-style:solid;left:-19px;background:#fff;content:" ";top:21px;outline:4px solid #fff;animation-name:glowAnimation;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:1.5s}@keyframes glowAnimation{0%{color:#ead313}to{color:#00af66}}.schedule-slot-duration{color:#8c8c8c;font-size:13px;font-weight:400}.schedule-slot-duration:before{content:" •";font-weight:400}.schedule-slot-start-date-time{font-size:12px;position:absolute;left:-100px;text-align:right;width:70px}.schedule-slot-start-time{color:#000;font-weight:500}.schedule-slot-start-day{color:#8c8c8c;font-weight:400}.schedule-slot-subtitle{color:#8c8c8c;font-size:13px;margin-bottom:8px;font-weight:400}@media only screen and (max-width: 768px){.schedule-slot-header{margin-top:4px}.schedule-slot-start-time{font-weight:600;font-size:14px}.schedule-slot-start-date-time{position:relative;left:-1px;padding-bottom:4px;text-align:left;width:auto;border-bottom:2px solid #f0f0f0}.schedule-slot-start-day{position:absolute;right:0;top:2px}}.speakers-assignment{display:flex;margin:4px 0;align-items:center}.speakers-assignments-photo{width:20px;height:20px;min-width:20px;background-size:cover;border-radius:99px}.speakers-assignments-name{font-size:11px;font-weight:500;color:#1a1a1a;display:inline-block;line-height:20px;border-radius:4px;padding:0 7px}.speakers-assignments-role{display:block;color:#8c8c8c;margin-top:-6px;font-weight:400}:root{--brella-color-white: #FFFFFF;--brella-color-gray-50: #F9FAFB;--brella-color-gray-200: #EAECF0;--brella-color-gray-300: #D0D5DD;--brella-color-gray-500: #667085;--brella-color-gray-900: #101828;--brella-color-black: #000000;--brella-color-primary-600: #00af66;--brella-color-error-600: #D92D20;--brella-color-warning-400: #FAAD14;--brella-widget-background: var(--brella-color-white);--brella-widget-secondary-background: var(--brella-color-gray-50);--brella-widget-border: 1px solid var(--brella-color-gray-200);--brella-widget-input-border: 1px solid var(--brella-color-gray-300);--brella-widget-text-color: var(--brella-color-black);--brella-widget-text-muted-color: var(--brella-color-gray-500);--brella-widget-close-icon-color: var(--brella-color-gray-900);--brella-widget-margin-double-base: 32px;--brella-widget-margin-three-quarters-base: 24px;--brella-widget-margin-base: 16px;--brella-widget-margin-half-base: 8px;--brella-widget-margin-quarter-base: 4px;--brella-widget-padding-double-base: 32px;--brella-widget-padding-three-quarters-base: 24px;--brella-widget-padding-base: 16px;--brella-widget-padding-half-base: 8px;--brella-widget-border-radius: 8px;--brella-widget-border-radius-small: 4px;--brella-widget-modal-width: 600px;--brella-widget-modal-border-radius: 8px;--brella-widget-modal-input-border-radius: 8px}.brella-modal *,.brella-widget-root *{box-sizing:border-box}.brella-modal,.brella-widget-root{font:14px/1.21 Helvetica Neue,arial,sans-serif;font-weight:400;color:var(--brella-widget-text-color)}.brella-widget-root{background:var(--brella-widget-background);padding:16px;border-radius:8px;margin:16px;text-align:left}.brella-widget-root h1,.brella-widget-root h2{text-align:left}.brella-ellipsed-text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.brella-ellipsed-text-2-rows{display:-webkit-box;max-width:200px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.brella-wysiwyg-content span{font:inherit!important;color:inherit!important;background:transparent!important}@media only screen and (max-width: 768px){.brella-widget-root{margin:0;padding:8px}}.brella-widget-container{display:flex;min-height:1000px}.schedule-day-container{margin-bottom:2em;margin-top:6em}.schedule-day-container:first-child{margin-top:0}.schedule-days{flex:3}.schedule-day-name{font-size:21px;font-weight:600;margin-top:.8em;margin-bottom:.2em}.schedule-slots-container{list-style:none;margin:0;padding:0;position:relative;width:fit-content}@media only screen and (max-width: 768px){.schedule-slot{margin:16px 0 0 21px!important;border:0px}.schedule-day-container{margin-top:0}}.flicking-viewport{position:relative;overflow:hidden}.flicking-viewport.vertical{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.flicking-viewport.vertical>.flicking-camera{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flicking-viewport.flicking-hidden>.flicking-camera>*{visibility:hidden}.flicking-camera{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;z-index:1;will-change:transform}.flicking-camera>*{-ms-flex-negative:0;flex-shrink:0}.ticket-list-item-container{padding:var(--brella-widget-padding-base);border-bottom:var(--brella-widget-border);display:block;overflow:hidden}.ticket-list-item-row-container{display:flex;justify-content:space-between;align-items:flex-start}.ticket-list-item-ticket-title{font-weight:500;white-space:pre-wrap;line-height:1.2em;margin-bottom:var(--brella-widget-margin-quarter-base);margin-top:0}.ticket-list-item-ticket-price{font-size:12px;font-weight:600;margin-top:0;margin-bottom:var(--brella-widget-margin-quarter-base);display:block}.ticket-list-item-ticket-amount-input{height:30px;padding:0 12px;width:66px;border:var(--brella-widget-input-border)}.ticket-list-item-ticket-description{font-size:12px;white-space:pre-wrap}.widget-alert-modal-mask{z-index:2147483647;position:fixed;top:20px;left:0;width:100%;display:flex;align-items:center;flex-direction:column}.widget-alert-content{font:14px/1.21 Helvetica Neue,arial,sans-serif;background-color:#fff;padding:var(--brella-widget-padding-half-base) var(--brella-widget-padding-base);display:flex;width:fit-content;gap:var(--brella-widget-margin-half-base);border:var(--brella-widget-border);border-radius:var(--brella-widget-border-radius);align-items:center;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.widget-alert-content p{margin:0;white-space:nowrap}.widget-alert-fade-in{opacity:0;animation:brellaAlertFadeIn .25s ease-out forwards}@keyframes brellaAlertFadeIn{0%{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:translateY(0)}}.widget-warning-icon{background:var(--brella-color-warning-400);width:16px;height:16px;border-radius:50px;display:flex;justify-content:center;align-items:center;color:var(--brella-color-white)}.widget-warning-icon:after{content:"!"}.widget-error-icon{position:relative;width:16px;height:16px;background:var(--brella-color-error-600);width:18px;height:18px;border-radius:50px}.widget-error-icon:before,.widget-error-icon:after{position:absolute;left:8.5px;top:4px;content:" ";height:10px;width:1px;background-color:var(--brella-color-white)}.widget-error-icon:before{transform:rotate(45deg)}.widget-error-icon:after{transform:rotate(-45deg)}.widget-success-icon:after{content:"✅"}.ticket-list-container{height:560px;overflow-y:scroll;align-items:center;background-color:var(--brella-widget-background);border-left:var(--brella-widget-border)}@media only screen and (max-width: 768px){.ticket-list-container{height:500px}}.ticketing-summary-container{border-left:var(--brella-widget-border);border-right:var(--brella-widget-border);display:flex;flex-direction:column;height:100%;background-color:var(--brella-widget-background)}.ticketing-summary-header{padding:var(--brella-widget-padding-base)}.summary-event-date{font-weight:400;line-height:13px;margin-bottom:var(--brella-widget-margin-quarter-base);font-size:10px;color:var(--brella-widget-text-muted-color);margin-top:0}.summary-event-name{margin:0;font-weight:500}.summary-order-summary-text{font-size:12px;line-height:18px;font-weight:600;padding:var(--brella-widget-padding-base);border-bottom:var(--brella-widget-border);background-color:var(--brella-widget-secondary-background);margin:0}.summary-info-container{margin-bottom:auto;padding:var(--brella-widget-padding-base)}.summary-helper-text{color:var(--brella-widget-text-muted-color);font-weight:400;line-height:18px;font-size:12px;text-align:center}.selected-ticket-row{display:flex;justify-content:space-between;margin-bottom:var(--brella-widget-margin-half-base)}.selected-ticket-name,.selected-ticket-price{font-size:12px;line-height:18px;margin:0}.summary-subtotal-container{padding:var(--brella-widget-padding-base);background-color:var(--brella-widget-secondary-background);border-bottom:var(--brella-widget-border)}.discount-code-amount{display:flex;padding:12px 0;justify-content:space-between}.total-summary-text{font-size:14px;line-height:18px;font-weight:600;margin:0}.discount-code-success-container{display:flex;justify-content:space-between;align-items:center}.discount-code-tag{display:flex;gap:8px;border:var(--brella-widget-input-border);border-radius:2px;width:fit-content;padding:5px 8px;cursor:pointer}.discount-code-price-reduction{font-size:12px;line-height:18px;margin:0}.discount-code-tag p{margin:0}.discount-code-input-container{align-items:center;display:flex;align-items:flex-end}.discount-code-input{flex-grow:1;font-size:14px;padding:9px 8px}.discount-code-input:disabled{cursor:not-allowed;background-color:var(--brella-color-white)}.discount-code-input-error{border-color:var(--brella-color-error-600)}.discount-code-apply-button{background:var(--brella-color-white);padding:9px 15px;font-size:14px;border:var(--brella-widget-input-border);border-radius:var(--brella-widget-modal-input-border-radius);cursor:pointer;color:var(--brella-widget-text-muted-color)}.discount-code-apply-button:disabled{cursor:not-allowed;border:var(--brella-widget-input-border)}.discount-code-error{color:var(--brella-color-error-600);font-size:12px;line-height:16px;margin-top:4px}.discount-code-total-container{padding:var(--brella-widget-padding-base);display:flex;justify-content:space-between}.remove-discount-code{position:relative;width:10px;height:10px;opacity:.8}.remove-discount-code:hover{opacity:1}.remove-discount-code:before,.remove-discount-code:after{position:absolute;left:3px;top:3px;content:" ";height:10px;width:1px;background-color:var(--brella-widget-close-icon-color)}.remove-discount-code:before{transform:rotate(45deg)}.remove-discount-code:after{transform:rotate(-45deg)}.custom-form-checkbox-group{display:inline-grid;gap:var(--brella-widget-margin-half-base);margin-left:2px}.custom-form-checkbox-group span{display:flex}.custom-form-radio-button-group{display:inline-grid;gap:var(--brella-widget-margin-half-base);margin-left:2px}.custom-form-radio-button-group span{display:flex}.custom-form-item{padding-bottom:var(--brella-widget-padding-base)}.ticketing-mandatory-field{margin-top:0;margin-bottom:var(--brella-widget-margin-half-base)}.ticketing-mandatory-field span{color:var(--brella-color-error-600)}.custom-form-item textarea{width:100%;box-sizing:border-box}.custom-form-item select{width:100%}.custom-form-item input[type=text]{width:100%;box-sizing:border-box}.ticketing-question-container{padding:0px var(--brella-widget-margin-half-base);border-top:var(--brella-widget-border)}.ticket-question-name{margin:0;font-weight:600;padding-top:var(--brella-widget-margin-half-base);padding-bottom:var(--brella-widget-margin-base)}.ticketing-registrant-info{padding-bottom:var(--brella-widget-margin-three-quarters-base)}.ticketing-registrant-info input[type=email]{width:100%;box-sizing:border-box}.ticketing-registrant-info input[type=email]:disabled{cursor:not-allowed}.ticket-question-registrant-email{margin-bottom:6px;margin-top:0}.purchaser-email-checkbox{margin-top:var(--brella-widget-margin-half-base);margin-left:2px}.purchaser-email-checkbox input{margin:0px var(--brella-widget-margin-half-base) 0px 0px}.ticket-question-registrant-email span{color:var(--brella-color-error-600)}.custom-forms-container{overflow-y:scroll;height:560px;position:relative;display:flex;flex-direction:column;background-color:var(--brella-widget-background);border-right:var(--brella-widget-border)}@media only screen and (max-width: 768px){.custom-forms-container{height:500px}}.custom-forms-container input{padding:9px 8px}.custom-form-title{padding:var(--brella-widget-padding-base);background-color:var(--brella-widget-secondary-background);position:sticky;top:0;left:0;z-index:99}.custom-form-title p{margin:0;font-size:12px;line-height:18px;font-weight:600}.custom-form-sticky-title{position:sticky;top:0;left:0;z-index:99}.purchaser-info-container{padding:var(--brella-widget-margin-base);gap:var(--brella-widget-margin-base);border-top:var(--brella-widget-border);display:grid}.purchaser-info-container p{margin-top:0;margin-bottom:6px}.purchaser-info-container input{width:100%;box-sizing:border-box}.custom-form-ticket-questions{margin-bottom:var(--brella-widget-margin--half-base)}.custom-forms-terms-and-policy{background-color:var(--brella-widget-secondary-background);padding:var(--brella-widget-padding-base) var(--brella-widget-padding-half-base);border-top:var(--brella-widget-border);margin-top:auto}.custom-forms-terms-and-policy label{font-size:12px}.custom-forms-terms-and-policy a{color:var(--brella-color-ticketing-primary-600);text-decoration:underline}.custom-forms-terms-and-policy-checkbox{display:flex;padding:1.5px}.ticketing-footer-container{background-color:var(--brella-widget-secondary-background);border:var(--brella-widget-border);padding:16px 24px;display:flex;justify-content:space-between;border-radius:0px 0px var(--brella-widget-modal-border-radius) var(--brella-widget-modal-border-radius)}.ticketing-footer-proceed-button{margin-left:auto}.ticketing-root input{border-radius:var(--brella-widget-modal-input-border-radius);border:var(--brella-widget-input-border)}.ticketing-root input[type=checkbox],.ticketing-root input[type=radio]{accent-color:var(--brella-color-ticketing-primary-600);margin:0 6px 0 0}.ticketing-root textarea,.ticketing-root select{border-radius:var(--brella-widget-modal-input-border-radius);border:var(--brella-widget-input-border);cursor:pointer}.ticketing-root select{padding:9px 8px}.ticketing-header{background-color:var(--brella-widget-secondary-background);padding:var(--brella-widget-padding-base);border-radius:var(--brella-widget-modal-border-radius) var(--brella-widget-modal-border-radius) 0px 0px;display:flex;justify-content:space-between;border:var(--brella-widget-border)}.ticketing-header-title{font-size:14px;font-weight:600;margin:0}.brella-widget-modal-open{transform:none!important;overflow:hidden}.brella-ticketing-loading,.brella-ticketing-error{min-height:670px;display:flex;align-items:center;justify-content:center;background-color:var(--brella-widget-background)}.brella-ticketing-error-content{line-height:24px}.ticketing-secondary-text{color:var(--brella-widget-text-muted-color)}.ticketing-slide{width:375px}.ticketing-slide-mobile{width:100%;max-height:560px}@media only screen and (max-width: 768px){.ticketing-slide-mobile{max-height:500px}}.flicking-camera{height:auto}.brella-ticketing-error-content{text-align:center}.brella-error-message-subtext{white-space:pre-wrap}.brella-error-message{font-size:36px;font-weight:600}.thank-you-modal-header p{margin-top:0;margin-bottom:var(--brella-widget-margin-quarter-base)}.thank-you-modal-title{font-weight:600}.thank-you-modal-subtitle{font-size:12px;font-weight:400}.ticket-claiming-container{padding:var(--brella-widget-padding-base);background-color:var(--brella-widget-secondary-background)}.ticket-claiming-invite{display:flex;justify-content:space-between;align-items:center;margin-top:var(--brella-widget-margin-half-base);margin-bottom:var(--brella-widget-margin-base)}.ticket-claiming-invite p{margin:0;font-size:12px}.ticket-claiming-invite h4{margin:0;font-size:14px;font-weight:500;margin-bottom:var(--brella-widget-margin-quarter-base)}:root{--brella-color-ticketing-primary-600: #7F56D9}.brella-widget-button-primary{color:var(--brella-color-white);background:var(--brella-color-ticketing-primary-600);border-color:var(--brella-color-ticketing-primary-600);box-shadow:0 2px #0000000d;border:1px solid transparent;border-radius:var(--brella-widget-modal-input-border-radius);padding:6.4px 15px;font-size:16px;text-decoration:none;position:relative;cursor:pointer;white-space:nowrap}.brella-widget-button-primary-loading:before{content:"";position:absolute;width:16px;height:16px;top:0;left:8px;bottom:0;margin:auto;border:4px solid transparent;border-top-color:#fff;border-radius:50%;animation:button-loading-spinner 1s ease infinite}.brella-widget-button-primary-loading{padding-left:22px}.brella-widget-button-primary:disabled{cursor:not-allowed;border:var(--brella-widget-input-border);background:var(--brella-color-white);color:var(--brella-widget-text-muted-color)}.brella-widget-button-secondary{border-color:var(--brella-widget-text-muted-color);background:var(--brella-color-white);box-shadow:0 2px #0000000d;border:1px solid var(--brella-widget-text-muted-color);border-radius:var(--brella-widget-modal-input-border-radius);padding:6.4px 15px;font-size:16px;text-decoration:none;position:relative;cursor:pointer}.brella-widget-link-button{color:var(--brella-color-ticketing-primary-600);background-color:transparent;border:0;cursor:pointer}.brella-widget-error-text{color:var(--brella-color-error-600);font-size:12px;line-height:16px;margin-top:4px}.brella-widget-input-error{border-color:var(--brella-color-error-600)!important}@keyframes button-loading-spinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.brella-widget-close{position:absolute;right:16px;top:16px;width:16px;height:16px;opacity:.8;cursor:pointer}.brella-widget-close:hover{opacity:1}.brella-widget-close:before,.brella-widget-close:after{position:absolute;left:7px;content:" ";height:16px;width:2px;background-color:var(--brella-widget-close-icon-color)}.brella-widget-close:before{transform:rotate(45deg)}.brella-widget-close:after{transform:rotate(-45deg)}.ticketing-modal-mask{z-index:2147483647;position:fixed;inset:0;width:100%;height:100%;background-color:#000;background-color:#201c3166}.fade-in{opacity:1;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:.2s}.ticketing-modal-wrap{position:fixed;overflow:auto;inset:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ticketing-modal-content-wrap{margin:var(--brella-widget-margin-half-base)}.ticketing-modal-content{background-color:var(--brella-widget-secondary-background);border-radius:var(--brella-widget-modal-border-radius);margin:5% auto;max-width:750px;background-repeat:no-repeat;background-size:140% 70px;box-shadow:0 2px 20px #00000021,0 1px 3px #00000029;animation:blibIn 1s linear both;font:14px/1.21 Helvetica Neue,arial,sans-serif;font-weight:400}.ticketing-modal{max-width:750px;box-shadow:0 2px 20px #00000021,0 1px 3px #00000029;font:14px/1.21 Helvetica Neue,arial,sans-serif;font-weight:400;border-radius:var(--brella-widget-modal-border-radius)}.brella-get-tickets:hover,.brella-get-tickets:active{opacity:.95}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}@keyframes blibIn{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,0,1)}4.2%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-45.073,0,1)}8.31%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-11.589,0,1)}12.51%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.215,0,1)}16.62%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,6.331,0,1)}27.73%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.285,0,1)}38.84%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.253,0,1)}61.06%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.01,0,1)}83.28%{transform:scaleZ(1)}to{transform:scaleZ(1)}}.brella-pagination{display:flex;flex-wrap:wrap;gap:4px;margin-top:var(--brella-widget-padding-double-base);justify-content:center}.brella-pagination-button{width:var(--brella-widget-padding-double-base);height:var(--brella-widget-padding-double-base);border:var(--brella-widget-border);border-radius:var(--brella-widget-border-radius-small);color:var(--brella-widget-text-color);background:transparent;cursor:pointer}.brella-pagination-separator{width:var(--brella-widget-padding-double-base);height:var(--brella-widget-padding-double-base);color:var(--brella-color-gray-300);display:flex;align-items:center;justify-content:center}.brella-pagination-button:focus,.brella-pagination-button:hover{color:var(--brella-color-primary-600)}.brella-pagination-button:focus-visible{outline:var(--brella-color-primary-600) auto 1px}.brella-pagination-button:disabled{background-color:var(--brella-widget-secondary-background);cursor:not-allowed}.brella-pagination-button-current{border-color:var(--brella-color-primary-600)}.speaker-card-grid{display:grid;gap:var(--brella-widget-margin-three-quarters-base);grid-template-columns:repeat(auto-fill,minmax(var(--brella-widget-min-speaker-card-width),1fr))}.speaker-card-grid-narrow-items{grid-template-columns:repeat(auto-fill,minmax(var(--brella-widget-min-speaker-narrow-card-width),1fr))}.brella-speaker-social-media-container{display:flex;gap:var(--brella-widget-margin-half-base);margin-top:var(--brella-widget-margin-half-base);margin-bottom:var(--brella-widget-margin-half-base)}.brella-speaker-social-media-container a{display:block;color:inherit}.brella-speaker-social-media-container svg{fill:currentColor;width:16px;height:16px}.brella-speaker-social-media-container a:hover svg{opacity:.8}.brella-speaker-card-reset-button-styles{background:transparent;border:none;padding:0;cursor:pointer;text-align:inherit;color:var(--brella-widget-text-color)}.brella-speaker-card{border-radius:var(--brella-widget-border-radius-small);background:var(--brella-widget-speaker-card-background);border:var(--brella-widget-border);display:flex;overflow:hidden;align-items:stretch}.brella-speaker-card-image{display:flex}.brella-speaker-card-image img{object-fit:cover;max-width:150px;display:block}.brella-speaker-card-placeholder-image{background:var(--brella-color-gray-200);width:150px;height:100%}.brella-speaker-card-content{padding:var(--brella-widget-margin-base);line-height:1.5;min-width:0}.brella-speaker-card-name{color:inherit;font-size:12px;line-height:1.5;font-weight:600;padding:0;margin:0;word-break:break-word}.brella-speaker-card-job-titles,.brella-speaker-card-company-names{font-size:12px}.brella-speaker-card-company-names{color:#8c8c8c}.brella-speaker-card-learnmore-link{font-weight:600;font-size:12px;color:var(--brella-color-primary-600);margin-top:var(--brella-widget-margin-half-base);display:flex;gap:var(--brella-widget-margin-half-base);align-items:center}.brella-speaker-highlighted-card{border-radius:var(--brella-widget-border-radius-small);overflow:hidden;position:relative;display:flex;align-items:flex-end;height:240px}.brella-speaker-highlighted-card,.brella-speaker-highlighted-card button{text-shadow:0 0 6px rgb(0 0 0 / 45%)}.brella-speaker-highlighted-card-image{position:absolute;width:100%;height:100%}.brella-speaker-highlighted-card-image img{object-fit:cover;width:100%;height:100%;display:block}.brella-speaker-highlighted-card-image-mask{position:absolute;top:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(var(--brella-widget-speaker-gradient-rgb),0) 32.81%,rgba(var(--brella-widget-speaker-gradient-rgb),.136364) 58.33%,rgba(var(--brella-widget-speaker-gradient-rgb),.5) 100%,rgba(var(--brella-widget-speaker-gradient-rgb),.455)),linear-gradient(180deg,#0000 32.81%,#00000023 58.33%,rgba(var(--brella-widget-speaker-gradient-rgb),.5) 100%,#00000073)}.brella-speaker-highlighted-card-placeholder-image{background:var(--brella-color-gray-200);width:100%;height:100%}.brella-speaker-highlighted-card-content{position:relative;z-index:1;line-height:1.5;min-width:0;color:var(--brella-color-white);padding:var(--brella-widget-padding-base)}:root{--brella-widget-modal-background: var(--brella-widget-background);--brella-widget-modal-header-background: var(--brella-color-gray-50)}.brella-modal{z-index:2147483647;position:fixed;inset:0;width:100%;height:100%;background-color:#000;background-color:#201c3166;-webkit-overflow-scrolling:touch;max-height:100%;max-width:100%;overflow:auto}.brella-modal-wrap{min-height:100%;display:flex;align-items:center;justify-content:center}.brella-modal-content-wrap{margin:var(--brella-widget-margin-three-quarters-base);width:var(--brella-widget-modal-width);border-radius:var(--brella-widget-modal-border-radius);background:var(--brella-widget-modal-background);max-width:100%;position:relative}.brella-modal-content{padding:var(--brella-widget-margin-three-quarters-base)}.brella-modal-header{border-radius:var(--brella-widget-modal-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;background:var(--brella-widget-modal-header-background);padding:var(--brella-widget-padding-base);font-weight:600}.brella-modal-close-button{color:var(--brella-widget-text-color);border:0;background:transparent;position:absolute;top:0;right:0;padding:12px;cursor:pointer}.brella-speaker-modal-assignment{padding:var(--brella-widget-padding-base);position:relative}.brella-speaker-modal-assignment-border{position:absolute;top:0;bottom:0;left:0;width:4px;border-radius:4px;background-color:var(--brella-color-gray-200)}.brella-speaker-modal-assignment-info{color:var(--brella-widget-text-muted-color);font-size:13px;letter-spacing:.05em;margin-bottom:var(--brella-widget-margin-base)}.brella-speaker-modal-assignment-title{margin-bottom:var(--brella-widget-margin-base)}.brella-speaker-modal-assignment-subtitle{color:var(--brella-widget-text-muted-color);margin-bottom:var(--brella-widget-margin-base)}.brella-speaker-modal-tag-container{display:flex;gap:var(--brella-widget-margin-half-base)}.brella-speaker-modal-tag{background-color:var(--brella-widget-speaker-tag-background);border-radius:var(--brella-widget-border-radius-small);padding:var(--brella-widget-margin-quarter-base) var(--brella-widget-margin-half-base)}.brella-speaker-profile-header{display:flex;gap:var(--brella-widget-padding-base);align-items:center;margin-bottom:var(--brella-widget-margin-three-quarters-base)}.brella-speaker-profile-avatar{overflow:hidden;background-color:var(--brella-color-gray-200);border-radius:var(--brella-widget-border-radius);width:100px;height:100px}.brella-speaker-profile-avatar img{object-fit:contain;width:100%;height:100%}.brella-speaker-profile-info{flex:1;min-width:0}.brella-speaker-profile-company-info{color:var(--brella-widget-text-muted-color);font-size:12px;margin-top:var(--brella-widget-padding-half-base)}.brella-speaker-profile-bio{font-size:14px;color:var(--brella-widget-color-text);line-height:1.5}.brella-speaker-profile-bio p{margin-top:var(--brella-widget-padding-base);margin-bottom:var(--brella-widget-padding-base)}.brella-speaker-profile-bio img{max-width:100%}.brella-speaker-modal .brella-modal-content-wrap{width:var(--brella-widget-speaker-modal-width)}.brella-speaker-modal-columns{display:grid;gap:var(--brella-widget-margin-three-quarters-base);grid-template-columns:repeat(auto-fill,minmax(calc(var(--brella-widget-speaker-modal-width) * .4),1fr))}.brella-speaker-modal-assignment-container{display:flex;flex-direction:column;gap:var(--brella-widget-margin-base)}.brella-speaker-search{display:flex;position:relative;max-width:340px;flex-grow:1}.brella-speaker-search-input{background:transparent;border:var(--brella-widget-input-border);padding:var(--brella-widget-padding-half-base);padding-left:var(--brella-widget-padding-double-base);border-radius:var(--brella-widget-border-radius-small);color:var(--brella-widget-text-color);width:100%}.brella-speaker-search-input:focus-visible{outline:2px solid var(--brella-color-primary-600)}.brella-speaker-search .brella-icon-search{position:absolute;top:var(--brella-widget-padding-half-base);left:var(--brella-widget-padding-half-base);color:var(--brella-color-primary-600)}@media only screen and (max-width: 641px){.brella-speaker-search{max-width:100%}}.brella-speaker-widget-no-search-hits{display:flex;flex-direction:column;align-items:center;margin:var(--brella-widget-margin-double-base)}.brella-speaker-widget-no-search-hits svg{color:var(--brella-color-primary-600);margin-bottom:var(--brella-widget-margin-double-base);max-width:400px}.brella-speaker-widget-no-search-hits-title{font-size:24px;text-align:center;margin:0}.brella-speaker-widget-no-search-hits-text{text-align:center;max-width:330px;line-height:1.5;color:var(--brella-widget-text-muted-color)}.brella-widget-speakers-disabled-feature h2{text-align:center;font-size:16px;line-height:1.5}:root{--brella-widget-min-speaker-card-width: 320px;--brella-widget-min-speaker-narrow-card-width: 180px;--brella-widget-speaker-gradient-rgb: 65, 62, 167;--brella-widget-speaker-modal-width: 750px;--brella-widget-speaker-card-background: var(--brella-color-white);--brella-widget-speaker-tag-background: var(--brella-color-gray-200)}.brella-widget-speaker-title-2{font-size:16px;font-weight:500;line-height:1.5;color:var(--brella-widget-text-color);padding:0}.brella-widget-grid-title{margin-top:0;margin-bottom:var(--brella-widget-margin-double-base)}.brella-widget-speaker-card-container{display:flex;flex-direction:column;gap:var(--brella-widget-margin-double-base)}.brella-widget-speaker-toolbar{display:flex;justify-content:flex-end}@media only screen and (max-width: 768px){.brella-widget-speaker-toolbar{margin-bottom:var(--brella-widget-margin-base)}}.brella-widget-select-select{position:relative;overflow:hidden;margin-bottom:24px;font-size:16px}.brella-widget-select-select:focus{outline:0}.brella-widget-select-select:last-child{margin-bottom:0}.brella-widget-select-select.is-open{overflow:visible}.brella-widget-select-select.is-disabled .brella-widget-select-select__inner,.brella-widget-select-select.is-disabled .brella-widget-select-select__input{background-color:#eaeaea;cursor:not-allowed;-webkit-user-select:none;user-select:none}.brella-widget-select-select.is-disabled .brella-widget-select-select__item{cursor:not-allowed}.brella-widget-select-select [hidden]{display:none!important}.brella-widget-select-select[data-type*=select-one]{cursor:pointer}.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__inner{padding-bottom:7.5px}.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__input{display:block;width:100%;padding:10px;border-bottom:1px solid #ddd;background-color:#fff;margin:0}.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:.25}.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__button:focus,.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__button:hover{opacity:1}.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__button:focus{box-shadow:0 0 0 2px #00bcd4}.brella-widget-select-select[data-type*=select-one] .brella-widget-select-select__item[data-value=""] .brella-widget-select-select__button{display:none}.brella-widget-select-select[data-type*=select-one]:after{content:"";height:0;width:0;border-style:solid;border-color:#333 transparent transparent;border-width:5px;position:absolute;right:11.5px;top:50%;margin-top:-2.5px;pointer-events:none}.brella-widget-select-select[data-type*=select-one].is-open:after{border-color:transparent transparent #333;margin-top:-7.5px}.brella-widget-select-select[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.brella-widget-select-select[data-type*=select-one][dir=rtl] .brella-widget-select-select__button{right:auto;left:0;margin-left:25px;margin-right:0}.brella-widget-select-select[data-type*=select-multiple] .brella-widget-select-select__inner,.brella-widget-select-select[data-type*=text] .brella-widget-select-select__inner{cursor:text}.brella-widget-select-select[data-type*=select-multiple] .brella-widget-select-select__button,.brella-widget-select-select[data-type*=text] .brella-widget-select-select__button{position:relative;display:inline-block;margin:0 -4px 0 8px;padding-left:16px;border-left:1px solid #008fa1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.brella-widget-select-select[data-type*=select-multiple] .brella-widget-select-select__button:focus,.brella-widget-select-select[data-type*=select-multiple] .brella-widget-select-select__button:hover,.brella-widget-select-select[data-type*=text] .brella-widget-select-select__button:focus,.brella-widget-select-select[data-type*=text] .brella-widget-select-select__button:hover{opacity:1}.brella-widget-select-select__inner{display:inline-block;vertical-align:top;width:100%;background-color:#f9f9f9;padding:7.5px 7.5px 3.75px;border:1px solid #ddd;border-radius:2.5px;font-size:14px;min-height:44px;overflow:hidden}.is-focused .brella-widget-select-select__inner,.is-open .brella-widget-select-select__inner{border-color:#b7b7b7}.is-open .brella-widget-select-select__inner{border-radius:2.5px 2.5px 0 0}.is-flipped.is-open .brella-widget-select-select__inner{border-radius:0 0 2.5px 2.5px}.brella-widget-select-select__list{margin:0;padding-left:0;list-style:none}.brella-widget-select-select__list--single{display:inline-block;padding:4px 16px 4px 4px;width:100%}[dir=rtl] .brella-widget-select-select__list--single{padding-right:4px;padding-left:16px}.brella-widget-select-select__list--single .brella-widget-select-select__item{width:100%}.brella-widget-select-select__list--multiple{display:inline}.brella-widget-select-select__list--multiple .brella-widget-select-select__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#00bcd4;border:1px solid #00a5bb;color:#fff;word-break:break-all;box-sizing:border-box}.brella-widget-select-select__list--multiple .brella-widget-select-select__item[data-deletable]{padding-right:5px}[dir=rtl] .brella-widget-select-select__list--multiple .brella-widget-select-select__item{margin-right:0;margin-left:3.75px}.brella-widget-select-select__list--multiple .brella-widget-select-select__item.is-highlighted{background-color:#00a5bb;border:1px solid #008fa1}.is-disabled .brella-widget-select-select__list--multiple .brella-widget-select-select__item{background-color:#aaa;border:1px solid #919191}.brella-widget-select-select__list--dropdown,.brella-widget-select-select__list[aria-expanded]{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:#fff;border:1px solid #ddd;top:100%;margin-top:-1px;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility}.is-active.brella-widget-select-select__list--dropdown,.is-active.brella-widget-select-select__list[aria-expanded]{visibility:visible}.is-open .brella-widget-select-select__list--dropdown,.is-open .brella-widget-select-select__list[aria-expanded]{border-color:#b7b7b7}.is-flipped .brella-widget-select-select__list--dropdown,.is-flipped .brella-widget-select-select__list[aria-expanded]{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.brella-widget-select-select__list--dropdown .brella-widget-select-select__list,.brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.brella-widget-select-select__list--dropdown .brella-widget-select-select__item,.brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item{position:relative;padding:10px;font-size:14px}[dir=rtl] .brella-widget-select-select__list--dropdown .brella-widget-select-select__item,[dir=rtl] .brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item{text-align:right}@media (min-width:640px){.brella-widget-select-select__list--dropdown .brella-widget-select-select__item--selectable,.brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item--selectable{padding-right:100px}.brella-widget-select-select__list--dropdown .brella-widget-select-select__item--selectable:after,.brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item--selectable:after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}[dir=rtl] .brella-widget-select-select__list--dropdown .brella-widget-select-select__item--selectable,[dir=rtl] .brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item--selectable{text-align:right;padding-left:100px;padding-right:10px}[dir=rtl] .brella-widget-select-select__list--dropdown .brella-widget-select-select__item--selectable:after,[dir=rtl] .brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item--selectable:after{right:auto;left:10px}}.brella-widget-select-select__list--dropdown .brella-widget-select-select__item--selectable.is-highlighted,.brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item--selectable.is-highlighted{background-color:#f2f2f2}.brella-widget-select-select__list--dropdown .brella-widget-select-select__item--selectable.is-highlighted:after,.brella-widget-select-select__list[aria-expanded] .brella-widget-select-select__item--selectable.is-highlighted:after{opacity:.5}.brella-widget-select-select__item{cursor:default}.brella-widget-select-select__item--selectable{cursor:pointer}.brella-widget-select-select__item--disabled{cursor:not-allowed;-webkit-user-select:none;user-select:none;opacity:.5}.brella-widget-select-select__heading{font-weight:600;font-size:12px;padding:10px;border-bottom:1px solid #f7f7f7;color:gray}.brella-widget-select-select__button{text-indent:-9999px;-webkit-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.brella-widget-select-select__button:focus,.brella-widget-select-select__input:focus{outline:0}.brella-widget-select-select__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:14px;margin-bottom:5px;border:0;border-radius:0;max-width:100%;padding:4px 0 4px 2px}.brella-widget-select-select__input::-webkit-search-cancel-button,.brella-widget-select-select__input::-webkit-search-decoration,.brella-widget-select-select__input::-webkit-search-results-button,.brella-widget-select-select__input::-webkit-search-results-decoration{display:none}.brella-widget-select-select__input::-ms-clear,.brella-widget-select-select__input::-ms-reveal{display:none;width:0;height:0}[dir=rtl] .brella-widget-select-select__input{padding-right:2px;padding-left:0}.brella-widget-select-select__placeholder{opacity:.5}:root{--brella-widget-min-large-sponsor-card-width: 320px;--brella-widget-min-medium-sponsor-card-width: 220px;--brella-widget-min-small-sponsor-card-width: 160px;--brella-widget-sponsor-border: 1px solid #F0F0F0;--brella-widget-sponsor-image-background-color: #FFF}.brella-sponsor-modal .brella-modal-content{padding:0}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); (function(Zn){typeof define=="function"&&define.amd?define(Zn):Zn()})((function(){"use strict";var Zn,oe,_5,ja,C5,w5,zo={},E5=[],TE=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Dn(e,t){for(var r in t)e[r]=t[r];return e}function T5(e){var t=e.parentNode;t&&t.removeChild(e)}function he(e,t,r){var n,i,a,o={};for(a in t)a=="key"?n=t[a]:a=="ref"?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?Zn.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return Ua(e,o,n,i,null)}function Ua(e,t,r,n,i){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++_5};return i==null&&oe.vnode!=null&&oe.vnode(a),a}function fi(){return{current:null}}function Le(e){return e.children}function st(e,t){this.props=e,this.context=t}function za(e,t){if(t==null)return e.__?za(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t0?Ua(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null){if(p.__=r,p.__b=r.__b+1,(h=_[c])===null||h&&p.key==h.key&&p.type===h.type)_[c]=void 0;else for(f=0;f2&&(o.children=arguments.length>3?Zn.call(arguments,2):r),Ua(e.type,o,n||e.key,i||e.ref,null)}function An(e,t){var r={__c:t="__cC"+w5++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,a;return this.getChildContext||(i=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(xu)},this.sub=function(o){i.push(o);var s=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),s&&s.call(o)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Zn=E5.slice,oe={__e:function(e,t,r,n){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),o=i.__d),o)return i.__E=i}catch(s){e=s}throw e}},_5=0,st.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Dn({},this.state),typeof e=="function"&&(e=e(Dn({},r),this.props)),e&&Dn(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),xu(this))},st.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),xu(this))},st.prototype.render=Le,ja=[],Wo.__r=0,w5=0;var FE=function(e){return e.replace(/-([a-z])/gi,function(t,r){return r.toUpperCase()})},OE=function(){return document.currentScript||(function(){var e=document.getElementsByTagName("script");return e[e.length-1]})()},PE=function(e,t){t===void 0&&(t={});var r=e.attributes,n=Object.assign({},t);return Object.keys(r).forEach(function(i){if(r.hasOwnProperty(i)){var a=r[i].name;if(!a||typeof a!="string")return!1;var o=a.split(/(data-props?-)/).pop()||"";if(o=FE(o),a!==o){var s=r[i].nodeValue;n[o]=s}}}),[].forEach.call(e.getElementsByTagName("script"),function(i){var a={};if(i.hasAttribute("type")){if(i.getAttribute("type")!=="text/props"&&i.getAttribute("type")!=="application/json")return;try{a=JSON.parse(i.innerHTML)}catch(o){throw new Error(o)}Object.assign(n,a)}}),n},DE=function(e){var t=e.attributes,r=null;return Object.keys(t).forEach(function(n){if(t.hasOwnProperty(n)){var i=t[n].name;i==="data-mount-in"&&(r=t[n].nodeValue)}}),r},N5=function(e){var t=e.selector,r=e.inline,n=e.clientSpecified,i=[],a=OE();if(r===!0){var o=a.parentNode;i.push(o)}return n===!0&&!t&&(t=DE(a)),t&&[].forEach.call(document.querySelectorAll(t),function(s){i.push(s)}),i},AE=function(e,t,r,n,i){t.forEach(function(a){var o=a;if(!o._habitat){o._habitat=!0;var s=PE(a,i)||i;return n&&(o.innerHTML=""),fn(he(e,s),o,r)}})},ME=function(e){var t=e,r=null,n=function(i){i===void 0&&(i={});var a=i.selector;a===void 0&&(a=null);var o=i.inline;o===void 0&&(o=!1);var s=i.clean;s===void 0&&(s=!1);var l=i.clientSpecified;l===void 0&&(l=!1);var u=i.defaultProps;u===void 0&&(u={});var c=N5({selector:a,inline:o,clientSpecified:l}),f=function(){if(c.length>0){var h=N5({selector:a,inline:o,clientSpecified:l});return AE(t,h,r,s,u)}};f(),document.addEventListener("DOMContentLoaded",f),document.addEventListener("load",f)};return{render:n}},IE=0;function d(e,t,r,n,i){var a,o,s={};for(o in t)o=="ref"?a=t[o]:s[o]=t[o];var l={type:e,props:s,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--IE,__source:i,__self:n};if(typeof e=="function"&&(a=e.defaultProps))for(o in a)s[o]===void 0&&(s[o]=a[o]);return oe.vnode&&oe.vnode(l),l}var hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ou={exports:{}},Pu={exports:{}},R5;function NE(){return R5||(R5=1,(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return t.rotl(r,8)&16711935|t.rotl(r,24)&4278255360;for(var n=0;n0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],i=0,a=0;i>>5]|=r[i]<<24-a%32;return n},wordsToBytes:function(r){for(var n=[],i=0;i>>5]>>>24-i%32&255);return n},bytesToHex:function(r){for(var n=[],i=0;i>>4).toString(16)),n.push((r[i]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],i=0;i>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],i=0,a=0;i>>6-a*2);return n}};Pu.exports=t})()),Pu.exports}var Du,L5;function B5(){if(L5)return Du;L5=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var r=[],n=0;n * @license MIT */var Au,$5;function RE(){if($5)return Au;$5=1,Au=function(r){return r!=null&&(e(r)||t(r)||!!r._isBuffer)};function e(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function t(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&e(r.slice(0,0))}return Au}var H5;function LE(){return H5||(H5=1,(function(){var e=NE(),t=B5().utf8,r=RE(),n=B5().bin,i=function(a,o){a.constructor==String?o&&o.encoding==="binary"?a=n.stringToBytes(a):a=t.stringToBytes(a):r(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var s=e.bytesToWords(a),l=a.length*8,u=1732584193,c=-271733879,f=-1732584194,h=271733878,p=0;p>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[l>>>5]|=128<>>9<<4)+14]=l;for(var g=i._ff,v=i._gg,m=i._hh,_=i._ii,p=0;p>>0,c=c+T>>>0,f=f+F>>>0,h=h+O>>>0}return e.endian([u,c,f,h])};i._ff=function(a,o,s,l,u,c,f){var h=a+(o&s|~o&l)+(u>>>0)+f;return(h<>>32-c)+o},i._gg=function(a,o,s,l,u,c,f){var h=a+(o&l|s&~l)+(u>>>0)+f;return(h<>>32-c)+o},i._hh=function(a,o,s,l,u,c,f){var h=a+(o^s^l)+(u>>>0)+f;return(h<>>32-c)+o},i._ii=function(a,o,s,l,u,c,f){var h=a+(s^(o|~l))+(u>>>0)+f;return(h<>>32-c)+o},i._blocksize=16,i._digestsize=16,Ou.exports=function(a,o){if(a==null)throw new Error("Illegal argument "+a);var s=e.wordsToBytes(i(a,o));return o&&o.asBytes?s:o&&o.asString?n.bytesToString(s):e.bytesToHex(s)}})()),Ou.exports}var BE=LE();const $E=pn(BE);function St(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function vt(e){return function t(r){return arguments.length===0||St(r)?t:e.apply(this,arguments)}}function De(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return St(r)?t:vt(function(i){return e(r,i)});default:return St(r)&&St(n)?t:St(r)?vt(function(i){return e(i,n)}):St(n)?vt(function(i){return e(r,i)}):e(r,n)}}}function Mu(e,t){e=e||[],t=t||[];var r,n=e.length,i=t.length,a=[];for(r=0;r=arguments.length)?s=t[o]:(s=arguments[i],i+=1),n[o]=s,St(s)||(a-=1),o+=1}return a<=0?r.apply(this,n):Yo(a,Go(e,n,r))}}var hi=De(function(t,r){return t===1?vt(r):Yo(t,Go(t,[],r))}),HE=vt(function(t){return hi(t.length,function(){var r=0,n=arguments[0],i=arguments[arguments.length-1],a=Array.prototype.slice.call(arguments,0);return a[0]=function(){var o=n.apply(this,Mu(arguments,[r,i]));return r+=1,o},t.apply(this,a)})});function Lr(e){return function t(r,n,i){switch(arguments.length){case 0:return t;case 1:return St(r)?t:De(function(a,o){return e(r,a,o)});case 2:return St(r)&&St(n)?t:St(r)?De(function(a,o){return e(a,n,o)}):St(n)?De(function(a,o){return e(r,a,o)}):vt(function(a){return e(r,n,a)});default:return St(r)&&St(n)&&St(i)?t:St(r)&&St(n)?De(function(a,o){return e(a,o,i)}):St(r)&&St(i)?De(function(a,o){return e(a,n,o)}):St(n)&&St(i)?De(function(a,o){return e(r,a,o)}):St(r)?vt(function(a){return e(a,n,i)}):St(n)?vt(function(a){return e(r,a,i)}):St(i)?vt(function(a){return e(r,n,a)}):e(r,n,i)}}}const Ui=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function qE(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function Yn(e,t,r){return function(){if(arguments.length===0)return r();var n=Array.prototype.slice.call(arguments,0),i=n.pop();if(!Ui(i)){for(var a=0;at?r:t});function Ko(e,t){for(var r=0,n=t.length,i=Array(n);r0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),UE=(function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e})();function zE(e){return new UE(e)}var WE=De(function(t,r){return Yo(t.length,function(){return t.apply(r,arguments)})});function VE(e,t,r){for(var n=0,i=r.length;n=0;)r=Z5[n],Xr(r,t)&&!KE(i,r)&&(i[i.length]=r),n-=1;return i}),Qr=De(Yn(["fantasy-land/map","map"],YE,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return hi(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return pi(function(n,i){return n[i]=t(r[i]),n},{},Gn(r));default:return Ko(t,r)}}));const XE=Number.isInteger||function(t){return t<<0===t};var Nu=De(function(t,r){var n=t<0?r.length+t:t;return Wa(r)?r.charAt(n):r[n]}),QE=De(function(t,r){return t.map(function(n){for(var i=r,a=0,o;aa?1:0}),Qo=Lr(function(t,r,n){var i={};for(var a in n)i[a]=n[a];return i[t]=r,i}),zi=vt(function(t){return t==null});function X5(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}var aT=De(function(t,r){var n=hi(t,r);return hi(t,function(){return pi(nT,Qr(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),oT=vt(function(t){return aT(t.length,t)}),sT=vt(function(t){return hi(t.length,t)});function lT(e){return function t(r){for(var n,i,a,o=[],s=0,l=r.length;s=0;){if(r[a]===e)return n[a]===t;a-=1}switch(i){case"Map":return e.size!==t.size?!1:t4(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:t4(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var o=Gn(e);if(o.length!==Gn(t).length)return!1;var s=r.concat([e]),l=n.concat([t]);for(a=o.length-1;a>=0;){var u=o[a];if(!(Xr(u,t)&&Hu(t[u],e[u],s,l)))return!1;a-=1}return!0}var gi=De(function(t,r){return Hu(t,r,[],[])});function yT(e,t,r){var n,i;if(typeof e.indexOf=="function")switch(typeof t){case"number":if(t===0){for(n=1/t;r=0}function qu(e){var t=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+t.replace(/"/g,'\\"')+'"'}var Za=function(t){return(t<10?"0":"")+t},_T=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Za(t.getUTCMonth()+1)+"-"+Za(t.getUTCDate())+"T"+Za(t.getUTCHours())+":"+Za(t.getUTCMinutes())+":"+Za(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function CT(e){return function(){return!e.apply(this,arguments)}}function r4(e,t){for(var r=0,n=t.length,i=[];r":n4(o,s)},n=function(a,o){return Ko(function(s){return qu(s)+": "+r(a[s])},o.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Ko(r,e).join(", ")+"))";case"[object Array]":return"["+Ko(r,e).concat(n(e,ju(function(a){return/^\d+$/.test(a)},Gn(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):qu(_T(e)))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+r(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object String]":return typeof e=="object"?"new String("+r(e.valueOf())+")":qu(e);case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var i=e.toString();if(i!=="[object Object]")return i}return"{"+n(e,Gn(e)).join(", ")+"}"}}var Uu=vt(function(t){return n4(t,[])}),i4=De(function(t,r){if(Ui(t)){if(Ui(r))return t.concat(r);throw new TypeError(Uu(r)+" is not an array")}if(Wa(t)){if(Wa(r))return t+r;throw new TypeError(Uu(r)+" is not a string")}if(t!=null&&X5(t["fantasy-land/concat"]))return t["fantasy-land/concat"](r);if(t!=null&&X5(t.concat))return t.concat(r);throw new TypeError(Uu(t)+' does not have a method named "concat" or "fantasy-land/concat"')}),TT=(function(){function e(t,r,n,i){this.valueFn=t,this.valueAcc=r,this.keyFn=n,this.xf=i,this.inputs={}}return e.prototype["@@transducer/init"]=Kr.init,e.prototype["@@transducer/result"]=function(t){var r;for(r in this.inputs)if(Xr(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]),t["@@transducer/reduced"])){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),t},e})(),kT=Go(4,[],function(t,r,n,i){return new TT(t,r,n,i)}),a4=Go(4,[],Yn([],kT,function(t,r,n,i){return pi(function(a,o){var s=n(o);return a[s]=t(Xr(s,a)?a[s]:cT(r,[],[]),o),a},{},i)})),es=De(function(t,r){return r==null||r!==r?t:r}),xT=(function(){function e(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return e.prototype.add=function(t){return!o4(t,!0,this)},e.prototype.has=function(t){return o4(t,!1,this)},e})();function o4(e,t,r){var n=typeof e,i,a;switch(n){case"string":case"number":return e===0&&1/e===-1/0?r._items["-0"]?!0:(t&&(r._items["-0"]=!0),!1):r._nativeSet!==null?t?(i=r._nativeSet.size,r._nativeSet.add(e),a=r._nativeSet.size,a===i):r._nativeSet.has(e):n in r._items?e in r._items[n]?!0:(t&&(r._items[n][e]=!0),!1):(t&&(r._items[n]={},r._items[n][e]=!0),!1);case"boolean":if(n in r._items){var o=e?1:0;return r._items[n][o]?!0:(t&&(r._items[n][o]=!0),!1)}else return t&&(r._items[n]=e?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?t?(i=r._nativeSet.size,r._nativeSet.add(e),a=r._nativeSet.size,a===i):r._nativeSet.has(e):n in r._items?Va(e,r._items[n])?!0:(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1);case"undefined":return r._items[n]?!0:(t&&(r._items[n]=!0),!1);case"object":if(e===null)return r._items.null?!0:(t&&(r._items.null=!0),!1);default:return n=Object.prototype.toString.call(e),n in r._items?Va(e,r._items[n])?!0:(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1)}}var ST=De(function(t,r){var n={};for(var i in r)n[i]=r[i];return delete n[t],n}),FT=(function(){function e(t,r){this.xf=r,this.n=t,this.i=0}return e.prototype["@@transducer/init"]=Kr.init,e.prototype["@@transducer/result"]=Kr.result,e.prototype["@@transducer/step"]=function(t,r){this.i+=1;var n=this.n===0?t:this.xf["@@transducer/step"](t,r);return this.n>=0&&this.i>=this.n?Iu(n):n},e})(),OT=De(function(t,r){return new FT(t,r)}),s4=De(Yn(["take"],OT,function(t,r){return Bu(0,t<0?1/0:t,r)}));function PT(e,t){return s4(e=0;){if(t(r[n]))return r[n];n-=1}})),l4=vt(lT()),qT=vt(function(t){return hi(t.length,function(r,n){var i=Array.prototype.slice.call(arguments,0);return i[0]=n,i[1]=r,t.apply(this,i)})}),jT=De(Lu("groupBy",a4(function(e,t){return e==null&&(e=[]),e.push(t),e},null))),UT=De(function(t,r){if(t.length===0||zi(r))return!1;for(var n=r,i=0;ir.length?(n=t,i=r):(n=r,i=t),ts(r4(qT(Va)(n),i))}),en=vt(function(t){return t!=null&&gi(t,IT(t))});function VT(e){return Object.prototype.toString.call(e)==="[object Number]"}var u4=vt(function(t){return t!=null&&VT(t.length)?t.length:NaN}),ZT=De(function(t,r){return pi(function(n,i){return n[i]=t(r[i],i,r),n},{},Gn(r))}),YT=Lr(function(t,r,n){var i={},a;for(a in r)Xr(a,r)&&(i[a]=Xr(a,n)?t(a,r[a],n[a]):r[a]);for(a in n)Xr(a,n)&&!Xr(a,i)&&(i[a]=n[a]);return i}),GT=Lr(function e(t,r,n){return YT(function(i,a,o){return Jo(a)&&Jo(o)?e(t,a,o):t(i,a,o)},r,n)}),Vu=De(function(t,r){return GT(function(n,i,a){return a},t,r)}),KT=Lr(function(t,r,n){return gi(xr(t,n),r)}),c4=Lr(function(t,r,n){return es(t,xr(r,n))}),XT=De(function(t,r){var n={};for(var i in r)t(r[i],i,r)&&(n[i]=r[i]);return n}),Zu=Lr(function(t,r,n){return gi(r,n[t])}),QT=Lr(function(t,r,n){return c4(t,[r],n)}),ns=Lr(function(t,r,n){return t(n[r])}),is=De(function(t,r){return Array.prototype.slice.call(r,0).sort(t)}),d4=De(function(t,r){return Array.prototype.slice.call(r,0).sort(function(n,i){var a=t(n),o=t(i);return ao?1:0})}),JT=De(function(t,r){return Array.prototype.slice.call(r,0).sort(function(n,i){for(var a=0,o=0;a===0&&o=r.__.length&&r.__.push({__V:as}),r.__[e]}function ue(e){return Vi=1,vi(k4,e)}function vi(e,t,r){var n=mi(In++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):k4(void 0,t),function(a){var o=n.__N?n.__N[0]:n.__[0],s=n.t(o,a);o!==s&&(n.__N=[s,n.__[1]],n.__c.setState({}))}],n.__c=Ft,!Ft.u)){Ft.u=!0;var i=Ft.shouldComponentUpdate;Ft.shouldComponentUpdate=function(a,o,s){if(!n.__c.__H)return!0;var l=n.__c.__H.__.filter(function(c){return c.__c});if(l.every(function(c){return!c.__N}))return!i||i.call(this,a,o,s);var u=!1;return l.forEach(function(c){if(c.__N){var f=c.__[0];c.__=c.__N,c.__N=void 0,f!==c.__[0]&&(u=!0)}}),!(!u&&n.__c.props===a)&&(!i||i.call(this,a,o,s))}}return n.__N||n.__}function Ie(e,t){var r=mi(In++,3);!oe.__s&&Ku(r.__H,t)&&(r.__=e,r.i=t,Ft.__H.__h.push(r))}function Kn(e,t){var r=mi(In++,4);!oe.__s&&Ku(r.__H,t)&&(r.__=e,r.i=t,Ft.__h.push(r))}function bt(e){return Vi=5,Nn(function(){return{current:e}},[])}function C4(e,t,r){Vi=6,Kn(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Nn(e,t){var r=mi(In++,7);return Ku(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Br(e,t){return Vi=8,Nn(function(){return e},t)}function tn(e){var t=Ft.context[e.__c],r=mi(In++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Ft)),t.props.value):e.__}function w4(e,t){oe.useDebugValue&&oe.useDebugValue(t?t(e):e)}function tk(e){var t=mi(In++,10),r=ue();return t.__=e,Ft.componentDidCatch||(Ft.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function E4(){var e=mi(In++,11);return e.__||(e.__="P"+(function(t){for(var r=0,n=t.length;n>0;)r=(r<<5)-r+t.charCodeAt(--n)|0;return r})(Ft.__v.__m)+In),e.__}function rk(){for(var e;e=g4.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(os),e.__H.__h.forEach(Gu),e.__H.__h=[]}catch(t){e.__H.__h=[],oe.__e(t,e.__v)}}oe.__b=function(e){typeof e.type!="function"||e.__m||e.__===null?e.__m||(e.__m=e.__&&e.__.__m?e.__.__m:""):e.__m=(e.__&&e.__.__m?e.__.__m:"")+(e.__&&e.__.__k?e.__.__k.indexOf(e):0),Ft=null,m4&&m4(e)},oe.__r=function(e){v4&&v4(e),In=0;var t=(Ft=e.__c).__H;t&&(Yu===Ft?(t.__h=[],Ft.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=as,r.__N=r.i=void 0})):(t.__h.forEach(os),t.__h.forEach(Gu),t.__h=[])),Yu=Ft},oe.diffed=function(e){b4&&b4(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(g4.push(t)!==1&&p4===oe.requestAnimationFrame||((p4=oe.requestAnimationFrame)||nk)(rk)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==as&&(r.__=r.__V),r.i=void 0,r.__V=as})),Yu=Ft=null},oe.__c=function(e,t){t.some(function(r){try{r.__h.forEach(os),r.__h=r.__h.filter(function(n){return!n.__||Gu(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],oe.__e(n,r.__v)}}),y4&&y4(e,t)},oe.unmount=function(e){_4&&_4(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{os(n)}catch(i){t=i}}),r.__H=void 0,t&&oe.__e(t,r.__v))};var T4=typeof requestAnimationFrame=="function";function nk(e){var t,r=function(){clearTimeout(n),T4&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);T4&&(t=requestAnimationFrame(r))}function os(e){var t=Ft,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Ft=t}function Gu(e){var t=Ft;e.__c=e.__(),Ft=t}function Ku(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function k4(e,t){return typeof t=="function"?t(e):t}function x4(e,t){for(var r in t)e[r]=t[r];return e}function Xu(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function ss(e){this.props=e}function S4(e,t){function r(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),t?!t(this.props,i)||!o:Xu(this.props,i)}function n(i){return this.shouldComponentUpdate=r,he(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(ss.prototype=new st).isPureReactComponent=!0,ss.prototype.shouldComponentUpdate=function(e,t){return Xu(this.props,e)||Xu(this.state,t)};var F4=oe.__b;oe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),F4&&F4(e)};var ik=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Qu(e){function t(r){var n=x4({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ik,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var O4=function(e,t){return e==null?null:Lt(Lt(e).map(t))},P4={map:O4,forEach:O4,count:function(e){return e?Lt(e).length:0},only:function(e){var t=Lt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Lt},ak=oe.__e;oe.__e=function(e,t,r,n){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}ak(e,t,r,n)};var D4=oe.unmount;function A4(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=x4({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return A4(n,t,r)})),e}function M4(e,t,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return M4(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}function Ya(){this.__u=0,this.t=null,this.__b=null}function I4(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function N4(e){var t,r,n;function i(a){if(t||(t=e()).then(function(o){r=o.default||o},function(o){n=o}),n)throw n;if(!r)throw t;return he(r,a)}return i.displayName="Lazy",i.__f=!0,i}function Zi(){this.u=null,this.o=null}oe.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),D4&&D4(e)},(Ya.prototype=new st).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=I4(n.__v),a=!1,o=function(){a||(a=!0,r.__R=null,i?i(s):s())};r.__R=o;var s=function(){if(!--n.__u){if(n.state.__a){var u=n.state.__a;n.__v.__k[0]=M4(u,u.__c.__P,u.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.t.pop();)c.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(o,o)},Ya.prototype.componentWillUnmount=function(){this.t=[]},Ya.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=A4(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&he(Le,null,e.fallback);return i&&(i.__h=null),[he(Le,null,t.__a?null:e.children),i]};var R4=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.i.removeChild(n)}}),fn(he(ok,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Xn(e,t){var r=he(sk,{__v:e,i:t});return r.containerInfo=t,r}(Zi.prototype=new st).__a=function(e){var t=this,r=I4(t.__v),n=t.o.get(e);return n[0]++,function(i){var a=function(){t.props.revealOrder?(n.push(i),R4(t,e,n)):i()};r?r(a):a()}},Zi.prototype.render=function(e){this.u=null,this.o=new Map;var t=Lt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Zi.prototype.componentDidUpdate=Zi.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){R4(e,r,t)})};var L4=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,lk=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,uk=typeof document<"u",ck=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function B4(e,t,r){return t.__k==null&&(t.textContent=""),fn(e,t),typeof r=="function"&&r(),e?e.__c:null}function $4(e,t,r){return Fu(e,t),typeof r=="function"&&r(),e?e.__c:null}st.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(st.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var H4=oe.event;function dk(){}function fk(){return this.cancelBubble}function hk(){return this.defaultPrevented}oe.event=function(e){return H4&&(e=H4(e)),e.persist=dk,e.isPropagationStopped=fk,e.isDefaultPrevented=hk,e.nativeEvent=e};var q4,j4={configurable:!0,get:function(){return this.class}},U4=oe.vnode;oe.vnode=function(e){var t=e.type,r=e.props,n=r;if(typeof t=="string"){var i=t.indexOf("-")===-1;for(var a in n={},r){var o=r[a];uk&&a==="children"&&t==="noscript"||a==="value"&&"defaultValue"in r&&o==null||(a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&o===!0?o="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!ck(r.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():i&&lk.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():o===null&&(o=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),n[a]&&(a="oninputCapture")),n[a]=o)}t=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=Lt(r.children).forEach(function(s){s.props.selected=n.value.indexOf(s.props.value)!=-1})),t=="select"&&n.defaultValue!=null&&(n.value=Lt(r.children).forEach(function(s){s.props.selected=n.multiple?n.defaultValue.indexOf(s.props.value)!=-1:n.defaultValue==s.props.value})),e.props=n,r.class!=r.className&&(j4.enumerable="className"in r,r.className!=null&&(n.class=r.className),Object.defineProperty(n,"className",j4))}e.$$typeof=L4,U4&&U4(e)};var z4=oe.__r;oe.__r=function(e){z4&&z4(e),q4=e.__c};var W4={ReactCurrentDispatcher:{current:{readContext:function(e){return q4.__n[e.__c].props.value}}}},pk="17.0.2";function V4(e){return he.bind(null,e)}function Ju(e){return!!e&&e.$$typeof===L4}function Z4(e){return Ju(e)?Zo.apply(null,arguments):e}function Y4(e){return!!e.__k&&(fn(null,e),!0)}function G4(e){return e&&(e.base||e.nodeType===1&&e)||null}var K4=function(e,t){return e(t)},X4=function(e,t){return e(t)},Q4=Le;function ec(e){e()}function J4(e){return e}function ep(){return[!1,ec]}var tp=Kn;function rp(e,t){var r=t(),n=ue({h:{__:r,v:t}}),i=n[0].h,a=n[1];return Kn(function(){i.__=r,i.v=t,i.__!==t()&&a({h:i})},[e,r,t]),Ie(function(){return i.__!==i.v()&&a({h:i}),e(function(){i.__!==i.v()&&a({h:i})})},[e]),r}var Ne={useState:ue,useId:E4,useReducer:vi,useEffect:Ie,useLayoutEffect:Kn,useInsertionEffect:tp,useTransition:ep,useDeferredValue:J4,useSyncExternalStore:rp,startTransition:ec,useRef:bt,useImperativeHandle:C4,useMemo:Nn,useCallback:Br,useContext:tn,useDebugValue:w4,version:"17.0.2",Children:P4,render:B4,hydrate:$4,unmountComponentAtNode:Y4,createPortal:Xn,createElement:he,createContext:An,createFactory:V4,cloneElement:Z4,createRef:fi,Fragment:Le,isValidElement:Ju,findDOMNode:G4,Component:st,PureComponent:ss,memo:S4,forwardRef:Qu,flushSync:X4,unstable_batchedUpdates:K4,StrictMode:Q4,Suspense:Ya,SuspenseList:Zi,lazy:N4,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:W4};const np=Object.freeze(Object.defineProperty({__proto__:null,Children:P4,Component:st,Fragment:Le,PureComponent:ss,StrictMode:Q4,Suspense:Ya,SuspenseList:Zi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:W4,cloneElement:Z4,createContext:An,createElement:he,createFactory:V4,createPortal:Xn,createRef:fi,default:Ne,findDOMNode:G4,flushSync:X4,forwardRef:Qu,hydrate:$4,isValidElement:Ju,lazy:N4,memo:S4,render:B4,startTransition:ec,unmountComponentAtNode:Y4,unstable_batchedUpdates:K4,useCallback:Br,useContext:tn,useDebugValue:w4,useDeferredValue:J4,useEffect:Ie,useErrorBoundary:tk,useId:E4,useImperativeHandle:C4,useInsertionEffect:tp,useLayoutEffect:Kn,useMemo:Nn,useReducer:vi,useRef:bt,useState:ue,useSyncExternalStore:rp,useTransition:ep,version:pk},Symbol.toStringTag,{value:"Module"}));function gk(e){if(e.sheet)return e.sheet;for(var t=0;t0?sr(Gi,--Sr):0,Yi--,Zt===10&&(Yi=1,ds--),Zt}function $r(){return Zt=Sr2||Qa(Zt)>3?"":" "}function Fk(e,t){for(;--t&&$r()&&!(Zt<48||Zt>102||Zt>57&&Zt<65||Zt>70&&Zt<97););return Xa(e,hs()+(t<6&&vn()==32&&$r()==32))}function ac(e){for(;$r();)switch(Zt){case e:return Sr;case 34:case 39:e!==34&&e!==39&&ac(Zt);break;case 40:e===41&&ac(e);break;case 92:$r();break}return Sr}function Ok(e,t){for(;$r()&&e+Zt!==57;)if(e+Zt===84&&vn()===47)break;return"/*"+Xa(t,Sr-1)+"*"+us(e===47?e:$r())}function Pk(e){for(;!Qa(vn());)$r();return Xa(e,Sr)}function Dk(e){return up(gs("",null,null,null,[""],e=lp(e),0,[0],e))}function gs(e,t,r,n,i,a,o,s,l){for(var u=0,c=0,f=o,h=0,p=0,g=0,v=1,m=1,_=1,w=0,T="",F=i,O=a,M=n,H=T;m;)switch(g=w,w=$r()){case 40:if(g!=108&&sr(H,f-1)==58){nc(H+=at(ps(w),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:H+=ps(w);break;case 9:case 10:case 13:case 32:H+=Sk(g);break;case 92:H+=Fk(hs()-1,7);continue;case 47:switch(vn()){case 42:case 47:cs(Ak(Ok($r(),hs()),t,r),l);break;default:H+="/"}break;case 123*v:s[u++]=mn(H)*_;case 125*v:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+c:_==-1&&(H=at(H,/\f/g,"")),p>0&&mn(H)-f&&cs(p>32?dp(H+";",n,r,f-1):dp(at(H," ","")+";",n,r,f-2),l);break;case 59:H+=";";default:if(cs(M=cp(H,t,r,u,c,i,s,T,F=[],O=[],f),a),w===123)if(c===0)gs(H,t,M,M,F,a,f,s,O);else switch(h===99&&sr(H,3)===110?100:h){case 100:case 108:case 109:case 115:gs(e,M,M,n&&cs(cp(e,M,M,0,0,i,s,T,i,F=[],f),O),i,O,f,s,n?F:O);break;default:gs(H,M,M,M,[""],O,0,s,O)}}u=c=p=0,v=_=1,T=H="",f=o;break;case 58:f=1+mn(H),p=g;default:if(v<1){if(w==123)--v;else if(w==125&&v++==0&&xk()==125)continue}switch(H+=us(w),w*v){case 38:_=c>0?1:(H+="\f",-1);break;case 44:s[u++]=(mn(H)-1)*_,_=1;break;case 64:vn()===45&&(H+=ps($r())),h=vn(),c=f=mn(T=H+=Pk(hs())),w++;break;case 45:g===45&&mn(H)==2&&(v=0)}}return a}function cp(e,t,r,n,i,a,o,s,l,u,c){for(var f=i-1,h=i===0?a:[""],p=ic(h),g=0,v=0,m=0;g0?h[_]+" "+w:at(w,/&\f/g,h[_])))&&(l[m++]=T);return fs(e,t,r,i===0?tc:s,l,u,c)}function Ak(e,t,r){return fs(e,t,r,ip,us(kk()),Ga(e,2,-2),0)}function dp(e,t,r,n){return fs(e,t,r,rc,Ga(e,0,n),Ga(e,n+1,-1),n)}function Ki(e,t){for(var r="",n=ic(e),i=0;i6)switch(sr(e,t+1)){case 109:if(sr(e,t+4)!==45)break;case 102:return at(e,/(.+:)(.+)-([^]+)/,"$1"+it+"$2-$3$1"+ls+(sr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nc(e,"stretch")?pp(at(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(sr(e,t+1)!==115)break;case 6444:switch(sr(e,mn(e)-3-(~nc(e,"!important")&&10))){case 107:return at(e,":",":"+it)+e;case 101:return at(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+it+(sr(e,14)===45?"inline-":"")+"box$3$1"+it+"$2$3$1"+hr+"$2box$3")+e}break;case 5936:switch(sr(e,t+11)){case 114:return it+e+hr+at(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return it+e+hr+at(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return it+e+hr+at(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return it+e+hr+e+e}return e}var qk=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case rc:t.return=pp(t.value,t.length);break;case ap:return Ki([Ka(t,{value:at(t.value,"@","@"+it)})],i);case tc:if(t.length)return Tk(t.props,function(a){switch(Ek(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ki([Ka(t,{props:[at(a,/:(read-\w+)/,":"+ls+"$1")]})],i);case"::placeholder":return Ki([Ka(t,{props:[at(a,/:(plac\w+)/,":"+it+"input-$1")]}),Ka(t,{props:[at(a,/:(plac\w+)/,":"+ls+"$1")]}),Ka(t,{props:[at(a,/:(plac\w+)/,hr+"input-$1")]})],i)}return""})}},jk=[qk],Uk=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var m=v.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||jk,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var m=v.getAttribute("data-emotion").split(" "),_=1;_=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Kk={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,scale: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},Xk=/[A-Z]|^ms/g,Qk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Cp=function(t){return t.charCodeAt(1)===45},wp=function(t){return t!=null&&typeof t!="boolean"},lc=fp(function(e){return Cp(e)?e:e.replace(Xk,"-$&").toLowerCase()}),Ep=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Qk,function(n,i,a){return bn={name:i,styles:a,next:bn},i})}return Kk[t]!==1&&!Cp(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ja(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return bn={name:i.name,styles:i.styles,next:bn},i.name;var a=r;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)bn={name:o.name,styles:o.styles,next:bn},o=o.next;var s=a.styles+";";return s}return Jk(e,t,r)}case"function":{if(e!==void 0){var l=bn,u=r(e);return bn=l,Ja(e,t,u)}break}}var c=r;if(t==null)return c;var f=t[c];return f!==void 0?f:c}function Jk(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i=arguments.length)?s=t[o]:(s=arguments[i],i+=1),n[o]=s,Ot(s)||(a-=1),o+=1}return a<=0?r.apply(this,n):bs(a,Pp(e,n,r))}}var xx=Cr(function(e,t){return e===1?Fr(t):bs(e,Pp(e,[],t))});const Sx=xx;function Dp(e){return function t(r,n,i){switch(arguments.length){case 0:return t;case 1:return Ot(r)?t:Cr(function(a,o){return e(r,a,o)});case 2:return Ot(r)&&Ot(n)?t:Ot(r)?Cr(function(a,o){return e(a,n,o)}):Ot(n)?Cr(function(a,o){return e(r,a,o)}):Fr(function(a){return e(r,n,a)});default:return Ot(r)&&Ot(n)&&Ot(i)?t:Ot(r)&&Ot(n)?Cr(function(a,o){return e(a,o,i)}):Ot(r)&&Ot(i)?Cr(function(a,o){return e(a,n,o)}):Ot(n)&&Ot(i)?Cr(function(a,o){return e(r,a,o)}):Ot(r)?Fr(function(a){return e(a,n,i)}):Ot(n)?Fr(function(a){return e(r,a,i)}):Ot(i)?Fr(function(a){return e(r,n,a)}):e(r,n,i)}}}const fc=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Fx(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function Ap(e,t,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!fc(n)){for(var i=0;i0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1});const Dx=Px;var Ax=(function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e})();function Mx(e){return new Ax(e)}var Ix=Cr(function(e,t){return bs(e.length,function(){return e.apply(t,arguments)})});const Nx=Ix;function Rx(e,t,r){for(var n=0,i=r.length;n=0;)t=Lp[r],gc(t,e)&&!Ux(n,t)&&(n[n.length]=t),r-=1;return n});const mc=zx;var Wx=Cr(Ap(["fantasy-land/map","map"],$x,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Sx(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return pc(function(r,n){return r[n]=e(t[n]),r},{},mc(t));default:return Ox(e,t)}}));const Vx=Wx,Zx=Number.isInteger||function(e){return e<<0===e};var Yx=Cr(function(e,t){var r=e<0?t.length+e:e;return hc(t)?t.charAt(r):t[r]});const Gx=Yx;var Kx=Dp(pc);const Xx=Kx;function Qx(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var Jx=Fr(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});const eS=Jx;function $p(e,t,r,n){var i=function(a){for(var o=t.length,s=0;sCS(r,e)))}function CS(e,t){const r=e.replace(/(\[|\{)/gi,"").replace(/(\]|\})/gi,"");return _S(r.split("."),t)||""}function lr(e,t){wS(e)&&(e="100%");const r=ES(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Cs(e){return Math.min(1,Math.max(0,e))}function wS(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function ES(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qp(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ws(e){return Number(e)<=1?`${Number(e)*100}%`:e}function bi(e){return e.length===1?"0"+e:String(e)}function TS(e,t,r){return{r:lr(e,255)*255,g:lr(t,255)*255,b:lr(r,255)*255}}function jp(e,t,r){e=lr(e,255),t=lr(t,255),r=lr(r,255);const n=Math.max(e,t,r),i=Math.min(e,t,r);let a=0,o=0;const s=(n+i)/2;if(n===i)o=0,a=0;else{const l=n-i;switch(o=s>.5?l/(2-n-i):l/(n+i),n){case e:a=(t-r)/l+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function kS(e,t,r){let n,i,a;if(e=lr(e,360),t=lr(t,100),r=lr(r,100),t===0)i=r,a=r,n=r;else{const o=r<.5?r*(1+t):r+t-r*t,s=2*r-o;n=vc(s,o,e+1/3),i=vc(s,o,e),a=vc(s,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function Up(e,t,r){e=lr(e,255),t=lr(t,255),r=lr(r,255);const n=Math.max(e,t,r),i=Math.min(e,t,r);let a=0;const o=n,s=n-i,l=n===0?0:s/n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/s+(t>16,g:(e&65280)>>8,b:e&255}}const bc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function PS(e){let t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,s=!1;return typeof e=="string"&&(e=MS(e)),typeof e=="object"&&(Rn(e.r)&&Rn(e.g)&&Rn(e.b)?(t=TS(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Rn(e.h)&&Rn(e.s)&&Rn(e.v)?(n=ws(e.s),i=ws(e.v),t=xS(e.h,n,i),o=!0,s="hsv"):Rn(e.h)&&Rn(e.s)&&Rn(e.l)&&(n=ws(e.s),a=ws(e.l),t=kS(e.h,n,a),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=qp(r),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}const DS="[-\\+]?\\d+%?",AS="[-\\+]?\\d*\\.\\d+%?",Qn="(?:"+AS+")|(?:"+DS+")",yc="[\\s|\\(]+("+Qn+")[,|\\s]+("+Qn+")[,|\\s]+("+Qn+")\\s*\\)?",_c="[\\s|\\(]+("+Qn+")[,|\\s]+("+Qn+")[,|\\s]+("+Qn+")[,|\\s]+("+Qn+")\\s*\\)?",rn={CSS_UNIT:new RegExp(Qn),rgb:new RegExp("rgb"+yc),rgba:new RegExp("rgba"+_c),hsl:new RegExp("hsl"+yc),hsla:new RegExp("hsla"+_c),hsv:new RegExp("hsv"+yc),hsva:new RegExp("hsva"+_c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function MS(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(bc[e])e=bc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let r=rn.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=rn.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=rn.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=rn.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=rn.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=rn.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=rn.hex8.exec(e),r?{r:Hr(r[1]),g:Hr(r[2]),b:Hr(r[3]),a:Wp(r[4]),format:t?"name":"hex8"}:(r=rn.hex6.exec(e),r?{r:Hr(r[1]),g:Hr(r[2]),b:Hr(r[3]),format:t?"name":"hex"}:(r=rn.hex4.exec(e),r?{r:Hr(r[1]+r[1]),g:Hr(r[2]+r[2]),b:Hr(r[3]+r[3]),a:Wp(r[4]+r[4]),format:t?"name":"hex8"}:(r=rn.hex3.exec(e),r?{r:Hr(r[1]+r[1]),g:Hr(r[2]+r[2]),b:Hr(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Rn(e){return!!rn.CSS_UNIT.exec(String(e))}let Jn=class Qt{constructor(t="",r={}){var n;if(t instanceof Qt)return t;typeof t=="number"&&(t=OS(t)),this.originalInput=t;const i=PS(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!=null?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let r,n,i;const a=t.r/255,o=t.g/255,s=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i}getAlpha(){return this.a}setAlpha(t){return this.a=qp(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=Up(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=Up(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?`hsv(${r}, ${n}%, ${i}%)`:`hsva(${r}, ${n}%, ${i}%, ${this.roundA})`}toHsl(){const t=jp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=jp(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?`hsl(${r}, ${n}%, ${i}%)`:`hsla(${r}, ${n}%, ${i}%, ${this.roundA})`}toHex(t=!1){return zp(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return SS(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?`rgb(${t}, ${r}, ${n})`:`rgba(${t}, ${r}, ${n}, ${this.roundA})`}toPercentageRgb(){const t=r=>`${Math.round(lr(r,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=r=>Math.round(lr(r,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+zp(this.r,this.g,this.b,!1);for(const[r,n]of Object.entries(bc))if(t===n)return r;return!1}toString(t){const r=!!t;t=t??this.format;let n=!1;const i=this.a<1&&this.a>=0;return!r&&i&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Qt(this.toString())}lighten(t=10){const r=this.toHsl();return r.l+=t/100,r.l=Cs(r.l),new Qt(r)}brighten(t=10){const r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new Qt(r)}darken(t=10){const r=this.toHsl();return r.l-=t/100,r.l=Cs(r.l),new Qt(r)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const r=this.toHsl();return r.s-=t/100,r.s=Cs(r.s),new Qt(r)}saturate(t=10){const r=this.toHsl();return r.s+=t/100,r.s=Cs(r.s),new Qt(r)}greyscale(){return this.desaturate(100)}spin(t){const r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new Qt(r)}mix(t,r=50){const n=this.toRgb(),i=new Qt(t).toRgb(),a=r/100,o={r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a};return new Qt(o)}analogous(t=6,r=30){const n=this.toHsl(),i=360/r,a=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(new Qt(n));return a}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new Qt(t)}monochromatic(t=6){const r=this.toHsv(),{h:n}=r,{s:i}=r;let{v:a}=r;const o=[],s=1/t;for(;t--;)o.push(new Qt({h:n,s:i,v:a})),a=(a+s)%1;return o}splitcomplement(){const t=this.toHsl(),{h:r}=t;return[this,new Qt({h:(r+72)%360,s:t.s,l:t.l}),new Qt({h:(r+216)%360,s:t.s,l:t.l})]}onBackground(t){const r=this.toRgb(),n=new Qt(t).toRgb(),i=r.a+n.a*(1-r.a);return new Qt({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const r=this.toHsl(),{h:n}=r,i=[this],a=360/t;for(let o=1;o0?r=o:t=o;while(Math.abs(a)>BS&&++s<$S);return o}function jS(e,t,r,n){for(var i=0;i=LS?jS(s,h,e,r):p===0?h:qS(s,l,l+Es,e,r)}return function(s){return s===0?0:s===1?1:Ts(o(s),t,n)}},Xp={exports:{}};/** * chroma.js - JavaScript library for color conversions * * Copyright (c) 2011-2019, Gregor Aisch * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * 3. The name Gregor Aisch may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * ------------------------------------------------------- * * chroma.js includes colors from colorbrewer2.org, which are released under * the following license: * * Copyright (c) 2002 Cynthia Brewer, Mark Harrower, * and The Pennsylvania State University. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the License. * * ------------------------------------------------------ * * Named colors are taken from X11 Color Names. * http://www.w3.org/TR/css3-color/#svg-color * * @preserve */var Qp;function Jp(){return Qp||(Qp=1,(function(e,t){(function(r,n){e.exports=n()})(NS,function(){for(var r=function(y,E,x){return E===void 0&&(E=0),x===void 0&&(x=1),yx?x:y},n=r,i=function(y){y._clipped=!1,y._unclipped=y.slice(0);for(var E=0;E<=3;E++)E<3?((y[E]<0||y[E]>255)&&(y._clipped=!0),y[E]=n(y[E],0,255)):E===3&&(y[E]=n(y[E],0,1));return y},a={},o=0,s=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];o=3?Array.prototype.slice.call(y):c(y[0])=="object"&&E?E.split("").filter(function(x){return y[0][x]!==void 0}).map(function(x){return y[0][x]}):y[0]},h=u,p=function(y){if(y.length<2)return null;var E=y.length-1;return h(y[E])=="string"?y[E].toLowerCase():null},g=Math.PI,v={clip_rgb:i,limit:r,type:u,unpack:f,last:p,TWOPI:g*2,PITHIRD:g/3,DEG2RAD:g/180,RAD2DEG:180/g},m={format:{},autodetect:[]},_=v.last,w=v.clip_rgb,T=v.type,F=m,O=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=this;if(T(y[0])==="object"&&y[0].constructor&&y[0].constructor===this.constructor)return y[0];var N=_(y),j=!1;if(!N){j=!0,F.sorted||(F.autodetect=F.autodetect.sort(function(Q,te){return te.p-Q.p}),F.sorted=!0);for(var z=0,$=F.autodetect;z<$.length;z+=1){var V=$[z];if(N=V.test.apply(V,y),N)break}}if(F.format[N]){var Z=F.format[N].apply(null,j?y:y.slice(0,-1));x._rgb=w(Z)}else throw new Error("unknown format: "+y);x._rgb.length===3&&x._rgb.push(1)};O.prototype.toString=function(){return T(this.hex)=="function"?this.hex():"["+this._rgb.join(",")+"]"};var M=O,H=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(H.Color,[null].concat(y)))};H.Color=M,H.version="2.4.2";var S=H,L=v.unpack,U=Math.max,D=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=L(y,"rgb"),N=x[0],j=x[1],z=x[2];N=N/255,j=j/255,z=z/255;var $=1-U(N,U(j,z)),V=$<1?1/(1-$):0,Z=(1-N-$)*V,Q=(1-j-$)*V,te=(1-z-$)*V;return[Z,Q,te,$]},b=D,C=v.unpack,k=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=C(y,"cmyk");var x=y[0],N=y[1],j=y[2],z=y[3],$=y.length>4?y[4]:1;return z===1?[0,0,0,$]:[x>=1?0:255*(1-x)*(1-z),N>=1?0:255*(1-N)*(1-z),j>=1?0:255*(1-j)*(1-z),$]},P=k,A=S,I=M,q=m,B=v.unpack,K=v.type,X=b;I.prototype.cmyk=function(){return X(this._rgb)},A.cmyk=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(I,[null].concat(y,["cmyk"])))},q.format.cmyk=P,q.autodetect.push({p:2,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=B(y,"cmyk"),K(y)==="array"&&y.length===4)return"cmyk"}});var re=v.unpack,ve=v.last,be=function(y){return Math.round(y*100)/100},Ee=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=re(y,"hsla"),N=ve(y)||"lsa";return x[0]=be(x[0]||0),x[1]=be(x[1]*100)+"%",x[2]=be(x[2]*100)+"%",N==="hsla"||x.length>3&&x[3]<1?(x[3]=x.length>3?x[3]:1,N="hsla"):x.length=3,N+"("+x.join(",")+")"},Ce=Ee,se=v.unpack,ce=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=se(y,"rgba");var x=y[0],N=y[1],j=y[2];x/=255,N/=255,j/=255;var z=Math.min(x,N,j),$=Math.max(x,N,j),V=($+z)/2,Z,Q;return $===z?(Z=0,Q=Number.NaN):Z=V<.5?($-z)/($+z):($-z)/(2-$-z),x==$?Q=(N-j)/($-z):N==$?Q=2+(j-x)/($-z):j==$&&(Q=4+(x-N)/($-z)),Q*=60,Q<0&&(Q+=360),y.length>3&&y[3]!==void 0?[Q,Z,V,y[3]]:[Q,Z,V]},Fe=ce,we=v.unpack,$e=v.last,ft=Ce,zt=Fe,pe=Math.round,rt=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=we(y,"rgba"),N=$e(y)||"rgb";return N.substr(0,3)=="hsl"?ft(zt(x),N):(x[0]=pe(x[0]),x[1]=pe(x[1]),x[2]=pe(x[2]),(N==="rgba"||x.length>3&&x[3]<1)&&(x[3]=x.length>3?x[3]:1,N="rgba"),N+"("+x.slice(0,N==="rgb"?3:4).join(",")+")")},Ye=rt,Oe=v.unpack,_e=Math.round,We=function(){for(var y,E=[],x=arguments.length;x--;)E[x]=arguments[x];E=Oe(E,"hsl");var N=E[0],j=E[1],z=E[2],$,V,Z;if(j===0)$=V=Z=z*255;else{var Q=[0,0,0],te=[0,0,0],de=z<.5?z*(1+j):z+j-z*j,ie=2*z-de,ge=N/360;Q[0]=ge+1/3,Q[1]=ge,Q[2]=ge-1/3;for(var me=0;me<3;me++)Q[me]<0&&(Q[me]+=1),Q[me]>1&&(Q[me]-=1),6*Q[me]<1?te[me]=ie+(de-ie)*6*Q[me]:2*Q[me]<1?te[me]=de:3*Q[me]<2?te[me]=ie+(de-ie)*(2/3-Q[me])*6:te[me]=ie;y=[_e(te[0]*255),_e(te[1]*255),_e(te[2]*255)],$=y[0],V=y[1],Z=y[2]}return E.length>3?[$,V,Z,E[3]]:[$,V,Z,1]},Be=We,kt=Be,Ht=m,Wt=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,Me=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Pr=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,jr=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Ur=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Dr=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Re=Math.round,Xe=function(y){y=y.toLowerCase().trim();var E;if(Ht.format.named)try{return Ht.format.named(y)}catch{}if(E=y.match(Wt)){for(var x=E.slice(1,4),N=0;N<3;N++)x[N]=+x[N];return x[3]=1,x}if(E=y.match(Me)){for(var j=E.slice(1,5),z=0;z<4;z++)j[z]=+j[z];return j}if(E=y.match(Pr)){for(var $=E.slice(1,4),V=0;V<3;V++)$[V]=Re($[V]*2.55);return $[3]=1,$}if(E=y.match(jr)){for(var Z=E.slice(1,5),Q=0;Q<3;Q++)Z[Q]=Re(Z[Q]*2.55);return Z[3]=+Z[3],Z}if(E=y.match(Ur)){var te=E.slice(1,4);te[1]*=.01,te[2]*=.01;var de=kt(te);return de[3]=1,de}if(E=y.match(Dr)){var ie=E.slice(1,4);ie[1]*=.01,ie[2]*=.01;var ge=kt(ie);return ge[3]=+E[4],ge}};Xe.test=function(y){return Wt.test(y)||Me.test(y)||Pr.test(y)||jr.test(y)||Ur.test(y)||Dr.test(y)};var Ct=Xe,Pt=S,Vt=M,Ar=m,on=v.type,cr=Ye,Kt=Ct;Vt.prototype.css=function(y){return cr(this._rgb,y)},Pt.css=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Vt,[null].concat(y,["css"])))},Ar.format.css=Kt,Ar.autodetect.push({p:5,test:function(y){for(var E=[],x=arguments.length-1;x-- >0;)E[x]=arguments[x+1];if(!E.length&&on(y)==="string"&&Kt.test(y))return"css"}});var Fn=M,ii=S,Un=m,ai=v.unpack;Un.format.gl=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=ai(y,"rgba");return x[0]*=255,x[1]*=255,x[2]*=255,x},ii.gl=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Fn,[null].concat(y,["gl"])))},Fn.prototype.gl=function(){var y=this._rgb;return[y[0]/255,y[1]/255,y[2]/255,y[3]]};var Mr=v.unpack,G=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=Mr(y,"rgb"),N=x[0],j=x[1],z=x[2],$=Math.min(N,j,z),V=Math.max(N,j,z),Z=V-$,Q=Z*100/255,te=$/(255-Z)*100,de;return Z===0?de=Number.NaN:(N===V&&(de=(j-z)/Z),j===V&&(de=2+(z-N)/Z),z===V&&(de=4+(N-j)/Z),de*=60,de<0&&(de+=360)),[de,Q,te]},R=G,Y=v.unpack,J=Math.floor,ee=function(){for(var y,E,x,N,j,z,$=[],V=arguments.length;V--;)$[V]=arguments[V];$=Y($,"hcg");var Z=$[0],Q=$[1],te=$[2],de,ie,ge;te=te*255;var me=Q*255;if(Q===0)de=ie=ge=te;else{Z===360&&(Z=0),Z>360&&(Z-=360),Z<0&&(Z+=360),Z/=60;var je=J(Z),Ve=Z-je,Je=te*(1-Q),ot=Je+me*(1-Ve),dr=Je+me*Ve,or=Je+me;switch(je){case 0:y=[or,dr,Je],de=y[0],ie=y[1],ge=y[2];break;case 1:E=[ot,or,Je],de=E[0],ie=E[1],ge=E[2];break;case 2:x=[Je,or,dr],de=x[0],ie=x[1],ge=x[2];break;case 3:N=[Je,ot,or],de=N[0],ie=N[1],ge=N[2];break;case 4:j=[dr,Je,or],de=j[0],ie=j[1],ge=j[2];break;case 5:z=[or,Je,ot],de=z[0],ie=z[1],ge=z[2];break}}return[de,ie,ge,$.length>3?$[3]:1]},ne=ee,le=v.unpack,fe=v.type,ye=S,Te=M,xe=m,He=R;Te.prototype.hcg=function(){return He(this._rgb)},ye.hcg=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Te,[null].concat(y,["hcg"])))},xe.format.hcg=ne,xe.autodetect.push({p:1,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=le(y,"hcg"),fe(y)==="array"&&y.length===3)return"hcg"}});var Qe=v.unpack,Dt=v.last,It=Math.round,Ir=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=Qe(y,"rgba"),N=x[0],j=x[1],z=x[2],$=x[3],V=Dt(y)||"auto";$===void 0&&($=1),V==="auto"&&(V=$<1?"rgba":"rgb"),N=It(N),j=It(j),z=It(z);var Z=N<<16|j<<8|z,Q="000000"+Z.toString(16);Q=Q.substr(Q.length-6);var te="0"+It($*255).toString(16);switch(te=te.substr(te.length-2),V.toLowerCase()){case"rgba":return"#"+Q+te;case"argb":return"#"+te+Q;default:return"#"+Q}},On=Ir,sn=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,oi=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,zn=function(y){if(y.match(sn)){(y.length===4||y.length===7)&&(y=y.substr(1)),y.length===3&&(y=y.split(""),y=y[0]+y[0]+y[1]+y[1]+y[2]+y[2]);var E=parseInt(y,16),x=E>>16,N=E>>8&255,j=E&255;return[x,N,j,1]}if(y.match(oi)){(y.length===5||y.length===9)&&(y=y.substr(1)),y.length===4&&(y=y.split(""),y=y[0]+y[0]+y[1]+y[1]+y[2]+y[2]+y[3]+y[3]);var z=parseInt(y,16),$=z>>24&255,V=z>>16&255,Z=z>>8&255,Q=Math.round((z&255)/255*100)/100;return[$,V,Z,Q]}throw new Error("unknown hex color: "+y)},$i=zn,V3=S,Oa=M,Nr=v.type,ln=m,Pn=On;Oa.prototype.hex=function(y){return Pn(this._rgb,y)},V3.hex=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Oa,[null].concat(y,["hex"])))},ln.format.hex=$i,ln.autodetect.push({p:4,test:function(y){for(var E=[],x=arguments.length-1;x-- >0;)E[x]=arguments[x+1];if(!E.length&&Nr(y)==="string"&&[3,4,5,6,7,8,9].indexOf(y.length)>=0)return"hex"}});var mu=v.unpack,Pa=v.TWOPI,si=Math.min,bw=Math.sqrt,zr=Math.acos,Da=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=mu(y,"rgb"),N=x[0],j=x[1],z=x[2];N/=255,j/=255,z/=255;var $,V=si(N,j,z),Z=(N+j+z)/3,Q=Z>0?1-V/Z:0;return Q===0?$=NaN:($=(N-j+(N-z))/2,$/=bw((N-j)*(N-j)+(N-z)*(j-z)),$=zr($),z>j&&($=Pa-$),$/=Pa),[$*360,Q,Z]},vu=Da,aV=v.unpack,Z3=v.limit,Aa=v.TWOPI,Y3=v.PITHIRD,Ma=Math.cos,oV=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=aV(y,"hsi");var x=y[0],N=y[1],j=y[2],z,$,V;return isNaN(x)&&(x=0),isNaN(N)&&(N=0),x>360&&(x-=360),x<0&&(x+=360),x/=360,x<1/3?(V=(1-N)/3,z=(1+N*Ma(Aa*x)/Ma(Y3-Aa*x))/3,$=1-(V+z)):x<2/3?(x-=1/3,z=(1-N)/3,$=(1+N*Ma(Aa*x)/Ma(Y3-Aa*x))/3,V=1-(z+$)):(x-=2/3,$=(1-N)/3,V=(1+N*Ma(Aa*x)/Ma(Y3-Aa*x))/3,z=1-($+V)),z=Z3(j*z*3),$=Z3(j*$*3),V=Z3(j*V*3),[z*255,$*255,V*255,y.length>3?y[3]:1]},sV=oV,lV=v.unpack,uV=v.type,cV=S,yw=M,_w=m,dV=vu;yw.prototype.hsi=function(){return dV(this._rgb)},cV.hsi=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(yw,[null].concat(y,["hsi"])))},_w.format.hsi=sV,_w.autodetect.push({p:2,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=lV(y,"hsi"),uV(y)==="array"&&y.length===3)return"hsi"}});var fV=v.unpack,hV=v.type,pV=S,Cw=M,ww=m,gV=Fe;Cw.prototype.hsl=function(){return gV(this._rgb)},pV.hsl=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Cw,[null].concat(y,["hsl"])))},ww.format.hsl=Be,ww.autodetect.push({p:2,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=fV(y,"hsl"),hV(y)==="array"&&y.length===3)return"hsl"}});var mV=v.unpack,vV=Math.min,bV=Math.max,yV=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=mV(y,"rgb");var x=y[0],N=y[1],j=y[2],z=vV(x,N,j),$=bV(x,N,j),V=$-z,Z,Q,te;return te=$/255,$===0?(Z=Number.NaN,Q=0):(Q=V/$,x===$&&(Z=(N-j)/V),N===$&&(Z=2+(j-x)/V),j===$&&(Z=4+(x-N)/V),Z*=60,Z<0&&(Z+=360)),[Z,Q,te]},_V=yV,CV=v.unpack,wV=Math.floor,EV=function(){for(var y,E,x,N,j,z,$=[],V=arguments.length;V--;)$[V]=arguments[V];$=CV($,"hsv");var Z=$[0],Q=$[1],te=$[2],de,ie,ge;if(te*=255,Q===0)de=ie=ge=te;else{Z===360&&(Z=0),Z>360&&(Z-=360),Z<0&&(Z+=360),Z/=60;var me=wV(Z),je=Z-me,Ve=te*(1-Q),Je=te*(1-Q*je),ot=te*(1-Q*(1-je));switch(me){case 0:y=[te,ot,Ve],de=y[0],ie=y[1],ge=y[2];break;case 1:E=[Je,te,Ve],de=E[0],ie=E[1],ge=E[2];break;case 2:x=[Ve,te,ot],de=x[0],ie=x[1],ge=x[2];break;case 3:N=[Ve,Je,te],de=N[0],ie=N[1],ge=N[2];break;case 4:j=[ot,Ve,te],de=j[0],ie=j[1],ge=j[2];break;case 5:z=[te,Ve,Je],de=z[0],ie=z[1],ge=z[2];break}}return[de,ie,ge,$.length>3?$[3]:1]},TV=EV,kV=v.unpack,xV=v.type,SV=S,Ew=M,Tw=m,FV=_V;Ew.prototype.hsv=function(){return FV(this._rgb)},SV.hsv=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Ew,[null].concat(y,["hsv"])))},Tw.format.hsv=TV,Tw.autodetect.push({p:2,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=kV(y,"hsv"),xV(y)==="array"&&y.length===3)return"hsv"}});var bu={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Ia=bu,OV=v.unpack,kw=Math.pow,PV=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=OV(y,"rgb"),N=x[0],j=x[1],z=x[2],$=DV(N,j,z),V=$[0],Z=$[1],Q=$[2],te=116*Z-16;return[te<0?0:te,500*(V-Z),200*(Z-Q)]},G3=function(y){return(y/=255)<=.04045?y/12.92:kw((y+.055)/1.055,2.4)},K3=function(y){return y>Ia.t3?kw(y,1/3):y/Ia.t2+Ia.t0},DV=function(y,E,x){y=G3(y),E=G3(E),x=G3(x);var N=K3((.4124564*y+.3575761*E+.1804375*x)/Ia.Xn),j=K3((.2126729*y+.7151522*E+.072175*x)/Ia.Yn),z=K3((.0193339*y+.119192*E+.9503041*x)/Ia.Zn);return[N,j,z]},xw=PV,Na=bu,AV=v.unpack,MV=Math.pow,IV=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=AV(y,"lab");var x=y[0],N=y[1],j=y[2],z,$,V,Z,Q,te;return $=(x+16)/116,z=isNaN(N)?$:$+N/500,V=isNaN(j)?$:$-j/200,$=Na.Yn*Q3($),z=Na.Xn*Q3(z),V=Na.Zn*Q3(V),Z=X3(3.2404542*z-1.5371385*$-.4985314*V),Q=X3(-.969266*z+1.8760108*$+.041556*V),te=X3(.0556434*z-.2040259*$+1.0572252*V),[Z,Q,te,y.length>3?y[3]:1]},X3=function(y){return 255*(y<=.00304?12.92*y:1.055*MV(y,1/2.4)-.055)},Q3=function(y){return y>Na.t1?y*y*y:Na.t2*(y-Na.t0)},Sw=IV,NV=v.unpack,RV=v.type,LV=S,Fw=M,Ow=m,BV=xw;Fw.prototype.lab=function(){return BV(this._rgb)},LV.lab=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Fw,[null].concat(y,["lab"])))},Ow.format.lab=Sw,Ow.autodetect.push({p:2,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=NV(y,"lab"),RV(y)==="array"&&y.length===3)return"lab"}});var $V=v.unpack,HV=v.RAD2DEG,qV=Math.sqrt,jV=Math.atan2,UV=Math.round,zV=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=$V(y,"lab"),N=x[0],j=x[1],z=x[2],$=qV(j*j+z*z),V=(jV(z,j)*HV+360)%360;return UV($*1e4)===0&&(V=Number.NaN),[N,$,V]},Pw=zV,WV=v.unpack,VV=xw,ZV=Pw,YV=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=WV(y,"rgb"),N=x[0],j=x[1],z=x[2],$=VV(N,j,z),V=$[0],Z=$[1],Q=$[2];return ZV(V,Z,Q)},GV=YV,KV=v.unpack,XV=v.DEG2RAD,QV=Math.sin,JV=Math.cos,eZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=KV(y,"lch"),N=x[0],j=x[1],z=x[2];return isNaN(z)&&(z=0),z=z*XV,[N,JV(z)*j,QV(z)*j]},Dw=eZ,tZ=v.unpack,rZ=Dw,nZ=Sw,iZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=tZ(y,"lch");var x=y[0],N=y[1],j=y[2],z=rZ(x,N,j),$=z[0],V=z[1],Z=z[2],Q=nZ($,V,Z),te=Q[0],de=Q[1],ie=Q[2];return[te,de,ie,y.length>3?y[3]:1]},Aw=iZ,aZ=v.unpack,oZ=Aw,sZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=aZ(y,"hcl").reverse();return oZ.apply(void 0,x)},lZ=sZ,uZ=v.unpack,cZ=v.type,Mw=S,yu=M,J3=m,Iw=GV;yu.prototype.lch=function(){return Iw(this._rgb)},yu.prototype.hcl=function(){return Iw(this._rgb).reverse()},Mw.lch=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(yu,[null].concat(y,["lch"])))},Mw.hcl=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(yu,[null].concat(y,["hcl"])))},J3.format.lch=Aw,J3.format.hcl=lZ,["lch","hcl"].forEach(function(y){return J3.autodetect.push({p:2,test:function(){for(var E=[],x=arguments.length;x--;)E[x]=arguments[x];if(E=uZ(E,y),cZ(E)==="array"&&E.length===3)return y}})});var dZ={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Nw=dZ,fZ=M,Rw=m,hZ=v.type,qo=Nw,pZ=$i,gZ=On;fZ.prototype.name=function(){for(var y=gZ(this._rgb,"rgb"),E=0,x=Object.keys(qo);E0;)E[x]=arguments[x+1];if(!E.length&&hZ(y)==="string"&&qo[y.toLowerCase()])return"named"}});var mZ=v.unpack,vZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=mZ(y,"rgb"),N=x[0],j=x[1],z=x[2];return(N<<16)+(j<<8)+z},bZ=vZ,yZ=v.type,_Z=function(y){if(yZ(y)=="number"&&y>=0&&y<=16777215){var E=y>>16,x=y>>8&255,N=y&255;return[E,x,N,1]}throw new Error("unknown num color: "+y)},CZ=_Z,wZ=S,Lw=M,Bw=m,EZ=v.type,TZ=bZ;Lw.prototype.num=function(){return TZ(this._rgb)},wZ.num=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Lw,[null].concat(y,["num"])))},Bw.format.num=CZ,Bw.autodetect.push({p:5,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y.length===1&&EZ(y[0])==="number"&&y[0]>=0&&y[0]<=16777215)return"num"}});var kZ=S,e5=M,$w=m,Hw=v.unpack,qw=v.type,jw=Math.round;e5.prototype.rgb=function(y){return y===void 0&&(y=!0),y===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(jw)},e5.prototype.rgba=function(y){return y===void 0&&(y=!0),this._rgb.slice(0,4).map(function(E,x){return x<3?y===!1?E:jw(E):E})},kZ.rgb=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(e5,[null].concat(y,["rgb"])))},$w.format.rgb=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=Hw(y,"rgba");return x[3]===void 0&&(x[3]=1),x},$w.autodetect.push({p:3,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=Hw(y,"rgba"),qw(y)==="array"&&(y.length===3||y.length===4&&qw(y[3])=="number"&&y[3]>=0&&y[3]<=1))return"rgb"}});var _u=Math.log,xZ=function(y){var E=y/100,x,N,j;return E<66?(x=255,N=E<6?0:-155.25485562709179-.44596950469579133*(N=E-2)+104.49216199393888*_u(N),j=E<20?0:-254.76935184120902+.8274096064007395*(j=E-10)+115.67994401066147*_u(j)):(x=351.97690566805693+.114206453784165*(x=E-55)-40.25366309332127*_u(x),N=325.4494125711974+.07943456536662342*(N=E-50)-28.0852963507957*_u(N),j=255),[x,N,j,1]},Uw=xZ,SZ=Uw,FZ=v.unpack,OZ=Math.round,PZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];for(var x=FZ(y,"rgb"),N=x[0],j=x[2],z=1e3,$=4e4,V=.4,Z;$-z>V;){Z=($+z)*.5;var Q=SZ(Z);Q[2]/Q[0]>=j/N?$=Z:z=Z}return OZ(Z)},DZ=PZ,t5=S,Cu=M,r5=m,AZ=DZ;Cu.prototype.temp=Cu.prototype.kelvin=Cu.prototype.temperature=function(){return AZ(this._rgb)},t5.temp=t5.kelvin=t5.temperature=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Cu,[null].concat(y,["temp"])))},r5.format.temp=r5.format.kelvin=r5.format.temperature=Uw;var MZ=v.unpack,n5=Math.cbrt,IZ=Math.pow,NZ=Math.sign,RZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=MZ(y,"rgb"),N=x[0],j=x[1],z=x[2],$=[i5(N/255),i5(j/255),i5(z/255)],V=$[0],Z=$[1],Q=$[2],te=n5(.4122214708*V+.5363325363*Z+.0514459929*Q),de=n5(.2119034982*V+.6806995451*Z+.1073969566*Q),ie=n5(.0883024619*V+.2817188376*Z+.6299787005*Q);return[.2104542553*te+.793617785*de-.0040720468*ie,1.9779984951*te-2.428592205*de+.4505937099*ie,.0259040371*te+.7827717662*de-.808675766*ie]},zw=RZ;function i5(y){var E=Math.abs(y);return E<.04045?y/12.92:(NZ(y)||1)*IZ((E+.055)/1.055,2.4)}var LZ=v.unpack,wu=Math.pow,BZ=Math.sign,$Z=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=LZ(y,"lab");var x=y[0],N=y[1],j=y[2],z=wu(x+.3963377774*N+.2158037573*j,3),$=wu(x-.1055613458*N-.0638541728*j,3),V=wu(x-.0894841775*N-1.291485548*j,3);return[255*a5(4.0767416621*z-3.3077115913*$+.2309699292*V),255*a5(-1.2684380046*z+2.6097574011*$-.3413193965*V),255*a5(-.0041960863*z-.7034186147*$+1.707614701*V),y.length>3?y[3]:1]},Ww=$Z;function a5(y){var E=Math.abs(y);return E>.0031308?(BZ(y)||1)*(1.055*wu(E,1/2.4)-.055):y*12.92}var HZ=v.unpack,qZ=v.type,jZ=S,Vw=M,Zw=m,UZ=zw;Vw.prototype.oklab=function(){return UZ(this._rgb)},jZ.oklab=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Vw,[null].concat(y,["oklab"])))},Zw.format.oklab=Ww,Zw.autodetect.push({p:3,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=HZ(y,"oklab"),qZ(y)==="array"&&y.length===3)return"oklab"}});var zZ=v.unpack,WZ=zw,VZ=Pw,ZZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];var x=zZ(y,"rgb"),N=x[0],j=x[1],z=x[2],$=WZ(N,j,z),V=$[0],Z=$[1],Q=$[2];return VZ(V,Z,Q)},YZ=ZZ,GZ=v.unpack,KZ=Dw,XZ=Ww,QZ=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];y=GZ(y,"lch");var x=y[0],N=y[1],j=y[2],z=KZ(x,N,j),$=z[0],V=z[1],Z=z[2],Q=XZ($,V,Z),te=Q[0],de=Q[1],ie=Q[2];return[te,de,ie,y.length>3?y[3]:1]},JZ=QZ,eY=v.unpack,tY=v.type,rY=S,Yw=M,Gw=m,nY=YZ;Yw.prototype.oklch=function(){return nY(this._rgb)},rY.oklch=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];return new(Function.prototype.bind.apply(Yw,[null].concat(y,["oklch"])))},Gw.format.oklch=JZ,Gw.autodetect.push({p:3,test:function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];if(y=eY(y,"oklch"),tY(y)==="array"&&y.length===3)return"oklch"}});var Kw=M,iY=v.type;Kw.prototype.alpha=function(y,E){return E===void 0&&(E=!1),y!==void 0&&iY(y)==="number"?E?(this._rgb[3]=y,this):new Kw([this._rgb[0],this._rgb[1],this._rgb[2],y],"rgb"):this._rgb[3]};var aY=M;aY.prototype.clipped=function(){return this._rgb._clipped||!1};var Hi=M,oY=bu;Hi.prototype.darken=function(y){y===void 0&&(y=1);var E=this,x=E.lab();return x[0]-=oY.Kn*y,new Hi(x,"lab").alpha(E.alpha(),!0)},Hi.prototype.brighten=function(y){return y===void 0&&(y=1),this.darken(-y)},Hi.prototype.darker=Hi.prototype.darken,Hi.prototype.brighter=Hi.prototype.brighten;var sY=M;sY.prototype.get=function(y){var E=y.split("."),x=E[0],N=E[1],j=this[x]();if(N){var z=x.indexOf(N)-(x.substr(0,2)==="ok"?2:0);if(z>-1)return j[z];throw new Error("unknown channel "+N+" in mode "+x)}else return j};var Ra=M,lY=v.type,uY=Math.pow,cY=1e-7,dY=20;Ra.prototype.luminance=function(y){if(y!==void 0&&lY(y)==="number"){if(y===0)return new Ra([0,0,0,this._rgb[3]],"rgb");if(y===1)return new Ra([255,255,255,this._rgb[3]],"rgb");var E=this.luminance(),x="rgb",N=dY,j=function($,V){var Z=$.interpolate(V,.5,x),Q=Z.luminance();return Math.abs(y-Q)y?j($,Z):j(Z,V)},z=(E>y?j(new Ra([0,0,0]),this):j(this,new Ra([255,255,255]))).rgb();return new Ra(z.concat([this._rgb[3]]))}return fY.apply(void 0,this._rgb.slice(0,3))};var fY=function(y,E,x){return y=o5(y),E=o5(E),x=o5(x),.2126*y+.7152*E+.0722*x},o5=function(y){return y/=255,y<=.03928?y/12.92:uY((y+.055)/1.055,2.4)},Wr={},Xw=M,Qw=v.type,Eu=Wr,Jw=function(y,E,x){x===void 0&&(x=.5);for(var N=[],j=arguments.length-3;j-- >0;)N[j]=arguments[j+3];var z=N[0]||"lrgb";if(!Eu[z]&&!N.length&&(z=Object.keys(Eu)[0]),!Eu[z])throw new Error("interpolation mode "+z+" is not defined");return Qw(y)!=="object"&&(y=new Xw(y)),Qw(E)!=="object"&&(E=new Xw(E)),Eu[z](y,E,x).alpha(y.alpha()+x*(E.alpha()-y.alpha()))},eE=M,hY=Jw;eE.prototype.mix=eE.prototype.interpolate=function(y,E){E===void 0&&(E=.5);for(var x=[],N=arguments.length-2;N-- >0;)x[N]=arguments[N+2];return hY.apply(void 0,[this,y,E].concat(x))};var tE=M;tE.prototype.premultiply=function(y){y===void 0&&(y=!1);var E=this._rgb,x=E[3];return y?(this._rgb=[E[0]*x,E[1]*x,E[2]*x,x],this):new tE([E[0]*x,E[1]*x,E[2]*x,x],"rgb")};var s5=M,pY=bu;s5.prototype.saturate=function(y){y===void 0&&(y=1);var E=this,x=E.lch();return x[1]+=pY.Kn*y,x[1]<0&&(x[1]=0),new s5(x,"lch").alpha(E.alpha(),!0)},s5.prototype.desaturate=function(y){return y===void 0&&(y=1),this.saturate(-y)};var rE=M,nE=v.type;rE.prototype.set=function(y,E,x){x===void 0&&(x=!1);var N=y.split("."),j=N[0],z=N[1],$=this[j]();if(z){var V=j.indexOf(z)-(j.substr(0,2)==="ok"?2:0);if(V>-1){if(nE(E)=="string")switch(E.charAt(0)){case"+":$[V]+=+E;break;case"-":$[V]+=+E;break;case"*":$[V]*=+E.substr(1);break;case"/":$[V]/=+E.substr(1);break;default:$[V]=+E}else if(nE(E)==="number")$[V]=E;else throw new Error("unsupported value for Color.set");var Z=new rE($,j);return x?(this._rgb=Z._rgb,this):Z}throw new Error("unknown channel "+z+" in mode "+j)}else return $};var gY=M,mY=function(y,E,x){var N=y._rgb,j=E._rgb;return new gY(N[0]+x*(j[0]-N[0]),N[1]+x*(j[1]-N[1]),N[2]+x*(j[2]-N[2]),"rgb")};Wr.rgb=mY;var vY=M,l5=Math.sqrt,La=Math.pow,bY=function(y,E,x){var N=y._rgb,j=N[0],z=N[1],$=N[2],V=E._rgb,Z=V[0],Q=V[1],te=V[2];return new vY(l5(La(j,2)*(1-x)+La(Z,2)*x),l5(La(z,2)*(1-x)+La(Q,2)*x),l5(La($,2)*(1-x)+La(te,2)*x),"rgb")};Wr.lrgb=bY;var yY=M,_Y=function(y,E,x){var N=y.lab(),j=E.lab();return new yY(N[0]+x*(j[0]-N[0]),N[1]+x*(j[1]-N[1]),N[2]+x*(j[2]-N[2]),"lab")};Wr.lab=_Y;var iE=M,Ba=function(y,E,x,N){var j,z,$,V;N==="hsl"?($=y.hsl(),V=E.hsl()):N==="hsv"?($=y.hsv(),V=E.hsv()):N==="hcg"?($=y.hcg(),V=E.hcg()):N==="hsi"?($=y.hsi(),V=E.hsi()):N==="lch"||N==="hcl"?(N="hcl",$=y.hcl(),V=E.hcl()):N==="oklch"&&($=y.oklch().reverse(),V=E.oklch().reverse());var Z,Q,te,de,ie,ge;(N.substr(0,1)==="h"||N==="oklch")&&(j=$,Z=j[0],te=j[1],ie=j[2],z=V,Q=z[0],de=z[1],ge=z[2]);var me,je,Ve,Je;return!isNaN(Z)&&!isNaN(Q)?(Q>Z&&Q-Z>180?Je=Q-(Z+360):Q180?Je=Q+360-Z:Je=Q-Z,je=Z+x*Je):isNaN(Z)?isNaN(Q)?je=Number.NaN:(je=Q,(ie==1||ie==0)&&N!="hsv"&&(me=de)):(je=Z,(ge==1||ge==0)&&N!="hsv"&&(me=te)),me===void 0&&(me=te+x*(de-te)),Ve=ie+x*(ge-ie),N==="oklch"?new iE([Ve,me,je],N):new iE([je,me,Ve],N)},CY=Ba,aE=function(y,E,x){return CY(y,E,x,"lch")};Wr.lch=aE,Wr.hcl=aE;var wY=M,EY=function(y,E,x){var N=y.num(),j=E.num();return new wY(N+x*(j-N),"num")};Wr.num=EY;var TY=Ba,kY=function(y,E,x){return TY(y,E,x,"hcg")};Wr.hcg=kY;var xY=Ba,SY=function(y,E,x){return xY(y,E,x,"hsi")};Wr.hsi=SY;var FY=Ba,OY=function(y,E,x){return FY(y,E,x,"hsl")};Wr.hsl=OY;var PY=Ba,DY=function(y,E,x){return PY(y,E,x,"hsv")};Wr.hsv=DY;var AY=M,MY=function(y,E,x){var N=y.oklab(),j=E.oklab();return new AY(N[0]+x*(j[0]-N[0]),N[1]+x*(j[1]-N[1]),N[2]+x*(j[2]-N[2]),"oklab")};Wr.oklab=MY;var IY=Ba,NY=function(y,E,x){return IY(y,E,x,"oklch")};Wr.oklch=NY;var u5=M,RY=v.clip_rgb,c5=Math.pow,d5=Math.sqrt,f5=Math.PI,oE=Math.cos,sE=Math.sin,LY=Math.atan2,BY=function(y,E,x){E===void 0&&(E="lrgb"),x===void 0&&(x=null);var N=y.length;x||(x=Array.from(new Array(N)).map(function(){return 1}));var j=N/x.reduce(function(je,Ve){return je+Ve});if(x.forEach(function(je,Ve){x[Ve]*=j}),y=y.map(function(je){return new u5(je)}),E==="lrgb")return $Y(y,x);for(var z=y.shift(),$=z.get(E),V=[],Z=0,Q=0,te=0;te<$.length;te++)if($[te]=($[te]||0)*x[0],V.push(isNaN($[te])?0:x[0]),E.charAt(te)==="h"&&!isNaN($[te])){var de=$[te]/180*f5;Z+=oE(de)*x[0],Q+=sE(de)*x[0]}var ie=z.alpha()*x[0];y.forEach(function(je,Ve){var Je=je.get(E);ie+=je.alpha()*x[Ve+1];for(var ot=0;ot<$.length;ot++)if(!isNaN(Je[ot]))if(V[ot]+=x[Ve+1],E.charAt(ot)==="h"){var dr=Je[ot]/180*f5;Z+=oE(dr)*x[Ve+1],Q+=sE(dr)*x[Ve+1]}else $[ot]+=Je[ot]*x[Ve+1]});for(var ge=0;ge<$.length;ge++)if(E.charAt(ge)==="h"){for(var me=LY(Q/V[ge],Z/V[ge])/f5*180;me<0;)me+=360;for(;me>=360;)me-=360;$[ge]=me}else $[ge]=$[ge]/V[ge];return ie/=N,new u5($,E).alpha(ie>.99999?1:ie,!0)},$Y=function(y,E){for(var x=y.length,N=[0,0,0,0],j=0;j.9999999&&(N[3]=1),new u5(RY(N))},un=S,$a=v.type,HY=Math.pow,h5=function(y){var E="rgb",x=un("#ccc"),N=0,j=[0,1],z=[],$=[0,0],V=!1,Z=[],Q=!1,te=0,de=1,ie=!1,ge={},me=!0,je=1,Ve=function(ae){if(ae=ae||["#fff","#000"],ae&&$a(ae)==="string"&&un.brewer&&un.brewer[ae.toLowerCase()]&&(ae=un.brewer[ae.toLowerCase()]),$a(ae)==="array"){ae.length===1&&(ae=[ae[0],ae[0]]),ae=ae.slice(0);for(var Pe=0;Pe=V[ze];)ze++;return ze-1}return 0},ot=function(ae){return ae},dr=function(ae){return ae},or=function(ae,Pe){var ze,Ue;if(Pe==null&&(Pe=!1),isNaN(ae)||ae===null)return x;if(Pe)Ue=ae;else if(V&&V.length>2){var fr=Je(ae);Ue=fr/(V.length-2)}else de!==te?Ue=(ae-te)/(de-te):Ue=1;Ue=dr(Ue),Pe||(Ue=ot(Ue)),je!==1&&(Ue=HY(Ue,je)),Ue=$[0]+Ue*(1-$[0]-$[1]),Ue=Math.min(1,Math.max(0,Ue));var xt=Math.floor(Ue*1e4);if(me&&ge[xt])ze=ge[xt];else{if($a(Z)==="array")for(var et=0;et=ut&&et===z.length-1){ze=Z[et];break}if(Ue>ut&&Ue2){var et=ae.map(function(ct,ht){return ht/(ae.length-1)}),ut=ae.map(function(ct){return(ct-te)/(de-te)});ut.every(function(ct,ht){return et[ht]===ct})||(dr=function(ct){if(ct<=0||ct>=1)return ct;for(var ht=0;ct>=ut[ht+1];)ht++;var dn=(ct-ut[ht])/(ut[ht+1]-ut[ht]),ci=et[ht]+dn*(et[ht+1]-et[ht]);return ci})}}return j=[te,de],Ke},Ke.mode=function(ae){return arguments.length?(E=ae,Rr(),Ke):E},Ke.range=function(ae,Pe){return Ve(ae),Ke},Ke.out=function(ae){return Q=ae,Ke},Ke.spread=function(ae){return arguments.length?(N=ae,Ke):N},Ke.correctLightness=function(ae){return ae==null&&(ae=!0),ie=ae,Rr(),ie?ot=function(Pe){for(var ze=or(0,!0).lab()[0],Ue=or(1,!0).lab()[0],fr=ze>Ue,xt=or(Pe,!0).lab()[0],et=ze+(Ue-ze)*Pe,ut=xt-et,ct=0,ht=1,dn=20;Math.abs(ut)>.01&&dn-- >0;)(function(){return fr&&(ut*=-1),ut<0?(ct=Pe,Pe+=(ht-Pe)*.5):(ht=Pe,Pe+=(ct-Pe)*.5),xt=or(Pe,!0).lab()[0],ut=xt-et})();return Pe}:ot=function(Pe){return Pe},Ke},Ke.padding=function(ae){return ae!=null?($a(ae)==="number"&&(ae=[ae,ae]),$=ae,Ke):$},Ke.colors=function(ae,Pe){arguments.length<2&&(Pe="hex");var ze=[];if(arguments.length===0)ze=Z.slice(0);else if(ae===1)ze=[Ke(.5)];else if(ae>1){var Ue=j[0],fr=j[1]-Ue;ze=qY(0,ae).map(function(ht){return Ke(Ue+ht/(ae-1)*fr)})}else{y=[];var xt=[];if(V&&V.length>2)for(var et=1,ut=V.length,ct=1<=ut;ct?etut;ct?et++:et--)xt.push((V[et-1]+V[et])*.5);else xt=j;ze=xt.map(function(ht){return Ke(ht)})}return un[Pe]&&(ze=ze.map(function(ht){return ht[Pe]()})),ze},Ke.cache=function(ae){return ae!=null?(me=ae,Ke):me},Ke.gamma=function(ae){return ae!=null?(je=ae,Ke):je},Ke.nodata=function(ae){return ae!=null?(x=un(ae),Ke):x},Ke};function qY(y,E,x){for(var N=[],j=yz;j?$++:$--)N.push($);return N}var jo=M,jY=h5,UY=function(y){for(var E=[1,1],x=1;x=5){var Q,te,de;Q=y.map(function(ie){return ie.lab()}),de=y.length-1,te=UY(de),j=function(ie){var ge=1-ie,me=[0,1,2].map(function(je){return Q.reduce(function(Ve,Je,ot){return Ve+te[ot]*Math.pow(ge,de-ot)*Math.pow(ie,ot)*Je[je]},0)});return new jo(me,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return j},WY=function(y){var E=zY(y);return E.scale=function(){return jY(E)},E},p5=S,cn=function(y,E,x){if(!cn[x])throw new Error("unknown blend mode "+x);return cn[x](y,E)},li=function(y){return function(E,x){var N=p5(x).rgb(),j=p5(E).rgb();return p5.rgb(y(N,j))}},ui=function(y){return function(E,x){var N=[];return N[0]=y(E[0],x[0]),N[1]=y(E[1],x[1]),N[2]=y(E[2],x[2]),N}},VY=function(y){return y},ZY=function(y,E){return y*E/255},YY=function(y,E){return y>E?E:y},GY=function(y,E){return y>E?y:E},KY=function(y,E){return 255*(1-(1-y/255)*(1-E/255))},XY=function(y,E){return E<128?2*y*E/255:255*(1-2*(1-y/255)*(1-E/255))},QY=function(y,E){return 255*(1-(1-E/255)/(y/255))},JY=function(y,E){return y===255?255:(y=255*(E/255)/(1-y/255),y>255?255:y)};cn.normal=li(ui(VY)),cn.multiply=li(ui(ZY)),cn.screen=li(ui(KY)),cn.overlay=li(ui(XY)),cn.darken=li(ui(YY)),cn.lighten=li(ui(GY)),cn.dodge=li(ui(JY)),cn.burn=li(ui(QY));for(var eG=cn,g5=v.type,tG=v.clip_rgb,rG=v.TWOPI,nG=Math.pow,iG=Math.sin,aG=Math.cos,lE=S,oG=function(y,E,x,N,j){y===void 0&&(y=300),E===void 0&&(E=-1.5),x===void 0&&(x=1),N===void 0&&(N=1),j===void 0&&(j=[0,1]);var z=0,$;g5(j)==="array"?$=j[1]-j[0]:($=0,j=[j,j]);var V=function(Z){var Q=rG*((y+120)/360+E*Z),te=nG(j[0]+$*Z,N),de=z!==0?x[0]+Z*z:x,ie=de*te*(1-te)/2,ge=aG(Q),me=iG(Q),je=te+ie*(-.14861*ge+1.78277*me),Ve=te+ie*(-.29227*ge-.90649*me),Je=te+ie*(1.97294*ge);return lE(tG([je*255,Ve*255,Je*255,1]))};return V.start=function(Z){return Z==null?y:(y=Z,V)},V.rotations=function(Z){return Z==null?E:(E=Z,V)},V.gamma=function(Z){return Z==null?N:(N=Z,V)},V.hue=function(Z){return Z==null?x:(x=Z,g5(x)==="array"?(z=x[1]-x[0],z===0&&(x=x[1])):z=0,V)},V.lightness=function(Z){return Z==null?j:(g5(Z)==="array"?(j=Z,$=Z[1]-Z[0]):(j=[Z,Z],$=0),V)},V.scale=function(){return lE.scale(V)},V.hue(x),V},sG=M,lG="0123456789abcdef",uG=Math.floor,cG=Math.random,dG=function(){for(var y="#",E=0;E<6;E++)y+=lG.charAt(uG(cG()*16));return new sG(y,"hex")},m5=u,uE=Math.log,fG=Math.pow,hG=Math.floor,pG=Math.abs,cE=function(y,E){E===void 0&&(E=null);var x={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return m5(y)==="object"&&(y=Object.values(y)),y.forEach(function(N){E&&m5(N)==="object"&&(N=N[E]),N!=null&&!isNaN(N)&&(x.values.push(N),x.sum+=N,Nx.max&&(x.max=N),x.count+=1)}),x.domain=[x.min,x.max],x.limits=function(N,j){return dE(x,N,j)},x},dE=function(y,E,x){E===void 0&&(E="equal"),x===void 0&&(x=7),m5(y)=="array"&&(y=cE(y));var N=y.min,j=y.max,z=y.values.sort(function(b5,y5){return b5-y5});if(x===1)return[N,j];var $=[];if(E.substr(0,1)==="c"&&($.push(N),$.push(j)),E.substr(0,1)==="e"){$.push(N);for(var V=1;V 0");var Z=Math.LOG10E*uE(N),Q=Math.LOG10E*uE(j);$.push(N);for(var te=1;te200&&(dr=!1)}for(var di={},Ha=0;HaN?(x+.05)/(N+.05):(N+.05)/(x+.05)},pE=M,Wn=Math.sqrt,Xt=Math.pow,mG=Math.min,vG=Math.max,gE=Math.atan2,mE=Math.abs,Tu=Math.cos,vE=Math.sin,bG=Math.exp,bE=Math.PI,yG=function(y,E,x,N,j){x===void 0&&(x=1),N===void 0&&(N=1),j===void 0&&(j=1);var z=function(ji){return 360*ji/(2*bE)},$=function(ji){return 2*bE*ji/360};y=new pE(y),E=new pE(E);var V=Array.from(y.lab()),Z=V[0],Q=V[1],te=V[2],de=Array.from(E.lab()),ie=de[0],ge=de[1],me=de[2],je=(Z+ie)/2,Ve=Wn(Xt(Q,2)+Xt(te,2)),Je=Wn(Xt(ge,2)+Xt(me,2)),ot=(Ve+Je)/2,dr=.5*(1-Wn(Xt(ot,7)/(Xt(ot,7)+Xt(25,7)))),or=Q*(1+dr),Rr=ge*(1+dr),Ke=Wn(Xt(or,2)+Xt(te,2)),ae=Wn(Xt(Rr,2)+Xt(me,2)),Pe=(Ke+ae)/2,ze=z(gE(te,or)),Ue=z(gE(me,Rr)),fr=ze>=0?ze:ze+360,xt=Ue>=0?Ue:Ue+360,et=mE(fr-xt)>180?(fr+xt+360)/2:(fr+xt)/2,ut=1-.17*Tu($(et-30))+.24*Tu($(2*et))+.32*Tu($(3*et+6))-.2*Tu($(4*et-63)),ct=xt-fr;ct=mE(ct)<=180?ct:xt<=fr?ct+360:ct-360,ct=2*Wn(Ke*ae)*vE($(ct)/2);var ht=ie-Z,dn=ae-Ke,ci=1+.015*Xt(je-50,2)/Wn(20+Xt(je-50,2)),di=1+.045*Pe,Ha=1+.015*Pe*ut,qa=30*bG(-Xt((et-275)/25,2)),Vn=2*Wn(Xt(Pe,7)/(Xt(Pe,7)+Xt(25,7))),qi=-Vn*vE(2*$(qa)),Uo=Wn(Xt(ht/(x*ci),2)+Xt(dn/(N*di),2)+Xt(ct/(j*Ha),2)+qi*(dn/(N*di))*(ct/(j*Ha)));return vG(0,mG(100,Uo))},yE=M,_G=function(y,E,x){x===void 0&&(x="lab"),y=new yE(y),E=new yE(E);var N=y.get(x),j=E.get(x),z=0;for(var $ in N){var V=(N[$]||0)-(j[$]||0);z+=V*V}return Math.sqrt(z)},CG=M,wG=function(){for(var y=[],E=arguments.length;E--;)y[E]=arguments[E];try{return new(Function.prototype.bind.apply(CG,[null].concat(y))),!0}catch{return!1}},_E=S,CE=h5,EG={cool:function(){return CE([_E.hsl(180,1,.9),_E.hsl(250,.7,.4)])},hot:function(){return CE(["#000","#f00","#ff0","#fff"]).mode("rgb")}},ku={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},v5=0,wE=Object.keys(ku);v5c)return c}else{if(f>u)return u;if(fi.end&&(i.start-=360):l==="ccw"&&i.end>i.start&&(i.end-=360);var h=u.map(function(m){return Zr({value:m,rangeA:[0,1],rangeB:[r===!0?i.end:i.start,r===!0?i.start:i.end],limit:!0})}),p=c.map(function(m){var _=Zr({value:m,rangeA:[0,1],rangeB:[r===!0?a.end:a.start,r===!0?a.start:a.end],limit:!0}),w=_*a.rate;return w<1?w:1}),g=f.map(function(m){return Zr({value:m,rangeA:[0,1],rangeB:[r===!0?o.end:o.start,r===!0?o.start:o.end]})}),v=h.map(function(m,_){var w={hue:{step:u[_],value:h[_]},saturation:{step:c[_],value:p[_]},brightness:{step:f[_],value:g[_]},step:_,isMajor:!0,isLocked:!1};return w});return s&&s.forEach(function(m,_){var w={hue:{step:0},saturation:{step:0},brightness:{step:0},step:0},T=w,F=w,O=0;v.forEach(function(C,k){m===C.step&&(O=k+1,T=C,F=v[k+1])});var M=(T.hue.step+F.hue.step)/2,H=Zr({value:M,rangeA:[0,1],rangeB:[r===!0?i.end:i.start,r===!0?i.start:i.end]}),S=(T.saturation.step+F.saturation.step)/2,L=Zr({value:S,rangeA:[0,1],rangeB:[r===!0?a.end:a.start,r===!0?a.start:a.end]})*a.rate;L=L<1?L:1;var U=(T.brightness.step+F.brightness.step)/2,D=Zr({value:U,rangeA:[0,1],rangeB:[r===!0?o.end:o.start,r===!0?o.start:o.end]});if(O!==void 0){var b={hue:{step:M,value:H},saturation:{step:S,value:L},brightness:{step:U,value:D},isLocked:!1,isMajor:!1,step:(T.step+F.step)/2};v.splice(O,0,b)}}),v}var ZS=Jp();function YS(e,t,r){var n=r.map(function(i,a){var o=i.map(function(s){var l=s.hue,u=s.saturation,c=s.brightness,f=s.isMajor,h=s.isLocked,p=s.step,g=ZS.hsv(l.value,u.value,c.value);function v(m){return m[0]=0,m}return{step:p,hue:l.value,saturation:u.value,brightness:c.value,isMajor:f,isLocked:h,hex:g.hex(),hsl:isNaN(g.hsl()[0])?v(g.hsl()):g.hsl(),hsv:isNaN(g.hsv()[0])?v(g.hsv()):g.hsv(),lab:isNaN(g.lab()[0])?v(g.lab()):g.lab(),rgbString:g.rgb().join(),rgbArray:g.rgb(),rgbaString:g.rgba().join(),rgbaArray:g.rgba()}});return{inverted:a>0,colors:o,name:t.name}});return n}var ro=Jp();function GS(e){return e[0]=0,e}function t6(e){return{hue:e[0],saturation:e[1],brightness:e[2]}}function r6(e,t,r){var n=isNaN(ro.hex(""+t.lockHex).hsv()[0])?t6(GS(ro.hex(""+t.lockHex).hsv())):t6(ro.hex(""+t.lockHex).hsv()),i=999999,a,o,s=r[r.length-1];r.forEach(function(c,f){var h=c.hue,p=c.saturation,g=c.brightness,v=ro.hsv(h.value,p.value,g.value),m=ro.distance(v,t.lockHex);i>m&&(i=m,a=c,o=f)});var l={hue:n.hue-a.hue.value,saturation:n.saturation-a.saturation.value,brightness:n.brightness-a.brightness.value},u=r.map(function(c,f){if(f0?c.hue.value+h:0},saturation:{step:c.saturation.step,value:c.saturation.value+p>0?c.saturation.value+p:0},brightness:{step:c.brightness.step,value:c.brightness.value+g>0?c.brightness.value+g:0},step:c.step,isMajor:c.isMajor,isLocked:!1}}else{if(f===o)return{hue:{step:c.hue.step,value:n.hue},saturation:{step:c.saturation.step,value:n.saturation},brightness:{step:c.brightness.step,value:n.brightness},step:c.step,isMajor:c.isMajor,isLocked:!0};var h=Zr({value:f,rangeA:[o,s.step+t.minorSteps.length],rangeB:[l.hue,0]}),p=Zr({value:f,rangeA:[o,s.step+t.minorSteps.length],rangeB:[l.saturation,0]}),g=Zr({value:f,rangeA:[o,s.step+t.minorSteps.length],rangeB:[l.brightness,0]});return{hue:{step:c.hue.step,value:c.hue.value+h>0||c.hue.value+h<360?c.hue.value+h:0},saturation:{step:c.saturation.step,value:c.saturation.value+p<1?c.saturation.value+p:1},brightness:{step:c.brightness.step,value:c.brightness.value+g<1?c.brightness.value+g:1},step:c.step,isMajor:c.isMajor,isLocked:!1}}});return u}function KS(e,t){t===void 0&&(t={});var r=t.lockHex,n=t.lockHexInverted,i=t.provideInverted,a=[],o=e6(e,t);if(r?a.push(r6(e,t,o)):a.push(o),i){var s=e6(e,t,!0);n===void 0?a.push(s):a.push(r6(e,t,s))}return YS(e,t,a)}var ks=Vp.generate=KS;function XS(e,t="light"){return t==="light"?QS(e):JS(e)}function QS(e){var t,r;const n=new Jn(e),{h:i,s:a,v:o}=n.toHsv(),[s]=ks({steps:5,hue:{start:i,end:i+5,curve:"easeInExpo"},saturation:{start:a*.8,end:a*.7,rate:.85,curve:"easeOutCirc"},brightness:{start:o*.65,end:o*.125,curve:"easeInQuad"}},{lockHex:e,minorSteps:[],rotation:"cw"}),[l]=ks({steps:6,hue:{start:i-7,end:i+5,curve:"easeInBack"},saturation:{start:a,end:a*.1,rate:.7,curve:"easeOutSine"},brightness:{start:o,end:Math.min(o*1.5,.99),curve:"easeOutQuad"}},{lockHex:e,minorSteps:[],rotation:"cw"}),u=(t=l?.colors)==null?void 0:t.map(f=>f.hex).filter((f,h)=>h>0).reverse(),c=(r=s?.colors)==null?void 0:r.map(f=>f.hex).filter((f,h)=>h>0);return u.concat([e]).concat(c)}function JS(e){var t,r;const n=new Jn(e),{h:i,s:a,v:o}=n.toHsv(),[s]=ks({steps:6,hue:{start:i-5,end:i+2,curve:"easeInQuad"},saturation:{start:a,end:a,rate:1,curve:"easeOutQuint"},brightness:{start:o*.7,end:o*.15,curve:"easeOutSine"}},{lockHex:e,minorSteps:[],rotation:"cw"}),[l]=ks({steps:5,hue:{start:i-5,end:i,curve:"easeInCirc"},saturation:{start:a,end:a*.7,rate:.2,curve:"easeOutCirc"},brightness:{start:o,end:Math.min(o*1.5,1),curve:"easeInCirc"}},{lockHex:e,minorSteps:[],rotation:"cw"}),u=(t=l?.colors)==null?void 0:t.map(c=>c.hex).filter((c,f)=>f>0);return((r=s?.colors)==null?void 0:r.map(c=>c.hex).filter((c,f)=>f>0).reverse()).concat([e]).concat(u)}const eF="teal",tF="magenta";function n6(e){return new Jn(e).toHsl()}function rF(e){return e.charAt(0).toUpperCase()+e.slice(1)}const nF=/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g;function iF(e){return e.replace(nF,t=>`-${t.toLowerCase()}`)}const Ln={web:dc,reactNative:ux},aF={"web-light":hx,"web-dark":vx,"reactNative-light":Cx,"reactNative-dark":kx},oF=["50","100","200","300","400","500","600","700","800","900"];function Ec(e,t,r,n="web"){const i=n!=="web"?"reactNative":n;let a=null,o=null;if(!a&&t&&typeof t=="object"&&(a=_s({primary:t}).primary,o=typeof r=="object"?_s({secondary:r}).secondary:a),!a&&t&&typeof t=="string"){const c=r&&typeof r=="string"?r:t;a=a6(i,e,"primary",t),o=a6(i,e,"secondary",c)}a||(a=Ln[i][e][eF],o=Ln[i][e][tF]);const s=rS(aF[`${i}-${e}`]),l={mode:e,...s,system:{...s.system,primary:a,secondary:o,...Ln[i][e].ref}},u=_s(l);return n==="android"?sF(u):u}function sF(e){return e.system.shadows=i6(e.system.shadows),e}function i6(e){if(e!=null&&e.shadowColor){const t=new Jn(e.shadowColor);return t.setAlpha(e.shadowOpacity*5),{shadowColor:t.toRgbString(),elevation:e.elevation}}return Object.keys(e).forEach(t=>{e[t]=i6(e[t])}),e}function a6(e,t,r,n){if(Ln[e][t][n])return Ln[e][t][n];if(new Jn(n).isValid===!1)return console.warn(`The given ${r} color is not a valid palette name or color value. The default ${r} color will be used instead.`),null;const i=new Jn(n).toHexString(),a=Object.keys(Ln[e][t]).find(lF(i,e,t));return a?Ln[e][t][a]:uF(e,t,r,i)}const lF=(e,t,r)=>n=>{const i=Ln[t][r][n],a=i?.[500];return e.toLowerCase()===a?.toLowerCase()};function uF(e,t,r,n){const i=Ln[e][t][`custom${rF(r)}`];i.button.primary.color=IS(i.button.primary.background,"#ffffff")>=4.5?"#ffffff":"#000000";const a=cF(XS(n,t)),o={system:{[r]:{...i,...a}}};return _s(o).system[r]}function cF(e){return e.reduce((t,r,n)=>{const i=oF[n];return t[i]=r,t},{})}const dF=["ref","customPrimary","customSecondary"];function Bn(e,t="light"){const r=cS(mS(i=>!dF.includes(i)),mc)(dc[t]);if(r.includes(e))return e;const{h:n}=n6(e);return Vx(i=>[i,n6(dc[t][i][500]).h])(r).reduce((i,a)=>Math.abs(a[1]-n)`${iF(t)}: ${e[t]};`).join(` `)}var tr={},Tc,o6;function hF(){if(o6)return Tc;o6=1;function e(t,r){t=t||[],r=r||[];var n,i=t.length,a=r.length,o=[];for(n=0;n=arguments.length)?c=i[u]:(c=arguments[s],s+=1),o[u]=c,t(c)||(l-=1),u+=1}return l<=0?a.apply(this,o):e(l,r(n,o,a))}}return Dc=r,Dc}var Ac,p6;function Ss(){if(p6)return Ac;p6=1;var e=Xi(),t=Yr(),r=ur(),n=mF(),i=r(function(o,s){return o===1?t(s):e(o,n(o,[],s))});return Ac=i,Ac}var Mc,g6;function vF(){if(g6)return Mc;g6=1;var e=Yr(),t=Ss(),r=e(function(i){return t(i.length,i)});return Mc=r,Mc}var Ic,m6;function bF(){if(m6)return Ic;m6=1;function e(t,r){return function(){var n=this;return t.apply(n,arguments).then(function(i){return r.call(n,i)})}}return Ic=e,Ic}var Nc,v6;function Rc(){if(v6)return Nc;v6=1;var e=Yr(),t=ur(),r=xs();function n(i){return function a(o,s,l){switch(arguments.length){case 0:return a;case 1:return r(o)?a:t(function(u,c){return i(o,u,c)});case 2:return r(o)&&r(s)?a:r(o)?t(function(u,c){return i(u,s,c)}):r(s)?t(function(u,c){return i(o,u,c)}):e(function(u){return i(o,s,u)});default:return r(o)&&r(s)&&r(l)?a:r(o)&&r(s)?t(function(u,c){return i(u,c,l)}):r(o)&&r(l)?t(function(u,c){return i(u,s,c)}):r(s)&&r(l)?t(function(u,c){return i(o,u,c)}):r(o)?e(function(u){return i(u,s,l)}):r(s)?e(function(u){return i(o,u,l)}):r(l)?e(function(u){return i(o,s,u)}):i(o,s,l)}}}return Nc=n,Nc}var Lc,b6;function Bc(){return b6||(b6=1,Lc=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"}),Lc}var $c,y6;function yF(){if(y6)return $c;y6=1;function e(t){return Object.prototype.toString.call(t)==="[object String]"}return $c=e,$c}var Hc,_6;function _F(){if(_6)return Hc;_6=1;var e=Yr(),t=Bc(),r=yF(),n=e(function(a){return t(a)?!0:!a||typeof a!="object"||r(a)?!1:a.nodeType===1?!!a.length:a.length===0?!0:a.length>0?a.hasOwnProperty(0)&&a.hasOwnProperty(a.length-1):!1});return Hc=n,Hc}var qc,C6;function CF(){if(C6)return qc;C6=1;var e=(function(){function r(n){this.f=n}return r.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},r.prototype["@@transducer/result"]=function(n){return n},r.prototype["@@transducer/step"]=function(n,i){return this.f(n,i)},r})();function t(r){return new e(r)}return qc=t,qc}var jc,w6;function wF(){if(w6)return jc;w6=1;var e=Xi(),t=ur(),r=t(function(i,a){return e(i.length,function(){return i.apply(a,arguments)})});return jc=r,jc}var Uc,E6;function T6(){if(E6)return Uc;E6=1;var e=_F(),t=CF(),r=wF();function n(l,u,c){for(var f=0,h=c.length;f=0;)f=i[h],t(f,c)&&!o(p,f)&&(p[p.length]=f),h-=1;return p},l=e(s);return Qc=l,Qc}var e0,I6;function SF(){if(I6)return e0;I6=1;var e=Vc(),t=ur(),r=t(e("forEach",function(i,a){for(var o=a.length,s=0;s=0;){if(f[g]===u)return h[g]===c;g-=1}switch(p){case"Map":return u.size!==c.size?!1:s(u.entries(),c.entries(),f.concat([u]),h.concat([c]));case"Set":return u.size!==c.size?!1:s(u.values(),c.values(),f.concat([u]),h.concat([c]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var v=a(u);if(v.length!==a(c).length)return!1;var m=f.concat([u]),_=h.concat([c]);for(g=v.length-1;g>=0;){var w=v[g];if(!(n(w,c)&&l(c[w],u[w],m,_)))return!1;g-=1}return!0}return p0=l,p0}var g0,K6;function qF(){if(K6)return g0;K6=1;var e=ur(),t=HF(),r=e(function(i,a){return t(i,a,[],[])});return g0=r,g0}var m0,X6;function jF(){if(X6)return m0;X6=1;var e=qF();function t(r,n,i){var a,o;if(typeof r.indexOf=="function")switch(typeof n){case"number":if(n===0){for(a=1/n;i=0}return v0=t,v0}var b0,J6;function zF(){if(J6)return b0;J6=1;var e=UF(),t=ur(),r=t(e);return b0=r,b0}var y0,e8;function WF(){if(e8)return y0;e8=1;var e=ur(),t=e(function(n,i){return n>=i});return y0=t,y0}var _0,t8;function VF(){if(t8)return _0;t8=1;var e=j6(),t=e(!0);return _0=t,_0}var C0,r8;function ZF(){if(r8)return C0;r8=1;var e=ur(),t=e(function(n,i){return i!=null&&i.constructor===n||i instanceof n});return C0=t,C0}var w0,n8;function YF(){if(n8)return w0;n8=1;function e(t){return t}return w0=e,w0}var E0,i8;function GF(){if(i8)return E0;i8=1;var e=Yr(),t=YF(),r=e(t);return E0=r,E0}var T0,a8;function KF(){if(a8)return T0;a8=1;var e=Yr(),t=e(function(n){return n==null});return T0=t,T0}var k0,o8;function XF(){if(o8)return k0;o8=1;function e(t){return typeof t["@@transducer/step"]=="function"}return k0=e,k0}var x0,s8;function QF(){if(s8)return x0;s8=1;var e=Bc(),t=XF();function r(n,i,a){return function(){if(arguments.length===0)return a();var o=Array.prototype.slice.call(arguments,0),s=o.pop();if(!e(s)){for(var l=0;ln?i:n});return D0=t,D0}var A0,h8;function iO(){if(h8)return A0;h8=1;var e=Xi(),t=Yr(),r=rO(),n=nO(),i=x6(),a=t(function(s){var l=i(n,0,r(function(u){return u[0].length},s));return e(l,function(){for(var u=0;u"u"}function i(S){return S!==null&&!n(S)&&S.constructor!==null&&!n(S.constructor)&&typeof S.constructor.isBuffer=="function"&&S.constructor.isBuffer(S)}function a(S){return t.call(S)==="[object ArrayBuffer]"}function o(S){return typeof FormData<"u"&&S instanceof FormData}function s(S){var L;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?L=ArrayBuffer.isView(S):L=S&&S.buffer&&S.buffer instanceof ArrayBuffer,L}function l(S){return typeof S=="string"}function u(S){return typeof S=="number"}function c(S){return S!==null&&typeof S=="object"}function f(S){if(t.call(S)!=="[object Object]")return!1;var L=Object.getPrototypeOf(S);return L===null||L===Object.prototype}function h(S){return t.call(S)==="[object Date]"}function p(S){return t.call(S)==="[object File]"}function g(S){return t.call(S)==="[object Blob]"}function v(S){return t.call(S)==="[object Function]"}function m(S){return c(S)&&v(S.pipe)}function _(S){return typeof URLSearchParams<"u"&&S instanceof URLSearchParams}function w(S){return S.trim?S.trim():S.replace(/^\s+|\s+$/g,"")}function T(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function F(S,L){if(!(S===null||typeof S>"u"))if(typeof S!="object"&&(S=[S]),r(S))for(var U=0,D=S.length;U"u"||(e.isArray(c)?f=f+"[]":c=[c],e.forEach(c,function(p){e.isDate(p)?p=p.toISOString():e.isObject(p)&&(p=JSON.stringify(p)),s.push(t(f)+"="+t(p))}))}),o=s.join("&")}if(o){var l=n.indexOf("#");l!==-1&&(n=n.slice(0,l)),n+=(n.indexOf("?")===-1?"?":"&")+o}return n},N0}var R0,y8;function aO(){if(y8)return R0;y8=1;var e=qr();function t(){this.handlers=[]}return t.prototype.use=function(n,i,a){return this.handlers.push({fulfilled:n,rejected:i,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},t.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},t.prototype.forEach=function(n){e.forEach(this.handlers,function(a){a!==null&&n(a)})},R0=t,R0}var L0,_8;function oO(){if(_8)return L0;_8=1;var e=qr();return L0=function(r,n){e.forEach(r,function(a,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(r[n]=a,delete r[o])})},L0}var B0,C8;function w8(){return C8||(C8=1,B0=function(t,r,n,i,a){return t.config=r,n&&(t.code=n),t.request=i,t.response=a,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}),B0}var $0,E8;function T8(){if(E8)return $0;E8=1;var e=w8();return $0=function(r,n,i,a,o){var s=new Error(r);return e(s,n,i,a,o)},$0}var H0,k8;function sO(){if(k8)return H0;k8=1;var e=T8();return H0=function(r,n,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?r(i):n(e("Request failed with status code "+i.status,i.config,null,i.request,i))},H0}var q0,x8;function lO(){if(x8)return q0;x8=1;var e=qr();return q0=e.isStandardBrowserEnv()?(function(){return{write:function(n,i,a,o,s,l){var u=[];u.push(n+"="+encodeURIComponent(i)),e.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(s)&&u.push("domain="+s),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}})():(function(){return{write:function(){},read:function(){return null},remove:function(){}}})(),q0}var j0,S8;function uO(){return S8||(S8=1,j0=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}),j0}var U0,F8;function cO(){return F8||(F8=1,U0=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),U0}var z0,O8;function dO(){if(O8)return z0;O8=1;var e=uO(),t=cO();return z0=function(n,i){return n&&!e(i)?t(n,i):i},z0}var W0,P8;function fO(){if(P8)return W0;P8=1;var e=qr(),t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return W0=function(n){var i={},a,o,s;return n&&e.forEach(n.split(` `),function(u){if(s=u.indexOf(":"),a=e.trim(u.substr(0,s)).toLowerCase(),o=e.trim(u.substr(s+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},W0}var V0,D8;function hO(){if(D8)return V0;D8=1;var e=qr();return V0=e.isStandardBrowserEnv()?(function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function a(o){var s=o;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(s){var l=e.isString(s)?a(s):s;return l.protocol===i.protocol&&l.host===i.host}})():(function(){return function(){return!0}})(),V0}var Z0,A8;function M8(){if(A8)return Z0;A8=1;var e=qr(),t=sO(),r=lO(),n=b8(),i=dO(),a=fO(),o=hO(),s=T8();return Z0=function(u){return new Promise(function(f,h){var p=u.data,g=u.headers,v=u.responseType;e.isFormData(p)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(u.auth){var _=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";g.Authorization="Basic "+btoa(_+":"+w)}var T=i(u.baseURL,u.url);m.open(u.method.toUpperCase(),n(T,u.params,u.paramsSerializer),!0),m.timeout=u.timeout;function F(){if(m){var M="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,H=!v||v==="text"||v==="json"?m.responseText:m.response,S={data:H,status:m.status,statusText:m.statusText,headers:M,config:u,request:m};t(f,h,S),m=null}}if("onloadend"in m?m.onloadend=F:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(F)},m.onabort=function(){m&&(h(s("Request aborted",u,"ECONNABORTED",m)),m=null)},m.onerror=function(){h(s("Network Error",u,null,m)),m=null},m.ontimeout=function(){var H="timeout of "+u.timeout+"ms exceeded";u.timeoutErrorMessage&&(H=u.timeoutErrorMessage),h(s(H,u,u.transitional&&u.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},e.isStandardBrowserEnv()){var O=(u.withCredentials||o(T))&&u.xsrfCookieName?r.read(u.xsrfCookieName):void 0;O&&(g[u.xsrfHeaderName]=O)}"setRequestHeader"in m&&e.forEach(g,function(H,S){typeof p>"u"&&S.toLowerCase()==="content-type"?delete g[S]:m.setRequestHeader(S,H)}),e.isUndefined(u.withCredentials)||(m.withCredentials=!!u.withCredentials),v&&v!=="json"&&(m.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&m.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",u.onUploadProgress),u.cancelToken&&u.cancelToken.promise.then(function(H){m&&(m.abort(),h(H),m=null)}),p||(p=null),m.send(p)})},Z0}var Y0,I8;function G0(){if(I8)return Y0;I8=1;var e=qr(),t=oO(),r=w8(),n={"Content-Type":"application/x-www-form-urlencoded"};function i(l,u){!e.isUndefined(l)&&e.isUndefined(l["Content-Type"])&&(l["Content-Type"]=u)}function a(){var l;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(l=M8()),l}function o(l,u,c){if(e.isString(l))try{return(u||JSON.parse)(l),e.trim(l)}catch(f){if(f.name!=="SyntaxError")throw f}return(c||JSON.stringify)(l)}var s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:a(),transformRequest:[function(u,c){return t(c,"Accept"),t(c,"Content-Type"),e.isFormData(u)||e.isArrayBuffer(u)||e.isBuffer(u)||e.isStream(u)||e.isFile(u)||e.isBlob(u)?u:e.isArrayBufferView(u)?u.buffer:e.isURLSearchParams(u)?(i(c,"application/x-www-form-urlencoded;charset=utf-8"),u.toString()):e.isObject(u)||c&&c["Content-Type"]==="application/json"?(i(c,"application/json"),o(u)):u}],transformResponse:[function(u){var c=this.transitional,f=c&&c.silentJSONParsing,h=c&&c.forcedJSONParsing,p=!f&&this.responseType==="json";if(p||h&&e.isString(u)&&u.length)try{return JSON.parse(u)}catch(g){if(p)throw g.name==="SyntaxError"?r(g,this,"E_JSON_PARSE"):g}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(u){return u>=200&&u<300}};return s.headers={common:{Accept:"application/json, text/plain, */*"}},e.forEach(["delete","get","head"],function(u){s.headers[u]={}}),e.forEach(["post","put","patch"],function(u){s.headers[u]=e.merge(n)}),Y0=s,Y0}var K0,N8;function pO(){if(N8)return K0;N8=1;var e=qr(),t=G0();return K0=function(n,i,a){var o=this||t;return e.forEach(a,function(l){n=l.call(o,n,i)}),n},K0}var X0,R8;function L8(){return R8||(R8=1,X0=function(t){return!!(t&&t.__CANCEL__)}),X0}var Q0,B8;function gO(){if(B8)return Q0;B8=1;var e=qr(),t=pO(),r=L8(),n=G0();function i(a){a.cancelToken&&a.cancelToken.throwIfRequested()}return Q0=function(o){i(o),o.headers=o.headers||{},o.data=t.call(o,o.data,o.headers,o.transformRequest),o.headers=e.merge(o.headers.common||{},o.headers[o.method]||{},o.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(u){delete o.headers[u]});var s=o.adapter||n.adapter;return s(o).then(function(u){return i(o),u.data=t.call(o,u.data,u.headers,o.transformResponse),u},function(u){return r(u)||(i(o),u&&u.response&&(u.response.data=t.call(o,u.response.data,u.response.headers,o.transformResponse))),Promise.reject(u)})},Q0}var J0,$8;function H8(){if($8)return J0;$8=1;var e=qr();return J0=function(r,n){n=n||{};var i={},a=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function u(p,g){return e.isPlainObject(p)&&e.isPlainObject(g)?e.merge(p,g):e.isPlainObject(g)?e.merge({},g):e.isArray(g)?g.slice():g}function c(p){e.isUndefined(n[p])?e.isUndefined(r[p])||(i[p]=u(void 0,r[p])):i[p]=u(r[p],n[p])}e.forEach(a,function(g){e.isUndefined(n[g])||(i[g]=u(void 0,n[g]))}),e.forEach(o,c),e.forEach(s,function(g){e.isUndefined(n[g])?e.isUndefined(r[g])||(i[g]=u(void 0,r[g])):i[g]=u(void 0,n[g])}),e.forEach(l,function(g){g in n?i[g]=u(r[g],n[g]):g in r&&(i[g]=u(void 0,r[g]))});var f=a.concat(o).concat(s).concat(l),h=Object.keys(r).concat(Object.keys(n)).filter(function(g){return f.indexOf(g)===-1});return e.forEach(h,c),i},J0}const mO={version:"0.21.4"};var e1,q8;function vO(){if(q8)return e1;q8=1;var e=mO,t={};["object","boolean","number","function","string","symbol"].forEach(function(o,s){t[o]=function(u){return typeof u===o||"a"+(s<1?"n ":" ")+o}});var r={},n=e.version.split(".");function i(o,s){for(var l=s?s.split("."):n,u=o.split("."),c=0;c<3;c++){if(l[c]>u[c])return!0;if(l[c]0;){var f=u[c],h=s[f];if(h){var p=o[f],g=p===void 0||h(p,f,o);if(g!==!0)throw new TypeError("option "+f+" must be "+g);continue}if(l!==!0)throw Error("Unknown option "+f)}}return e1={isOlderVersion:i,assertOptions:a,validators:t},e1}var t1,j8;function bO(){if(j8)return t1;j8=1;var e=qr(),t=b8(),r=aO(),n=gO(),i=H8(),a=vO(),o=a.validators;function s(l){this.defaults=l,this.interceptors={request:new r,response:new r}}return s.prototype.request=function(u){typeof u=="string"?(u=arguments[1]||{},u.url=arguments[0]):u=u||{},u=i(this.defaults,u),u.method?u.method=u.method.toLowerCase():this.defaults.method?u.method=this.defaults.method.toLowerCase():u.method="get";var c=u.transitional;c!==void 0&&a.assertOptions(c,{silentJSONParsing:o.transitional(o.boolean,"1.0.0"),forcedJSONParsing:o.transitional(o.boolean,"1.0.0"),clarifyTimeoutError:o.transitional(o.boolean,"1.0.0")},!1);var f=[],h=!0;this.interceptors.request.forEach(function(F){typeof F.runWhen=="function"&&F.runWhen(u)===!1||(h=h&&F.synchronous,f.unshift(F.fulfilled,F.rejected))});var p=[];this.interceptors.response.forEach(function(F){p.push(F.fulfilled,F.rejected)});var g;if(!h){var v=[n,void 0];for(Array.prototype.unshift.apply(v,f),v=v.concat(p),g=Promise.resolve(u);v.length;)g=g.then(v.shift(),v.shift());return g}for(var m=u;f.length;){var _=f.shift(),w=f.shift();try{m=_(m)}catch(T){w(T);break}}try{g=n(m)}catch(T){return Promise.reject(T)}for(;p.length;)g=g.then(p.shift(),p.shift());return g},s.prototype.getUri=function(u){return u=i(this.defaults,u),t(u.url,u.params,u.paramsSerializer).replace(/^\?/,"")},e.forEach(["delete","get","head","options"],function(u){s.prototype[u]=function(c,f){return this.request(i(f||{},{method:u,url:c,data:(f||{}).data}))}}),e.forEach(["post","put","patch"],function(u){s.prototype[u]=function(c,f,h){return this.request(i(h||{},{method:u,url:c,data:f}))}}),t1=s,t1}var r1,U8;function z8(){if(U8)return r1;U8=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,r1=e,r1}var n1,W8;function yO(){if(W8)return n1;W8=1;var e=z8();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var i=this;r(function(o){i.reason||(i.reason=new e(o),n(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.source=function(){var n,i=new t(function(o){n=o});return{token:i,cancel:n}},n1=t,n1}var i1,V8;function _O(){return V8||(V8=1,i1=function(t){return function(n){return t.apply(null,n)}}),i1}var a1,Z8;function CO(){return Z8||(Z8=1,a1=function(t){return typeof t=="object"&&t.isAxiosError===!0}),a1}var Y8;function wO(){if(Y8)return Os.exports;Y8=1;var e=qr(),t=g8(),r=bO(),n=H8(),i=G0();function a(s){var l=new r(s),u=t(r.prototype.request,l);return e.extend(u,r.prototype,l),e.extend(u,l),u}var o=a(i);return o.Axios=r,o.create=function(l){return a(n(o.defaults,l))},o.Cancel=z8(),o.CancelToken=yO(),o.isCancel=L8(),o.all=function(l){return Promise.all(l)},o.spread=_O(),o.isAxiosError=CO(),Os.exports=o,Os.exports.default=o,Os.exports}var o1,G8;function EO(){return G8||(G8=1,o1=wO()),o1}var K8;function TO(){if(K8)return tr;K8=1;function e(pe){return pe&&typeof pe=="object"&&"default"in pe?pe.default:pe}Object.defineProperty(tr,"__esModule",{value:!0});var t=e(gF()),r=e(vF()),n=e(kF()),i=e(Jc()),a=e(SF()),o=e(FF()),s=e(DF()),l=e(MF()),u=e(j6()),c=e(IF()),f=e(zF()),h=e(WF()),p=e(Ss()),g=e(VF()),v=e(ZF()),m=e(GF()),_=e(KF()),w=e(iO()),T=e(EO()),F=function(){return(F=Object.assign||function(pe){for(var rt,Ye=1,Oe=arguments.length;Ye0&&_e[_e.length-1])&&(Me[0]===6||Me[0]===2)){Be=0;continue}if(Me[0]===3&&(!_e||Me[1]>_e[0]&&Me[1]<_e[3])){Be.label=Me[1];break}if(Me[0]===6&&Be.label<_e[1]){Be.label=_e[1],_e=Me;break}if(_e&&Be.label<_e[2]){Be.label=_e[2],Be.ops.push(Me);break}_e[2]&&Be.ops.pop(),Be.trys.pop();continue}Me=rt.call(pe,Be)}catch(Pr){Me=[6,Pr],Oe=0}finally{Ye=_e=0}if(5&Me[0])throw Me[1];return{value:Me[0]?Me[1]:void 0,done:!0}})([Ht,Wt])}}},H=void 0,S=w([[_,m],[v(Number),m],[g,function(pe){return Number(pe)}]]),L=p(3,function(pe,rt,Ye){var Oe=v(Number);return Oe(pe)&&Oe(rt)&&Oe(Ye)&&h(Ye,pe)&&h(rt,Ye)}),U=p(2,function(pe,rt){return f(rt,pe)}),D=function(pe){return!!pe&&(typeof pe=="object"||typeof pe=="function")&&typeof pe.then=="function"},b={Accept:"application/json","Content-Type":"application/json"},C={timeout:0},k=null,P="CLIENT_ERROR",A="SERVER_ERROR",I="TIMEOUT_ERROR",q="CONNECTION_ERROR",B="NETWORK_ERROR",K="UNKNOWN_ERROR",X="CANCEL_ERROR",re=["ECONNABORTED"],ve=["ENOTFOUND","ECONNREFUSED","ECONNRESET"],be=L(200,299),Ee=L(400,499),Ce=L(500,599),se=c(_,u(void 0),l("status")),ce=function(pe){return pe.message==="Network Error"?B:T.isCancel(pe)?X:w([[_,function(){return Fe(se(pe.response))}],[U(re),u(I)],[U(ve),u(q)],[g,u(K)]])(pe.code)},Fe=function(pe){return w([[_,u(K)],[be,u(k)],[Ee,u(P)],[Ce,u(A)],[g,u(K)]])(pe)},we=function(pe){var rt,Ye=s(b,pe.headers||{});if(pe.axiosInstance)rt=pe.axiosInstance;else{var Oe=s(C,o("headers",pe));rt=T.create(Oe)}var _e=[],We=[],Be=[],kt=[],Ht=[],Wt=function(Re,Xe){return Ye[Re]=Xe,rt},Me=function(Re,Xe,Ct,Pt){return Ct===void 0&&(Ct={}),Pt===void 0&&(Pt={}),jr(s({url:Xe,params:Ct,method:Re},Pt))},Pr=function(Re,Xe,Ct,Pt){return Ct===void 0&&(Ct=null),Pt===void 0&&(Pt={}),jr(s({url:Xe,method:Re,data:Ct},Pt))},jr=function(Re){return O(H,void 0,void 0,function(){var Xe,Ct,Pt;return M(this,function(Vt){switch(Vt.label){case 0:if(Re.headers=F({},Ye,Re.headers),We.length>0&&a(function(Ar){return Ar(Re)},We),!(Be.length>0))return[3,6];Xe=0,Vt.label=1;case 1:return Xe0&&a(function(ne){return ne(R)},kt),!(Ht.length>0))return[3,6];Y=0,ee.label=1;case 1:return Y-1&&n%1==0&&n-1&&r%1==0&&r<=e}return A1=t,A1}var I1,F9;function RO(){if(F9)return I1;F9=1;var e=Qi(),t=M1(),r=_i(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",s="[object Error]",l="[object Function]",u="[object Map]",c="[object Number]",f="[object Object]",h="[object RegExp]",p="[object Set]",g="[object String]",v="[object WeakMap]",m="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",T="[object Float64Array]",F="[object Int8Array]",O="[object Int16Array]",M="[object Int32Array]",H="[object Uint8Array]",S="[object Uint8ClampedArray]",L="[object Uint16Array]",U="[object Uint32Array]",D={};D[w]=D[T]=D[F]=D[O]=D[M]=D[H]=D[S]=D[L]=D[U]=!0,D[n]=D[i]=D[m]=D[a]=D[_]=D[o]=D[s]=D[l]=D[u]=D[c]=D[f]=D[h]=D[p]=D[g]=D[v]=!1;function b(C){return r(C)&&t(C.length)&&!!D[e(C)]}return I1=b,I1}var N1,O9;function LO(){if(O9)return N1;O9=1;function e(t){return function(r){return t(r)}}return N1=e,N1}var oo={exports:{}};oo.exports;var P9;function BO(){return P9||(P9=1,(function(e,t){var r=Q8(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=(function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}})();e.exports=s})(oo,oo.exports)),oo.exports}var R1,D9;function Ms(){if(D9)return R1;D9=1;var e=RO(),t=LO(),r=BO(),n=r&&r.isTypedArray,i=n?t(n):e;return R1=i,R1}var L1,A9;function M9(){if(A9)return L1;A9=1;var e=MO(),t=Ps(),r=Gr(),n=Ds(),i=As(),a=Ms(),o=Object.prototype,s=o.hasOwnProperty;function l(u,c){var f=r(u),h=!f&&t(u),p=!f&&!h&&n(u),g=!f&&!h&&!p&&a(u),v=f||h||p||g,m=v?e(u.length,String):[],_=m.length;for(var w in u)(c||s.call(u,w))&&!(v&&(w=="length"||p&&(w=="offset"||w=="parent")||g&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||i(w,_)))&&m.push(w);return m}return L1=l,L1}var B1,I9;function $1(){if(I9)return B1;I9=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return B1=t,B1}var H1,N9;function R9(){if(N9)return H1;N9=1;function e(t,r){return function(n){return t(r(n))}}return H1=e,H1}var q1,L9;function $O(){if(L9)return q1;L9=1;var e=R9(),t=e(Object.keys,Object);return q1=t,q1}var j1,B9;function HO(){if(B9)return j1;B9=1;var e=$1(),t=$O(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var s in Object(a))n.call(a,s)&&s!="constructor"&&o.push(s);return o}return j1=i,j1}var U1,$9;function Ji(){if($9)return U1;$9=1;var e=ei(),t=M1();function r(n){return n!=null&&t(n.length)&&!e(n)}return U1=r,U1}var z1,H9;function so(){if(H9)return z1;H9=1;var e=M9(),t=HO(),r=Ji();function n(i){return r(i)?e(i):t(i)}return z1=n,z1}var W1,q9;function Is(){if(q9)return W1;q9=1;var e=b9(),t=so();function r(n,i){return n&&e(n,i,t)}return W1=r,W1}var V1,j9;function qO(){if(j9)return V1;j9=1;function e(){this.__data__=[],this.size=0}return V1=e,V1}var Z1,U9;function lo(){if(U9)return Z1;U9=1;function e(t,r){return t===r||t!==t&&r!==r}return Z1=e,Z1}var Y1,z9;function Ns(){if(z9)return Y1;z9=1;var e=lo();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return Y1=t,Y1}var G1,W9;function jO(){if(W9)return G1;W9=1;var e=Ns(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():r.call(a,o,1),--this.size,!0}return G1=n,G1}var K1,V9;function UO(){if(V9)return K1;V9=1;var e=Ns();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return K1=t,K1}var X1,Z9;function zO(){if(Z9)return X1;Z9=1;var e=Ns();function t(r){return e(this.__data__,r)>-1}return X1=t,X1}var Q1,Y9;function WO(){if(Y9)return Q1;Y9=1;var e=Ns();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return Q1=t,Q1}var J1,G9;function Rs(){if(G9)return J1;G9=1;var e=qO(),t=jO(),r=UO(),n=zO(),i=WO();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++sp))return!1;var v=f.get(o),m=f.get(s);if(v&&m)return v==s&&m==o;var _=-1,w=!0,T=l&i?new e:void 0;for(f.set(o,s),f.set(s,o);++_-1?l[u?a[c]:c]:void 0}}return F2=n,F2}var O2,O7;function jP(){if(O7)return O2;O7=1;function e(t,r,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return nf=n,nf}var af,fm;function hm(){if(fm)return af;fm=1;var e=lD(),t=uD(),r=t(e);return af=r,af}var of,pm;function cD(){if(pm)return of;pm=1;var e=co(),t=lm(),r=hm();function n(i,a){return r(t(i,a,e),i+"")}return of=n,of}var sf,gm;function dD(){if(gm)return sf;gm=1;var e=lo(),t=Ji(),r=As(),n=nn();function i(a,o,s){if(!n(s))return!1;var l=typeof o;return(l=="number"?t(s)&&r(o,s.length):l=="string"&&o in s)?e(s[o],a):!1}return sf=i,sf}var lf,mm;function vm(){if(mm)return lf;mm=1;var e=cD(),t=dD();function r(n){return e(function(i,a){var o=-1,s=a.length,l=s>1?a[s-1]:void 0,u=s>2?a[2]:void 0;for(l=n.length>3&&typeof l=="function"?(s--,l):void 0,u&&t(a[0],a[1],u)&&(l=s<3?void 0:l,s=1),i=Object(i);++o0&&a(c)?i>1?r(c,i-1,a,o,s):e(s,c):o||(s[s.length]=c)}return s}return vf=r,vf}var bf,Pm;function bD(){if(Pm)return bf;Pm=1;var e=vD();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return bf=t,bf}var yf,Dm;function yD(){if(Dm)return yf;Dm=1;var e=bD(),t=lm(),r=hm();function n(i){return r(t(i,void 0,e),i+"")}return yf=n,yf}var _f,Am;function _D(){if(Am)return _f;Am=1;var e=gD(),t=yD(),r=t(function(n,i){return n==null?{}:e(n,i)});return _f=r,_f}var Cf,Mm;function CD(){if(Mm)return Cf;Mm=1;var e=Rd(),t=qs(),r=Lg(),n=Ng(),i=Object.getOwnPropertySymbols,a=i?function(o){for(var s=[];o;)e(s,r(o)),o=t(o);return s}:n;return Cf=a,Cf}var wf,Im;function wD(){if(Im)return wf;Im=1;var e=Ag(),t=CD(),r=js();function n(i){return e(i,r,t)}return wf=n,wf}var Ef,Nm;function ED(){if(Nm)return Ef;Nm=1;var e=s7(),t=ea(),r=xm(),n=wD();function i(a,o){if(a==null)return{};var s=e(n(a),function(l){return[l]});return o=t(o),r(a,s,function(l,u){return o(l,u[0])})}return Ef=i,Ef}var Tf,Rm;function TD(){if(Rm)return Tf;Rm=1;var e=Ji();function t(r,n){return function(i,a){if(i==null)return i;if(!e(i))return r(i,a);for(var o=i.length,s=n?o:-1,l=Object(i);(n?s--:++s=0;i--)r[i]===n&&e.call(r,i,1)}return Df=t,Df}var Af,zm;function AD(){if(zm)return Af;zm=1;function e(t){return t.split("").map(function(r){return"(?:"+[r.toUpperCase(),r.toLowerCase()].join("|")+")"}).join("")}return Af=e,Af}var Mf,Wm;function MD(){if(Wm)return Mf;Wm=1;var e=PD(),t=DD(),r=AD();function n(){this.plurals=[],this.singulars=[],this.uncountables=[],this.humans=[],this.acronyms={},this.acronymRegex=/(?=a)b/}return n.getInstance=function(i){var a=typeof process<"u"?process:hn;return a.__Inflector_Inflections=a.__Inflector_Inflections||{},a.__Inflector_Inflections[i]=a.__Inflector_Inflections[i]||new n,a.__Inflector_Inflections[i]},n.prototype.acronym=function(i){this.acronyms[i.toLowerCase()]=i;var a=[];for(var o in this.acronyms)e(this.acronyms,o)&&a.push(this.acronyms[o]);this.acronymRegex=new RegExp(a.join("|"))},n.prototype.plural=function(i,a){typeof i=="string"&&t(this.uncountables,i),t(this.uncountables,a),this.plurals.unshift([i,a])},n.prototype.singular=function(i,a){typeof i=="string"&&t(this.uncountables,i),t(this.uncountables,a),this.singulars.unshift([i,a])},n.prototype.irregular=function(i,a){t(this.uncountables,i),t(this.uncountables,a);var o=i[0],s=i.substr(1),l=a[0],u=a.substr(1);if(o.toUpperCase()===l.toUpperCase())this.plural(new RegExp("("+o+")"+s+"$","i"),"$1"+u),this.plural(new RegExp("("+l+")"+u+"$","i"),"$1"+u),this.singular(new RegExp("("+o+")"+s+"$","i"),"$1"+s),this.singular(new RegExp("("+l+")"+u+"$","i"),"$1"+s);else{var c=r(s),f=r(u);this.plural(new RegExp(o.toUpperCase()+c+"$"),l.toUpperCase()+u),this.plural(new RegExp(o.toLowerCase()+c+"$"),l.toLowerCase()+u),this.plural(new RegExp(l.toUpperCase()+f+"$"),l.toUpperCase()+u),this.plural(new RegExp(l.toLowerCase()+f+"$"),l.toLowerCase()+u),this.singular(new RegExp(o.toUpperCase()+c+"$"),o.toUpperCase()+s),this.singular(new RegExp(o.toLowerCase()+c+"$"),o.toLowerCase()+s),this.singular(new RegExp(l.toUpperCase()+f+"$"),o.toUpperCase()+s),this.singular(new RegExp(l.toLowerCase()+f+"$"),o.toLowerCase()+s)}},n.prototype.uncountable=function(){var i=Array.prototype.slice.call(arguments,0);this.uncountables=this.uncountables.concat(i)},n.prototype.human=function(i,a){this.humans.unshift([i,a])},n.prototype.clear=function(i){i=i||"all",i==="all"?(this.plurals=[],this.singulars=[],this.uncountables=[],this.humans=[]):this[i]=[]},Mf=n,Mf}var If,Vm;function ID(){if(Vm)return If;Vm=1;var e={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O","×":"x",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",Þ:"Th",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",þ:"th",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",ĝ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"L",ł:"l",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"'n",Ŋ:"NG",ŋ:"ng",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z"},t="?";function r(){this.approximations={};for(var n in e)this.approximate(n,e[n])}return r.getInstance=function(n){var i=typeof process<"u"?process:hn;return i.__Inflector_Transliterator=i.__Inflector_Transliterator||{},i.__Inflector_Transliterator[n]=i.__Inflector_Transliterator[n]||new r,i.__Inflector_Transliterator[n]},r.prototype.approximate=function(n,i){this.approximations[n]=i},r.prototype.transliterate=function(n,i){var a=this;return n.replace(/[^\u0000-\u007f]/g,function(o){return a.approximations[o]||i||t})},If=r,If}var Nf,Zm;function ND(){if(Zm)return Nf;Zm=1;var e={pluralize:function(t,r){return r=r||"en",this._applyInflections(t,this.inflections(r).plurals)},singularize:function(t,r){return r=r||"en",this._applyInflections(t,this.inflections(r).singulars)},camelize:function(t,r){r==null&&(r=!0);var n=""+t,i=this;return r?n=n.replace(/^[a-z\d]*/,function(a){return i.inflections().acronyms[a]||i.capitalize(a)}):n=n.replace(new RegExp("^(?:"+this.inflections().acronymRegex.source+"(?=\\b|[A-Z_])|\\w)"),function(a){return a.toLowerCase()}),n=n.replace(/(?:_|(\/))([a-z\d]*)/gi,function(a,o,s,l,u){return o||(o=""),""+o+(i.inflections().acronyms[s]||i.capitalize(s))}),n},underscore:function(t){var r=""+t;return r=r.replace(new RegExp("(?:([A-Za-z\\d])|^)("+this.inflections().acronymRegex.source+")(?=\\b|[^a-z])","g"),function(n,i,a){return""+(i||"")+(i?"_":"")+a.toLowerCase()}),r=r.replace(/([A-Z\d]+)([A-Z][a-z])/g,"$1_$2"),r=r.replace(/([a-z\d])([A-Z])/g,"$1_$2"),r=r.replace(/-/g,"_"),r.toLowerCase()},humanize:function(t,r){var n=""+t,i=this.inflections().humans,a,o,s,l=this;r=r||{},(r.capitalize===null||r.capitalize===void 0)&&(r.capitalize=!0);for(var u=0,c=i.length;u-1){n=n.replace(o,s);break}return n=n.replace(/_id$/,""),n=n.replace(/_/g," "),n=n.replace(/([a-z\d]*)/gi,function(f){return l.inflections().acronyms[f]||f.toLowerCase()}),r.capitalize&&(n=n.replace(/^\w/,function(f){return f.toUpperCase()})),n},capitalize:function(t){var r=t==null?"":String(t);return r.charAt(0).toUpperCase()+r.slice(1)},titleize:function(t){return this.humanize(this.underscore(t)).replace(/(^|[\s¿\/]+)([a-z])/g,function(r,n,i,a,o){return r.replace(i,i.toUpperCase())})},tableize:function(t){return this.pluralize(this.underscore(t))},classify:function(t){return this.camelize(this.singularize(t.replace(/.*\./g,"")))},dasherize:function(t){return t.replace(/_/g,"-")},foreignKey:function(t,r){return r==null&&(r=!0),this.underscore(t)+(r?"_id":"id")},ordinal:function(t){var r=Math.abs(Number(t)),n=r%100;if(n===11||n===12||n===13)return"th";switch(r%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},ordinalize:function(t){return""+t+this.ordinal(t)},transliterate:function(t,r){r=r||{};var n=r.locale||"en",i=r.replacement||"?";return this.transliterations(n).transliterate(t,i)},parameterize:function(t,r){r=r||{},r.separator===void 0&&(r.separator="-"),r.separator===null&&(r.separator="");var n=this.transliterate(t,r);if(n=n.replace(/[^a-z0-9\-_]+/ig,r.separator),r.separator.length){var i=new RegExp(r.separator);n=n.replace(new RegExp(i.source+"{2,}"),r.separator),n=n.replace(new RegExp("^"+i.source+"|"+i.source+"$","i"),"")}return n.toLowerCase()},_applyInflections:function(t,r){var n=""+t,i,a,o;if(n.length===0)return n;var s=n.toLowerCase().match(/\b\w+$/);if(s&&this.inflections().uncountables.indexOf(s[0])>-1)return n;for(var l=0,u=r.length;l1&&(C=k[0],P=k[1]),D.serialize(b,g,C,m[P])}}),b}},qf}var jf,tv;function qD(){if(tv)return jf;tv=1;var e=ei(),t=k7(),r=HD();return jf=function(n,i,a){if(this.serialize=function(o){var s=this,l={};function u(h){return t(h,function(p){return e(p)?p(o):p})}function c(){return l.data=[],o.forEach(function(h){var p=new r(s.collectionName,h,l,s.opts);l.data.push(p.perform())}),l}function f(){return l.data=new r(s.collectionName,o,l,s.opts).perform(o),l}return s.opts.topLevelLinks&&(l.links=u(s.opts.topLevelLinks)),s.opts.meta&&(l.meta=t(s.opts.meta,function(h){return e(h)?h(o):h})),Array.isArray(o)?c():f()},arguments.length===3)return this.collectionName=n,this.opts=a,this.serialize(i);this.collectionName=n,this.opts=i},jf}var Uf,rv;function jD(){if(rv)return Uf;rv=1;var e=J7(),t=vm(),r=js(),n=t(function(i,a){e(a,r(a),i)});return Uf=n,Uf}var zf,nv;function UD(){return nv||(nv=1,zf=jD()),zf}var Wf,iv;function zD(){if(iv)return Wf;iv=1;var e=S2(),t=ei(),r=L7(),n=UD(),i=wm(),a=Jm();return Wf=function(o,s,l){function u(m){return Array.isArray(m)||e(m)}function c(m,_){if(l&&m&&l[m.type]){var w=l[m.type].valueForRelationship;return w(m,_)}else return _}function f(m,_){return new Promise(function(w){(!o.included||!m)&&w(null);var T=r(o.included,{id:m.id,type:m.type});return T?_.indexOf(T.type)>-1?Promise.all([p(T)]).then(function(F){var O=F[0],M=F[1];w(n(O,M))}):Promise.all([p(T),g(T,_+":"+T.type+T.id)]).then(function(F){var O=F[0],M=F[1];w(n(O,M))}):w(null)})}function h(m){return e(m)?i(m,function(_,w,T){u(w)?_[h(T)]=h(w):_[h(T)]=w}):Array.isArray(m)?m.map(function(_){return u(_)?h(_):_}):t(l.keyForAttribute)?l.keyForAttribute(m):a.caserize(m,l)}function p(m){var _=h(m.attributes||{});return"id"in m&&(_[l.id||"id"]=m.id),l.typeAsAttribute&&"type"in m&&(_.type=m.type),"meta"in m&&(_.meta=h(m.meta||{})),_}function g(m,_){if(m.relationships){var w={};return Promise.all(Object.keys(m.relationships).map(function(T){var F=m.relationships[T];if(F.data===null)w[h(T)]=null;else return Array.isArray(F.data)?Promise.all(F.data.map(function(O){return v(O,_)})).then(function(O){O&&(w[h(T)]=O)}):v(F.data,_).then(function(O){O&&(w[h(T)]=O)})})).then(function(){return w})}}function v(m,_){return f(m,_).then(function(w){var T=c(m,w);return T&&t(T.then)?T.then(function(F){return F}):T})}this.perform=function(){return Promise.all([p(s),g(s,s.type+s.id)]).then(function(m){var _=m[0],w=m[1],T=n(_,w);return o.links&&(T.links=o.links),l&&l.transform&&(T=l.transform(T)),T})}},Wf}var Vf,av;function WD(){if(av)return Vf;av=1;var e=ei(),t=zD();return Vf=function(r){r||(r={}),this.deserialize=function(n,i){function a(){return Promise.all(n.data.map(function(s){return new t(n,s,r).perform()})).then(function(s){return e(i)&&i(null,s),s})}function o(){return new t(n,n.data,r).perform().then(function(s){return e(i)&&i(null,s),s})}return Array.isArray(n.data)?a():o()}},Vf}var Zf,ov;function VD(){return ov||(ov=1,Zf=function(e){var t={errors:[]};return e.forEach(function(r){var n={};r.id&&(n.id=r.id),r.status&&(n.status=r.status),r.code&&(n.code=r.code),r.title&&(n.title=r.title),r.detail&&(n.detail=r.detail),r.source&&(n.source={},r.source.pointer&&(n.source.pointer=r.source.pointer),r.source.parameter&&(n.source.parameter=r.source.parameter)),r.links&&(n.links={about:r.links.about}),r.meta&&(n.meta=r.meta),t.errors.push(n)}),t}),Zf}var Yf,sv;function ZD(){if(sv)return Yf;sv=1;var e=VD();return Yf=function(t){return t||(t=[]),Array.isArray(t)?new e(t):new e([t])},Yf}var Gf,lv;function YD(){return lv||(lv=1,Gf={Serializer:qD(),Deserializer:WD(),Error:ZD()}),Gf}var GD=YD();const KD=pn(GD);var Us={exports:{}},uv;function XD(){if(uv)return Us.exports;uv=1;const e=i=>typeof i=="object"&&i!==null,t=Symbol("skip"),r=i=>e(i)&&!(i instanceof RegExp)&&!(i instanceof Error)&&!(i instanceof Date),n=(i,a,o,s=new WeakMap)=>{if(o={deep:!1,target:{},...o},s.has(i))return s.get(i);s.set(i,o.target);const{target:l}=o;delete o.target;const u=c=>c.map(f=>r(f)?n(f,a,o,s):f);if(Array.isArray(i))return u(i);for(const[c,f]of Object.entries(i)){const h=a(c,f,i);if(h===t)continue;let[p,g,{shouldRecurse:v=!0}={}]=h;p!=="__proto__"&&(o.deep&&v&&r(g)&&(g=Array.isArray(g)?u(g):n(g,a,o,s)),l[p]=g)}return l};return Us.exports=(i,a,o)=>{if(!e(i))throw new TypeError(`Expected an object, got \`${i}\` (${typeof i})`);return n(i,a,o)},Us.exports.mapObjectSkip=t,Us.exports}var zs={exports:{}},cv;function QD(){if(cv)return zs.exports;cv=1;const e=/[\p{Lu}]/u,t=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,n=/([\p{Alpha}\p{N}_]|$)/u,i=/[_.\- ]+/,a=new RegExp("^"+i.source),o=new RegExp(i.source+n.source,"gu"),s=new RegExp("\\d+"+n.source,"gu"),l=(h,p,g)=>{let v=!1,m=!1,_=!1;for(let w=0;w(r.lastIndex=0,h.replace(r,g=>p(g))),c=(h,p)=>(o.lastIndex=0,s.lastIndex=0,h.replace(o,(g,v)=>p(v)).replace(s,g=>p(g))),f=(h,p)=>{if(!(typeof h=="string"||Array.isArray(h)))throw new TypeError("Expected the input to be `string | string[]`");if(p={pascalCase:!1,preserveConsecutiveUppercase:!1,...p},Array.isArray(h)?h=h.map(_=>_.trim()).filter(_=>_.length).join("-"):h=h.trim(),h.length===0)return"";const g=p.locale===!1?_=>_.toLowerCase():_=>_.toLocaleLowerCase(p.locale),v=p.locale===!1?_=>_.toUpperCase():_=>_.toLocaleUpperCase(p.locale);return h.length===1?p.pascalCase?v(h):g(h):(h!==g(h)&&(h=l(h,g,v)),h=h.replace(a,""),p.preserveConsecutiveUppercase?h=u(h,g):h=g(h),p.pascalCase&&(h=v(h.charAt(0))+h.slice(1)),c(h,v))};return zs.exports=f,zs.exports.default=f,zs.exports}var Kf,dv;function JD(){if(dv)return Kf;dv=1;class e{constructor(r={}){if(!(r.maxSize&&r.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=r.maxSize,this.onEviction=r.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(r,n){if(this.cache.set(r,n),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(const[i,a]of this.oldCache.entries())this.onEviction(i,a);this.oldCache=this.cache,this.cache=new Map}}get(r){if(this.cache.has(r))return this.cache.get(r);if(this.oldCache.has(r)){const n=this.oldCache.get(r);return this.oldCache.delete(r),this._set(r,n),n}}set(r,n){return this.cache.has(r)?this.cache.set(r,n):this._set(r,n),this}has(r){return this.cache.has(r)||this.oldCache.has(r)}peek(r){if(this.cache.has(r))return this.cache.get(r);if(this.oldCache.has(r))return this.oldCache.get(r)}delete(r){const n=this.cache.delete(r);return n&&this._size--,this.oldCache.delete(r)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(const[r]of this)yield r}*values(){for(const[,r]of this)yield r}*[Symbol.iterator](){for(const r of this.cache)yield r;for(const r of this.oldCache){const[n]=r;this.cache.has(n)||(yield r)}}get size(){let r=0;for(const n of this.oldCache.keys())this.cache.has(n)||r++;return Math.min(this._size+r,this.maxSize)}}return Kf=e,Kf}var Xf,fv;function eA(){if(fv)return Xf;fv=1;const e=XD(),t=QD(),r=JD(),n=(s,l)=>s.some(u=>typeof u=="string"?u===l:(u.lastIndex=0,u.test(l))),i=new r({maxSize:1e5}),a=s=>typeof s=="object"&&s!==null&&!(s instanceof RegExp)&&!(s instanceof Error)&&!(s instanceof Date),o=(s,l)=>{if(!a(s))return s;l={deep:!1,pascalCase:!1,...l};const{exclude:u,pascalCase:c,stopPaths:f,deep:h}=l,p=new Set(f),g=v=>(m,_)=>{if(h&&a(_)){const w=v===void 0?m:`${v}.${m}`;p.has(w)||(_=e(_,g(w)))}if(!(u&&n(u,m))){const w=c?`${m}_`:m;if(i.has(w))m=i.get(w);else{const T=t(m,{pascalCase:c,locale:!1});m.length<100&&i.set(w,T),m=T}}return[m,_]};return e(s,g(void 0))};return Xf=(s,l)=>Array.isArray(s)?Object.keys(s).map(u=>o(s[u],l)):o(s,l),Xf}var tA=eA();const rA=pn(tA),nA={apiBaseUrl:"https://api.brella.io/api"};class iA{constructor(){this.api=kO.create({baseURL:nA.apiBaseUrl,headers:{"Cache-Control":"no-cache",accept:"application/vnd.brella.v4+json"},timeout:3e4}),this.addNormalizerTransformer(),this.addErrorMonitor()}deserialize=t=>new Promise((r,n)=>{new KD.Deserializer({keyForAttribute:"camelCase"}).deserialize(t,(i,a)=>{if(i){n(i);return}a&&a.usesTicketing&&r({...a,links:rA({...t.data.links})}),r(a)})});addNormalizerTransformer(){this.api.addAsyncResponseTransform(async t=>{t.ok&&(t.meta=t.data.meta,t.data=await this.deserialize(t.data))})}addOrganizationSlugHeader({orgSlug:t}){this.api.setHeaders({"oranization-slug":t})}addBrellaUseServiceHeader({service:t}){this.api.setHeaders({"brella-use-service":t})}addErrorMonitor(){this.api.addMonitor(t=>{t.problem&&(console.error(t.problem),console.error(t.data))})}getSchedule({publicCode:t,date:r}){return this.api.get(`/public/events/${t}/timeslots?date=${r||"all"}`)}getTimeslot({publicCode:t,timeslotId:r,options:n={}}){return this.api.get(`/public/events/${t}/timeslots/${r}?${Ws(n.params)}`)}getPublicEvent({publicCode:t}){return this.api.get(`/public/events/${t}`)}getDiscountForTickets({eventSlug:t,discountCode:r,ticketIds:n}){return this.api.get(`/public/events/${t}/tickets`,{discount_code:r,ticket_ids:n})}getTicketQuestion({eventSlug:t,ticketId:r}){return this.api.get(`/public/events/${t}/tickets/${r}/questions`)}postTicketingPurchase({ticketPurchase:t,eventSlug:r}){return this.api.post(`/public/events/${r}/ticket_purchases`,{event_ticket_purchase:t})}postTicketCheckout({purchaseId:t,successUrl:r,cancelUrl:n,eventSlug:i}){return this.api.post(`/public/events/${i}/checkout_sessions`,{checkout_sessions:{cancel_url:n,success_url:r,ticket_purchase_id:t}})}getTicketPurchase({eventSlug:t,ticketPurchaseId:r}){return this.api.get(`/public/events/${t}/ticket_purchases/${r}`)}getSpeakers({eventSlug:t,size:r=500}){return this.api.get(`/public/events/${t}/speakers?page[size]=${r}`)}getSponsors({eventSlug:t,queryParams:r,size:n=1300}){let i=`/public/events/${t}/sponsors?page[size]=${n}`;return r&&Object.keys(r).length>0&&(i+=`&${Ws(r)}`),this.api.get(i)}getScheduleTracks({eventSlug:t,options:r={}}){return this.api.get(`/public/events/${t}/schedule?${Ws(r.params)}`)}getSessionSponsors({eventSlug:t,timeSlotId:r}){return this.api.get(`/public/events/${t}/session_sponsors?timeslot_ids=${r}`)}}const rr=new iA;function Ws(e,t=""){const r=[];for(const n in e){if(!e[n])continue;const i=e[n],a=t?`${t}[${encodeURIComponent(n)}]`:encodeURIComponent(n);Array.isArray(i)?i.forEach(o=>{r.push(`${a}[]=${encodeURIComponent(o)}`)}):typeof i=="object"&&i!==null?r.push(Ws(i,a)):r.push(`${a}=${encodeURIComponent(i)}`)}return r.join("&")}const hv=An();function aA({children:e}){const t=bt(),r={ref:t};return d(hv.Provider,{value:r,children:d("div",{ref:t,children:e})})}function Qf(){const{ref:e}=tn(hv);return(t,r)=>{const n=new CustomEvent(t,{detail:r}),i=e.current.closest("#brella-widget");i&&i.dispatchEvent(n)}}var Vs={exports:{}},Zs={exports:{}},Ys={exports:{}},Gs={exports:{}},pv;function wr(){return pv||(pv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n,i){if(i.length1?"s":"")+" required, but only "+i.length+" present")}e.exports=t.default})(Gs,Gs.exports)),Gs.exports}var gv;function oA(){return gv||(gv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(wr());function n(a){return a&&a.__esModule?a:{default:a}}function i(a){return(0,r.default)(1,arguments),a instanceof Date||typeof a=="object"&&Object.prototype.toString.call(a)==="[object Date]"}e.exports=t.default})(Ys,Ys.exports)),Ys.exports}var Ks={exports:{}},mv;function _n(){return mv||(mv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(wr());function n(a){return a&&a.__esModule?a:{default:a}}function i(a){(0,r.default)(1,arguments);var o=Object.prototype.toString.call(a);return a instanceof Date||typeof a=="object"&&o==="[object Date]"?new Date(a.getTime()):typeof a=="number"||o==="[object Number]"?new Date(a):((typeof a=="string"||o==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}e.exports=t.default})(Ks,Ks.exports)),Ks.exports}var vv;function sA(){return vv||(vv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=a(oA()),n=a(_n()),i=a(wr());function a(s){return s&&s.__esModule?s:{default:s}}function o(s){if((0,i.default)(1,arguments),!(0,r.default)(s)&&typeof s!="number")return!1;var l=(0,n.default)(s);return!isNaN(Number(l))}e.exports=t.default})(Zs,Zs.exports)),Zs.exports}var Xs={exports:{}},Qs={exports:{}},bv;function lA(){return bv||(bv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},n=function(a,o,s){var l,u=r[a];return typeof u=="string"?l=u:o===1?l=u.one:l=u.other.replace("{{count}}",o.toString()),s!=null&&s.addSuffix?s.comparison&&s.comparison>0?"in "+l:l+" ago":l},i=n;t.default=i,e.exports=t.default})(Qs,Qs.exports)),Qs.exports}var Js={exports:{}},el={exports:{}},yv;function uA(){return yv||(yv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n){return function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=i.width?String(i.width):n.defaultWidth,o=n.formats[a]||n.formats[n.defaultWidth];return o}}e.exports=t.default})(el,el.exports)),el.exports}var _v;function cA(){return _v||(_v=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(uA());function n(u){return u&&u.__esModule?u:{default:u}}var i={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},a={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},o={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:(0,r.default)({formats:i,defaultWidth:"full"}),time:(0,r.default)({formats:a,defaultWidth:"full"}),dateTime:(0,r.default)({formats:o,defaultWidth:"full"})},l=s;t.default=l,e.exports=t.default})(Js,Js.exports)),Js.exports}var tl={exports:{}},Cv;function dA(){return Cv||(Cv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},n=function(a,o,s,l){return r[a]},i=n;t.default=i,e.exports=t.default})(tl,tl.exports)),tl.exports}var rl={exports:{}},nl={exports:{}},wv;function fA(){return wv||(wv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n){return function(i,a){var o=a||{},s=o.context?String(o.context):"standalone",l;if(s==="formatting"&&n.formattingValues){var u=n.defaultFormattingWidth||n.defaultWidth,c=o.width?String(o.width):u;l=n.formattingValues[c]||n.formattingValues[u]}else{var f=n.defaultWidth,h=o.width?String(o.width):n.defaultWidth;l=n.values[h]||n.values[f]}var p=n.argumentCallback?n.argumentCallback(i):i;return l[p]}}e.exports=t.default})(nl,nl.exports)),nl.exports}var Ev;function hA(){return Ev||(Ev=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(fA());function n(p){return p&&p.__esModule?p:{default:p}}var i={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},a={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},o={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},s={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},l={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},c=function(p,g){var v=Number(p),m=v%100;if(m>20||m<10)switch(m%10){case 1:return v+"st";case 2:return v+"nd";case 3:return v+"rd"}return v+"th"},f={ordinalNumber:c,era:(0,r.default)({values:i,defaultWidth:"wide"}),quarter:(0,r.default)({values:a,defaultWidth:"wide",argumentCallback:function(p){return p-1}}),month:(0,r.default)({values:o,defaultWidth:"wide"}),day:(0,r.default)({values:s,defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:l,defaultWidth:"wide",formattingValues:u,defaultFormattingWidth:"wide"})},h=f;t.default=h,e.exports=t.default})(rl,rl.exports)),rl.exports}var il={exports:{}},al={exports:{}},Tv;function pA(){return Tv||(Tv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(a){return function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.width,u=l&&a.matchPatterns[l]||a.matchPatterns[a.defaultMatchWidth],c=o.match(u);if(!c)return null;var f=c[0],h=l&&a.parsePatterns[l]||a.parsePatterns[a.defaultParseWidth],p=Array.isArray(h)?i(h,function(m){return m.test(f)}):n(h,function(m){return m.test(f)}),g;g=a.valueCallback?a.valueCallback(p):p,g=s.valueCallback?s.valueCallback(g):g;var v=o.slice(f.length);return{value:g,rest:v}}}function n(a,o){for(var s in a)if(a.hasOwnProperty(s)&&o(a[s]))return s}function i(a,o){for(var s=0;s1&&arguments[1]!==void 0?arguments[1]:{},o=i.match(n.matchPattern);if(!o)return null;var s=o[0],l=i.match(n.parsePattern);if(!l)return null;var u=n.valueCallback?n.valueCallback(l[0]):l[0];u=a.valueCallback?a.valueCallback(u):u;var c=i.slice(s.length);return{value:u,rest:c}}}e.exports=t.default})(ol,ol.exports)),ol.exports}var xv;function mA(){return xv||(xv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(pA()),n=i(gA());function i(T){return T&&T.__esModule?T:{default:T}}var a=/^(\d+)(th|st|nd|rd)?/i,o=/\d+/i,s={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},l={any:[/^b/i,/^(a|c)/i]},u={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},c={any:[/1/i,/2/i,/3/i,/4/i]},f={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},h={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},p={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},g={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},v={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},m={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},_={ordinalNumber:(0,n.default)({matchPattern:a,parsePattern:o,valueCallback:function(T){return parseInt(T,10)}}),era:(0,r.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:u,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any",valueCallback:function(T){return T+1}}),month:(0,r.default)({matchPatterns:f,defaultMatchWidth:"wide",parsePatterns:h,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:v,defaultMatchWidth:"any",parsePatterns:m,defaultParseWidth:"any"})},w=_;t.default=w,e.exports=t.default})(il,il.exports)),il.exports}var Sv;function vA(){return Sv||(Sv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(lA()),n=s(cA()),i=s(dA()),a=s(hA()),o=s(mA());function s(c){return c&&c.__esModule?c:{default:c}}var l={code:"en-US",formatDistance:r.default,formatLong:n.default,formatRelative:i.default,localize:a.default,match:o.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},u=l;t.default=u,e.exports=t.default})(Xs,Xs.exports)),Xs.exports}var sl={exports:{}},ll={exports:{}},Fv;function Ci(){return Fv||(Fv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n){if(n===null||n===!0||n===!1)return NaN;var i=Number(n);return isNaN(i)?i:i<0?Math.ceil(i):Math.floor(i)}e.exports=t.default})(ll,ll.exports)),ll.exports}var ul={exports:{}},Ov;function bA(){return Ov||(Ov=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=a(Ci()),n=a(_n()),i=a(wr());function a(s){return s&&s.__esModule?s:{default:s}}function o(s,l){(0,i.default)(2,arguments);var u=(0,n.default)(s).getTime(),c=(0,r.default)(l);return new Date(u+c)}e.exports=t.default})(ul,ul.exports)),ul.exports}var Pv;function yA(){return Pv||(Pv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=a(Ci()),n=a(bA()),i=a(wr());function a(s){return s&&s.__esModule?s:{default:s}}function o(s,l){(0,i.default)(2,arguments);var u=(0,r.default)(l);return(0,n.default)(s,-u)}e.exports=t.default})(sl,sl.exports)),sl.exports}var cl={exports:{}},dl={exports:{}},Dv;function _A(){return Dv||(Dv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(_n()),n=i(wr());function i(s){return s&&s.__esModule?s:{default:s}}var a=864e5;function o(s){(0,n.default)(1,arguments);var l=(0,r.default)(s),u=l.getTime();l.setUTCMonth(0,1),l.setUTCHours(0,0,0,0);var c=l.getTime(),f=u-c;return Math.floor(f/a)+1}e.exports=t.default})(dl,dl.exports)),dl.exports}var fl={exports:{}},hl={exports:{}},Av;function Jf(){return Av||(Av=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=i(_n()),n=i(wr());function i(o){return o&&o.__esModule?o:{default:o}}function a(o){(0,n.default)(1,arguments);var s=1,l=(0,r.default)(o),u=l.getUTCDay(),c=(u=f.getTime()?u+1:l.getTime()>=p.getTime()?u:u-1}e.exports=t.default})(gl,gl.exports)),gl.exports}var Nv;function CA(){return Nv||(Nv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=a(Iv()),n=a(Jf()),i=a(wr());function a(s){return s&&s.__esModule?s:{default:s}}function o(s){(0,i.default)(1,arguments);var l=(0,r.default)(s),u=new Date(0);u.setUTCFullYear(l,0,4),u.setUTCHours(0,0,0,0);var c=(0,n.default)(u);return c}e.exports=t.default})(pl,pl.exports)),pl.exports}var Rv;function wA(){return Rv||(Rv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=o(_n()),n=o(Jf()),i=o(CA()),a=o(wr());function o(u){return u&&u.__esModule?u:{default:u}}var s=6048e5;function l(u){(0,a.default)(1,arguments);var c=(0,r.default)(u),f=(0,n.default)(c).getTime()-(0,i.default)(c).getTime();return Math.round(f/s)+1}e.exports=t.default})(fl,fl.exports)),fl.exports}var ml={exports:{}},vl={exports:{}},Lv;function eh(){return Lv||(Lv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=a(_n()),n=a(wr()),i=a(Ci());function a(s){return s&&s.__esModule?s:{default:s}}function o(s,l){(0,n.default)(1,arguments);var u=l||{},c=u.locale,f=c&&c.options&&c.options.weekStartsOn,h=f==null?0:(0,i.default)(f),p=u.weekStartsOn==null?h:(0,i.default)(u.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(s),v=g.getUTCDay(),m=(v=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _=new Date(0);_.setUTCFullYear(f+1,0,m),_.setUTCHours(0,0,0,0);var w=(0,i.default)(_,u),T=new Date(0);T.setUTCFullYear(f,0,m),T.setUTCHours(0,0,0,0);var F=(0,i.default)(T,u);return c.getTime()>=w.getTime()?f+1:c.getTime()>=F.getTime()?f:f-1}e.exports=t.default})(yl,yl.exports)),yl.exports}var Hv;function EA(){return Hv||(Hv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=o($v()),n=o(wr()),i=o(eh()),a=o(Ci());function o(l){return l&&l.__esModule?l:{default:l}}function s(l,u){(0,n.default)(1,arguments);var c=u||{},f=c.locale,h=f&&f.options&&f.options.firstWeekContainsDate,p=h==null?1:(0,a.default)(h),g=c.firstWeekContainsDate==null?p:(0,a.default)(c.firstWeekContainsDate),v=(0,r.default)(l,u),m=new Date(0);m.setUTCFullYear(v,0,g),m.setUTCHours(0,0,0,0);var _=(0,i.default)(m,u);return _}e.exports=t.default})(bl,bl.exports)),bl.exports}var qv;function TA(){return qv||(qv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=o(_n()),n=o(eh()),i=o(EA()),a=o(wr());function o(u){return u&&u.__esModule?u:{default:u}}var s=6048e5;function l(u,c){(0,a.default)(1,arguments);var f=(0,r.default)(u),h=(0,n.default)(f,c).getTime()-(0,i.default)(f,c).getTime();return Math.round(h/s)+1}e.exports=t.default})(ml,ml.exports)),ml.exports}var _l={exports:{}},jv;function Uv(){return jv||(jv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n,i){for(var a=n<0?"-":"",o=Math.abs(n).toString();o.length0?l:1-l;return(0,r.default)(s==="yy"?u%100:u,s.length)},M:function(o,s){var l=o.getUTCMonth();return s==="M"?String(l+1):(0,r.default)(l+1,2)},d:function(o,s){return(0,r.default)(o.getUTCDate(),s.length)},a:function(o,s){var l=o.getUTCHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return l.toUpperCase();case"aaa":return l;case"aaaaa":return l[0];case"aaaa":default:return l==="am"?"a.m.":"p.m."}},h:function(o,s){return(0,r.default)(o.getUTCHours()%12||12,s.length)},H:function(o,s){return(0,r.default)(o.getUTCHours(),s.length)},m:function(o,s){return(0,r.default)(o.getUTCMinutes(),s.length)},s:function(o,s){return(0,r.default)(o.getUTCSeconds(),s.length)},S:function(o,s){var l=s.length,u=o.getUTCMilliseconds(),c=Math.floor(u*Math.pow(10,l-3));return(0,r.default)(c,s.length)}},a=i;t.default=a,e.exports=t.default})(Cl,Cl.exports)),Cl.exports}var Wv;function xA(){return Wv||(Wv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(_A()),n=u(wA()),i=u(Iv()),a=u(TA()),o=u($v()),s=u(Uv()),l=u(kA());function u(m){return m&&m.__esModule?m:{default:m}}var c={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f={G:function(m,_,w){var T=m.getUTCFullYear()>0?1:0;switch(_){case"G":case"GG":case"GGG":return w.era(T,{width:"abbreviated"});case"GGGGG":return w.era(T,{width:"narrow"});case"GGGG":default:return w.era(T,{width:"wide"})}},y:function(m,_,w){if(_==="yo"){var T=m.getUTCFullYear(),F=T>0?T:1-T;return w.ordinalNumber(F,{unit:"year"})}return l.default.y(m,_)},Y:function(m,_,w,T){var F=(0,o.default)(m,T),O=F>0?F:1-F;if(_==="YY"){var M=O%100;return(0,s.default)(M,2)}return _==="Yo"?w.ordinalNumber(O,{unit:"year"}):(0,s.default)(O,_.length)},R:function(m,_){var w=(0,i.default)(m);return(0,s.default)(w,_.length)},u:function(m,_){var w=m.getUTCFullYear();return(0,s.default)(w,_.length)},Q:function(m,_,w){var T=Math.ceil((m.getUTCMonth()+1)/3);switch(_){case"Q":return String(T);case"QQ":return(0,s.default)(T,2);case"Qo":return w.ordinalNumber(T,{unit:"quarter"});case"QQQ":return w.quarter(T,{width:"abbreviated",context:"formatting"});case"QQQQQ":return w.quarter(T,{width:"narrow",context:"formatting"});case"QQQQ":default:return w.quarter(T,{width:"wide",context:"formatting"})}},q:function(m,_,w){var T=Math.ceil((m.getUTCMonth()+1)/3);switch(_){case"q":return String(T);case"qq":return(0,s.default)(T,2);case"qo":return w.ordinalNumber(T,{unit:"quarter"});case"qqq":return w.quarter(T,{width:"abbreviated",context:"standalone"});case"qqqqq":return w.quarter(T,{width:"narrow",context:"standalone"});case"qqqq":default:return w.quarter(T,{width:"wide",context:"standalone"})}},M:function(m,_,w){var T=m.getUTCMonth();switch(_){case"M":case"MM":return l.default.M(m,_);case"Mo":return w.ordinalNumber(T+1,{unit:"month"});case"MMM":return w.month(T,{width:"abbreviated",context:"formatting"});case"MMMMM":return w.month(T,{width:"narrow",context:"formatting"});case"MMMM":default:return w.month(T,{width:"wide",context:"formatting"})}},L:function(m,_,w){var T=m.getUTCMonth();switch(_){case"L":return String(T+1);case"LL":return(0,s.default)(T+1,2);case"Lo":return w.ordinalNumber(T+1,{unit:"month"});case"LLL":return w.month(T,{width:"abbreviated",context:"standalone"});case"LLLLL":return w.month(T,{width:"narrow",context:"standalone"});case"LLLL":default:return w.month(T,{width:"wide",context:"standalone"})}},w:function(m,_,w,T){var F=(0,a.default)(m,T);return _==="wo"?w.ordinalNumber(F,{unit:"week"}):(0,s.default)(F,_.length)},I:function(m,_,w){var T=(0,n.default)(m);return _==="Io"?w.ordinalNumber(T,{unit:"week"}):(0,s.default)(T,_.length)},d:function(m,_,w){return _==="do"?w.ordinalNumber(m.getUTCDate(),{unit:"date"}):l.default.d(m,_)},D:function(m,_,w){var T=(0,r.default)(m);return _==="Do"?w.ordinalNumber(T,{unit:"dayOfYear"}):(0,s.default)(T,_.length)},E:function(m,_,w){var T=m.getUTCDay();switch(_){case"E":case"EE":case"EEE":return w.day(T,{width:"abbreviated",context:"formatting"});case"EEEEE":return w.day(T,{width:"narrow",context:"formatting"});case"EEEEEE":return w.day(T,{width:"short",context:"formatting"});case"EEEE":default:return w.day(T,{width:"wide",context:"formatting"})}},e:function(m,_,w,T){var F=m.getUTCDay(),O=(F-T.weekStartsOn+8)%7||7;switch(_){case"e":return String(O);case"ee":return(0,s.default)(O,2);case"eo":return w.ordinalNumber(O,{unit:"day"});case"eee":return w.day(F,{width:"abbreviated",context:"formatting"});case"eeeee":return w.day(F,{width:"narrow",context:"formatting"});case"eeeeee":return w.day(F,{width:"short",context:"formatting"});case"eeee":default:return w.day(F,{width:"wide",context:"formatting"})}},c:function(m,_,w,T){var F=m.getUTCDay(),O=(F-T.weekStartsOn+8)%7||7;switch(_){case"c":return String(O);case"cc":return(0,s.default)(O,_.length);case"co":return w.ordinalNumber(O,{unit:"day"});case"ccc":return w.day(F,{width:"abbreviated",context:"standalone"});case"ccccc":return w.day(F,{width:"narrow",context:"standalone"});case"cccccc":return w.day(F,{width:"short",context:"standalone"});case"cccc":default:return w.day(F,{width:"wide",context:"standalone"})}},i:function(m,_,w){var T=m.getUTCDay(),F=T===0?7:T;switch(_){case"i":return String(F);case"ii":return(0,s.default)(F,_.length);case"io":return w.ordinalNumber(F,{unit:"day"});case"iii":return w.day(T,{width:"abbreviated",context:"formatting"});case"iiiii":return w.day(T,{width:"narrow",context:"formatting"});case"iiiiii":return w.day(T,{width:"short",context:"formatting"});case"iiii":default:return w.day(T,{width:"wide",context:"formatting"})}},a:function(m,_,w){var T=m.getUTCHours(),F=T/12>=1?"pm":"am";switch(_){case"a":case"aa":return w.dayPeriod(F,{width:"abbreviated",context:"formatting"});case"aaa":return w.dayPeriod(F,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return w.dayPeriod(F,{width:"narrow",context:"formatting"});case"aaaa":default:return w.dayPeriod(F,{width:"wide",context:"formatting"})}},b:function(m,_,w){var T=m.getUTCHours(),F;switch(T===12?F=c.noon:T===0?F=c.midnight:F=T/12>=1?"pm":"am",_){case"b":case"bb":return w.dayPeriod(F,{width:"abbreviated",context:"formatting"});case"bbb":return w.dayPeriod(F,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return w.dayPeriod(F,{width:"narrow",context:"formatting"});case"bbbb":default:return w.dayPeriod(F,{width:"wide",context:"formatting"})}},B:function(m,_,w){var T=m.getUTCHours(),F;switch(T>=17?F=c.evening:T>=12?F=c.afternoon:T>=4?F=c.morning:F=c.night,_){case"B":case"BB":case"BBB":return w.dayPeriod(F,{width:"abbreviated",context:"formatting"});case"BBBBB":return w.dayPeriod(F,{width:"narrow",context:"formatting"});case"BBBB":default:return w.dayPeriod(F,{width:"wide",context:"formatting"})}},h:function(m,_,w){if(_==="ho"){var T=m.getUTCHours()%12;return T===0&&(T=12),w.ordinalNumber(T,{unit:"hour"})}return l.default.h(m,_)},H:function(m,_,w){return _==="Ho"?w.ordinalNumber(m.getUTCHours(),{unit:"hour"}):l.default.H(m,_)},K:function(m,_,w){var T=m.getUTCHours()%12;return _==="Ko"?w.ordinalNumber(T,{unit:"hour"}):(0,s.default)(T,_.length)},k:function(m,_,w){var T=m.getUTCHours();return T===0&&(T=24),_==="ko"?w.ordinalNumber(T,{unit:"hour"}):(0,s.default)(T,_.length)},m:function(m,_,w){return _==="mo"?w.ordinalNumber(m.getUTCMinutes(),{unit:"minute"}):l.default.m(m,_)},s:function(m,_,w){return _==="so"?w.ordinalNumber(m.getUTCSeconds(),{unit:"second"}):l.default.s(m,_)},S:function(m,_){return l.default.S(m,_)},X:function(m,_,w,T){var F=T._originalDate||m,O=F.getTimezoneOffset();if(O===0)return"Z";switch(_){case"X":return p(O);case"XXXX":case"XX":return g(O);case"XXXXX":case"XXX":default:return g(O,":")}},x:function(m,_,w,T){var F=T._originalDate||m,O=F.getTimezoneOffset();switch(_){case"x":return p(O);case"xxxx":case"xx":return g(O);case"xxxxx":case"xxx":default:return g(O,":")}},O:function(m,_,w,T){var F=T._originalDate||m,O=F.getTimezoneOffset();switch(_){case"O":case"OO":case"OOO":return"GMT"+h(O,":");case"OOOO":default:return"GMT"+g(O,":")}},z:function(m,_,w,T){var F=T._originalDate||m,O=F.getTimezoneOffset();switch(_){case"z":case"zz":case"zzz":return"GMT"+h(O,":");case"zzzz":default:return"GMT"+g(O,":")}},t:function(m,_,w,T){var F=T._originalDate||m,O=Math.floor(F.getTime()/1e3);return(0,s.default)(O,_.length)},T:function(m,_,w,T){var F=T._originalDate||m,O=F.getTime();return(0,s.default)(O,_.length)}};function h(m,_){var w=m>0?"-":"+",T=Math.abs(m),F=Math.floor(T/60),O=T%60;if(O===0)return w+String(F);var M=_;return w+String(F)+M+(0,s.default)(O,2)}function p(m,_){if(m%60===0){var w=m>0?"-":"+";return w+(0,s.default)(Math.abs(m)/60,2)}return g(m,_)}function g(m,_){var w=_||"",T=m>0?"-":"+",F=Math.abs(m),O=(0,s.default)(Math.floor(F/60),2),M=(0,s.default)(F%60,2);return T+O+w+M}var v=f;t.default=v,e.exports=t.default})(cl,cl.exports)),cl.exports}var wl={exports:{}},Vv;function SA(){return Vv||(Vv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function r(s,l){switch(s){case"P":return l.date({width:"short"});case"PP":return l.date({width:"medium"});case"PPP":return l.date({width:"long"});case"PPPP":default:return l.date({width:"full"})}}function n(s,l){switch(s){case"p":return l.time({width:"short"});case"pp":return l.time({width:"medium"});case"ppp":return l.time({width:"long"});case"pppp":default:return l.time({width:"full"})}}function i(s,l){var u=s.match(/(P+)(p+)?/)||[],c=u[1],f=u[2];if(!f)return r(s,l);var h;switch(c){case"P":h=l.dateTime({width:"short"});break;case"PP":h=l.dateTime({width:"medium"});break;case"PPP":h=l.dateTime({width:"long"});break;case"PPPP":default:h=l.dateTime({width:"full"});break}return h.replace("{{date}}",r(c,l)).replace("{{time}}",n(f,l))}var a={p:n,P:i},o=a;t.default=o,e.exports=t.default})(wl,wl.exports)),wl.exports}var El={exports:{}},Zv;function Yv(){return Zv||(Zv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n){var i=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return i.setUTCFullYear(n.getFullYear()),n.getTime()-i.getTime()}e.exports=t.default})(El,El.exports)),El.exports}var ta={},Gv;function FA(){if(Gv)return ta;Gv=1,Object.defineProperty(ta,"__esModule",{value:!0}),ta.isProtectedDayOfYearToken=r,ta.isProtectedWeekYearToken=n,ta.throwProtectedError=i;var e=["D","DD"],t=["YY","YYYY"];function r(a){return e.indexOf(a)!==-1}function n(a){return t.indexOf(a)!==-1}function i(a,o,s){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(o,"`) for formatting years to the input `").concat(s,"`; see: https://git.io/fxCyr"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(o,"`) for formatting years to the input `").concat(s,"`; see: https://git.io/fxCyr"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(o,"`) for formatting days of the month to the input `").concat(s,"`; see: https://git.io/fxCyr"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(o,"`) for formatting days of the month to the input `").concat(s,"`; see: https://git.io/fxCyr"))}return ta}var Kv;function OA(){return Kv||(Kv=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r=h(sA()),n=h(vA()),i=h(yA()),a=h(_n()),o=h(xA()),s=h(SA()),l=h(Yv()),u=FA(),c=h(Ci()),f=h(wr());function h(F){return F&&F.__esModule?F:{default:F}}var p=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,g=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v=/^'([^]*?)'?$/,m=/''/g,_=/[a-zA-Z]/;function w(F,O,M){(0,f.default)(2,arguments);var H=String(O),S=M||{},L=S.locale||n.default,U=L.options&&L.options.firstWeekContainsDate,D=U==null?1:(0,c.default)(U),b=S.firstWeekContainsDate==null?D:(0,c.default)(S.firstWeekContainsDate);if(!(b>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=L.options&&L.options.weekStartsOn,k=C==null?0:(0,c.default)(C),P=S.weekStartsOn==null?k:(0,c.default)(S.weekStartsOn);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var A=(0,a.default)(F);if(!(0,r.default)(A))throw new RangeError("Invalid time value");var I=(0,l.default)(A),q=(0,i.default)(A,I),B={firstWeekContainsDate:b,weekStartsOn:P,locale:L,_originalDate:A},K=H.match(g).map(function(X){var re=X[0];if(re==="p"||re==="P"){var ve=s.default[re];return ve(X,L.formatLong,B)}return X}).join("").match(p).map(function(X){if(X==="''")return"'";var re=X[0];if(re==="'")return T(X);var ve=o.default[re];if(ve)return!S.useAdditionalWeekYearTokens&&(0,u.isProtectedWeekYearToken)(X)&&(0,u.throwProtectedError)(X,O,F),!S.useAdditionalDayOfYearTokens&&(0,u.isProtectedDayOfYearToken)(X)&&(0,u.throwProtectedError)(X,O,F),ve(q,X,L.localize,B);if(re.match(_))throw new RangeError("Format string contains an unescaped latin alphabet character `"+re+"`");return X}).join("");return K}function T(F){return F.match(v)[1].replace(m,"'")}e.exports=t.default})(Vs,Vs.exports)),Vs.exports}var PA=OA();const DA=pn(PA);function Xv(e,t,r){var n=IA(e,r.timeZone,r.locale);return n.formatToParts?AA(n,t):MA(n,t)}function AA(e,t){for(var r=e.formatToParts(t),n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function MA(e,t){var r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function IA(e,t,r){if(r&&!r.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function NA(e,t){var r=$A(t);return r.formatToParts?LA(r,e):BA(r,e)}var RA={year:0,month:1,day:2,hour:3,minute:4,second:5};function LA(e,t){try{for(var r=e.formatToParts(t),n=[],i=0;i=0&&(n[a]=parseInt(r[i].value,10))}return n}catch(o){if(o instanceof RangeError)return[NaN];throw o}}function BA(e,t){var r=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[n[3],n[1],n[2],n[4],n[5],n[6]]}var th={};function $A(e){if(!th[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),r=t==="06/25/2014, 00:00:00"||t==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";th[e]=r?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return th[e]}function Qv(e,t,r,n,i,a,o){var s=new Date(0);return s.setUTCFullYear(e,t,r),s.setUTCHours(n,i,a,o),s}var Jv=36e5,HA=6e4,rh={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function nh(e,t,r){var n,i;if(!e||(n=rh.timezoneZ.exec(e),n))return 0;var a;if(n=rh.timezoneHH.exec(e),n)return a=parseInt(n[1],10),eb(a)?-(a*Jv):NaN;if(n=rh.timezoneHHMM.exec(e),n){a=parseInt(n[1],10);var o=parseInt(n[2],10);return eb(a,o)?(i=Math.abs(a)*Jv+o*HA,a>0?-i:i):NaN}if(UA(e)){t=new Date(t||Date.now());var s=r?t:qA(t),l=ih(s,e),u=r?l:jA(t,l,e);return-u}return NaN}function qA(e){return Qv(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ih(e,t){var r=NA(e,t),n=Qv(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),i=e.getTime(),a=i%1e3;return i-=a>=0?a:1e3+a,n-i}function jA(e,t,r){var n=e.getTime(),i=n-t,a=ih(new Date(i),r);if(t===a)return t;i-=a-t;var o=ih(new Date(i),r);return a===o?a:Math.max(a,o)}function eb(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var tb={};function UA(e){if(tb[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),tb[e]=!0,!0}catch{return!1}}var zA=60*1e3,WA={X:function(e,t,r,n){var i=ah(n.timeZone,n._originalDate||e);if(i===0)return"Z";switch(t){case"X":return rb(i);case"XXXX":case"XX":return ra(i);case"XXXXX":case"XXX":default:return ra(i,":")}},x:function(e,t,r,n){var i=ah(n.timeZone,n._originalDate||e);switch(t){case"x":return rb(i);case"xxxx":case"xx":return ra(i);case"xxxxx":case"xxx":default:return ra(i,":")}},O:function(e,t,r,n){var i=ah(n.timeZone,n._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+VA(i,":");case"OOOO":default:return"GMT"+ra(i,":")}},z:function(e,t,r,n){var i=n._originalDate||e;switch(t){case"z":case"zz":case"zzz":return Xv("short",i,n);case"zzzz":default:return Xv("long",i,n)}}};function ah(e,t){var r=e?nh(e,t,!0)/zA:t.getTimezoneOffset();if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function Tl(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?"-":"+",i=Math.abs(e),a=Tl(Math.floor(i/60),2),o=Tl(Math.floor(i%60),2);return n+a+r+o}function rb(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Tl(Math.abs(e)/60,2)}return ra(e,t)}function VA(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+Tl(a,2)}var ZA=Ci();const YA=pn(ZA);var GA=Yv();const nb=pn(GA);var KA=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,oh=36e5,ib=6e4,XA=2,Er={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:KA};function ab(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);var r=t||{},n=r.additionalDigits==null?XA:YA(r.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=QA(e),a=JA(i.date,n),o=a.year,s=a.restDateString,l=eM(s,o);if(isNaN(l))return new Date(NaN);if(l){var u=l.getTime(),c=0,f;if(i.time&&(c=tM(i.time),isNaN(c)))return new Date(NaN);if(i.timeZone||r.timeZone){if(f=nh(i.timeZone||r.timeZone,new Date(u+c)),isNaN(f))return new Date(NaN)}else f=nb(new Date(u+c)),f=nb(new Date(u+c+f));return new Date(u+c+f)}else return new Date(NaN)}function QA(e){var t={},r=Er.dateTimePattern.exec(e),n;if(r?(t.date=r[1],n=r[3]):(r=Er.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){var i=Er.timeZone.exec(n);i?(t.time=n.replace(i[1],""),t.timeZone=i[1].trim()):t.time=n}return t}function JA(e,t){var r=Er.YYY[t],n=Er.YYYYY[t],i;if(i=Er.YYYY.exec(e)||n.exec(e),i){var a=i[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(i=Er.YY.exec(e)||r.exec(e),i){var o=i[1];return{year:parseInt(o,10)*100,restDateString:e.slice(o.length)}}return{year:null}}function eM(e,t){if(t===null)return null;var r,n,i,a;if(e.length===0)return n=new Date(0),n.setUTCFullYear(t),n;if(r=Er.MM.exec(e),r)return n=new Date(0),i=parseInt(r[1],10)-1,lb(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=Er.DDD.exec(e),r){n=new Date(0);var o=parseInt(r[1],10);return iM(t,o)?(n.setUTCFullYear(t,0,o),n):new Date(NaN)}if(r=Er.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;var s=parseInt(r[2],10);return lb(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=Er.Www.exec(e),r)return a=parseInt(r[1],10)-1,ub(t,a)?ob(t,a):new Date(NaN);if(r=Er.WwwD.exec(e),r){a=parseInt(r[1],10)-1;var l=parseInt(r[2],10)-1;return ub(t,a,l)?ob(t,a,l):new Date(NaN)}return null}function tM(e){var t,r,n;if(t=Er.HH.exec(e),t)return r=parseFloat(t[1].replace(",",".")),sh(r)?r%24*oh:NaN;if(t=Er.HHMM.exec(e),t)return r=parseInt(t[1],10),n=parseFloat(t[2].replace(",",".")),sh(r,n)?r%24*oh+n*ib:NaN;if(t=Er.HHMMSS.exec(e),t){r=parseInt(t[1],10),n=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return sh(r,n,i)?r%24*oh+n*ib+i*1e3:NaN}return null}function ob(e,t,r){t=t||0,r=r||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var i=n.getUTCDay()||7,a=t*7+r+1-i;return n.setUTCDate(n.getUTCDate()+a),n}var rM=[31,28,31,30,31,30,31,31,30,31,30,31],nM=[31,29,31,30,31,30,31,31,30,31,30,31];function sb(e){return e%400===0||e%4===0&&e%100!==0}function lb(e,t,r){if(t<0||t>11)return!1;if(r!=null){if(r<1)return!1;var n=sb(e);if(n&&r>nM[t]||!n&&r>rM[t])return!1}return!0}function iM(e,t){if(t<1)return!1;var r=sb(e);return!(r&&t>366||!r&&t>365)}function ub(e,t,r){return!(t<0||t>52||r!=null&&(r<0||r>6))}function sh(e,t,r){return!(e!=null&&(e<0||e>=25)||t!=null&&(t<0||t>=60)||r!=null&&(r<0||r>=60))}var aM=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function $n(e,t,r){var n=String(t),i=r||{},a=n.match(aM);if(a){var o=ab(e,i);n=a.reduce(function(s,l){if(l[0]==="'")return s;var u=s.indexOf(l),c=s[u-1]==="'",f=s.replace(l,"'"+WA[l[0]](o,l,null,i)+"'");return c?f.substring(0,u-1)+f.substring(u+1):f},n)}return DA(e,n,i)}var kl={exports:{}},xl={exports:{}},cb;function oM(){return cb||(cb=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function r(n,i){if(n==null)throw new TypeError("assign requires that input parameter not be null or undefined");i=i||{};for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a]);return n}e.exports=t.default})(xl,xl.exports)),xl.exports}var db;function sM(){return db||(db=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(oM());function n(a){return a&&a.__esModule?a:{default:a}}function i(a){return(0,r.default)({},a)}e.exports=t.default})(kl,kl.exports)),kl.exports}var lM=sM();const uM=pn(lM);function pr(e,t,r){var n=ab(e,r),i=nh(t,n,!0),a=new Date(n.getTime()-i),o=new Date(0);return o.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),o.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),o}function Cn(e,t,r,n){var i=uM(n);return i.timeZone=t,$n(pr(e,t),r,i)}const fb=(e,t)=>{const r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return`rgba(${r}, ${n}, ${i}, ${t})`},cM=JT([Xo(Mn("startTime")),Xo(es("",xr(["tags",0,"name"])))]),dM=(e,t,r)=>e.length?r.map(n=>({date:n.id,slots:cM(e).filter(i=>Cn(i.startTime,t,"yyyy-MM-dd")===n.id),title:n.name.replace(","," ●")})).filter(n=>n.slots.length>0):[],hb=e=>{if(!e)return"";const t=e/60,r=e%60;return t<1?`${r}min`:`${Math.floor(t)}h ${r}min`},fM=h4(en,d4(Mn("position")));/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var wt=function(){return wt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Nt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function lh(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,a;n0?[{node:n,keys:i}]:[]}return e.prototype.next=function(){var t=this.dive();return this.backtrack(),t},e.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var t=ti(this._path),r=t.node,n=t.keys;return ti(n)===gr?{done:!1,value:this.result()}:(this._path.push({node:r[ti(n)],keys:Object.keys(r[ti(n)])}),this.dive())},e.prototype.backtrack=function(){this._path.length!==0&&(ti(this._path).keys.pop(),!(ti(this._path).keys.length>0)&&(this._path.pop(),this.backtrack()))},e.prototype.key=function(){return this.set._prefix+this._path.map(function(t){var r=t.keys;return ti(r)}).filter(function(t){return t!==gr}).join("")},e.prototype.value=function(){return ti(this._path).node[gr]},e.prototype.result=function(){return this._type===mb?this.value():this._type===gb?this.key():[this.key(),this.value()]},e.prototype[Symbol.iterator]=function(){return this},e})(),ti=function(e){return e[e.length-1]},pM=0,gM=1,ch=2,dh=3,mM=function(e,t,r){for(var n=[{distance:0,i:0,key:"",node:e}],i={},a=[],o=function(){var s=n.pop(),l=s.node,u=s.distance,c=s.key,f=s.i,h=s.edit;Object.keys(l).forEach(function(p){if(p===gr){var g=u+(t.length-f),v=Nt(i[c]||[null,1/0],2),m=v[1];g<=r&&g0;)o();return i},vM=function(e,t,r,n,i,a){a.push({distance:0,ia:n,ib:0,edit:i});for(var o=[];a.length>0;){var s=a.pop(),l=s.distance,u=s.ia,c=s.ib,f=s.edit;if(c===t.length){o.push({distance:l,i:u,edit:f});continue}if(e[u]===t[c])a.push({distance:l,ia:u+1,ib:c+1,edit:pM});else{if(l>=r)continue;f!==ch&&a.push({distance:l+1,ia:u,ib:c+1,edit:dh}),u=n||e[r]!==t[r]?i:vb(e,t,r+1,n,i+e[r])},bM=function(e,t){var r=Nt(Sl(e,t),2),n=r[0],i=r[1];if(n!==void 0){delete n[gr];var a=Object.keys(n);a.length===0&&bb(i),a.length===1&&yb(i,a[0],n[a[0]])}},bb=function(e){if(e.length!==0){var t=Nt(ph(e),2),r=t[0],n=t[1];delete r[n];var i=Object.keys(r);i.length===0&&bb(e.slice(0,-1)),i.length===1&&i[0]!==gr&&yb(e.slice(0,-1),i[0],r[i[0]])}},yb=function(e,t,r){if(e.length!==0){var n=Nt(ph(e),2),i=n[0],a=n[1];i[a+t]=r,delete i[a]}},ph=function(e){return e[e.length-1]},ho,Ol="or",yM="and",_M="and_not",_b=(function(){function e(t){if(t?.fields==null)throw new Error('MiniSearch: option "fields" must be provided');this._options=wt(wt(wt({},mh),t),{searchOptions:wt(wt({},wb),t.searchOptions||{})}),this._index=new fh,this._documentCount=0,this._documentIds={},this._fieldIds={},this._fieldLength={},this._averageFieldLength={},this._nextId=0,this._storedFields={},this.addFields(this._options.fields)}return e.prototype.add=function(t){var r=this,n=this._options,i=n.extractField,a=n.tokenize,o=n.processTerm,s=n.fields,l=n.idField,u=i(t,l);if(u==null)throw new Error('MiniSearch: document does not have ID field "'.concat(l,'"'));var c=this.addDocumentId(u);this.saveStoredFields(c,t),s.forEach(function(f){var h=i(t,f);if(h!=null){var p=a(h.toString(),f);r.addFieldLength(c,r._fieldIds[f],r.documentCount-1,p.length),p.forEach(function(g){var v=o(g,f);v&&r.addTerm(r._fieldIds[f],c,v)})}})},e.prototype.addAll=function(t){var r=this;t.forEach(function(n){return r.add(n)})},e.prototype.addAllAsync=function(t,r){var n=this;r===void 0&&(r={});var i=r.chunkSize,a=i===void 0?10:i,o={chunk:[],promise:Promise.resolve()},s=t.reduce(function(c,f,h){var p=c.chunk,g=c.promise;return p.push(f),(h+1)%a===0?{chunk:[],promise:g.then(function(){return new Promise(function(v){return setTimeout(v,0)})}).then(function(){return n.addAll(p)})}:{chunk:p,promise:g}},o),l=s.chunk,u=s.promise;return u.then(function(){return n.addAll(l)})},e.prototype.remove=function(t){var r=this,n=this._options,i=n.tokenize,a=n.processTerm,o=n.extractField,s=n.fields,l=n.idField,u=o(t,l);if(u==null)throw new Error('MiniSearch: document does not have ID field "'.concat(l,'"'));var c=Nt(Object.entries(this._documentIds).find(function(h){var p=Nt(h,2);p[0];var g=p[1];return u===g})||[],1),f=c[0];if(f==null)throw new Error("MiniSearch: cannot remove document with ID ".concat(u,": it is not in the index"));s.forEach(function(h){var p=o(t,h);if(p!=null){var g=i(p.toString(),h);g.forEach(function(v){var m=a(v,h);m&&r.removeTerm(r._fieldIds[h],f,m)}),r.removeFieldLength(f,r._fieldIds[h],r.documentCount,g.length)}}),delete this._storedFields[f],delete this._documentIds[f],delete this._fieldLength[f],this._documentCount-=1},e.prototype.removeAll=function(t){var r=this;if(t)t.forEach(function(n){return r.remove(n)});else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new fh,this._documentCount=0,this._documentIds={},this._fieldLength={},this._averageFieldLength={},this._storedFields={},this._nextId=0}},e.prototype.search=function(t,r){var n=this;r===void 0&&(r={});var i=this.executeQuery(t,r);return Object.entries(i).reduce(function(a,o){var s=Nt(o,2),l=s[0],u=s[1],c=u.score,f=u.match,h=u.terms,p={id:n._documentIds[l],terms:TM(h),score:c,match:f};return Object.assign(p,n._storedFields[l]),(r.filter==null||r.filter(p))&&a.push(p),a},[]).sort(function(a,o){var s=a.score,l=o.score;return s{const n=[],i=!en(xr(["tags"],t)),a=!en(xr(["locations"],t)),o=!en(xr(["days"],t)),s=!en(xr(["tracks"],t)),l=ns(h=>h&&rs(Vr("id",h),t.tags).length,"tags"),u=ns(h=>h&&rs(Vr("id",h),t.locations).length,"locations"),c=ns(h=>rs(Cn(h,r,"yyyy-MM-dd"),t.days).length,"startTime"),f=ns(h=>h&&rs([h.id],t.tracks).length,"track");return i&&n.push(l),a&&n.push(u),o&&n.push(c),s&&n.push(f),gn(JE(n))(e)},vh=({type:e,slots:t,sortProp:r="name"})=>Jr(Vr(e),l4,ju(zi),ts,is(Xo(Mn(r))))(t),FM=({slots:e,eventTimeZone:t})=>Jr(Vr("startTime"),l4,Qr(r=>Cn(r,t,"yyyy-MM-dd")),ts,Qr(r=>({id:r,name:Cn(new Date(r),"UTC","eeee, do 'of' MMMM")})))(e),OM=()=>new _b({extractField:(e,t)=>{const r=e[t];if(Array.isArray(r)){if(t==="tags")return r.map(n=>n.name).join(" ");if(t==="locations")return r.map(n=>n.name).join(" ");if(t==="speakerAssignments")return r.map(n=>`${n.speaker.firstName} ${n.speaker.lastName} ${n.speaker.companyName}`).join(" ")}return t==="startTime"?Cn(r,"UTC","eeee"):t==="track"?r.name:r},fields:kb,storeFields:["id"]}),PM=({ids:e,slots:t})=>gn(r=>Wi(r.id,e))(t);function xb(e){const t=Ec("light"),r=Bn(e);return t.system.color[r].colorContainer[100].background}const DM=({className:e})=>d("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:e,focusable:"false",children:d("g",{stroke:"none",fill:"none","fill-rule":"evenodd",children:d("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})})}),AM=function(e,t,r){let n;return function(){const i=this,a=arguments,o=function(){n=null,e.apply(i,a)};clearTimeout(n),n=setTimeout(o,t)}},MM=1400;class IM extends st{static defaultProps={tNoResults:()=>"No search results",tQueryTooShort:t=>`Type in ${t} or more characters for results`,tResults:(t,r)=>{const n={is:t===1?"is":"are",result:t===1?"result":"results"};return`${t} ${n.result} ${n.is} available. ${r}`},tSelectedOption:(t,r,n)=>`${t} ${n+1} of ${r} is highlighted`};state={bump:!1,debounced:!1};componentWillMount(){const t=this;this.debounceStatusUpdate=AM(()=>{if(!t.state.debounced){const r=!t.props.isInFocus||t.props.validChoiceMade;t.setState(({bump:n})=>({bump:!n,debounced:!0,silenced:r}))}},MM)}componentWillReceiveProps(){this.setState({debounced:!1})}render(){const{id:t,length:r,queryLength:n,minQueryLength:i,selectedOption:a,selectedOptionIndex:o,tQueryTooShort:s,tNoResults:l,tSelectedOption:u,tResults:c}=this.props,{bump:f,debounced:h,silenced:p}=this.state,g=n47&&e<58||e===32||e===8||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223}function LM(e){return{onInput:e}}class BM extends st{static defaultProps={autoselect:!1,confirmOnBlur:!0,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",dropdownArrow:DM,minLength:0,name:"input-autocomplete",onConfirm:()=>{},placeholder:"",required:!1,showAllValues:!1,showNoOptionsFound:!0,tAssistiveHint:()=>"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.",tNoResults:()=>"No results found"};elementReferences={};constructor(t){super(t),this.state={ariaHint:!0,focused:null,hovered:null,menuOpen:!1,options:t.defaultValue?[t.defaultValue]:[],query:t.defaultValue,selected:null,validChoiceMade:!1},this.handleComponentBlur=this.handleComponentBlur.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleUpArrow=this.handleUpArrow.bind(this),this.handleDownArrow=this.handleDownArrow.bind(this),this.handleEnter=this.handleEnter.bind(this),this.handlePrintableKey=this.handlePrintableKey.bind(this),this.handleListMouseLeave=this.handleListMouseLeave.bind(this),this.handleOptionBlur=this.handleOptionBlur.bind(this),this.handleOptionClick=this.handleOptionClick.bind(this),this.handleOptionFocus=this.handleOptionFocus.bind(this),this.handleOptionMouseDown=this.handleOptionMouseDown.bind(this),this.handleOptionMouseEnter=this.handleOptionMouseEnter.bind(this),this.handleInputBlur=this.handleInputBlur.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleInputFocus=this.handleInputFocus.bind(this),this.pollInputElement=this.pollInputElement.bind(this),this.getDirectInputChanges=this.getDirectInputChanges.bind(this)}isQueryAnOption(t,r){return r.map(n=>this.templateInputValue(n).toLowerCase()).indexOf(t.toLowerCase())!==-1}componentDidMount(){this.pollInputElement()}componentWillUnmount(){clearTimeout(this.$pollInput)}pollInputElement(){this.getDirectInputChanges(),this.$pollInput=setTimeout(()=>{this.pollInputElement()},100)}getDirectInputChanges(){const t=this.elementReferences[-1];t&&t.value!==this.state.query&&this.handleInputChange({target:{value:t.value}})}componentDidUpdate(t,r){const{focused:n}=this.state,i=n===null,a=r.focused!==n;a&&!i&&this.elementReferences[n].focus();const s=n===-1,l=a&&r.focused===null;if(s&&l){const c=this.elementReferences[n];c.setSelectionRange(0,c.value.length)}}hasAutoselect(){return na()?!1:this.props.autoselect}templateInputValue(t){const r=this.props.templates&&this.props.templates.inputValue;return r?r(t):t}templateSuggestion(t){const r=this.props.templates&&this.props.templates.suggestion;return r?r(t):t}handleComponentBlur(t){const{options:r,query:n,selected:i}=this.state;let a;this.props.confirmOnBlur?(a=t.query||n,this.props.onConfirm(r[i])):a=n,this.setState({focused:null,menuOpen:t.menuOpen||!1,query:a,selected:null,validChoiceMade:this.isQueryAnOption(a,r)})}handleListMouseLeave(){this.setState({hovered:null})}handleOptionBlur(t,r){const{focused:n,menuOpen:i,options:a,selected:o}=this.state,s=t.relatedTarget===null,l=t.relatedTarget===this.elementReferences[-1],u=n!==r&&n!==-1;if(!u&&s||!(u||l)){const f=i&&na();this.handleComponentBlur({menuOpen:f,query:this.templateInputValue(a[o])})}}handleInputBlur(){const{focused:t,menuOpen:r,options:n,query:i,selected:a}=this.state;if(!(t!==-1)){const s=r&&na(),l=na()?i:this.templateInputValue(n[a]);this.handleComponentBlur({menuOpen:s,query:l})}}handleInputChange(t){const{minLength:r,source:n,showAllValues:i}=this.props,a=this.hasAutoselect(),o=t.target.value,s=o.length===0,l=this.state.query.length!==o.length,u=o.length>=r;this.setState({ariaHint:s,query:o}),i||l&&u?n(o,f=>{const h=f.length>0;this.setState({menuOpen:h,options:f,selected:a&&h?0:-1,validChoiceMade:!1})}):(s||!u)&&this.setState({menuOpen:!1,options:[]}),setTimeout(()=>{this.elementReferences[-1].focus()},0)}handleInputClick(t){this.handleInputChange(t)}handleInputFocus(){}handleOptionFocus(t){this.setState({focused:t,hovered:null,selected:t})}handleOptionMouseEnter(t,r){na()||this.setState({hovered:r})}handleOptionClick(t,r){const n=this.state.options[r],i=this.templateInputValue(n);this.props.onConfirm(n),this.setState({focused:-1,hovered:null,menuOpen:!1,query:i,selected:-1,validChoiceMade:!0}),this.forceUpdate()}handleOptionMouseDown(t){t.preventDefault()}handleUpArrow(t){t.preventDefault();const{menuOpen:r,selected:n}=this.state;n!==-1&&r&&this.handleOptionFocus(n-1)}handleDownArrow(t){if(t.preventDefault(),this.props.showAllValues&&this.state.menuOpen===!1)t.preventDefault(),this.props.source("",r=>{this.setState({focused:0,hovered:null,menuOpen:!0,options:r,selected:0})});else if(this.state.menuOpen===!0){const{menuOpen:r,options:n,selected:i}=this.state;i!==n.length-1&&r&&this.handleOptionFocus(i+1)}}handleSpace(t){this.props.showAllValues&&this.state.menuOpen===!1&&this.state.query===""&&(t.preventDefault(),this.props.source("",r=>{this.setState({menuOpen:!0,options:r})}))}handleEnter(t){this.state.menuOpen&&(t.preventDefault(),this.state.selected>=0&&this.handleOptionClick(t,this.state.selected))}handlePrintableKey(t){const r=this.elementReferences[-1];t.target===r||r.focus()}handleKeyDown(t){switch(NM[t.keyCode]){case"up":this.handleUpArrow(t);break;case"down":this.handleDownArrow(t);break;case"space":this.handleSpace(t);break;case"enter":this.handleEnter(t);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:RM(t.keyCode)&&this.handlePrintableKey(t);break}}render(){const{cssNamespace:t,displayMenu:r,id:n,minLength:i,name:a,placeholder:o,required:s,showAllValues:l,tNoResults:u,tStatusQueryTooShort:c,tStatusNoResults:f,tStatusSelectedOption:h,tStatusResults:p,tAssistiveHint:g,dropdownArrow:v}=this.props,{focused:m,hovered:_,menuOpen:w,options:T,query:F,selected:O,ariaHint:M,validChoiceMade:H}=this.state,S=this.hasAutoselect(),L=m===-1,U=T.length===0,D=F.length!==0,b=F.length>=i,C=this.props.showNoOptionsFound&&L&&U&&D&&b,k=`${t}__wrapper`,P=`${t}__input`,I=m!==null?` ${P}--focused`:"",q=this.props.showAllValues?` ${P}--show-all-values`:` ${P}--default`,B=`${t}__dropdown-arrow-down`,K=m!==-1&&m!==null,X=`${t}__menu`,re=`${X}--${r}`,be=`${X}--${w||C?"visible":"hidden"}`,Ee=`${t}__option`,Ce=`${t}__hint`,se=this.templateInputValue(T[O]),Fe=se&&se.toLowerCase().indexOf(F.toLowerCase())===0&&S?F+se.substr(F.length):"",we=`${n}__assistiveHint`,$e=M?{"aria-describedby":we}:null;let ft;return l&&(ft=v({className:B}),typeof ft=="string"&&(ft=d("div",{className:`${t}__dropdown-arrow-down-wrapper`,dangerouslySetInnerHTML:{__html:ft}}))),d("div",{className:k,onKeyDown:this.handleKeyDown,children:[d(IM,{id:n,length:T.length,queryLength:F.length,minQueryLength:i,selectedOption:this.templateInputValue(T[O]),selectedOptionIndex:O,validChoiceMade:H,isInFocus:this.state.focused!==null,tQueryTooShort:c,tNoResults:f,tSelectedOption:h,tResults:p}),Fe&&d("span",{children:d("input",{className:Ce,readonly:!0,tabIndex:"-1",value:Fe})}),d("input",{"aria-expanded":w?"true":"false","aria-activedescendant":K?`${n}__option--${m}`:!1,"aria-owns":`${n}__listbox`,"aria-autocomplete":this.hasAutoselect()?"both":"list",...$e,autoComplete:"off",className:`${P}${I}${q}`,id:n,onClick:zt=>this.handleInputClick(zt),onBlur:this.handleInputBlur,...LM(this.handleInputChange),onFocus:this.handleInputFocus,name:a,placeholder:o,ref:zt=>{this.elementReferences[-1]=zt},type:"search",role:"combobox",required:s,value:F}),ft,d("ul",{className:`${X} ${re} ${be}`,onMouseLeave:zt=>this.handleListMouseLeave(zt),id:`${n}__listbox`,role:"listbox",children:[T.map((zt,pe)=>{const Ye=(m===-1?O===pe:m===pe)&&_===null?` ${Ee}--focused`:"",Oe=pe%2?` ${Ee}--odd`:"",_e=na()?` ${pe+1} of ${T.length}`:"";return d("li",{"aria-selected":m===pe?"true":"false",className:`${Ee}${Ye}${Oe}`,dangerouslySetInnerHTML:{__html:this.templateSuggestion(zt)+_e},id:`${n}__option--${pe}`,onBlur:We=>this.handleOptionBlur(We,pe),onClick:We=>this.handleOptionClick(We,pe),onMouseDown:this.handleOptionMouseDown,onMouseEnter:We=>this.handleOptionMouseEnter(We,pe),ref:We=>{this.elementReferences[pe]=We},role:"option",tabIndex:"-1","aria-posinset":pe+1,"aria-setsize":T.length},pe)}),C&&d("li",{className:`${Ee} ${Ee}--no-results`,children:u()})]}),d("span",{id:we,style:{display:"none"},children:g()})]})}}const $M=Jr(Vr("suggestion"),s4(5));let HM=class extends st{_suggest=(t,r)=>{if(en(t)&&this.props.onSearch(""),u4(t)<=1)return r([]);const n=this.props.miniSearch.autoSuggest(t,{combineWith:"AND",fields:kb,fuzzy:.2,prefix:i=>i.length>1});return this.props.onSearch(t),r($M(n))};render({onSearch:t}){return d("div",{className:"brella-search-container",children:[d("label",{className:"schedule-filters-header",for:"autocomplete",children:"Search"}),d(BM,{id:"autocomplete",source:this._suggest,displayMenu:"overlay",onConfirm:t,confirmOnBlur:!1,autoselect:!0,showNoOptionsFound:!1})]})}};const Sb="#81759a";function qM({tags:e,locations:t,days:r,sticky:n,onSearch:i,dimmed:a,miniSearch:o,clear:s,filters:l,showToTop:u,onToggle:c,developmentMode:f,tracks:h}){function p(){document.getElementById("brella-widget-scroll-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}function g(){s(),p()}const v=Br(()=>!(l.locations.length===0&&l.tags.length===0&&l.days.length===0&&l.tracks.length===0),[l]),m=Br(()=>{v()?document.body.classList.add("brella-widget-filters-active"):document.body.classList.remove("brella-widget-filters-active")},[v]);function _(O){return!(!v()||Wi(O,l.locations)||Wi(O,l.tags)||Wi(O,l.days)||Wi(O,l.tracks))}function w(){return v()?d("span",{className:"schedule-filter-clear-button",onClick:s,children:"Clear"}):!1}function T(){return d("div",{className:"schedule-filter-footer-container",children:[u&&d("button",{className:"schedule-filter-footer-to-top-button",onClick:p,children:"To top"},"to-top"),v()&&d("button",{className:"schedule-filter-footer-clear-button",onClick:g,children:"Clear filters"},"filter")]})}function F(O,M){return en(O)?null:d("div",{className:"schedule-filters-filter-group",children:[d("div",{className:"schedule-filters-header",children:[M,w()]}),O.map(H=>d("div",{"data-filter-item-id":H.id,onClick:()=>c({id:H.id,type:M}),className:`schedule-filters-tag ${_(H.id)&&"schedule-filters-tag-deactive"}`,style:{backgroundColor:M==="tracks"?xb(H.color):fb(H.color||Sb,.2)},...f&&{title:`${H.name} - ${H.id}`},children:d("span",{className:"schedule-filters-tag-name",children:[M==="locations"&&"●"," ",H.name]})},H.id))]})}return Ie(()=>{m()},[m]),d("div",{className:"schedule-filters fade-in",children:d("div",{className:n?"sticky":"",children:[T(),d(HM,{onSearch:i,miniSearch:o}),d("div",{className:`schedule-filters-options-container ${a&&"schedule-filters-dimmed"}`,children:[F(r,"days"),F(h,"tracks"),F(t,"locations"),F(e,"tags")]}),d("a",{className:"powered-by-brella",href:"https://brella.io",children:["Powered by"," ",d("img",{src:"https://file-wdodavtvyf.now.sh/",className:"powered-by-brella-logo"})]})]})})}function ia(){return d("div",{className:"la-ball-clip-rotate la-dark",children:d("div",{})})}var Pl={exports:{}},jM=Pl.exports,Fb;function UM(){return Fb||(Fb=1,(function(e,t){(function(r,n){e.exports=n()})(jM,(function(){function r(b,C){if(b)for(var k in b)({}).hasOwnProperty.call(b,k)&&C(k,b[k])}function n(b){return b==null||b.length===0||b.trim().length===0}var i={unstyled:"p","header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-five":"h5","header-six":"h6","unordered-list-item":"ul","ordered-list-item":"ol",blockquote:"blockquote",code:"pre"};function a(b){return b&&i[b]}function o(b){var C="";return r(b,function(k,P){P&&(C+=k+":"+P+";")}),C}function s(b,C){var k=[];if(C){for(var P=0,A=0,I=b,q=C.trigger||"#",B=C.separator||" ";I.length>0&&A>=0;)if(I[0]===q?(A=0,P=0,I=I.substr(q.length)):(A=I.indexOf(B+q),A>=0&&(I=I.substr(A+(B+q).length),P+=A+B.length)),A>=0){var K=I.indexOf(B)>=0?I.indexOf(B):I.length,X=I.substr(0,K);X&&X.length>0&&k.push({offset:P,length:X.length+q.length,type:"HASHTAG"}),P+=q.length}}return k}function l(b,C){var k=[],P=0,A=b.entityRanges.map(function(I){var q=I.offset,B=I.length,K=I.key;return{offset:q,length:B,key:K,type:"ENTITY"}});return A=A.concat(s(b.text,C)),A=A.sort(function(I,q){return I.offset-q.offset}),A.forEach(function(I){I.offset>P&&k.push({start:P,end:I.offset}),k.push({start:I.offset,end:I.offset+I.length,entityKey:I.key,type:I.type}),P=I.offset+I.length}),P0&&(n(b.text)||b.type==="atomic"))}function c(b){var C=b.text,k=b.inlineStyleRanges,P={BOLD:new Array(C.length),ITALIC:new Array(C.length),UNDERLINE:new Array(C.length),STRIKETHROUGH:new Array(C.length),CODE:new Array(C.length),SUPERSCRIPT:new Array(C.length),SUBSCRIPT:new Array(C.length),COLOR:new Array(C.length),BGCOLOR:new Array(C.length),FONTSIZE:new Array(C.length),FONTFAMILY:new Array(C.length),length:C.length};return k&&k.length>0&&k.forEach(function(A){for(var I=A.offset,q=I+A.length,B=I;B0&&k"+C+"":b==="ITALIC"?""+C+"":b==="UNDERLINE"?""+C+"":b==="STRIKETHROUGH"?""+C+"":b==="CODE"?""+C+"":b==="SUPERSCRIPT"?""+C+"":b==="SUBSCRIPT"?""+C+"":C}function g(b){if(b&&b.length>0){var C=b.map(function(k){switch(k){case` `:return"
";case"&":return"&";case"<":return"<";case">":return">";default:return k}});return C.join("")}return""}function v(b,C){if(b&&(b.COLOR||b.BGCOLOR||b.FONTSIZE||b.FONTFAMILY)){var k='style="';return b.COLOR&&(k+="color: "+b.COLOR+";"),b.BGCOLOR&&(k+="background-color: "+b.BGCOLOR+";"),b.FONTSIZE&&(k+="font-size: "+b.FONTSIZE+(/^\d+$/.test(b.FONTSIZE)?"px":"")+";"),b.FONTFAMILY&&(k+="font-family: "+b.FONTFAMILY+";"),k+='"',""+C+""}return C}function m(b,C,k,P){var A=b[C];if(typeof P=="function"){var I=P(A,k);if(I)return I}if(A.type==="MENTION")return''+k+"";if(A.type==="LINK"){var q=A.data.targetOption||"_self";return''+k+""}return A.type==="IMAGE"?''+A.data.alt+'':A.type==="EMBEDDED_LINK"?'':k}function _(b,C,k,P){var A=[],I=b.text;if(I.length>0)for(var q=c(b),B=void 0,K=k;K=0&&C[k]===" ";k-=1)C=C.substring(0,k)+" "+C.substring(k+1);return C}return b}function F(b){var C=b.styles,k=b.text,P=g(k);return r(C,function(A,I){P=p(A,P)}),P}function O(b,C){var k=_(b,["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"],C.start,C.end),P="";return k.forEach(function(A){P+=F(A)}),P=v(C.styles,P),P}function M(b,C,k,P){var A=[],I=_(b,["COLOR","BGCOLOR","FONTSIZE","FONTFAMILY"],k.start,k.end);I.forEach(function(B){A.push(O(b,B))});var q=A.join("");return k.type==="ENTITY"?k.entityKey!==void 0&&k.entityKey!==null&&(q=m(C,k.entityKey,q,P)):k.type==="HASHTAG"&&(q=''+q+""),q}function H(b,C,k,P){var A=[],I=l(b,k);return I.forEach(function(q,B){var K=M(b,C,q,P);B===0&&(K=w(K)),B===I.length-1&&(K=T(K)),A.push(K)}),A.join("")}function S(b,C,k,P,A){var I=[];if(u(b))I.push(m(C,b.entityRanges[0].key,void 0,A));else{var q=a(b.type);if(q){I.push("<"+q);var B=o(b.data);B&&I.push(' style="'+B+'"'),P&&I.push(' dir = "auto"'),I.push(">"),I.push(H(b,C,k,A)),I.push("")}}return I.push(` `),I.join("")}function L(b){return b==="unordered-list-item"||b==="ordered-list-item"}function U(b,C,k,P,A){var I=[],q=[],B=void 0;return b.forEach(function(K){var X=!1;if(B?B.type!==K.type?(I.push(" `),I.push("<"+a(K.type)+`> `)):B.depth===K.depth?q&&q.length>0&&(I.push(U(q,C,k,P,A)),q=[]):(X=!0,q.push(K)):I.push("<"+a(K.type)+`> `),!X){I.push(""),I.push(H(K,C,k,A)),I.push(` `),B=K}}),q&&q.length>0&&I.push(U(q,C,k,P,A)),I.push(" `),I.join("")}function D(b,C,k,P){var A=[];if(b){var I=b.blocks,q=b.entityMap;if(I&&I.length>0){var B=[];if(I.forEach(function(X){if(L(X.type))B.push(X);else{if(B.length>0){var re=U(B,q,C,P);A.push(re),B=[]}var ve=S(X,q,C,k,P);A.push(ve)}}),B.length>0){var K=U(B,q,C,k,P);A.push(K),B=[]}}}return A.join("")}return D}))})(Pl)),Pl.exports}var zM=UM();const Dl=pn(zM),mr=(e,t=50,r=50,n="cover")=>{if(!e)return"";const i=window.devicePixelRatio;return`https://brella.io/cdn-cgi/image/width=${t},height=${r},fit=${n},dpr=${i},format=webp/${e}`};function nr(e){const t="No data available yet";return e&&bh([e.honorific,e.firstName,e.middleName,e.lastName])||t}function bh(e,t=" "){return e.filter(Boolean).join(t)}function WM(e,t=16){return e.replace(/([\d.]+)rem/g,(r,n)=>`${parseFloat(n)*t}px`)}function an(e={}){return WM(fF(e))}function po({tags:e,isLocation:t,isTrack:r}){return e?d("div",{className:"schedule-tags",children:e.map(n=>d("span",{className:"schedule-tags-tag",style:{backgroundColor:r?xb(n.color):fb(n.color||Sb,.2)},children:d("span",{className:"schedule-tags-tag-name",children:[t&&"Location: ●"," ",n.name]})},n.id))}):null}function VM({onClose:e,slot:t,eventTimeZone:r,timeFormat:n="h:mm aa"}){const[i,a]=ue();Ie(()=>(document.body.classList.add("brella-widget-modal-open"),()=>{document.body.classList.remove("brella-widget-modal-open")}),[]);function o(h){if(!h)return null;const p={__html:Dl(h)};return d("div",{className:"schedule-modal-wysiwyg-content",dangerouslySetInnerHTML:p})}function s(h,p){h.stopPropagation(),a(p)}function l(h){if(h.speakerAssignments)return d("div",{children:[d("div",{className:"modal-speakers-header",children:"Speakers:"}),d("div",{className:"modal-speakers-assignments",children:h.speakerAssignments.map(p=>d("div",{onClick:g=>s(g,p),className:"modal-speakers-assignment",children:[p.role&&d("div",{className:"modal-speakers-assignments-role",children:p.role}),d("div",{className:"modal-speakers-assignments-photo",style:{backgroundImage:`url('${mr(p.speaker.photoUrl,40,40)}')`}}),d("div",{className:"modal-speakers-assignments-name",children:[nr(p.speaker),d("span",{className:"modal-speakers-assignments-company",children:bh([p.speaker.jobTitle,p.speaker.companyName]," @ ")})]})]},p.id))})]})}function u(h,p){return d("div",{children:[d(po,{tags:[h.track],isTrack:!0}),d(po,{tags:h.tags}),d("div",{className:"schedule-modal-title",children:h.title}),d("div",{className:"schedule-modal-time-and-location",children:[d("div",{className:"schedule-modal-time",children:[d("div",{className:"schedule-modal-subheader",children:"Time:"}),`${Cn(h.startTime,p,n)} - ${Cn(h.endTime,p,n)}`,d("br",{}),hb(h.duration)]}),d("div",{className:"schedule-modal-date",children:[d("div",{className:"schedule-modal-subheader",children:"Date:"}),Cn(h.startTime,p,"eeee do 'of' MMMM")]}),d("div",{className:"schedule-modal-location",children:[d("div",{className:"schedule-modal-subheader",children:"Location:"}),h.locations&&h.locations.length?h.locations[0].name:"-"]})]}),l(h),o(h.content)]})}function c(h){h.stopPropagation(),a(void 0)}function f(h){const{speaker:p}=h;return d("div",{onClick:c,children:[d("div",{className:"schedule-modal-speaker-back-button",onClick:c,children:"‹ Back"}),d("div",{className:"schedule-modal-speaker-photo",style:{backgroundImage:`url('${mr(p.photoUrl,100,100)}')`}}),d("div",{className:"schedule-modal-speaker-name",children:nr(p)}),d("div",{className:"schedule-modal-speaker-info",children:[d("div",{className:"schedule-modal-speaker-info-item",children:[d("div",{className:"schedule-modal-subheader",children:"Company:"}),p.companyName?p.companyName:"-"]}),d("div",{className:"schedule-modal-speaker-info-item",children:[d("div",{className:"schedule-modal-subheader",children:"Title:"}),p.jobTitle?p.jobTitle:"-"]})]}),o(p.bio)]})}return d("div",{className:"schedule-modal-mask fade-in",onClick:e,children:d("div",{className:"schedule-modal-wrap",children:d("div",{className:"schedule-modal-content",children:i?f(i):u(t,r)})})})}class ZM extends st{_getCompanyName=t=>t?`, ${t}`:null;render({speakerAssignments:t}){return t?d("div",{className:"speakers-assignments",children:fM(t).map(r=>d("div",{className:"speakers-assignment",children:[d("div",{className:"speakers-assignments-photo",style:{backgroundImage:`url('${mr(r.speaker.photoUrl,40,40)}')`}}),d("div",{className:"speakers-assignments-name",children:[nr(r.speaker),this._getCompanyName(r.speaker.companyName),r.role&&d("span",{className:"speakers-assignments-role",children:r.role})]})]},r.id))}):null}}function YM({slot:e,eventTimeZone:t,timeFormat:r="h:mm aa"}){const[n,i]=ue(!1);function a(){i(!0)}function o(){i(!1)}return!e||!e.title?null:d("li",{className:"schedule-slot",onClick:a,children:[d("div",{className:"schedule-slot-tail"}),d("div",{className:"schedule-slot-head"}),d("div",{className:"schedule-slot-content",children:[d("div",{className:"schedule-slot-start-date-time",children:[d("div",{className:"schedule-slot-start-time",children:Cn(e.startTime,t,r)}),d("div",{className:"schedule-slot-start-day",children:Cn(e.startTime,t,"iii")})]}),d("div",{className:"schedule-slot-header",children:[d("span",{className:"schedule-slot-name",children:e.title}),d("span",{className:"schedule-slot-duration",children:hb(e.duration)})]}),d("div",{className:"schedule-slot-subtitle",children:e.subtitle}),d(ZM,{speakerAssignments:e.speakerAssignments}),d(po,{tags:[e.track],isTrack:!0}),d(po,{tags:e.locations,isLocation:!0}),d(po,{tags:e.tags})]}),n&&Xn(d(VM,{onClose:o,slot:e,eventTimeZone:t,timeFormat:r}),document.body)]})}const Ob=16.5,yh={horizontal:350,vertical:56},Pb={horizontal:480,vertical:240},GM="hh:mm aa",Db="HH:mm",aa=e=>e==="24h"?Db:GM,Ab={horizontal:180,vertical:400},KM=({joinCode:e,isSticky:t,preselectedLocations:r=[],preselectedDays:n=[],preselectedTags:i=[],preselectedTracks:a=[],developmentMode:o,timeFormat:s})=>{const l=aa(s),u=bt(),c=bt(),f={days:n,locations:r,tags:i,tracks:a},[h,p]=vi(QM,{...XM,filters:f}),{days:g,loading:v,locations:m,slots:_,tags:w,error:T,initialSlots:F,searchString:O,showToTop:M,eventTimeZone:H,filters:S,tracks:L}=h;Ie(()=>(document.addEventListener("scroll",U),c.current=OM(),()=>{document.removeEventListener("scroll",U)}),[]),Ie(()=>{e||k("Please provide join code.")},[e]),Ie(()=>{rr.getPublicEvent({publicCode:e}).then(I=>{if(!I.ok)return k("Join code is invalid.");rr.getSchedule({publicCode:e}).then(q=>{if(q.ok){const B=q.data.filter(K=>!K.reservable);p({days:FM({eventTimeZone:I.data.timeZone,slots:B}),eventTimeZone:I.data.timeZone,initialSlots:B,loading:!1,locations:vh({slots:B,type:"locations"}),slots:B,tags:vh({slots:B,type:"tags"}),tracks:vh({slots:B,sortProp:"position",type:"track"})}),c.current.addAll(q.data)}else k("Join code is invalid.")})})},[e,c]);const U=()=>{if(!u.current)return null;const{top:I}=u.current.getBoundingClientRect();if(I<-100)return p({showToTop:!0});if(I>-100)return p({showToTop:!1})};Ie(()=>{if(en(O)){p({slots:F});return}const I=c.current.search(O,{combineWith:"AND",fields:Eb,prefix:K=>K.length>1}),q=c.current.search(O,{combineWith:"AND",fields:Tb,prefix:!1}),B=i4(I,q);p({slots:PM({ids:Vr("id")(B),slots:F})})},[O,c,F]);const D=I=>{p({searchString:I||""})};Ie(()=>{p({slots:es([],SM({eventTimeZone:H,filters:S,initialData:F}))})},[S,F,H]);const b=({type:I,id:q})=>{const B=X=>X===q,K=Wi(q,S[I]);p({filters:{[I]:K?ju(B,S[I]):iT(q,S[I])}})},C=()=>{p({filters:{days:[],locations:[],tags:[],tracks:[]}})},k=I=>{p({error:I}),console.info(`[Brella Widget]: ${I}`)};if(T)return d("div",{className:"brella-widget-root",children:d("p",{children:`Error: ${T}`})});const P=!en(O),A=dM(_,H,g);return d("div",{className:"brella-widget-container",children:[d("div",{id:"brella-widget-scroll-anchor",ref:u}),d("div",{className:"schedule-days fade-in",children:A.map(I=>d("div",{className:"schedule-day-container","data-schedule-date":I.date,children:[d("div",{className:"schedule-day-name",children:I.title}),d("ul",{className:"schedule-slots-container",children:I.slots.map(q=>d(YM,{slot:q,eventTimeZone:H,timeFormat:l},q.id))})]},I.title))}),d(qM,{tags:w,tracks:L,locations:m,days:g.filter(I=>A.find(q=>q.date===I.id)),filters:S,dimmed:P,onSearch:D,miniSearch:c.current,onToggle:b,clear:C,sticky:t,showToTop:M,developmentMode:o})]})},XM={days:[],error:null,eventTimeZone:null,filters:{days:[],locations:[],slots:[],tags:[],tracks:[]},initialSlots:[],loading:!0,locations:[],searchString:"",showToTop:!1,slots:[],tags:[],tracks:[]};function QM(e,t){return Vu(e,t)}const _h=["purchasers_email","first_name","last_name","terms_checkbox"],JM=["registrants_email","use_purchasers_email","ticketIndex","ticket_id"],eI=e=>e.split("?")[0].split("#")[0],tI=(e,t,r)=>{const n=Object.values(e).filter(o=>o.ticket_id),i=Object.values(n).map(o=>{const s={event_question_responses:[],id:o.ticket_id,registrants_email:o.use_purchasers_email?t.purchasers_email:o.registrants_email};return s.event_question_responses=Object.entries(o).filter(([l,u])=>u.length&&u[0].length&&!JM.includes(l)).map(([l,u])=>({answers:u,question_id:l})),s});return{discount_code:r.length?r:null,event_tickets:i,first_name:t.first_name,last_name:t.last_name,purchasers_email:t.purchasers_email}},rI=e=>e.length===0?!0:!e.find(t=>t.ticketData.priceCurrency.toUpperCase()!==e[0].ticketData.priceCurrency.toUpperCase()),nI=Jr(K5,HE(Qr)((e,t)=>Qo("ticketIndex",t,e))),Mb=(e,t,r)=>{const n=HT(i=>Zu("ticket_id",t,e[i]),Object.keys(e));return n&&r>0?Mb(ST(n,e),t,r-1):e},iI=(e,t,r)=>{const n=Mb(e,t,r);return{...nI(n)}},aI=(e,t,r,n,i)=>{if(e&&t)return{errorMessage:"minIncrementOfTickets and minIncrementOfTicketsByTicketId can not be used together",isValid:!1};if(r){const a=lI(r);if(!a.isValid)return a}if(n){const a=sI(n);if(!a.isValid)return a}if(i){const a=oI(i);if(!a.isValid)return a}return{errorMessage:null,isValid:!0}},oI=e=>{if(!Array.isArray(e))return{errorMessage:"Invalid structure of maxNumberOfTicketsByTicketId",isValid:!1};for(const t of e){if(!t||typeof t!="object"||Array.isArray(t))return{errorMessage:"Invalid structure of maxNumberOfTicketsByTicketId",isValid:!1};if(!t.ticketIds||!Array.isArray(t.ticketIds)||t.ticketIds.length===0)return{errorMessage:"Invalid structure of maxNumberOfTicketsByTicketId",isValid:!1}}return{errorMessage:null,isValid:!0}},sI=e=>{if(!Array.isArray(e))return{errorMessage:"Invalid structure of preSelectedTickets",isValid:!1};for(const t of e){if(!t||typeof t!="object"||Array.isArray(t))return{errorMessage:"Invalid structure of preSelectedTickets",isValid:!1};if(!t.ticketIds||!Array.isArray(t.ticketIds)||t.ticketIds.length===0)return{errorMessage:"Invalid structure of preSelectedTickets",isValid:!1}}return{errorMessage:null,isValid:!0}},lI=e=>zT("discountCode",e)?{errorMessage:null,isValid:!0}:{errorMessage:"Please add discountCode to the discountCodeSettings",isValid:!1},uI=(e,t)=>{const r=WT(Mn("id"),t);return Qr(i=>Vu(i,{amount:QT(0,"amount",r[i.id])}),e)},Ib={isFormValid:!1,mandatoryFields:_h,requiredMissingQuestions:[],showValidationErrors:!1},vr={ADD_MISSING_MANDATORY_QUESTION:"addMissingMandatoryQuestion",REMOVE_MISSING_MANDATORY_QUESTION:"removeMissingMandatoryQuestion",RESET_FORM:"resetForm",UPDATE_PURCHASER_INFO:"updatePurchaserInfo",UPDATE_SHOW_VALIDATION_ERROR:"updateShowValidationError"};function cI(e,t){switch(t.type){case vr.UPDATE_PURCHASER_INFO:return{...e,isFormValid:!t.payload.length&&!e.requiredMissingQuestions.length,mandatoryFields:[...t.payload]};case vr.ADD_MISSING_MANDATORY_QUESTION:{const r=[...e.requiredMissingQuestions,t.payload];return{...e,isFormValid:!e.mandatoryFields&&!r.length,requiredMissingQuestions:r}}case vr.REMOVE_MISSING_MANDATORY_QUESTION:{const r=e.requiredMissingQuestions.filter(n=>!(n.ticketId===t.payload.ticketId&&n.questionId===t.payload.questionId&&n.ticketIndex===t.payload.ticketIndex));return{...e,isFormValid:!e.mandatoryFields&&!r.length,requiredMissingQuestions:r}}case vr.UPDATE_SHOW_VALIDATION_ERROR:return{...e,showValidationErrors:t.payload};case vr.RESET_FORM:return Ib;default:throw Error(`Unknown action: ${t.type}`)}}function Ze(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Se(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function ke(e){Se(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function Ch(e,t){Se(2,arguments);var r=ke(e),n=Ze(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function dI(e,t){Se(2,arguments);var r=ke(e),n=Ze(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var o=a.getDate();return i>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function wh(e,t){Se(2,arguments);var r=ke(e).getTime(),n=Ze(t);return new Date(r+n)}var fI=36e5;function Nb(e,t){Se(2,arguments);var r=Ze(t);return wh(e,r*fI)}function oa(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function wn(e){Se(1,arguments);var t=ke(e);return t.setHours(0,0,0,0),t}var hI=864e5;function pI(e,t){Se(2,arguments);var r=wn(e),n=wn(t),i=r.getTime()-oa(r),a=n.getTime()-oa(n);return Math.round((i-a)/hI)}var gI=6e4;function mI(e,t){Se(2,arguments);var r=Ze(t);return wh(e,r*gI)}function wi(e,t){Se(2,arguments);var r=ke(e),n=ke(t),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}var Eh=6e4,Th=36e5;function kh(e,t){Se(2,arguments);var r=wn(e),n=wn(t);return r.getTime()===n.getTime()}function vI(e){return Se(1,arguments),e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function xh(e){if(Se(1,arguments),!vI(e)&&typeof e!="number")return!1;var t=ke(e);return!isNaN(Number(t))}function bI(e,t){Se(2,arguments);var r=ke(e),n=ke(t),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function yI(e,t){Se(2,arguments);var r=ke(e),n=ke(t);return r.getFullYear()-n.getFullYear()}function Rb(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function Lb(e,t){Se(2,arguments);var r=ke(e),n=ke(t),i=Rb(r,n),a=Math.abs(pI(r,n));r.setDate(r.getDate()-i*a);var o=+(Rb(r,n)===-i),s=i*(a-o);return s===0?0:s}function Sh(e,t){return Se(2,arguments),ke(e).getTime()-ke(t).getTime()}var _I={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},CI="trunc";function Fh(e){return _I[CI]}function Al(e,t,r){Se(2,arguments);var n=Sh(e,t)/Th;return Fh()(n)}function go(e,t,r){Se(2,arguments);var n=Sh(e,t)/Eh;return Fh()(n)}function wI(e){Se(1,arguments);var t=ke(e);return t.setHours(23,59,59,999),t}function EI(e){Se(1,arguments);var t=ke(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function TI(e){Se(1,arguments);var t=ke(e);return wI(t).getTime()===EI(t).getTime()}function Bb(e,t){Se(2,arguments);var r=ke(e),n=ke(t),i=wi(r,n),a=Math.abs(bI(r,n)),o;if(a<1)o=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var s=wi(r,n)===-i;TI(ke(e))&&a===1&&wi(e,n)===1&&(s=!1),o=i*(a-Number(s))}return o===0?0:o}function $b(e,t,r){Se(2,arguments);var n=Sh(e,t)/1e3;return Fh()(n)}function kI(e,t){Se(2,arguments);var r=ke(e),n=ke(t),i=wi(r,n),a=Math.abs(yI(r,n));r.setFullYear(1584),n.setFullYear(1584);var o=wi(r,n)===-i,s=i*(a-Number(o));return s===0?0:s}function Hb(e,t){Se(1,arguments);var r=e||{},n=ke(r.start),i=ke(r.end),a=i.getTime();if(!(n.getTime()<=a))throw new RangeError("Invalid interval");var o=[],s=n;s.setHours(0,0,0,0);var l=1;if(isNaN(l))throw new RangeError("`options.step` must be a number greater than 1");for(;s.getTime()<=a;)o.push(ke(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o}function xI(e){Se(1,arguments);var t=ke(e);return t.setSeconds(0,0),t}function SI(e,t){Se(1,arguments);var r=xI(ke(e.start)),n=ke(e.end),i=r.getTime(),a=n.getTime();if(i>=a)throw new RangeError("Invalid interval");var o=[],s=r,l=t&&"step"in t?Number(t.step):1;if(l<1||isNaN(l))throw new RangeError("`options.step` must be a number equal or greater than 1");for(;s.getTime()<=a;)o.push(ke(s)),s=mI(s,l);return o}var FI={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},OI=function(e,t,r){var n,i=FI[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Oh(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var PI={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},DI={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},AI={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},MI={date:Oh({formats:PI,defaultWidth:"full"}),time:Oh({formats:DI,defaultWidth:"full"}),dateTime:Oh({formats:AI,defaultWidth:"full"})},II={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},NI=function(e,t,r,n){return II[e]};function mo(e){return function(t,r){var n=r||{},i=n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=n.width?String(n.width):o;a=e.formattingValues[s]||e.formattingValues[o]}else{var l=e.defaultWidth,u=n.width?String(n.width):e.defaultWidth;a=e.values[u]||e.values[l]}var c=e.argumentCallback?e.argumentCallback(t):t;return a[c]}}var RI={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},LI={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},BI={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},$I={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},HI={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},qI={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},jI=function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},UI={ordinalNumber:jI,era:mo({values:RI,defaultWidth:"wide"}),quarter:mo({values:LI,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:mo({values:BI,defaultWidth:"wide"}),day:mo({values:$I,defaultWidth:"wide"}),dayPeriod:mo({values:HI,defaultWidth:"wide",formattingValues:qI,defaultFormattingWidth:"wide"})};function vo(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?WI(s,function(f){return f.test(o)}):zI(s,function(f){return f.test(o)}),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;var c=t.slice(o.length);return{value:u,rest:c}}}function zI(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function WI(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var ZI=/^(\d+)(th|st|nd|rd)?/i,YI=/\d+/i,GI={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},KI={any:[/^b/i,/^(a|c)/i]},XI={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},QI={any:[/1/i,/2/i,/3/i,/4/i]},JI={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},eN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},tN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},nN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},iN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},aN={ordinalNumber:VI({matchPattern:ZI,parsePattern:YI,valueCallback:function(e){return parseInt(e,10)}}),era:vo({matchPatterns:GI,defaultMatchWidth:"wide",parsePatterns:KI,defaultParseWidth:"any"}),quarter:vo({matchPatterns:XI,defaultMatchWidth:"wide",parsePatterns:QI,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:vo({matchPatterns:JI,defaultMatchWidth:"wide",parsePatterns:eN,defaultParseWidth:"any"}),day:vo({matchPatterns:tN,defaultMatchWidth:"wide",parsePatterns:rN,defaultParseWidth:"any"}),dayPeriod:vo({matchPatterns:nN,defaultMatchWidth:"any",parsePatterns:iN,defaultParseWidth:"any"})},Ph={code:"en-US",formatDistance:OI,formatLong:MI,formatRelative:NI,localize:UI,match:aN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function qb(e,t){Se(2,arguments);var r=Ze(t);return wh(e,-r)}var oN=864e5;function sN(e){Se(1,arguments);var t=ke(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/oN)+1}function sa(e){Se(1,arguments);var t=1,r=ke(e),n=r.getUTCDay(),i=(n=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function lN(e){Se(1,arguments);var t=jb(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=sa(r);return n}var uN=6048e5;function Ub(e){Se(1,arguments);var t=ke(e),r=sa(t).getTime()-lN(t).getTime();return Math.round(r/uN)+1}function Ei(e,t){Se(1,arguments);var r=t||{},n=r.locale,i=n&&n.options&&n.options.weekStartsOn,a=i==null?0:Ze(i),o=r.weekStartsOn==null?a:Ze(r.weekStartsOn);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=ke(e),l=s.getUTCDay(),u=(l=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(n+1,0,l),u.setUTCHours(0,0,0,0);var c=Ei(u,t),f=new Date(0);f.setUTCFullYear(n,0,l),f.setUTCHours(0,0,0,0);var h=Ei(f,t);return r.getTime()>=c.getTime()?n+1:r.getTime()>=h.getTime()?n:n-1}function cN(e,t){Se(1,arguments);var r=t||{},n=r.locale,i=n&&n.options&&n.options.firstWeekContainsDate,a=i==null?1:Ze(i),o=r.firstWeekContainsDate==null?a:Ze(r.firstWeekContainsDate),s=Dh(e,t),l=new Date(0);l.setUTCFullYear(s,0,o),l.setUTCHours(0,0,0,0);var u=Ei(l,t);return u}var dN=6048e5;function zb(e,t){Se(1,arguments);var r=ke(e),n=Ei(r,t).getTime()-cN(r,t).getTime();return Math.round(n/dN)+1}function dt(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return dt(t==="yy"?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):dt(r+1,2)},d:function(e,t){return dt(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return dt(e.getUTCHours()%12||12,t.length)},H:function(e,t){return dt(e.getUTCHours(),t.length)},m:function(e,t){return dt(e.getUTCMinutes(),t.length)},s:function(e,t){return dt(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return dt(i,t.length)}},la={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},fN={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var n=e.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return ri.y(e,t)},Y:function(e,t,r,n){var i=Dh(e,n),a=i>0?i:1-i;if(t==="YY"){var o=a%100;return dt(o,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):dt(a,t.length)},R:function(e,t){var r=jb(e);return dt(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return dt(r,t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return dt(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return dt(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ri.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return dt(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var i=zb(e,n);return t==="wo"?r.ordinalNumber(i,{unit:"week"}):dt(i,t.length)},I:function(e,t,r){var n=Ub(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):dt(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):ri.d(e,t)},D:function(e,t,r){var n=sN(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):dt(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var i=e.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return dt(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var i=e.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return dt(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return dt(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n=e.getUTCHours(),i;switch(n===12?i=la.noon:n===0?i=la.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n=e.getUTCHours(),i;switch(n>=17?i=la.evening:n>=12?i=la.afternoon:n>=4?i=la.morning:i=la.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var n=e.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ri.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ri.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):dt(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):dt(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ri.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ri.s(e,t)},S:function(e,t){return ri.S(e,t)},X:function(e,t,r,n){var i=n._originalDate||e,a=i.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return Vb(a);case"XXXX":case"XX":return Ti(a);case"XXXXX":case"XXX":default:return Ti(a,":")}},x:function(e,t,r,n){var i=n._originalDate||e,a=i.getTimezoneOffset();switch(t){case"x":return Vb(a);case"xxxx":case"xx":return Ti(a);case"xxxxx":case"xxx":default:return Ti(a,":")}},O:function(e,t,r,n){var i=n._originalDate||e,a=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Wb(a,":");case"OOOO":default:return"GMT"+Ti(a,":")}},z:function(e,t,r,n){var i=n._originalDate||e,a=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Wb(a,":");case"zzzz":default:return"GMT"+Ti(a,":")}},t:function(e,t,r,n){var i=n._originalDate||e,a=Math.floor(i.getTime()/1e3);return dt(a,t.length)},T:function(e,t,r,n){var i=n._originalDate||e,a=i.getTime();return dt(a,t.length)}};function Wb(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+dt(a,2)}function Vb(e,t){if(e%60===0){var r=e>0?"-":"+";return r+dt(Math.abs(e)/60,2)}return Ti(e,t)}function Ti(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=dt(Math.floor(i/60),2),o=dt(i%60,2);return n+a+r+o}function Zb(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Yb(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function hN(e,t){var r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return Zb(e,t);var a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Zb(n,t)).replace("{{time}}",Yb(i,t))}var Gb={p:Yb,P:hN},pN=["D","DD"],gN=["YY","YYYY"];function Kb(e){return pN.indexOf(e)!==-1}function Xb(e){return gN.indexOf(e)!==-1}function Ml(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}var mN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,bN=/^'([^]*?)'?$/,yN=/''/g,_N=/[a-zA-Z]/;function nt(e,t,r){Se(2,arguments);var n=String(t),i={},a=i.locale||Ph,o=a.options&&a.options.firstWeekContainsDate,s=o==null?1:Ze(o),l=i.firstWeekContainsDate==null?s:Ze(i.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=a.options&&a.options.weekStartsOn,c=u==null?0:Ze(u),f=i.weekStartsOn==null?c:Ze(i.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!a.localize)throw new RangeError("locale must contain localize property");if(!a.formatLong)throw new RangeError("locale must contain formatLong property");var h=ke(e);if(!xh(h))throw new RangeError("Invalid time value");var p=oa(h),g=qb(h,p),v={firstWeekContainsDate:l,weekStartsOn:f,locale:a,_originalDate:h},m=n.match(vN).map(function(_){var w=_[0];if(w==="p"||w==="P"){var T=Gb[w];return T(_,a.formatLong,v)}return _}).join("").match(mN).map(function(_){if(_==="''")return"'";var w=_[0];if(w==="'")return CN(_);var T=fN[w];if(T)return!i.useAdditionalWeekYearTokens&&Xb(_)&&Ml(_,t,e),!i.useAdditionalDayOfYearTokens&&Kb(_)&&Ml(_,t,e),T(g,_,a.localize,v);if(w.match(_N))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return _}).join("");return m}function CN(e){return e.match(bN)[1].replace(yN,"'")}function Qb(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");t=t||{};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function wN(e){return Qb({},e)}var Jb=1440,EN=2520,Ah=43200,TN=86400;function kN(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Se(2,arguments);var n=r.locale||Ph;if(!n.formatDistance)throw new RangeError("locale must contain formatDistance property");var i=wi(e,t);if(isNaN(i))throw new RangeError("Invalid time value");var a=wN(r);a.addSuffix=!!r.addSuffix,a.comparison=i;var o,s;i>0?(o=ke(t),s=ke(e)):(o=ke(e),s=ke(t));var l=$b(s,o),u=(oa(s)-oa(o))/1e3,c=Math.round((l-u)/60),f;if(c<2)return r.includeSeconds?l<5?n.formatDistance("lessThanXSeconds",5,a):l<10?n.formatDistance("lessThanXSeconds",10,a):l<20?n.formatDistance("lessThanXSeconds",20,a):l<40?n.formatDistance("halfAMinute",null,a):l<60?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",1,a):c===0?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",c,a);if(c<45)return n.formatDistance("xMinutes",c,a);if(c<90)return n.formatDistance("aboutXHours",1,a);if(c=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=ke(e),u=Ze(t),c=l.getUTCDay(),f=u%7,h=(f+7)%7,p=(h0,n=r?t:1-t,i;if(n<=50)i=e||100;else{var a=n+50,o=Math.floor(a/100)*100,s=e>=a%100;i=e+o-(s?100:0)}return r?i:1-i}var NN=[31,28,31,30,31,30,31,31,30,31,30,31],RN=[31,29,31,30,31,30,31,31,30,31,30,31];function ay(e){return e%400===0||e%4===0&&e%100!==0}var LN={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});case"GGGG":default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var i=function(a){return{year:a,isTwoDigitYear:t==="yy"}};switch(t){case"y":return Bt(4,e,i);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:i});default:return Bt(t.length,e,i)}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var i=e.getUTCFullYear();if(r.isTwoDigitYear){var a=iy(r.year,i);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var o=!("era"in t)||t.era===1?r.year:1-r.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var i=function(a){return{year:a,isTwoDigitYear:t==="YY"}};switch(t){case"Y":return Bt(4,e,i);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:i});default:return Bt(t.length,e,i)}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var i=Dh(e,n);if(r.isTwoDigitYear){var a=iy(r.year,i);return e.setUTCFullYear(a,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Ei(e,n)}var o=!("era"in t)||t.era===1?r.year:1-r.year;return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Ei(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return Nl(t==="R"?4:t.length,e)},set:function(e,t,r,n){var i=new Date(0);return i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0),sa(i)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return Nl(t==="u"?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return Bt(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth((r-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return Bt(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth((r-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var i=function(a){return a-1};switch(t){case"M":return Rt(qt.month,e,i);case"MM":return Bt(2,e,i);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:i});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var i=function(a){return a-1};switch(t){case"L":return Rt(qt.month,e,i);case"LL":return Bt(2,e,i);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:i});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return Rt(qt.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return Ei(DN(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return Rt(qt.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return sa(PN(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,r,n){switch(t){case"d":return Rt(qt.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return Bt(t.length,e)}},validate:function(e,t,r){var n=e.getUTCFullYear(),i=ay(n),a=e.getUTCMonth();return i?t>=1&&t<=RN[a]:t>=1&&t<=NN[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,r,n){switch(t){case"D":case"DD":return Rt(qt.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return Bt(t.length,e)}},validate:function(e,t,r){var n=e.getUTCFullYear(),i=ay(n);return i?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return e=Mh(e,r,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var i=function(a){var o=Math.floor((a-1)/7)*7;return(a+n.weekStartsOn+6)%7+o};switch(t){case"e":case"ee":return Bt(t.length,e,i);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:i});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return e=Mh(e,r,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var i=function(a){var o=Math.floor((a-1)/7)*7;return(a+n.weekStartsOn+6)%7+o};switch(t){case"c":case"cc":return Bt(t.length,e,i);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:i});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return e=Mh(e,r,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var i=function(a){return a===0?7:a};switch(t){case"i":case"ii":return Bt(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:i})||r.day(e,{width:"short",context:"formatting",valueCallback:i})||r.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:i})||r.day(e,{width:"narrow",context:"formatting",valueCallback:i});case"iiii":default:return r.day(e,{width:"wide",context:"formatting",valueCallback:i})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:i})||r.day(e,{width:"short",context:"formatting",valueCallback:i})||r.day(e,{width:"narrow",context:"formatting",valueCallback:i})}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return e=ON(e,r,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours(Ih(r),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours(Ih(r),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours(Ih(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return Rt(qt.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var i=e.getUTCHours()>=12;return i&&r<12?e.setUTCHours(r+12,0,0,0):!i&&r===12?e.setUTCHours(0,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return Rt(qt.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return Rt(qt.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){var i=e.getUTCHours()>=12;return i&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return Rt(qt.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var i=r<=24?r%24:r;return e.setUTCHours(i,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return Rt(qt.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return Rt(qt.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return Bt(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){var i=function(a){return Math.floor(a*Math.pow(10,-t.length+3))};return Bt(t.length,e,i)},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return Tn(En.basicOptionalMinutes,e);case"XX":return Tn(En.basic,e);case"XXXX":return Tn(En.basicOptionalSeconds,e);case"XXXXX":return Tn(En.extendedOptionalSeconds,e);case"XXX":default:return Tn(En.extended,e)}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return Tn(En.basicOptionalMinutes,e);case"xx":return Tn(En.basic,e);case"xxxx":return Tn(En.basicOptionalSeconds,e);case"xxxxx":return Tn(En.extendedOptionalSeconds,e);case"xxx":default:return Tn(En.extended,e)}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return ny(e)},set:function(e,t,r,n){return[new Date(r*1e3),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return ny(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}},BN=10,$N=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qN=/^'([^]*?)'?$/,jN=/''/g,UN=/\S/,zN=/[a-zA-Z]/;function WN(e,t,r,n){Se(3,arguments);var i=String(e),a=String(t),o={},s=o.locale||Ph;if(!s.match)throw new RangeError("locale must contain match property");var l=s.options&&s.options.firstWeekContainsDate,u=l==null?1:Ze(l),c=o.firstWeekContainsDate==null?u:Ze(o.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=s.options&&s.options.weekStartsOn,h=f==null?0:Ze(f),p=o.weekStartsOn==null?h:Ze(o.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(a==="")return i===""?ke(r):new Date(NaN);var g={firstWeekContainsDate:c,weekStartsOn:p,locale:s},v=[{priority:BN,subPriority:-1,set:VN,index:0}],m,_=a.match(HN).map(function(I){var q=I[0];if(q==="p"||q==="P"){var B=Gb[q];return B(I,s.formatLong,g)}return I}).join("").match($N),w=[];for(m=0;m<_.length;m++){var T=_[m];!o.useAdditionalWeekYearTokens&&Xb(T)&&Ml(T,a,e),!o.useAdditionalDayOfYearTokens&&Kb(T)&&Ml(T,a,e);var F=T[0],O=LN[F];if(O){var M=O.incompatibleTokens;if(Array.isArray(M)){for(var H=void 0,S=0;S0&&UN.test(i))return new Date(NaN);var D=v.map(function(I){return I.priority}).sort(function(I,q){return q-I}).filter(function(I,q,B){return B.indexOf(I)===q}).map(function(I){return v.filter(function(q){return q.priority===I}).sort(function(q,B){return B.subPriority-q.subPriority})}).map(function(I){return I[0]}),b=ke(r);if(isNaN(b))return new Date(NaN);var C=qb(b,oa(b)),k={};for(m=0;m2)return t;if(/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Rl.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Rl.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length))),n){var i=Rl.timezone.exec(n);i?(t.time=n.replace(i[1],""),t.timezone=i[1]):t.time=n}return t}function QN(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?i:a*100,restDateString:e.slice((n[1]||n[2]).length)}}function JN(e,t){if(t===null)return new Date(NaN);var r=e.match(YN);if(!r)return new Date(NaN);var n=!!r[4],i=yo(r[1]),a=yo(r[2])-1,o=yo(r[3]),s=yo(r[4]),l=yo(r[5])-1;if(n)return oR(t,s,l)?rR(t,s,l):new Date(NaN);var u=new Date(0);return!iR(t,a,o)||!aR(t,i)?new Date(NaN):(u.setUTCFullYear(t,a,Math.max(i,o)),u)}function yo(e){return e?parseInt(e):1}function eR(e){var t=e.match(GN);if(!t)return NaN;var r=Nh(t[1]),n=Nh(t[2]),i=Nh(t[3]);return sR(r,n,i)?r*Th+n*Eh+i*1e3:NaN}function Nh(e){return e&&parseFloat(e.replace(",","."))||0}function tR(e){if(e==="Z")return 0;var t=e.match(KN);if(!t)return 0;var r=t[1]==="+"?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return lR(n,i)?r*(n*Th+i*Eh):NaN}function rR(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var i=n.getUTCDay()||7,a=(t-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+a),n}var nR=[31,null,31,30,31,30,31,31,30,31,30,31];function sy(e){return e%400===0||e%4===0&&e%100!==0}function iR(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(nR[t]||(sy(e)?29:28))}function aR(e,t){return t>=1&&t<=(sy(e)?366:365)}function oR(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}function sR(e,t,r){return e===24?t===0&&r===0:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}function lR(e,t){return t>=0&&t<=59}function uR(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present");var r=1,n=ke(e),i=n.getSeconds(),a=n.getMinutes()+i/60,o=Math.floor(a/r)*r,s=a%r,l=Math.round(s/r)*r;return new Date(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),o+l)}function cR(){return wn(Date.now())}const dR={BIF:"BIF",CLP:"CLP",DJF:"DJF",GNF:"GNF",JPY:"JPY",KMF:"KMF",KRW:"KRW",MGA:"MGA",PYG:"PYG",RWF:"RWF",UGX:"UGX",VND:"VND",VUV:"VUV",XAF:"XAF",XOF:"XOF",XPF:"XPF"},_o=({amount:e,currency:t="USD",locale:r="en-US"})=>{const n=new Intl.NumberFormat(r,{currency:t,currencyDisplay:"symbol",style:"currency"}),i=Object.prototype.hasOwnProperty.call(dR,t.toUpperCase())?e:e/100;return n.format(i)},fR=e=>{const{startDate:t,endDate:r}=e;return hR(t,r)},hR=(e,t)=>{const r=oy(e),n=oy(t),i="do",o=`MMM ${i}`,s="yyyy",l=nt(r,`, ${s}`),u=gi(ry(r),ry(n)),c=gi(ty(r),ty(n)),f=gi(ey(r),ey(n));return u&&c?f?nt(r,o)+l:`${nt(r,o)} - ${nt(n,i)+l}`:u?`${nt(r,o)} - ${nt(n,o)+l}`:`${nt(r,`${o}, ${s}`)} - ${nt(n,`${o}, ${s}`)}`},ly=e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase()),pR=sT((e,t,r)=>Qr(ek(Zu("id",t),Qo("amount",e)),r)),gR=(e,t,r)=>{const n=Jr(LT(Zu("id",r)),Mn("amount"),es(0));return n(t)-n(e)},mR=e=>{const t="https://next.brella.io";return!e||!e.links||!e.links.joinUrl?t:new URL(e.links.joinUrl).origin},vR=Jr(jT(xr(["ticket","id"])),ZT(e=>{const t=u4(e),r=Q5(e).ticket;return Qo("amount",t,r)}),K5),Rh={discountCodeUsed:{code:"",isValid:!0},filteredSelectedTickets:[],isHardcodedDiscountCodeValid:!1,isSelectedTicketsValid:!0,ticketPurchaserAnswers:{},ticketQuestionAnswers:[],tickets:[],ticketsInitialState:[]},jt={ADD_DISCOUNT_CODE:"addDiscountCode",INIT_TICKETS:"initTickets",RESET_FORM:"resetForm",SET_SELECTED_TICKETS:"setSelectedTickets",UPDATE_PURCHASER_ANSWERS:"updatePurchaserAnswers",UPDATE_SELECTED_TICKETS:"updateSelectedTickets",UPDATE_TICKET_QUESTION_ANSWERS:"updateTicketQuestionAnswers"};function bR(e,t){switch(t.type){case jt.ADD_DISCOUNT_CODE:return{...e,discountCodeUsed:{...e.discountCodeUsed,...t.payload}};case jt.UPDATE_PURCHASER_ANSWERS:return{...e,ticketPurchaserAnswers:{...e.ticketPurchaserAnswers,...t.payload}};case jt.UPDATE_TICKET_QUESTION_ANSWERS:{const r=Object.assign({},e.ticketQuestionAnswers);return r[t.index]={...r[t.index],...t.payload},{...e,ticketQuestionAnswers:r}}case jt.INIT_TICKETS:{const r=t.payload.tickets.map(i=>{const a=t.payload.preSelectedTickets.find(o=>o.ticketIds.includes(parseInt(i.id,10)));return{amount:a?a.amount:0,id:i.id,ticketData:i}}),n=gn(i=>i.amount>0,r);return{...e,filteredSelectedTickets:n,tickets:r,ticketsInitialState:r}}case jt.UPDATE_SELECTED_TICKETS:{const r=pR(t.payload.amount,t.payload.ticket_id,e.tickets),n=gn(s=>s.amount>0,r),i=rI(n),a=gR(e.tickets,r,t.payload.ticket_id);let o=[];return a>0?o=e.ticketQuestionAnswers:o=iI(e.ticketQuestionAnswers,t.payload.ticket_id,Math.abs(a)),{...e,filteredSelectedTickets:n,isSelectedTicketsValid:i,ticketQuestionAnswers:o,tickets:r}}case jt.SET_SELECTED_TICKETS:{const r=uI(e.tickets,t.payload.tickets),n=gn(i=>i.amount>0,r);return{...e,filteredSelectedTickets:n,tickets:r}}case jt.RESET_FORM:{if(t.payload.removeSelectedTickets){const r=gn(n=>n.amount>0,e.ticketsInitialState);return{...Rh,filteredSelectedTickets:r,tickets:e.ticketsInitialState,ticketsInitialState:e.ticketsInitialState}}return{...Rh,filteredSelectedTickets:e.filteredSelectedTickets,tickets:e.tickets}}default:throw Error(`Unknown action: ${t.type}`)}}const uy=An();function cy({children:e,joinCode:t,widgetId:r,minIncrementOfTickets:n=null,ticketsToShow:i=[],redirectUrlAfterTicketPurchase:a=null,minIncrementForDiscountCode:o=null,minIncrementOfTicketsByTicketId:s=null,discountCodeSettings:l=null,preSelectedTickets:u=[],maxNumberOfTicketsByTicketId:c=null,allowAutoZoom:f=!0}){const[h,p]=ue(null),[g,v]=ue([]),[m,_]=ue(null),[w,T]=ue(null),[F,O]=ue(!0),[M,H]=ue(!1),[S,L]=ue(!1),[U,D]=ue(!1),[b,C]=vi(cI,Ib),[k,P]=vi(bR,Rh),[A,I]=ue(),q=Qf();Ie(function(){const se=document.createElement("meta");if(!f)return se.setAttribute("name","viewport"),se.setAttribute("content","width=device-width, initial-scale=1.0, user-scalable=no"),document.head.appendChild(se),()=>{f||document.head.removeChild(se)}},[f]);const B=Ce=>{P({payload:{preSelectedTickets:u,tickets:Ce},type:jt.INIT_TICKETS})},K=async Ce=>{O(!0),rr.getPublicEvent({publicCode:Ce}).then(se=>{if(!se.ok)return _("Join code is invalid.");if(p(se.data),se.data.usesTicketing){if(!i.length)v(se.data.tickets),B(se.data.tickets);else{const ce=se.data.tickets.filter(Fe=>i.includes(parseInt(Fe.id,10)));v(ce),B(ce)}l&&P({payload:{code:l.discountCode.toUpperCase()},type:jt.ADD_DISCOUNT_CODE})}else _("This event does not have Ticketing feature enabled")}).finally(()=>O(!1))};Ie(()=>{const{errorMessage:Ce,isValid:se}=aI(n,s,l,u,c);if(!se){O(!1),T(Ce);return}K(t)},[t]);const X=()=>{const Ce=[];_h.forEach(se=>{(!Object.keys(k.ticketPurchaserAnswers).includes(se)||!k.ticketPurchaserAnswers[se])&&Ce.push(se)}),C({payload:Ce,type:vr.UPDATE_PURCHASER_INFO})},re=()=>{if(C({payload:!0,type:vr.UPDATE_SHOW_VALIDATION_ERROR}),b.isFormValid){H(!0);const Ce=tI(k.ticketQuestionAnswers,k.ticketPurchaserAnswers,k.discountCodeUsed.isValid?k.discountCodeUsed.code:!1);rr.postTicketingPurchase({eventSlug:h.slug,ticketPurchase:Ce}).then(se=>{if(!se.ok){D(!0),H(!1);return}q("ticket:formSubmitted",{discountCode:k.discountCodeUsed.code||"",purchaseId:se.data.id,purchaser:{email:se.data.purchasersEmail,firstName:se.data.firstName,lastName:se.data.lastName},tickets:Object.values(k.ticketQuestionAnswers).map(ce=>{const Fe=g.find(({id:$e})=>$e===ce.ticket_id);return{externalEmail:ce.use_purchasers_email?se.data.purchasersEmail:ce.registrants_email,ticket:Fe}}),total:se.data.total}),rr.postTicketCheckout({cancelUrl:window.location.href,eventSlug:h.slug,purchaseId:se.data.id,successUrl:a||`${eI(window.location.href)}?ticket_purchase_id=${se.data.id}&widget_id=${r}`}).then(ce=>{window.location.replace(ce.data.url)})})}else L(!0)};Ie(()=>{X()},[k.ticketPurchaserAnswers,k.ticketQuestionAnswers,b.requiredMissingQuestions]);const Ee={discountCodeSettings:l,error:m,event:h,form:A,formValidationDispatch:C,formValidationState:b,gotToCheckout:re,isCheckingOut:M,isLoading:F,maxNumberOfTicketsByTicketId:c,minIncrementForDiscountCode:o,minIncrementOfTickets:n,minIncrementOfTicketsByTicketId:s,onFormChange:Ce=>{_h.includes(Object.keys(Ce)[0])?P({payload:Ce,type:jt.UPDATE_PURCHASER_ANSWERS}):P({index:Ce.ticketIndex,payload:Ce,type:jt.UPDATE_TICKET_QUESTION_ANSWERS})},propsError:w,resetTickets:(Ce=!0)=>{P({payload:{removeSelectedTickets:Ce},type:jt.RESET_FORM}),C({type:vr.RESET_FORM}),l&&l.discountCode&&P({payload:{code:l.discountCode.toUpperCase()},type:jt.ADD_DISCOUNT_CODE})},setForm:I,setShowErrorMessage:D,setShowWarningMessage:L,showErrorMessage:U,showWarningMessage:S,ticketPurchaseDispatch:P,ticketPurchaseState:k,tickets:g,widgetId:r};return d(uy.Provider,{value:Ee,children:e})}function kn(){return tn(uy)}var ua,Tr,dy,ca=0,Lh=[],fy=oe.__b,hy=oe.__r,py=oe.diffed,gy=oe.__c,my=oe.unmount;function Co(e,t){oe.__h&&oe.__h(Tr,e,ca||t),ca=0;var r=Tr.__H||(Tr.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function yR(e){return ca=1,vy(_y,e)}function vy(e,t,r){var n=Co(ua++,2);return n.t=e,n.__c||(n.__=[r?r(t):_y(void 0,t),function(i){var a=n.t(n.__[0],i);n.__[0]!==a&&(n.__=[a,n.__[1]],n.__c.setState({}))}],n.__c=Tr),n.__}function _R(e,t){var r=Co(ua++,3);!oe.__s&&Hh(r.__H,t)&&(r.__=e,r.__H=t,Tr.__H.__h.push(r))}function by(e,t){var r=Co(ua++,4);!oe.__s&&Hh(r.__H,t)&&(r.__=e,r.__H=t,Tr.__h.push(r))}function CR(e){return ca=5,Bh(function(){return{current:e}},[])}function wR(e,t,r){ca=6,by(function(){typeof e=="function"?e(t()):e&&(e.current=t())},r==null?r:r.concat(e))}function Bh(e,t){var r=Co(ua++,7);return Hh(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function ER(e,t){return ca=8,Bh(function(){return e},t)}function TR(e){var t=Tr.context[e.__c],r=Co(ua++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Tr)),t.props.value):e.__}function kR(e,t){oe.useDebugValue&&oe.useDebugValue(t?t(e):e)}function xR(){var e;for(Lh.sort(function(t,r){return t.__v.__b-r.__v.__b});e=Lh.pop();)if(e.__P)try{e.__H.__h.forEach(Ll),e.__H.__h.forEach($h),e.__H.__h=[]}catch(t){e.__H.__h=[],oe.__e(t,e.__v)}}oe.__b=function(e){Tr=null,fy&&fy(e)},oe.__r=function(e){hy&&hy(e),ua=0;var t=(Tr=e.__c).__H;t&&(t.__h.forEach(Ll),t.__h.forEach($h),t.__h=[])},oe.diffed=function(e){py&&py(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(Lh.push(t)!==1&&dy===oe.requestAnimationFrame||((dy=oe.requestAnimationFrame)||function(r){var n,i=function(){clearTimeout(a),yy&&cancelAnimationFrame(n),setTimeout(r)},a=setTimeout(i,100);yy&&(n=requestAnimationFrame(i))})(xR)),Tr=null},oe.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Ll),r.__h=r.__h.filter(function(n){return!n.__||$h(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],oe.__e(n,r.__v)}}),gy&&gy(e,t)},oe.unmount=function(e){my&&my(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Ll(n)}catch(i){t=i}}),t&&oe.__e(t,r.__v))};var yy=typeof requestAnimationFrame=="function";function Ll(e){var t=Tr,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Tr=t}function $h(e){var t=Tr;e.__c=e.__(),Tr=t}function Hh(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function _y(e,t){return typeof t=="function"?t(e):t}function Cy(e,t){for(var r in t)e[r]=t[r];return e}function qh(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function jh(e){this.props=e}function SR(e,t){function r(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),t?!t(this.props,i)||!o:qh(this.props,i)}function n(i){return this.shouldComponentUpdate=r,he(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(jh.prototype=new st).isPureReactComponent=!0,jh.prototype.shouldComponentUpdate=function(e,t){return qh(this.props,e)||qh(this.state,t)};var wy=oe.__b;oe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),wy&&wy(e)};var FR=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function OR(e){function t(r,n){var i=Cy({},r);return delete i.ref,e(i,(n=r.ref||n)&&(typeof n!="object"||"current"in n)?n:null)}return t.$$typeof=FR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ey=function(e,t){return e==null?null:Lt(Lt(e).map(t))},wo={map:Ey,forEach:Ey,count:function(e){return e?Lt(e).length:0},only:function(e){var t=Lt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Lt},PR=oe.__e;oe.__e=function(e,t,r){if(e.then){for(var n,i=t;i=i.__;)if((n=i.__c)&&n.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),n.__c(e,t)}PR(e,t,r)};var Ty=oe.unmount;function Bl(){this.__u=0,this.t=null,this.__b=null}function ky(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function DR(e){var t,r,n;function i(a){if(t||(t=e()).then(function(o){r=o.default||o},function(o){n=o}),n)throw n;if(!r)throw t;return he(r,a)}return i.displayName="Lazy",i.__f=!0,i}function Eo(){this.u=null,this.o=null}oe.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Ty&&Ty(e)},(Bl.prototype=new st).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ky(n.__v),a=!1,o=function(){a||(a=!0,r.__R=null,i?i(s):s())};r.__R=o;var s=function(){if(!--n.__u){if(n.state.__e){var u=n.state.__e;n.__v.__k[0]=(function f(h,p,g){return h&&(h.__v=null,h.__k=h.__k&&h.__k.map(function(v){return f(v,p,g)}),h.__c&&h.__c.__P===p&&(h.__e&&g.insertBefore(h.__e,h.__d),h.__c.__e=!0,h.__c.__P=g)),h})(u,u.__c.__P,u.__c.__O)}var c;for(n.setState({__e:n.__b=null});c=n.t.pop();)c.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__e:n.__b=n.__v.__k[0]}),e.then(o,o)},Bl.prototype.componentWillUnmount=function(){this.t=[]},Bl.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=(function a(o,s,l){return o&&(o.__c&&o.__c.__H&&(o.__c.__H.__.forEach(function(u){typeof u.__c=="function"&&u.__c()}),o.__c.__H=null),(o=Cy({},o)).__c!=null&&(o.__c.__P===l&&(o.__c.__P=s),o.__c=null),o.__k=o.__k&&o.__k.map(function(u){return a(u,s,l)})),o})(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__e&&he(Le,null,e.fallback);return i&&(i.__h=null),[he(Le,null,t.__e?null:e.children),i]};var xy=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.i.removeChild(n)}}),fn(he(AR,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function IR(e,t){return he(MR,{__v:e,i:t})}(Eo.prototype=new st).__e=function(e){var t=this,r=ky(t.__v),n=t.o.get(e);return n[0]++,function(i){var a=function(){t.props.revealOrder?(n.push(i),xy(t,e,n)):i()};r?r(a):a()}},Eo.prototype.render=function(e){this.u=null,this.o=new Map;var t=Lt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Eo.prototype.componentDidUpdate=Eo.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){xy(e,r,t)})};var Sy=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,NR=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,RR=typeof document<"u",LR=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function BR(e,t,r){return t.__k==null&&(t.textContent=""),fn(e,t),typeof r=="function"&&r(),e?e.__c:null}function $R(e,t,r){return Fu(e,t),typeof r=="function"&&r(),e?e.__c:null}st.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(st.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Fy=oe.event;function HR(){}function qR(){return this.cancelBubble}function jR(){return this.defaultPrevented}oe.event=function(e){return Fy&&(e=Fy(e)),e.persist=HR,e.isPropagationStopped=qR,e.isDefaultPrevented=jR,e.nativeEvent=e};var Oy,Py={configurable:!0,get:function(){return this.class}},Dy=oe.vnode;oe.vnode=function(e){var t=e.type,r=e.props,n=r;if(typeof t=="string"){var i=t.indexOf("-")===-1;for(var a in n={},r){var o=r[a];RR&&a==="children"&&t==="noscript"||a==="value"&&"defaultValue"in r&&o==null||(a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&o===!0?o="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!LR(r.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(a)?a=a.toLowerCase():i&&NR.test(a)?a=a.replace(/[A-Z0-9]/,"-$&").toLowerCase():o===null&&(o=void 0),n[a]=o)}t=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=Lt(r.children).forEach(function(s){s.props.selected=n.value.indexOf(s.props.value)!=-1})),t=="select"&&n.defaultValue!=null&&(n.value=Lt(r.children).forEach(function(s){s.props.selected=n.multiple?n.defaultValue.indexOf(s.props.value)!=-1:n.defaultValue==s.props.value})),e.props=n,r.class!=r.className&&(Py.enumerable="className"in r,r.className!=null&&(n.class=r.className),Object.defineProperty(n,"className",Py))}e.$$typeof=Sy,Dy&&Dy(e)};var Ay=oe.__r;oe.__r=function(e){Ay&&Ay(e),Oy=e.__c};var UR={ReactCurrentDispatcher:{current:{readContext:function(e){return Oy.__n[e.__c].props.value}}}};function zR(e){return he.bind(null,e)}function My(e){return!!e&&e.$$typeof===Sy}function Iy(e){return My(e)?Zo.apply(null,arguments):e}function WR(e){return!!e.__k&&(fn(null,e),!0)}function Ny(e){return e&&(e.base||e.nodeType===1&&e)||null}var VR=function(e,t){return e(t)},ZR=function(e,t){return e(t)},To={useState:yR,useReducer:vy,useEffect:_R,useLayoutEffect:by,useRef:CR,useImperativeHandle:wR,useMemo:Bh,useCallback:ER,useContext:TR,useDebugValue:kR,version:"17.0.2",Children:wo,render:BR,hydrate:$R,unmountComponentAtNode:WR,createPortal:IR,createElement:he,createContext:An,createFactory:zR,cloneElement:Iy,createRef:fi,Fragment:Le,isValidElement:My,findDOMNode:Ny,Component:st,PureComponent:jh,memo:SR,forwardRef:OR,flushSync:ZR,unstable_batchedUpdates:VR,StrictMode:Le,Suspense:Bl,SuspenseList:Eo,lazy:DR,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:UR};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function Ry(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function YR(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Uh(){for(var e=[],t=0;t"u"},zh=(function(){function e(r,n){var i,a;if(this._canceled=!1,n)try{for(var o=Ry(Object.keys(n)),s=o.next();!s.done;s=o.next()){var l=s.value;this[l]=n[l]}}catch(u){i={error:u}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}this.eventType=r}var t=e.prototype;return t.stop=function(){this._canceled=!0},t.isCanceled=function(){return this._canceled},e})(),ki=(function(){function e(){this._eventHandler={}}var t=e.prototype;return t.trigger=function(r){for(var n=[],i=1;i"u"?(++_,o.push(T)):g[F]=_}),u.forEach(function(w,T){var F=c.get(w);typeof F>"u"?(a.push(T),++m):(s.push([F,T]),_=g[T]||0,h.push([F-_,T-m]),p.push(T===F),F!==T&&v.push([F,T]))}),o.reverse(),new eL(e,t,a,o,v,s,h,p)}var By=(function(){function e(r,n){r===void 0&&(r=[]),this.findKeyCallback=n,this.list=[].slice.call(r)}var t=e.prototype;return t.update=function(r){var n=[].slice.call(r),i=Ly(this.list,n,this.findKeyCallback);return this.list=n,i},e})();function Wh(e,t){for(var r=e.length,n=0;n"u"){if(typeof navigator>"u"||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}function Vh(e,t){try{return new RegExp(e,"g").exec(t)}catch{return null}}function tL(){if(typeof navigator>"u"||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!!(t&&t.length)}function rL(e,t){var r=Vh("("+e+")((?:\\/|\\s|:)([0-9|\\.|_]+))",t);return r?r[3]:""}function Zh(e){return e.replace(/_/g,".")}function xo(e,t){var r=null,n="-1";return Wh(e,function(i){var a=Vh("("+i.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!a||i.brand?!1:(r=i,n=a[3]||"-1",i.versionAlias?n=i.versionAlias:i.versionTest&&(n=rL(i.versionTest.toLowerCase(),t)||n),n=Zh(n),!0)}),{preset:r,version:n}}function $l(e,t){var r={brand:"",version:"-1"};return Wh(e,function(n){var i=qy(t,n);return i?(r.brand=n.id,r.version=n.versionAlias||i.version,r.version!=="-1"):!1}),r}function qy(e,t){return $y(e,function(r){var n=r.brand;return Vh(""+t.test,n.toLowerCase())})}var jy=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],Uy=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],Yh=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],zy=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],Wy=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function Vy(e){return!!xo(zy,e).preset}function nL(e){var t=Hy(e),r=!!/mobi/g.exec(t),n={name:"unknown",version:"-1",majorVersion:-1,webview:Vy(t),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},i={name:"unknown",version:"-1",majorVersion:-1},a=xo(jy,t),o=a.preset,s=a.version,l=xo(Wy,t),u=l.preset,c=l.version,f=xo(Uy,t);if(n.chromium=!!f.preset,n.chromiumVersion=f.version,!n.chromium){var h=xo(Yh,t);n.webkit=!!h.preset,n.webkitVersion=h.version}return u&&(i.name=u.id,i.version=c,i.majorVersion=parseInt(c,10)),o&&(n.name=o.id,n.version=s,n.webview&&i.name==="ios"&&n.name!=="safari"&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:i,isMobile:r,isHints:!1}}function iL(e){var t=navigator.userAgentData,r=(t.uaList||t.brands).slice(),n=t.mobile||!1,i=r[0],a=(t.platform||navigator.platform).toLowerCase(),o={name:i.brand,version:i.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!$l(zy,r).brand||Vy(Hy())},s={name:"unknown",version:"-1",majorVersion:-1};o.webkit=!o.chromium&&Wh(Yh,function(h){return qy(r,h)});var l=$l(Uy,r);if(o.chromium=!!l.brand,o.chromiumVersion=l.version,!o.chromium){var u=$l(Yh,r);o.webkit=!!u.brand,o.webkitVersion=u.version}var c=$y(Wy,function(h){return new RegExp(""+h.test,"g").exec(a)});s.name=c?c.id:"";{var f=$l(jy,r);o.name=f.brand||o.name,o.version=f.brand&&e?e.uaFullVersion:f.version}return o.webkit&&(s.name=n?"ios":"mac"),s.name==="ios"&&o.webview&&(o.version="-1"),s.version=Zh(s.version),o.version=Zh(o.version),s.majorVersion=parseInt(s.version,10),o.majorVersion=parseInt(o.version,10),{browser:o,os:s,isMobile:n,isHints:!0}}function aL(e){return tL()?iL():nL(e)}function oL(e){return Object.keys(e)}var Gh="__observers__",Hl="__computed__",Kh=1,Xh="__CFCS_DETECTED_DEPENDENCIES__",Qh=function(e,t){return Qh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Qh(e,t)};function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Qh(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Jh(){Object[Xh]=Object[Xh]||{};var e=Object[Xh];return e[Kh]=e[Kh]||[],e[Kh]}function lL(){var e=Jh();return e[e.length-1]}function uL(e){var t=Jh(),r=[],n={host:e,observers:r,push:function(i){e!==i&&r.indexOf(i)===-1&&r.push(i)}};return t.push(n),n}function cL(){var e=Jh();return e.pop()}var Zy=(function(){function e(r){this._emitter=new ki,this._current=r}var t=e.prototype;return Object.defineProperty(t,"current",{get:function(){var r=lL();return r?.push(this),this._current},set:function(r){this._setCurrent(r)},enumerable:!1,configurable:!0}),t.subscribe=function(r){return this.current,this._emitter.on("update",r),this},t.unsubscribe=function(r){return this._emitter.off("update",r),this},t._setCurrent=function(r){var n=this._current,i=r!==n;this._current=r,i&&this._emitter.trigger("update",r,n)},t.toString=function(){return"".concat(this.current)},t.valueOf=function(){return this.current},e})(),dL=(function(e){sL(t,e);function t(n){var i=e.call(this)||this;return i._computedCallback=n,i._registered=[],i._onCheckUpdate=function(){i._setCurrent(i.current)},i._current=i.current,i}var r=t.prototype;return Object.defineProperty(r,"current",{get:function(){var n=this;uL(this);var i=this._computedCallback(),a=cL();return this._registered.forEach(function(o){o.unsubscribe(n._onCheckUpdate)}),a.observers.forEach(function(o){o.subscribe(n._onCheckUpdate)}),this._registered=a.observers,i},enumerable:!1,configurable:!0}),t})(Zy);function Yy(e,t,r){r===void 0&&(r=t);var n={configurable:!0,get:function(){return xi(this,r).current},set:function(i){xi(this,r,i).current=i}};Object.defineProperty(e,t,n),r!==t&&Object.defineProperty(e,r,{configurable:!0,get:function(){return xi(this,r).current}})}function fL(){for(var e=[],t=0;t1?Yy(e[0],e[1]):function(r,n){return Yy(r,n,e[0])}}function hL(e){e.subscribe=function(t,r){this[t],xi(this,t).subscribe(r)},e.unsubscribe=function(t,r){var n=this;if(!t){oL(e3(this)).forEach(function(i){n.unsubscribe(i)});return}t in this&&xi(this,t).unsubscribe(r)}}function pL(e){var t=e.prototype;hL(t)}function gL(e){return new Zy(e)}function mL(e){return new dL(e)}function vL(e){var t={};return Object.defineProperty(e,Gh,{get:function(){return t}}),t}function e3(e,t){var r,n;e[Gh]||vL(e);var i=e[Gh];if(!t){var a=(n=(r=e?.constructor)===null||r===void 0?void 0:r.prototype)===null||n===void 0?void 0:n[Hl];a&&a.forEach(function(o){!(o in i)&&o in e&&e[o]})}return i}function xi(e,t,r){var n=e3(e);return n[t]||(n[t]=gL(r)),n[t]}function bL(e,t,r){var n=r.get;function i(){var s=e3(this,!0);return t in s||(s[t]=mL(n.bind(this))),xi(this,t).current}var a={configurable:!0,get:i};e[Hl]||(e[Hl]=[]);var o=e[Hl];return o.indexOf(t)===-1&&o.push(t),Object.defineProperty(e,t,a),a}/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */var t3=function(e,t){return t3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},t3(e,t)};function da(e,t){t3(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var At=function(){return At=Object.assign||function(t){for(var r,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}var Jt;typeof window>"u"?Jt={navigator:{userAgent:""}}:Jt=window;var So=1,yL=2,_L=4,fa=6,CL=8,wL=16,ha=24,ql=30,jl="left",n3="right",i3="middle",Gy={1:jl,2:i3,3:n3},Ky="any",EL="none",TL="shift",kL="ctrl",xL="alt",SL="meta",FL=16,OL=30,Xy="ontouchstart"in Jt&&aL().browser.name==="safari",PL=(function(){if(typeof document>"u")return"";for(var e=(document.head||document.getElementsByTagName("head")[0]).style,t=["transform","webkitTransform","msTransform","mozTransform"],r=0,n=t.length;r]*)>/);if(n){var i=document.createElement("div");i.innerHTML=e,r=Qy(i.childNodes)}else r=Qy(document.querySelectorAll(e));t||(r=r.length>=1?r[0]:void 0)}else e===Jt?r=e:"value"in e||"current"in e?r=e.value||e.current:e.nodeName&&(e.nodeType===1||e.nodeType===9)?r=e:"jQuery"in Jt&&e instanceof jQuery||e.constructor.prototype.jquery?r=t?e.toArray():e.get(0):Array.isArray(e)&&(r=e.map(function(a){return Jy(a)}),t||(r=r.length>=1?r[0]:void 0));return r},pa=Jt.requestAnimationFrame||Jt.webkitRequestAnimationFrame,Fo=Jt.cancelAnimationFrame||Jt.webkitCancelAnimationFrame;if(pa&&!Fo){var o3={},DL=pa;pa=function(e){var t=function(n){o3[r]&&e(n)},r=DL(t);return o3[r]=!0,r},Fo=function(e){delete o3[e]}}else pa&&Fo||(pa=function(e){return Jt.setTimeout(function(){e(Jt.performance&&Jt.performance.now&&Jt.performance.now()||new Date().getTime())},16)},Fo=Jt.clearTimeout);var AL=function(e){return pa(e)},ML=function(e){Fo(e)},xn=function(e,t){var r={};for(var n in e)n&&(r[n]=t(e[n],n));return r},e_=function(e,t){var r={};for(var n in e)n&&t(e[n],n)&&(r[n]=e[n]);return r},s3=function(e,t){for(var r in e)if(r&&!t(e[r],r))return!1;return!0},Oo=function(e,t){return s3(e,function(r,n){return r===t[n]})},l3={},t_=function(e,t){return l3[t]||(l3[t]=NL(t)),l3[t](e)},r_=function(e,t){return!e||!t?e:xn(e,function(r,n){return t_(r,typeof t=="number"?t:t[n])})},Ul=function(e){if(!isFinite(e))return 0;var t="".concat(e);if(t.indexOf("e")>=0){for(var r=0,n=1;Math.round(e*n)/n!==e;)n*=10,r++;return r}return t.indexOf(".")>=0?t.length-t.indexOf(".")-1:0},IL=function(e){return 1/Math.pow(10,e)},NL=function(e){var t=e<1?Math.pow(10,Ul(e)):1;return function(r){return e===0?0:Math.round(Math.round(r/e)*e*t)/t}},RL=function(e,t){return Math.atan2(t,e)*180/Math.PI},LL=function(e){var t=!0;return Object.keys(a3).forEach(function(r){(!e||e[r]!==a3[r])&&(t=!1)}),t},BL=function(e,t){return e&&t?ql:e?fa:t?ha:So},zl=function(e,t,r){return r?!!(t===ql||t&e&&r&e):!!(t&e)},$L=function(e,t,r){var n,i=(n={},n[So]="auto",n[ql]="none",n[ha]="pan-x",n[fa]="pan-y",n),a={};if(e&&e.style){var o=t.touchAction?t.touchAction:i[r],s=At(At({},a3),{"touch-action":e.style["touch-action"]==="none"?"none":o});Object.keys(s).forEach(function(l){a[l]=e.style[l]}),Object.keys(s).forEach(function(l){e.style[l]=s[l]})}return a},HL=function(e,t){e&&e.style&&t&&Object.keys(t).forEach(function(r){e.style[r]=t[r]})},qL=(function(){function e(r){this._axes=r,this.holdingCount=0}var t=e.prototype;return t.hold=function(r,n){var i=this._getRoundPos(r).roundPos;this._axes.trigger(new Ge("hold",{pos:i,input:n.input||null,inputEvent:n.event||null,isTrusted:!0}))},t.triggerRelease=function(r){var n=this._getRoundPos(r.destPos,r.depaPos),i=n.roundPos,a=n.roundDepa;r.destPos=i,r.depaPos=a,r.setTo=this._createUserControll(r.destPos,r.duration),this._axes.trigger(new Ge("release",At(At({},r),{bounceRatio:this._getBounceRatio(i)})))},t.triggerChange=function(r,n,i,a){var o=this;a===void 0&&(a=!1);var s=this.animationManager,l=s.axisManager,u=s.getEventInfo(),c=this._getRoundPos(r,n),f=c.roundPos,h=c.roundDepa,p=l.moveTo(f,h),g=i?.event||u?.event||null,v={pos:p.pos,delta:p.delta,bounceRatio:this._getBounceRatio(p.pos),holding:a,inputEvent:g,isTrusted:!!g,input:i?.input||u?.input||null,set:g?this._createUserControll(p.pos):function(){}},m=new Ge("change",v);return this._axes.trigger(m),Object.keys(p.pos).forEach(function(_){var w=p.pos[_];xi(o._axes,_,w).current=w}),g&&l.set(v.set().destPos),!m.isCanceled()},t.triggerAnimationStart=function(r){var n=this._getRoundPos(r.destPos,r.depaPos),i=n.roundPos,a=n.roundDepa;r.destPos=i,r.depaPos=a,r.setTo=this._createUserControll(r.destPos,r.duration);var o=new Ge("animationStart",r);return this._axes.trigger(o),!o.isCanceled()},t.triggerAnimationEnd=function(r){r===void 0&&(r=!1),this._axes.trigger(new Ge("animationEnd",{isTrusted:r}))},t.triggerFinish=function(r){r===void 0&&(r=!1),this._axes.trigger(new Ge("finish",{isTrusted:r}))},t.setAnimationManager=function(r){this.animationManager=r},t.destroy=function(){this._axes.off()},t._createUserControll=function(r,n){n===void 0&&(n=0);var i={destPos:At({},r),duration:n};return function(a,o){return a&&(i.destPos=At({},a)),o!==void 0&&(i.duration=o),i}},t._getRoundPos=function(r,n){var i=this._axes.options.round;return{roundPos:r_(r,i),roundDepa:r_(n,i)}},t._getBounceRatio=function(r){return this._axes.axisManager.map(r,function(n,i){return ni.range[1]&&i.bounce[1]!==0?(n-i.range[1])/i.bounce[1]:0})},r3([fL],e.prototype,"holdingCount",void 0),e})(),jL=(function(){function e(r){this._options=r,this._prevented=!1}var t=e.prototype;return t.isInterrupting=function(){return this._options.interruptable||this._prevented},t.isInterrupted=function(){return!this._options.interruptable&&this._prevented},t.setInterrupt=function(r){this._options.interruptable||(this._prevented=r)},e})(),n_=function(e,t,r,n){var i=e,a=[r[0]?t[0]:n?t[0]-n[0]:t[0],r[1]?t[1]:n?t[1]+n[1]:t[1]];return i=Math.max(a[0],i),i=Math.min(a[1],i),i},i_=function(e,t){return et[1]},UL=function(e,t,r,n){return!n[0]&&e===t[0]-r[0]||!n[1]&&e===t[1]+r[1]},zL=function(e,t){var r=Math.sqrt(e/t*2);return r<100?0:r},a_=function(e,t,r){return r[1]&&e>t[1]||r[0]&&ea&&(n=(n-a)%o+i),r[0]&&e-1||t.indexOf(EL)>-1&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&!e.metaKey||t.indexOf(TL)>-1&&e.shiftKey||t.indexOf(kL)>-1&&e.ctrlKey||t.indexOf(xL)>-1&&e.altKey||t.indexOf(SL)>-1&&e.metaKey)},Vl=(function(){function e(){var r=this;this._stopContextMenu=function(n){n.preventDefault(),Jt.removeEventListener("contextmenu",r._stopContextMenu)}}var t=e.prototype;return t.extendEvent=function(r){var n,i=this.prevEvent,a=this._getCenter(r),o=i?this._getMovement(r):{x:0,y:0},s=i?this._getScale(r):1,l=i?RL(a.x-i.center.x,a.y-i.center.y):0,u=i?i.deltaX+o.x:o.x,c=i?i.deltaY+o.y:o.y,f=o.x,h=o.y,p=this._latestInterval,g=Date.now(),v=p?g-p.timestamp:0,m=i?i.velocityX:0,_=i?i.velocityY:0;return(!p||v>=FL)&&(p&&(n=[(u-p.deltaX)/v,(c-p.deltaY)/v],m=n[0],_=n[1]),this._latestInterval={timestamp:g,deltaX:u,deltaY:c}),{srcEvent:r,scale:s,angle:l,center:a,deltaX:u,deltaY:c,offsetX:f,offsetY:h,velocityX:m,velocityY:_,preventSystemEvent:!0}},t._getDistance=function(r,n){var i=n.clientX-r.clientX,a=n.clientY-r.clientY;return Math.sqrt(i*i+a*a)},t._getButton=function(r){var n={1:jl,2:n3,4:i3},i=this._isTouchEvent(r)?jl:n[r.buttons];return i||null},t._isTouchEvent=function(r){return r.type&&r.type.indexOf("touch")>-1},t._isValidButton=function(r,n){return n.indexOf(r)>-1},t._isValidEvent=function(r,n,i){return(!n||GL(r,n))&&(!i||this._isValidButton(this._getButton(r),i))},t._preventMouseButton=function(r,n){n===n3?Jt.addEventListener("contextmenu",this._stopContextMenu):n===i3&&r.preventDefault()},e})(),KL=(function(e){da(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.start=["mousedown"],n.move=["mousemove"],n.end=["mouseup"],n}var r=t.prototype;return r.onEventStart=function(n,i,a){var o=this._getButton(n);return this._isValidEvent(n,i,a)?(this._preventMouseButton(n,o),this.extendEvent(n)):null},r.onEventMove=function(n,i,a){return this._isValidEvent(n,i,a)?this.extendEvent(n):null},r.onEventEnd=function(){},r.onRelease=function(){this.prevEvent=null},r.getTouches=function(n,i){return i&&this._isValidButton(Gy[n.which],i)&&this.end.indexOf(n.type)===-1?1:0},r._getScale=function(){return 1},r._getCenter=function(n){return{x:n.clientX,y:n.clientY}},r._getMovement=function(n){var i=this.prevEvent.srcEvent;return{x:n.clientX-i.clientX,y:n.clientY-i.clientY}},t})(Vl),XL=(function(e){da(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.start=["touchstart"],n.move=["touchmove"],n.end=["touchend","touchcancel"],n}var r=t.prototype;return r.onEventStart=function(n,i){return this._baseTouches=n.touches,this._isValidEvent(n,i)?this.extendEvent(n):null},r.onEventMove=function(n,i){return this._isValidEvent(n,i)?this.extendEvent(n):null},r.onEventEnd=function(n){this._baseTouches=n.touches},r.onRelease=function(){this.prevEvent=null,this._baseTouches=null},r.getTouches=function(n){return n.touches.length},r._getScale=function(n){return n.touches.length!==2||this._baseTouches.length<2?null:this._getDistance(n.touches[0],n.touches[1])/this._getDistance(this._baseTouches[0],this._baseTouches[1])},r._getCenter=function(n){return{x:n.touches[0].clientX,y:n.touches[0].clientY}},r._getMovement=function(n){var i=this.prevEvent.srcEvent;return n.touches[0].identifier!==i.touches[0].identifier?{x:0,y:0}:{x:n.touches[0].clientX-i.touches[0].clientX,y:n.touches[0].clientY-i.touches[0].clientY}},t})(Vl),QL=(function(e){da(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.start=Wl?["pointerdown"]:["MSPointerDown"],n.move=Wl?["pointermove"]:["MSPointerMove"],n.end=Wl?["pointerup","pointercancel"]:["MSPointerUp","MSPointerCancel"],n._firstInputs=[],n._recentInputs=[],n}var r=t.prototype;return r.onEventStart=function(n,i,a){var o=this._getButton(n);return this._isValidEvent(n,i,a)?(this._preventMouseButton(n,o),this._updatePointerEvent(n),this.extendEvent(n)):null},r.onEventMove=function(n,i,a){return this._isValidEvent(n,i,a)?(this._updatePointerEvent(n),this.extendEvent(n)):null},r.onEventEnd=function(n){this._removePointerEvent(n)},r.onRelease=function(){this.prevEvent=null,this._firstInputs=[],this._recentInputs=[]},r.getTouches=function(){return this._recentInputs.length},r._getScale=function(){return this._recentInputs.length!==2?null:this._getDistance(this._recentInputs[0],this._recentInputs[1])/this._getDistance(this._firstInputs[0],this._firstInputs[1])},r._getCenter=function(n){return{x:n.clientX,y:n.clientY}},r._getMovement=function(n){var i=this.prevEvent.srcEvent;return n.pointerId!==i.pointerId?{x:0,y:0}:{x:n.clientX-i.clientX,y:n.clientY-i.clientY}},r._updatePointerEvent=function(n){var i=this,a=!1;this._recentInputs.forEach(function(o,s){o.pointerId===n.pointerId&&(a=!0,i._recentInputs[s]=n)}),a||(this._firstInputs.push(n),this._recentInputs.push(n))},r._removePointerEvent=function(n){this._firstInputs=this._firstInputs.filter(function(i){return i.pointerId!==n.pointerId}),this._recentInputs=this._recentInputs.filter(function(i){return i.pointerId!==n.pointerId})},t})(Vl),JL=(function(e){da(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.start=["mousedown","touchstart"],n.move=["mousemove","touchmove"],n.end=["mouseup","touchend","touchcancel"],n}var r=t.prototype;return r.onEventStart=function(n,i,a){var o=this._getButton(n);return this._isTouchEvent(n)&&(this._baseTouches=n.touches),this._isValidEvent(n,i,a)?(this._preventMouseButton(n,o),this.extendEvent(n)):null},r.onEventMove=function(n,i,a){return this._isValidEvent(n,i,a)?this.extendEvent(n):null},r.onEventEnd=function(n){this._isTouchEvent(n)&&(this._baseTouches=n.touches)},r.onRelease=function(){this.prevEvent=null,this._baseTouches=null},r.getTouches=function(n,i){return this._isTouchEvent(n)?n.touches.length:this._isValidButton(Gy[n.which],i)&&this.end.indexOf(n.type)===-1?1:0},r._getScale=function(n){return this._isTouchEvent(n)?n.touches.length!==2||this._baseTouches.length<2?1:this._getDistance(n.touches[0],n.touches[1])/this._getDistance(this._baseTouches[0],this._baseTouches[1]):this.prevEvent.scale},r._getCenter=function(n){return this._isTouchEvent(n)?{x:n.touches[0].clientX,y:n.touches[0].clientY}:{x:n.clientX,y:n.clientY}},r._getMovement=function(n){var i=this,a=this.prevEvent.srcEvent,o=[n,a].map(function(u){return i._isTouchEvent(u)?{id:u.touches[0].identifier,x:u.touches[0].clientX,y:u.touches[0].clientY}:{id:null,x:u.clientX,y:u.clientY}}),s=o[0],l=o[1];return s.id===l.id?{x:s.x-l.x,y:s.y-l.y}:{x:0,y:0}},t})(Vl),o_=function(e,t){return t.reduce(function(r,n,i){return e[i]&&(r[e[i]]=n),r},{})},eB=function(e){e===void 0&&(e=[]);var t=!1,r=!1,n=!1;return e.forEach(function(i){switch(i){case"mouse":r=!0;break;case"touch":t=VL;break;case"pointer":n=YL}}),n?new QL:t&&r?new JL:t?new XL:r?new KL:null};function s_(e){return e.indexOf("touch")>-1?{passive:!1}:!1}var tB=(function(){function e(r){var n=r.options,i=r.interruptManager,a=r.eventManager,o=r.axisManager,s=r.animationManager;this._isOutside=!1,this._moveDistance=null,this._isStopped=!1,this.options=n,this._interruptManager=i,this._eventManager=a,this._axisManager=o,this._animationManager=s}var t=e.prototype;return t.get=function(r){return this._axisManager.get(r.axes)},t.hold=function(r,n){if(!(this._interruptManager.isInterrupted()||!r.axes.length)){var i={input:r,event:n};this._isStopped=!1,this._interruptManager.setInterrupt(!0),this._animationManager.stopAnimation(i),++this._eventManager.holdingCount,this._moveDistance||this._eventManager.hold(this._axisManager.get(),i),this._isOutside=this._axisManager.isOutside(r.axes),this._moveDistance=this._axisManager.get(r.axes)}},t.change=function(r,n,i,a){if(!(this._isStopped||!this._interruptManager.isInterrupting()||this._axisManager.every(i,function(h){return h===0}))){var o=n.srcEvent?n.srcEvent:n;if(!o.__childrenAxesAlreadyChanged){var s=this._moveDistance||this._axisManager.get(r.axes),l;l=xn(s,function(h,p){return h+(i[p]||0)}),this._moveDistance&&(this._moveDistance=this._axisManager.map(l,function(h,p){var g=p.circular,v=p.range;return g&&(g[0]||g[1])?Po(h,v,g):h})),this._isOutside&&this._axisManager.every(s,function(h,p){return!i_(h,p.range)})&&(this._isOutside=!1),s=this._atOutside(s),l=this._atOutside(l),(!this.options.nested||!this._isEndofAxis(i,s,l))&&(o.__childrenAxesAlreadyChanged=!0);var u={input:r,event:n};if(a){var c=this._animationManager.getDuration(l,s);this._animationManager.animateTo(l,c,u)}else{var f=!this._eventManager.triggerChange(l,s,u,!0);f&&(this._isStopped=!0,this._moveDistance=null,this._animationManager.finish(!1))}}}},t.release=function(r,n,i,a){if(!(this._isStopped||!this._interruptManager.isInterrupting()||!this._moveDistance)){var o=n.srcEvent?n.srcEvent:n;o.__childrenAxesAlreadyReleased&&(i=i.map(function(){return 0}));var s=this._axisManager.get(r.axes),l=this._axisManager.get(),u=this._animationManager.getDisplacement(i),c=o_(r.axes,u),f=this._axisManager.get(this._axisManager.map(c,function(_,w,T){return w.circular&&(w.circular[0]||w.circular[1])?s[T]+_:n_(s[T]+_,w.range,w.circular,w.bounce)}));o.__childrenAxesAlreadyReleased=!0;var h=this._animationManager.getDuration(f,s,a);h===0&&(f=At({},l));var p={depaPos:l,destPos:f,duration:h,delta:this._axisManager.getDelta(l,f),inputEvent:n,input:r,isTrusted:!0};--this._eventManager.holdingCount,this._eventManager.triggerRelease(p),this._eventManager.holdingCount===0&&(this._moveDistance=null);var g=this._animationManager.getUserControl(p),v=Oo(g.destPos,l),m={input:r,event:n};v||g.duration===0?(v||this._eventManager.triggerChange(g.destPos,l,m,!0),this._interruptManager.setInterrupt(!1),this._axisManager.isOutside()?this._animationManager.restore(m):this._eventManager.triggerFinish(!0)):this._animationManager.animateTo(g.destPos,g.duration,m)}},t._atOutside=function(r){var n=this;return this._isOutside?this._axisManager.map(r,function(i,a){var o=a.range[0]-a.bounce[0],s=a.range[1]+a.bounce[1];return i>s?s:is?i:is?s+n._animationManager.interpolate(i-s,l[1]):i})},t._isEndofAxis=function(r,n,i){return this._axisManager.every(n,function(a,o,s){return r[s]===0||n[s]===i[s]&&UL(a,o.range,o.bounce,o.circular)})},e})(),u3=function(e,t,r){return Math.max(Math.min(e,r),t)},rB=(function(){function e(r){var n=r.options,i=r.interruptManager,a=r.eventManager,o=r.axisManager;this._options=n,this.interruptManager=i,this.eventManager=a,this.axisManager=o,this.animationEnd=this.animationEnd.bind(this)}var t=e.prototype;return t.getDuration=function(r,n,i){var a=this,o;if(typeof i<"u")o=i;else{var s=xn(n,function(l,u){return zL(Math.abs(l-r[u]),a._options.deceleration)});o=Object.keys(s).reduce(function(l,u){return Math.max(l,s[u])},-1/0)}return u3(o,this._options.minimumDuration,this._options.maximumDuration)},t.getDisplacement=function(r){var n=Math.pow(r.reduce(function(a,o){return a+o*o},0),1/r.length),i=Math.abs(n/-this._options.deceleration);return r.map(function(a){return a/2*i})},t.stopAnimation=function(r){if(this._animateParam){var n=this.axisManager.get(),i=this.axisManager.map(n,function(a,o){return Po(a,o.range,o.circular)});s3(i,function(a,o){return n[o]===a})||this.eventManager.triggerChange(i,n,r,!!r),this._animateParam=null,this._raf&&ML(this._raf),this._raf=null,this.eventManager.triggerAnimationEnd(!!r?.event)}},t.getEventInfo=function(){return this._animateParam&&this._animateParam.input&&this._animateParam.inputEvent?{input:this._animateParam.input,event:this._animateParam.inputEvent}:null},t.restore=function(r){var n=this.axisManager.get(),i=this.axisManager.map(n,function(a,o){return Math.min(o.range[1],Math.max(o.range[0],a))});this.stopAnimation(),this.animateTo(i,this.getDuration(n,i),r)},t.animationEnd=function(){var r=this.getEventInfo();this._animateParam=null;var n=this.axisManager.filter(this.axisManager.get(),function(i,a){return a_(i,a.range,a.circular)});Object.keys(n).length>0&&this.setTo(this.axisManager.map(n,function(i,a){return Po(i,a.range,a.circular)})),this.interruptManager.setInterrupt(!1),this.eventManager.triggerAnimationEnd(!!r),this.axisManager.isOutside()?this.restore(r):this.finish(!!r)},t.finish=function(r){this._animateParam=null,this.interruptManager.setInterrupt(!1),this.eventManager.triggerFinish(r)},t.getUserControl=function(r){var n=r.setTo();return n.destPos=this.axisManager.get(n.destPos),n.duration=u3(n.duration,this._options.minimumDuration,this._options.maximumDuration),n},t.animateTo=function(r,n,i){var a=this;this.stopAnimation();var o=this._createAnimationParam(r,n,i),s=At({},o.depaPos),l=this.eventManager.triggerAnimationStart(o),u=this.getUserControl(o);if(!l&&this.axisManager.every(u.destPos,function(f,h){return a_(f,h.range,h.circular)})&&console.warn("You can't stop the 'animation' event when 'circular' is true."),l&&!Oo(u.destPos,s)){var c=i?.event||null;this._animateLoop({depaPos:s,destPos:u.destPos,duration:u.duration,delta:this.axisManager.getDelta(s,u.destPos),isTrusted:!!c,inputEvent:c,input:i?.input||null},function(){return a.animationEnd()})}},t.setTo=function(r,n){n===void 0&&(n=0);var i=Object.keys(r),a=this.axisManager.get(i);if(Oo(r,a))return this;this.interruptManager.setInterrupt(!0);var o=e_(r,function(s,l){return a[l]!==s});return Object.keys(o).length?(o=this.axisManager.map(o,function(s,l){var u=l.range,c=l.circular;return c&&(c[0]||c[1])?s:n_(s,u,c)}),Oo(o,a)?this:(n>0?this.animateTo(o,n):(this.stopAnimation(),this.eventManager.triggerChange(o),this.finish(!1)),this)):this},t.setBy=function(r,n){return n===void 0&&(n=0),this.setTo(xn(this.axisManager.get(Object.keys(r)),function(i,a){return i+r[a]}),n)},t.setOptions=function(r){this._options=At(At({},this._options),r)},t._createAnimationParam=function(r,n,i){var a=this.axisManager.get(),o=r,s=i?.event||null;return{depaPos:a,destPos:o,duration:u3(n,this._options.minimumDuration,this._options.maximumDuration),delta:this.axisManager.getDelta(a,o),inputEvent:s,input:i?.input||null,isTrusted:!!s,done:this.animationEnd}},t._animateLoop=function(r,n){var i=this;if(r.duration){this._animateParam=At(At({},r),{startTime:new Date().getTime()});var a=xn(r.destPos,function(l){return l}),o=this._initState(this._animateParam),s=function(){i._raf=null;var l=i._animateParam,u=i._getNextState(o),c=!i.eventManager.triggerChange(u.pos,o.pos);if(o=u,u.finished){l.destPos=i._getFinalPos(l.destPos,a),Oo(l.destPos,i.axisManager.get(Object.keys(l.destPos)))||i.eventManager.triggerChange(l.destPos,u.pos),n();return}else c?i.finish(!1):i._raf=AL(s)};s()}else this.eventManager.triggerChange(r.destPos),n()},t._getFinalPos=function(r,n){var i=this,a=1e-6,o=xn(r,function(s,l){if(s>=n[l]-a&&s<=n[l]+a)return n[l];var u=i._getRoundUnit(s,l),c=t_(s,u);return c});return o},t._getRoundUnit=function(r,n){var i=this._options.round,a=null;if(!i){var o=this.axisManager.getAxisOptions(n);a=IL(Math.max(Ul(o.range[0]),Ul(o.range[1]),Ul(r)))}return a||i},e})(),nB=(function(e){da(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._useDuration=!0,n}var r=t.prototype;return r.interpolate=function(n,i){var a=this._easing(1e-5)/1e-5;return this._easing(n/(i*a))*i},r.updateAnimation=function(n){var i,a=this._animateParam;if(a){var o=new Date().getTime()-a.startTime,s=n?.destPos||a.destPos,l=(i=n?.duration)!==null&&i!==void 0?i:a.duration;if(n?.restart||l<=o){this.setTo(s,l-o);return}if(n?.destPos){var u=this.axisManager.get();this._initialEasingPer=this._prevEasingPer,a.delta=this.axisManager.getDelta(u,s),a.destPos=s}if(n?.duration){var c=(o+this._durationOffset)/a.duration;this._durationOffset=c*l-o,a.duration=l}}},r._initState=function(n){return this._initialEasingPer=0,this._prevEasingPer=0,this._durationOffset=0,{pos:n.depaPos,easingPer:0,finished:!1}},r._getNextState=function(n){var i=this,a=this._animateParam,o=n.pos,s=a.destPos,l=xn(o,function(p,g){return p<=s[g]?1:-1}),u=new Date().getTime()-a.startTime,c=(u+this._durationOffset)/a.duration,f=this._easing(c),h=this.axisManager.map(o,function(p,g,v){var m=c>=1?s[v]:p+a.delta[v]*(f-i._prevEasingPer)/(1-i._initialEasingPer),_=Po(m,g.range,g.circular);if(m!==_){var w=l[v]*(g.range[1]-g.range[0]);s[v]-=w,o[v]-=w}return _});return this._prevEasingPer=f,{pos:h,easingPer:f,finished:f>=1}},r._easing=function(n){return n>1?1:this._options.easing(n)},t})(rB),iB=(function(e){da(t,e);function t(n,i,a){n===void 0&&(n={}),i===void 0&&(i={}),a===void 0&&(a={});var o=e.call(this)||this;return o.axis=n,o._inputs=[],o.options=At({easing:function(s){return 1-Math.pow(1-s,3)},interruptable:!0,maximumDuration:1/0,minimumDuration:0,deceleration:6e-4,round:null,nested:!1},i),Object.keys(a).forEach(function(s){o.axis[s].startPos=a[s]}),o.interruptManager=new jL(o.options),o.axisManager=new WL(o.axis),o.eventManager=new qL(o),o.animationManager=new nB(o),o.inputObserver=new tB(o),o.eventManager.setAnimationManager(o.animationManager),o.eventManager.triggerChange(o.axisManager.get()),o}var r=t.prototype;return Object.defineProperty(r,"holding",{get:function(){return this.eventManager.holdingCount>0},enumerable:!1,configurable:!0}),r.connect=function(n,i){var a;return typeof n=="string"?a=n.split(" "):a=n.concat(),~this._inputs.indexOf(i)&&this.disconnect(i),i.mapAxes(a),i.connect(this.inputObserver),this._inputs.push(i),this},r.disconnect=function(n){if(n){var i=this._inputs.indexOf(n);i>=0&&(this._inputs[i].disconnect(),this._inputs.splice(i,1))}else this._inputs.forEach(function(a){return a.disconnect()}),this._inputs=[];return this},r.get=function(n){return this.axisManager.get(n)},r.setTo=function(n,i){return i===void 0&&(i=0),this.animationManager.setTo(n,i),this},r.setBy=function(n,i){return i===void 0&&(i=0),this.animationManager.setBy(n,i),this},r.setOptions=function(n){return this.options=At(At({},this.options),n),this.animationManager.setOptions(n),this},r.setAxis=function(n){return this.axisManager.setAxis(n),this},r.stopAnimation=function(){return this.animationManager.stopAnimation(),this.animationManager.finish(!1),this},r.updateAnimation=function(n){return this.animationManager.updateAnimation(n),this},r.isBounceArea=function(n){return this.axisManager.isOutside(n)},r.destroy=function(){this.disconnect(),this.eventManager.destroy()},t.VERSION="3.9.1",t.TRANSFORM=PL,t.DIRECTION_NONE=So,t.DIRECTION_LEFT=yL,t.DIRECTION_RIGHT=_L,t.DIRECTION_UP=CL,t.DIRECTION_DOWN=wL,t.DIRECTION_HORIZONTAL=fa,t.DIRECTION_VERTICAL=ha,t.DIRECTION_ALL=ql,r3([bL],t.prototype,"holding",null),t=r3([pL],t),t})(ki),aB=function(e,t){if(t<0||t>90)return So;var r=Math.abs(e);return r>t&&r<180-t?ha:fa},oB=(function(){function e(r,n){var i=this;this.axes=[],this.element=null,this._enabled=!1,this._activeEvent=null,this._atRightEdge=!1,this._rightEdgeTimer=0,this._dragged=!1,this._isOverThreshold=!1,this._preventClickWhenDragged=function(a){i._dragged&&(a.preventDefault(),a.stopPropagation()),i._dragged=!1},this._voidFunction=function(){},this.element=Jy(r),this.options=At({inputType:["touch","mouse","pointer"],inputKey:[Ky],inputButton:[jl],scale:[1,1],thresholdAngle:45,threshold:0,preventClickOnDrag:!1,preventDefaultOnDrag:!1,iOSEdgeSwipeThreshold:OL,releaseOnScroll:!1,touchAction:null},n),this._onPanstart=this._onPanstart.bind(this),this._onPanmove=this._onPanmove.bind(this),this._onPanend=this._onPanend.bind(this)}var t=e.prototype;return t.mapAxes=function(r){this._direction=BL(!!r[0],!!r[1]),this.axes=r},t.connect=function(r){return this._activeEvent&&(this._detachElementEvent(),this._detachWindowEvent(this._activeEvent)),this._attachElementEvent(r),this},t.disconnect=function(){return this._detachElementEvent(),this._detachWindowEvent(this._activeEvent),this._direction=So,this},t.destroy=function(){this.disconnect(),this.element=null},t.enable=function(){return this._enabled||(this._enabled=!0,this._originalCssProps=$L(this.element,this.options,this._direction)),this},t.disable=function(){return this._enabled&&(this._enabled=!1,LL(this._originalCssProps)||HL(this.element,this._originalCssProps)),this},t.isEnabled=function(){return this._enabled},t.release=function(){var r=this._activeEvent,n=r.prevEvent;return r.onRelease(),this._observer.release(this,n,[0,0]),this._detachWindowEvent(r),this},t._onPanstart=function(r){var n=this.options,i=n.inputKey,a=n.inputButton,o=n.preventDefaultOnDrag,s=this._activeEvent,l=s.onEventStart(r,i,a);if(!(!l||!this._enabled||s.getTouches(r,a)>1)&&l.srcEvent.cancelable!==!1){var u=this.options.iOSEdgeSwipeThreshold;this._dragged=!1,this._isOverThreshold=!1,this._observer.hold(this,l),this._atRightEdge=Xy&&l.center.x>window.innerWidth-u,this._attachWindowEvent(s),o&&l.srcEvent.type!=="touchstart"&&l.srcEvent.preventDefault(),s.prevEvent=l}},t._onPanmove=function(r){var n=this,i=this.options,a=i.iOSEdgeSwipeThreshold,o=i.preventClickOnDrag,s=i.releaseOnScroll,l=i.inputKey,u=i.inputButton,c=i.threshold,f=i.thresholdAngle,h=this._activeEvent,p=h.onEventMove(r,l,u),g=h.getTouches(r,u);if(g===0||s&&p&&!p.srcEvent.cancelable){this._onPanend(r);return}if(!(!p||!this._enabled||g>1)){var v=aB(p.angle,f),m=zl(fa,this._direction,v),_=zl(ha,this._direction,v);if(h.prevEvent&&Xy){var w=p.center.x<0;if(w){this.release();return}else if(this._atRightEdge){clearTimeout(this._rightEdgeTimer);var T=p.deltaX<-a;T?this._atRightEdge=!1:this._rightEdgeTimer=window.setTimeout(function(){return n.release()},100)}}var F=this._getDistance([p.deltaX,p.deltaY],[m,_]),O=this._getOffset([p.offsetX,p.offsetY],[m,_]),M=O.some(function(H){return H!==0});M&&(p.srcEvent.cancelable!==!1&&p.srcEvent.preventDefault(),p.srcEvent.stopPropagation()),p.preventSystemEvent=M,M&&(this._isOverThreshold||F>=c)&&(this._dragged=o,this._isOverThreshold=!0,this._observer.change(this,p,o_(this.axes,O))),h.prevEvent=p}},t._onPanend=function(r){var n=this.options.inputButton,i=this._activeEvent;if(i.onEventEnd(r),!(!this._enabled||i.getTouches(r,n)!==0)){this._detachWindowEvent(i),clearTimeout(this._rightEdgeTimer);var a=i.prevEvent,o=this._isOverThreshold?this._getOffset([Math.abs(a.velocityX)*(a.offsetX<0?-1:1),Math.abs(a.velocityY)*(a.offsetY<0?-1:1)],[zl(fa,this._direction),zl(ha,this._direction)]):[0,0];i.onRelease(),this._observer.release(this,a,o)}},t._attachWindowEvent=function(r){var n=this;r?.move.forEach(function(i){window.addEventListener(i,n._onPanmove,s_(i))}),r?.end.forEach(function(i){window.addEventListener(i,n._onPanend,s_(i))})},t._detachWindowEvent=function(r){var n=this;r?.move.forEach(function(i){window.removeEventListener(i,n._onPanmove)}),r?.end.forEach(function(i){window.removeEventListener(i,n._onPanend)})},t._getOffset=function(r,n){var i=this.options.scale;return[n[0]?r[0]*i[0]:0,n[1]?r[1]*i[1]:0]},t._getDistance=function(r,n){return Math.sqrt(Number(n[0])*Math.pow(r[0],2)+Number(n[1])*Math.pow(r[1],2))},t._attachElementEvent=function(r){var n=this,i=eB(this.options.inputType),a=this.element;if(i){if(!a)throw new Error("Element to connect input does not exist.");this._observer=r,this.enable(),this._activeEvent=i,a.addEventListener("click",this._preventClickWhenDragged,!0),i.start.forEach(function(o){a.addEventListener(o,n._onPanstart)}),i.move.forEach(function(o){a.addEventListener(o,n._voidFunction)})}},t._detachElementEvent=function(){var r=this,n=this._activeEvent,i=this.element;i&&(i.removeEventListener("click",this._preventClickWhenDragged,!0),n?.start.forEach(function(a){i.removeEventListener(a,r._onPanstart)}),n?.move.forEach(function(a){i.removeEventListener(a,r._voidFunction)})),this.disable(),this._observer=null},e})();/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var c3=function(e,t){return c3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},c3(e,t)};function ga(e,t){c3(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ma=function(){return ma=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0},r.clear=function(){this.isPreReadyOver=!1,this.totalCount=0,this.preReadyCount=0,this.readyCount=0,this.totalErrorCount=0,this.elementInfos.forEach(function(n){n.loader&&n.loader.destroy()}),this.elementInfos=[]},r.destroy=function(){this.clear(),this.off()},r.getLoader=function(n,i){var a=this,o=n.tagName.toLowerCase(),s=this.options.loaders,l=i.prefix,u=Object.keys(s);if(s[o])return new s[o](n,i);var c=new yB(n,i),f=Yl(n.querySelectorAll(u.join(", ")));c.setHasLoading(f.some(function(g){return l_(g,l)}));var h=!1,p=this.clone().on("error",function(g){c.onError(g.target)}).on("ready",function(){c.onReady(h)});return c.on("requestChildren",function(){var g=vB(n,u,a.options.prefix);p.check(g).on("preReady",function(v){h=v.isReady,h||c.onPreReady()})}).on("reqeustReadyChildren",function(){p.check(f)}).on("requestDestroy",function(){p.destroy()}),c},r.clone=function(){return new t(ma({},this.options))},r.checkPreReady=function(n){return this.elementInfos[n].isPreReady=!0,++this.preReadyCount,!(this.preReadyCount=1?!1:n.error?(this.onAlreadyError(n),!1):(this.addEvents(),!0)},t.EVENTS=["loadedmetadata","error"],t})(h3),EB=(function(e){ga(t,e);function t(r){return r===void 0&&(r={}),e.call(this,ma({loaders:{img:CB,video:wB}},r))||this}return t})(_B),p3=function(e,t){return p3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},p3(e,t)};function br(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");p3(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var kr=function(){return kr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g3(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function $t(){for(var e=[],t=0;tr){var i=(e-r)%n;e=t+i}return e},FB=function(e,t){var r,n;try{for(var i=Gl(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t(o))return o}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},OB=function(e,t){for(var r=0;r=t&&e<=r},__=function(e,t){return e>=t?e%t:e<0?Xl((e+1)%t-1,t):e},wa=function(e){for(var t=new Array(e),r=0;r0&&o>=a&&(n._maxResizeDebounceTimer=window.setTimeout(n._doScheduledResize,o)),n._resizeTimer>0&&(clearTimeout(n._resizeTimer),n._resizeTimer=0),n._resizeTimer=window.setTimeout(n._doScheduledResize,a))},this._doScheduledResize=function(){clearTimeout(n._resizeTimer),clearTimeout(n._maxResizeDebounceTimer),n._maxResizeDebounceTimer=-1,n._resizeTimer=-1,n._flicking.resize()},this._skipFirstResize=(function(){var i=!0;return function(){if(i){i=!1;return}n._onResize()}})(),this._flicking=r,this._enabled=!1,this._resizeObserver=null,this._resizeTimer=-1,this._maxResizeDebounceTimer=-1}var t=e.prototype;return Object.defineProperty(t,"enabled",{get:function(){return this._enabled},enumerable:!1,configurable:!0}),t.enable=function(){var r=this._flicking,n=r.viewport;if(this._enabled&&this.disable(),r.useResizeObserver&&window.ResizeObserver){var i=n.width!==0||n.height!==0,a=i?new ResizeObserver(this._skipFirstResize):new ResizeObserver(this._onResize);a.observe(r.viewport.element),this._resizeObserver=a}else window.addEventListener("resize",this._onResize);return this._enabled=!0,this},t.disable=function(){if(!this._enabled)return this;var r=this._resizeObserver;return r?(r.disconnect(),this._resizeObserver=null):window.removeEventListener("resize",this._onResize),this._enabled=!1,this},e})(),MB=(function(){function e(r){this._element=r,this._rendered=!0}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return this._rendered},enumerable:!1,configurable:!0}),t.show=function(r){var n=this.element,i=r.camera.element;n.parentElement!==i&&(i.appendChild(n),this._rendered=!0)},t.hide=function(r){var n=this.element,i=r.camera.element;n.parentElement===i&&(i.removeChild(n),this._rendered=!1)},e})(),C_=(function(){function e(r){this._flicking=r}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._virtualElement.nativeElement},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return this._virtualElement.visible},enumerable:!1,configurable:!0}),Object.defineProperty(t,"_virtualElement",{get:function(){var r=this._flicking,n=this._panel.elementIndex,i=r.virtual.elements;return i[n]},enumerable:!1,configurable:!0}),t.init=function(r){this._panel=r},t.show=function(){},t.hide=function(){},e})(),IB=(function(){function e(r,n){var i,a,o,s;this._flicking=r,this._renderPanel=(i=n?.renderPanel)!==null&&i!==void 0?i:function(){return""},this._initialPanelCount=(a=n?.initialPanelCount)!==null&&a!==void 0?a:-1,this._cache=(o=n?.cache)!==null&&o!==void 0?o:!1,this._panelClass=(s=n?.panelClass)!==null&&s!==void 0?s:TB.DEFAULT_VIRTUAL,this._elements=[]}var t=e.prototype;return Object.defineProperty(t,"elements",{get:function(){return this._elements},enumerable:!1,configurable:!0}),Object.defineProperty(t,"renderPanel",{get:function(){return this._renderPanel},set:function(r){this._renderPanel=r,this._flicking.renderer.panels.forEach(function(n){return n.uncacheRenderResult()})},enumerable:!1,configurable:!0}),Object.defineProperty(t,"initialPanelCount",{get:function(){return this._initialPanelCount},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cache",{get:function(){return this._cache},set:function(r){this._cache=r},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panelClass",{get:function(){return this._panelClass},set:function(r){this._panelClass=r},enumerable:!1,configurable:!0}),t.init=function(){var r=this._flicking;if(r.virtualEnabled){!r.externalRenderer&&!r.renderExternal&&this._initVirtualElements();var n=r.camera.children;this._elements=n.map(function(i){return{nativeElement:i,visible:!0}})}},t.show=function(r){var n=this._elements[r],i=n.nativeElement;n.visible=!0,i.style.display&&(i.style.display="")},t.hide=function(r){var n=this._elements[r],i=n.nativeElement;n.visible=!1,i.style.display="none"},t.append=function(r){r===void 0&&(r=1);var n=this._flicking;return this.insert(n.panels.length,r)},t.prepend=function(r){return r===void 0&&(r=1),this.insert(0,r)},t.insert=function(r,n){if(n===void 0&&(n=1),n<=0)return[];var i=this._flicking;return i.renderer.batchInsert({index:r,elements:wa(n),hasDOMInElements:!1})},t.remove=function(r,n){if(n<=0)return[];var i=this._flicking;return i.renderer.batchRemove({index:r,deleteCount:n,hasDOMInElements:!1})},t._initVirtualElements=function(){var r=this,n=this._flicking,i=n.camera.element,a=n.panelsPerView,o=document.createDocumentFragment(),s=wa(a+1).map(function(l){var u=document.createElement("div");return u.className=r._panelClass,u.dataset.elementIndex=l.toString(),u});s.forEach(function(l){o.appendChild(l)}),i.appendChild(o)},e})(),yr={HOLD:"hold",CHANGE:"change",RELEASE:"release",ANIMATION_END:"animationEnd",FINISH:"finish"},Mt="flick",Tt;(function(e){e[e.IDLE=0]="IDLE",e[e.HOLDING=1]="HOLDING",e[e.DRAGGING=2]="DRAGGING",e[e.ANIMATING=3]="ANIMATING",e[e.DISABLED=4]="DISABLED"})(Tt||(Tt={}));var Mo=(function(){function e(){this._delta=0,this._targetPanel=null}var t=e.prototype;return Object.defineProperty(t,"delta",{get:function(){return this._delta},enumerable:!1,configurable:!0}),Object.defineProperty(t,"targetPanel",{get:function(){return this._targetPanel},set:function(r){this._targetPanel=r},enumerable:!1,configurable:!0}),t.onEnter=function(r){this._delta=r._delta,this._targetPanel=r._targetPanel},t.onHold=function(r){},t.onChange=function(r){},t.onRelease=function(r){},t.onAnimationEnd=function(r){},t.onFinish=function(r){},t._moveToChangedPosition=function(r){var n=r.flicking,i=r.axesEvent,a=r.transitTo,o=i.delta[Mt];if(o){this._delta+=o;var s=n.camera,l=s.position,u=i.pos[Mt],c=n.circularEnabled?b_(u,s.range.min,s.range.max):u;s.lookAt(c);var f=new Ge(pt.MOVE,{isTrusted:i.isTrusted,holding:this.holding,direction:Fi(0,i.delta[Mt]),axesEvent:i});n.trigger(f),f.isCanceled()&&(s.lookAt(l),a(Tt.DISABLED))}},e})(),w_=(function(e){br(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.holding=!1,n.animating=!1,n}var r=t.prototype;return r.onEnter=function(){this._delta=0,this._targetPanel=null},r.onHold=function(n){var i=n.flicking,a=n.axesEvent,o=n.transitTo;if(i.renderer.panelCount<=0){o(Tt.DISABLED);return}var s=new Ge(pt.HOLD_START,{axesEvent:a});i.trigger(s),s.isCanceled()?o(Tt.DISABLED):o(Tt.HOLDING)},r.onChange=function(n){var i=n.flicking,a=n.axesEvent,o=n.transitTo,s=i.control.controller,l=s.animatingContext,u=new Ge(pt.MOVE_START,{isTrusted:a.isTrusted,holding:this.holding,direction:Fi(l.start,l.end),axesEvent:a});i.trigger(u),u.isCanceled()?o(Tt.DISABLED):o(Tt.ANIMATING).onChange(n)},t})(Mo),NB=(function(e){br(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.holding=!0,n.animating=!1,n._releaseEvent=null,n}var r=t.prototype;return r.onChange=function(n){var i=n.flicking,a=n.axesEvent,o=n.transitTo,s=a.inputEvent;if(s){var l=i.horizontal?s.offsetX:s.offsetY,u=new Ge(pt.MOVE_START,{isTrusted:a.isTrusted,holding:this.holding,direction:Fi(0,-l),axesEvent:a});i.trigger(u),u.isCanceled()?o(Tt.DISABLED):o(Tt.DRAGGING).onChange(n)}},r.onRelease=function(n){var i=n.flicking,a=n.axesEvent,o=n.transitTo;if(i.trigger(new Ge(pt.HOLD_END,{axesEvent:a})),a.delta.flick!==0){a.setTo({flick:i.camera.position},0),o(Tt.IDLE);return}this._releaseEvent=a},r.onFinish=function(n){var i,a,o=n.flicking,s=n.transitTo;if(s(Tt.IDLE),!!this._releaseEvent){var l=this._releaseEvent,u=l.inputEvent.srcEvent,c;if(u.type==="touchend"){var f=u,h=f.changedTouches[0];c=document.elementFromPoint(h.clientX,h.clientY)}else c=u.target;var p=o.renderer.panels,g=null;try{for(var v=Gl(p),m=v.next();!m.done;m=v.next()){var _=m.value;if(_.contains(c)){g=_;break}}}catch(F){i={error:F}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}if(g){var w=o.camera.position,T=g.position;o.trigger(new Ge(pt.SELECT,{index:g.index,panel:g,direction:Fi(w,T)}))}}},t})(Mo),RB=(function(e){br(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.holding=!0,n.animating=!0,n}var r=t.prototype;return r.onChange=function(n){this._moveToChangedPosition(n)},r.onRelease=function(n){var i,a=n.flicking,o=n.axesEvent,s=n.transitTo;if(a.trigger(new Ge(pt.HOLD_END,{axesEvent:o})),a.renderer.panelCount<=0){s(Tt.IDLE);return}s(Tt.ANIMATING);var l=a.control,u=o.destPos[Mt],c=Math.max(o.duration,a.duration);try{l.moveToPosition(u,c,o)}catch{s(Tt.IDLE),o.setTo((i={},i[Mt]=a.camera.position,i),0)}},t})(Mo),LB=(function(e){br(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.holding=!1,n.animating=!0,n}var r=t.prototype;return r.onHold=function(n){var i=n.flicking,a=n.axesEvent,o=n.transitTo,s=this._targetPanel,l=i.control;this._delta=0,i.control.updateInput(),i.changeOnHold&&s&&l.setActive(s,l.activePanel,a.isTrusted);var u=new Ge(pt.HOLD_START,{axesEvent:a});i.trigger(u),u.isCanceled()?o(Tt.DISABLED):o(Tt.DRAGGING)},r.onChange=function(n){this._moveToChangedPosition(n)},r.onFinish=function(n){var i=n.flicking,a=n.axesEvent,o=n.transitTo,s=i.control,l=s.controller,u=l.animatingContext;o(Tt.IDLE),i.trigger(new Ge(pt.MOVE_END,{isTrusted:a.isTrusted,direction:Fi(u.start,u.end),axesEvent:a}));var c=this._targetPanel;c&&s.setActive(c,s.activePanel,a.isTrusted)},t})(Mo),BB=(function(e){br(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.holding=!1,n.animating=!0,n}var r=t.prototype;return r.onAnimationEnd=function(n){var i=n.transitTo;i(Tt.IDLE)},r.onChange=function(n){var i=n.axesEvent,a=n.transitTo;i.stop(),a(Tt.IDLE)},r.onRelease=function(n){var i=n.axesEvent,a=n.transitTo;i.delta.flick===0&&a(Tt.IDLE)},t})(Mo),$B=(function(){function e(){var r=this;this.transitTo=function(n){var i;switch(n){case Tt.IDLE:i=new w_;break;case Tt.HOLDING:i=new NB;break;case Tt.DRAGGING:i=new RB;break;case Tt.ANIMATING:i=new LB;break;case Tt.DISABLED:i=new BB;break}return i.onEnter(r._state),r._state=i,r._state},this._state=new w_}var t=e.prototype;return Object.defineProperty(t,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.fire=function(r,n){var i=this._state,a=kr(kr({},n),{transitTo:this.transitTo});switch(r){case yr.HOLD:i.onHold(a);break;case yr.CHANGE:i.onChange(a);break;case yr.RELEASE:i.onRelease(a);break;case yr.ANIMATION_END:i.onAnimationEnd(a);break;case yr.FINISH:i.onFinish(a);break}},e})(),HB=(function(){function e(){var r=this;this._onAxesHold=function(){r._dragged=!1},this._onAxesChange=function(){var n;r._dragged=!!(!((n=r._panInput)===null||n===void 0)&&n.isEnabled())},this._preventClickWhenDragged=function(n){r._dragged&&(n.preventDefault(),n.stopPropagation()),r._dragged=!1},this._resetInternalValues(),this._stateMachine=new $B}var t=e.prototype;return Object.defineProperty(t,"axes",{get:function(){return this._axes},enumerable:!1,configurable:!0}),Object.defineProperty(t,"panInput",{get:function(){return this._panInput},enumerable:!1,configurable:!0}),Object.defineProperty(t,"stateMachine",{get:function(){return this._stateMachine},enumerable:!1,configurable:!0}),Object.defineProperty(t,"state",{get:function(){return this._stateMachine.state},enumerable:!1,configurable:!0}),Object.defineProperty(t,"animatingContext",{get:function(){return this._animatingContext},enumerable:!1,configurable:!0}),Object.defineProperty(t,"controlParams",{get:function(){var r=this._axes;if(!r)return{range:{min:0,max:0},position:0,circular:!1};var n=r.axis[Mt];return{range:{min:n.range[0],max:n.range[1]},circular:n.circular[0],position:this.position}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"enabled",{get:function(){var r,n;return(n=(r=this._panInput)===null||r===void 0?void 0:r.isEnabled())!==null&&n!==void 0?n:!1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){var r,n;return(n=(r=this._axes)===null||r===void 0?void 0:r.get([Mt])[Mt])!==null&&n!==void 0?n:0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"range",{get:function(){var r,n;return(n=(r=this._axes)===null||r===void 0?void 0:r.axis[Mt].range)!==null&&n!==void 0?n:[0,0]},enumerable:!1,configurable:!0}),Object.defineProperty(t,"bounce",{get:function(){var r;return(r=this._axes)===null||r===void 0?void 0:r.axis[Mt].bounce},enumerable:!1,configurable:!0}),t.init=function(r){var n,i=this;this._flicking=r,this._axes=new iB((n={},n[Mt]={range:[0,0],circular:!1,bounce:[0,0]},n),{deceleration:r.deceleration,interruptable:r.interruptable,nested:r.nested,easing:r.easing}),this._panInput=new oB(r.viewport.element,{inputType:r.inputType,threshold:r.dragThreshold,iOSEdgeSwipeThreshold:r.iOSEdgeSwipeThreshold,preventDefaultOnDrag:r.preventDefaultOnDrag,scale:r.horizontal?[r.camera.panelOrder===Ca.RTL?1:-1,0]:[0,-1],releaseOnScroll:!0});var a=this._axes;a.connect(r.horizontal?[Mt,""]:["",Mt],this._panInput);var o=function(l){var u=yr[l];a.on(u,function(c){i._stateMachine.fire(u,{flicking:r,axesEvent:c})})};for(var s in yr)o(s);return this},t.destroy=function(){var r;this._axes&&(this.removePreventClickHandler(),this._axes.destroy()),(r=this._panInput)===null||r===void 0||r.destroy(),this._resetInternalValues()},t.enable=function(){var r;return(r=this._panInput)===null||r===void 0||r.enable(),this},t.disable=function(){var r;return(r=this._panInput)===null||r===void 0||r.disable(),this},t.release=function(){var r;return(r=this._panInput)===null||r===void 0||r.release(),this},t.updateAnimation=function(r,n){var i,a;return this._animatingContext=kr(kr({},this._animatingContext),{end:r}),(a=this._axes)===null||a===void 0||a.updateAnimation({destPos:(i={},i[Mt]=r,i),duration:n}),this},t.stopAnimation=function(){var r;return(r=this._axes)===null||r===void 0||r.stopAnimation(),this},t.update=function(r){var n,i=Ae(this._flicking),a=i.camera,o=this._axes,s=o.axis[Mt];return s.circular=[r.circular,r.circular],s.range=[r.range.min,r.range.max],s.bounce=SB(i.bounce,a.size),o.axisManager.set((n={},n[Mt]=r.position,n)),this},t.addPreventClickHandler=function(){var r=Ae(this._flicking),n=this._axes,i=r.camera.element;return n.on(yr.HOLD,this._onAxesHold),n.on(yr.CHANGE,this._onAxesChange),i.addEventListener("click",this._preventClickWhenDragged,!0),this},t.removePreventClickHandler=function(){var r=Ae(this._flicking),n=this._axes,i=r.camera.element;return n.off(yr.HOLD,this._onAxesHold),n.off(yr.CHANGE,this._onAxesChange),i.removeEventListener("click",this._preventClickWhenDragged,!0),this},t.animateTo=function(r,n,i){var a=this,o,s=this._axes,l=this._stateMachine.state;if(!s)return Promise.reject(new _t(Et.NOT_ATTACHED_TO_FLICKING,yt.NOT_ATTACHED_TO_FLICKING));var u=s.get([Mt])[Mt];if(u===r){var c=Ae(this._flicking);return c.camera.lookAt(r),l.targetPanel&&c.control.setActive(l.targetPanel,c.control.activePanel,(o=i?.isTrusted)!==null&&o!==void 0?o:!1),Promise.resolve()}this._animatingContext={start:u,end:r,offset:0};var f=function(){var h,p,g=function(){a._animatingContext={start:0,end:0,offset:0}};s.once(yr.FINISH,g),i?i.setTo((h={},h[Mt]=r,h),n):s.setTo((p={},p[Mt]=r,p),n)};return new Promise(function(h,p){var g=function(){s.off(yr.HOLD,v),h()},v=function(){s.off(yr.FINISH,g),p(new _t(Et.ANIMATION_INTERRUPTED,yt.ANIMATION_INTERRUPTED))};s.once(yr.FINISH,g),s.once(yr.HOLD,v),f()})},t.updateDirection=function(){var r=Ae(this._flicking),n=this._axes,i=this._panInput;n.disconnect(i),n.connect(r.horizontal?[Mt,""]:["",Mt],i),i.options.scale=r.horizontal?[r.camera.panelOrder===Ca.RTL?1:-1,0]:[0,-1]},t._resetInternalValues=function(){this._flicking=null,this._axes=null,this._panInput=null,this._animatingContext={start:0,end:0,offset:0},this._dragged=!1},e})(),_3=(function(){function e(){this._flicking=null,this._controller=new HB,this._activePanel=null}var t=e.prototype;return Object.defineProperty(t,"controller",{get:function(){return this._controller},enumerable:!1,configurable:!0}),Object.defineProperty(t,"activeIndex",{get:function(){var r,n;return(n=(r=this._activePanel)===null||r===void 0?void 0:r.index)!==null&&n!==void 0?n:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t,"activePanel",{get:function(){return this._activePanel},enumerable:!1,configurable:!0}),Object.defineProperty(t,"animating",{get:function(){return this._controller.state.animating},enumerable:!1,configurable:!0}),Object.defineProperty(t,"holding",{get:function(){return this._controller.state.holding},enumerable:!1,configurable:!0}),t.init=function(r){return this._flicking=r,this._controller.init(r),this},t.destroy=function(){this._controller.destroy(),this._flicking=null,this._activePanel=null},t.enable=function(){return this._controller.enable(),this},t.disable=function(){return this._controller.disable(),this},t.release=function(){return this._controller.release(),this},t.updateAnimation=function(r,n,i){var a=this._controller.state,o=this._getPosition(r,i??tt.NONE);return a.targetPanel=r,this._controller.updateAnimation(o,n),this},t.stopAnimation=function(){var r=this._controller.state;return r.targetPanel=null,this._controller.stopAnimation(),this},t.updatePosition=function(r){var n=Ae(this._flicking),i=n.camera,a=this._activePanel;a&&i.lookAt(i.clampToReachablePosition(a.position))},t.updateInput=function(){var r=Ae(this._flicking),n=r.camera;return this._controller.update(n.controlParams),this},t.resetActive=function(){return this._activePanel=null,this},t.moveToPanel=function(r,n){var i=n.duration,a=n.direction,o=a===void 0?tt.NONE:a,s=n.axesEvent;return ba(this,void 0,void 0,function(){var l;return ya(this,function(u){return l=this._getPosition(r,o),this._triggerIndexChangeEvent(r,r.position,s,o),[2,this._animateToPosition({position:l,duration:i,newActivePanel:r,axesEvent:s})]})})},t.setActive=function(r,n,i){var a,o=Ae(this._flicking);this._activePanel=r,this._nextPanel=null,o.camera.updateAdaptiveHeight(),r!==n?o.trigger(new Ge(pt.CHANGED,{index:r.index,panel:r,prevIndex:(a=n?.index)!==null&&a!==void 0?a:-1,prevPanel:n,isTrusted:i,direction:n?Fi(n.position,r.position):tt.NONE})):o.trigger(new Ge(pt.RESTORED,{isTrusted:i}))},t.copy=function(r){this._flicking=r._flicking,this._activePanel=r._activePanel,this._controller=r._controller},t._triggerIndexChangeEvent=function(r,n,i,a){var o,s=Ae(this._flicking),l=r!==this._activePanel?pt.WILL_CHANGE:pt.WILL_RESTORE,u=s.camera,c=this._activePanel,f=new Ge(l,{index:r.index,panel:r,isTrusted:i?.isTrusted||!1,direction:a??Fi((o=c?.position)!==null&&o!==void 0?o:u.position,n)});if(this._nextPanel=r,s.trigger(f),f.isCanceled())throw new _t(Et.STOP_CALLED_BY_USER,yt.STOP_CALLED_BY_USER)},t._animateToPosition=function(r){var n=r.position,i=r.duration,a=r.newActivePanel,o=r.axesEvent;return ba(this,void 0,void 0,function(){var s,l,u,c=this;return ya(this,function(f){return s=Ae(this._flicking),l=function(){return c._controller.animateTo(n,i,o)},u=this._controller.state,u.targetPanel=a,i<=0?[2,l()]:[2,l().then(function(){return ba(c,void 0,void 0,function(){return ya(this,function(h){switch(h.label){case 0:return[4,s.renderer.render()];case 1:return h.sent(),[2]}})})}).catch(function(h){if(!(o&&h instanceof _t&&h.code===yt.ANIMATION_INTERRUPTED))throw h})]})})},t._getPosition=function(r,n){n===void 0&&(n=tt.NONE);var i=Ae(this._flicking),a=i.camera,o=r.position,s=a.findNearestAnchor(o);if(r.removed||!s)throw new _t(Et.POSITION_NOT_REACHABLE(r.position),yt.POSITION_NOT_REACHABLE);if(!a.canReach(r))o=s.position,r=s.panel;else if(i.circularEnabled){var l=this._controller.position,u=a.rangeDiff,c=[o,o+u,o-u].filter(function(f){return n===tt.NONE?!0:n===tt.PREV?f<=l:f>=l});o=c.reduce(function(f,h){return Math.abs(l-h)=f&&g>0)v=this._findSnappedAnchor(n,u);else if(p>=o.threshold&&p>0)v=this._findAdjacentAnchor(n,h,u);else return this.moveToPanel(u.panel,{duration:i,axesEvent:a});return this._triggerIndexChangeEvent(v.panel,n,a),this._animateToPosition({position:s.clampToReachablePosition(v.position),duration:i,newActivePanel:v.panel,axesEvent:a})},r._findSnappedAnchor=function(n,i){var a=Ae(this._flicking),o=a.camera,s=this._count,l=o.position,u=o.clampToReachablePosition(n),c=o.findAnchorIncludePosition(u);if(!i||!c)throw new _t(Et.POSITION_NOT_REACHABLE(n),yt.POSITION_NOT_REACHABLE);if(!isFinite(s))return c;var f=a.panelCount,h=o.anchorPoints,p=Math.sign(n-l)*Math.floor(Math.abs(n-l)/o.rangeDiff);n>l&&c.indexi.position&&c.index===i.index?p+=1:(ni.index||c.positionl&&_.indexi.index&&(w-=1),new _r({index:_.index,position:_.position+w*o.rangeDiff,panel:_.panel})}else return h[Si(i.index+Math.sign(n-l)*s,0,h.length-1)]},r._findAdjacentAnchor=function(n,i,a){var o,s=Ae(this._flicking),l=s.camera;if(l.circularEnabled){var u=l.findAnchorIncludePosition(n);if(u&&u.position!==a.position)return u}var c=(o=i>0?l.getNextAnchor(a):l.getPrevAnchor(a))!==null&&o!==void 0?o:a;return c},r._calcSnapThreshold=function(n,i,a){var o=i>a.position,s=a.panel,l=s.size,u=s.alignPosition;return Math.max(n,o?l-u+s.margin.next:u+s.margin.prev)},t})(_3),jB=(function(e){br(t,e);function t(n){var i=(n===void 0?{}:n).stopAtEdge,a=i===void 0?!0:i,o=e.call(this)||this;return o._stopAtEdge=a,o}var r=t.prototype;return Object.defineProperty(r,"stopAtEdge",{get:function(){return this._stopAtEdge},set:function(n){this._stopAtEdge=n},enumerable:!1,configurable:!0}),r.updatePosition=function(n){var i=Ae(this._flicking),a=i.camera,o=this._activePanel;if(o){var s=o.range,l=s.min+(s.max-s.min)*n;a.lookAt(a.clampToReachablePosition(l))}},r.moveToPosition=function(n,i,a){var o=Ae(this._flicking),s=o.camera,l=s.clampToReachablePosition(n),u=s.findAnchorIncludePosition(l);if(!u)return Promise.reject(new _t(Et.POSITION_NOT_REACHABLE(n),yt.POSITION_NOT_REACHABLE));var c=u.panel;return c!==this._activePanel&&this._triggerIndexChangeEvent(c,n,a),this._animateToPosition({position:this._stopAtEdge?l:n,duration:i,newActivePanel:c,axesEvent:a})},t})(_3),UB=(function(e){br(t,e);function t(n){var i=(n===void 0?{}:n).count,a=i===void 0?1:i,o=e.call(this)||this;return o.setActive=function(s,l,u){e.prototype.setActive.call(o,s,l,u),o.updateInput()},o._count=a,o._resetIndexRange(),o}var r=t.prototype;return Object.defineProperty(r,"count",{get:function(){return this._count},set:function(n){this._count=n},enumerable:!1,configurable:!0}),r.destroy=function(){e.prototype.destroy.call(this),this._resetIndexRange()},r.updateInput=function(){var n,i=Ae(this._flicking),a=i.camera,o=i.renderer,s=this._controller,l=a.controlParams,u=this._count,c=s.state.animating?(n=a.findNearestAnchor(a.position))===null||n===void 0?void 0:n.panel:this._activePanel;if(!c)return s.update(l),this._resetIndexRange(),this;var f=l.range,h=c.position,p=c.index,g=o.panelCount,v=p-u,m=p+u;v<0&&(v=i.circularEnabled?Xl((v+1)%g-1,g):Si(v,0,g-1)),m>=g&&(m=i.circularEnabled?m%g:Si(m,0,g-1));var _=o.panels[v],w=o.panels[m],T=Math.max(_.position,f.min),F=Math.min(w.position,f.max);return T>h&&(T-=a.rangeDiff),FF&&(l.position-=a.rangeDiff)),l.circular=!1,s.update(l),this._indexRange={min:_.index,max:w.index},this},r.moveToPanel=function(n,i){return ba(this,void 0,void 0,function(){var a,o,s;return ya(this,function(l){return a=Ae(this._flicking),o=a.camera,s=this._controller,s.update(o.controlParams),[2,e.prototype.moveToPanel.call(this,n,i)]})})},r.moveToPosition=function(n,i,a){var o,s=Ae(this._flicking),l=s.camera,u=(o=this._nextPanel)!==null&&o!==void 0?o:this._activePanel,c=this._controller.range,f=this._indexRange,h=l.range,p=this._controller.state,g=Si(l.clampToReachablePosition(n),c[0],c[1]),v=l.findAnchorIncludePosition(g);if(!v||!u)return Promise.reject(new _t(Et.POSITION_NOT_REACHABLE(n),yt.POSITION_NOT_REACHABLE));var m=u.position,_=s.animating?p.delta:n-l.position,w=Math.abs(_)>=s.threshold,T=n>m?l.getNextAnchor(v):l.getPrevAnchor(v),F,O,M=l.anchorPoints,H=M[0],S=M[M.length-1],L=n<=h.min&&y3(H.panel.index,f.min,f.max),U=n>=h.max&&y3(S.panel.index,f.min,f.max),D=T&&(f.min<=f.max?y3(T.index,f.min,f.max):T.index>=f.min||T.index<=f.max);if(L||U){var b=ni)return n[a-1];i=s}return n[n.length-1]},t.clampToReachablePosition=function(r){var n=this._flicking.camera,i=n.range;return Si(r,i.min,i.max)},t.getCircularOffset=function(){return 0},t.canReach=function(r){var n=this._flicking.camera,i=n.range;if(r.removed)return!1;var a=r.position;return a>=i.min&&a<=i.max},t.canSee=function(r){var n=this._flicking.camera,i=n.visibleRange;return r.isVisibleOnRange(i.min,i.max)},e})(),E_=(function(e){br(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}var r=t.prototype;return r.checkAvailability=function(){return!0},r.getRange=function(){var n,i,a=this._flicking.renderer,o=a.getPanel(0),s=a.getPanel(a.panelCount-1);return{min:(n=o?.position)!==null&&n!==void 0?n:0,max:(i=s?.position)!==null&&i!==void 0?i:0}},t})(C3),zB=(function(e){br(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}var r=t.prototype;return r.checkAvailability=function(){var n=this._flicking,i=n.renderer,a=i.panels;if(a.length<=0)return!1;var o=a[0],s=a[a.length-1],l=o.range.min-o.margin.prev,u=s.range.max+s.margin.next,c=n.camera.size,f=u-l,h=a.every(function(p){return f-p.size>=c});return h},r.getRange=function(){var n=this._flicking,i=n.renderer.panels;if(i.length<=0)return{min:0,max:0};var a=i[0],o=i[i.length-1],s=a.range.min-a.margin.prev,l=o.range.max+o.margin.next;return{min:s,max:l}},r.getAnchors=function(){var n=this._flicking,i=n.renderer.panels;return i.map(function(a,o){return new _r({index:o,position:a.position,panel:a})})},r.findNearestAnchor=function(n){var i=this._flicking.camera,a=i.anchorPoints;if(a.length<=0)return null;for(var o=i.range,s=1/0,l=-1,u=0;u0&&(n===a.min||n===a.max)){var f=[c,new _r({index:0,position:o[0].position+s,panel:o[0].panel}),new _r({index:l-1,position:o[l-1].position-s,panel:o[l-1].panel})].filter(function(p){return!!p});c=f.reduce(function(p,g){return p&&Math.abs(p.position-n)a.max){var h=Math.floor((n-a.max)/s)+1;return new _r({index:c.index,position:c.position+s*h,panel:c.panel})}return c},r.getCircularOffset=function(){var n=this._flicking,i=n.camera;if(!i.circularEnabled)return 0;var a=n.panels.filter(function(l){return l.toggled}),o=a.filter(function(l){return l.toggleDirection===tt.PREV}),s=a.filter(function(l){return l.toggleDirection===tt.NEXT});return this._calcPanelAreaSum(o)-this._calcPanelAreaSum(s)},r.clampToReachablePosition=function(n){return n},r.canReach=function(n){return!n.removed},r.canSee=function(n){var i=this._flicking.camera,a=i.range,o=i.rangeDiff,s=i.visibleRange,l=e.prototype.canSee.call(this,n);return s.mina.max?l||n.isVisibleOnRange(s.min-o,s.max-o):l},r._calcPanelAreaSum=function(n){return n.reduce(function(i,a){return i+a.sizeIncludingMargin},0)},t})(C3),T_=(function(e){br(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}var r=t.prototype;return r.checkAvailability=function(){var n=this._flicking,i=n.renderer,a=i.getPanel(0),o=i.getPanel(i.panelCount-1);if(!a||!o)return!1;var s=n.camera.size,l=a.range.min,u=o.range.max,c=u-l,f=s0){var l=s[0].position!==o.min,u=s[s.length-1].position!==o.max,c=l?1:0,f=s.map(function(v,m){return new _r({index:m+c,position:v.position,panel:v})});return l&&f.splice(0,0,new _r({index:0,position:o.min,panel:a[s[0].index-1]})),u&&f.push(new _r({index:f.length,position:o.max,panel:a[s[s.length-1].index+1]})),f}else if(o.min!==o.max){var h=this._findNearestPanel(o.min,a),p=h.index===a.length-1?h.prev():h,g=p.next();return[new _r({index:0,position:o.min,panel:p}),new _r({index:1,position:o.max,panel:g})]}else return[new _r({index:0,position:o.min,panel:this._findNearestPanel(o.min,a)})]},r.findAnchorIncludePosition=function(n){var i=this._flicking.camera,a=i.range,o=i.anchorPoints;return o.length<=0?null:n<=a.min?o[0]:n>=a.max?o[o.length-1]:e.prototype.findAnchorIncludePosition.call(this,n)},r._findNearestPanel=function(n,i){for(var a=1/0,o=0;oa)return i[o-1];a=l}return i[i.length-1]},t})(C3),WB=(function(){function e(r,n){var i=this,a=(n===void 0?{}:n).align,o=a===void 0?Sn.CENTER:a;this._lookedOffset=0,this._checkTranslateSupport=function(){var s,l,u=["webkitTransform","msTransform","MozTransform","OTransform","transform"],c=document.documentElement.style,f="";try{for(var h=Gl(u),p=h.next();!p.done;p=h.next()){var g=p.value;g in c&&(f=g)}}catch(v){s={error:v}}finally{try{p&&!p.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}if(!f)throw new _t(Et.TRANSFORM_NOT_SUPPORTED,yt.TRANSFORM_NOT_SUPPORTED);i._transform=f},this._flicking=r,this._resetInternalValues(),this._align=o}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._el},enumerable:!1,configurable:!0}),Object.defineProperty(t,"children",{get:function(){return m3(this._el.children)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(t,"alignPosition",{get:function(){return this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"offset",{get:function(){return this._offset-this._circularOffset},enumerable:!1,configurable:!0}),Object.defineProperty(t,"circularEnabled",{get:function(){return this._circularEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t,"mode",{get:function(){return this._mode},enumerable:!1,configurable:!0}),Object.defineProperty(t,"range",{get:function(){return this._range},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rangeDiff",{get:function(){return this._range.max-this._range.min},enumerable:!1,configurable:!0}),Object.defineProperty(t,"visiblePanels",{get:function(){return this._visiblePanels},enumerable:!1,configurable:!0}),Object.defineProperty(t,"visibleRange",{get:function(){return{min:this._position-this._alignPos,max:this._position-this._alignPos+this.size}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"anchorPoints",{get:function(){return this._anchors},enumerable:!1,configurable:!0}),Object.defineProperty(t,"controlParams",{get:function(){return{range:this._range,position:this._position,circular:this._circularEnabled}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"atEdge",{get:function(){return this._position<=this._range.min||this._position>=this._range.max},enumerable:!1,configurable:!0}),Object.defineProperty(t,"size",{get:function(){var r=this._flicking;return r?r.horizontal?r.viewport.width:r.viewport.height:0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"progress",{get:function(){var r=this._flicking,n=this._position+this._offset,i=this.findNearestAnchor(this._position);if(!r||!i)return NaN;var a=i.panel,o=a.position+a.offset,s=r.control.controller.bounce,l=this.range,u=l.min,c=l.max,f=this.rangeDiff;if(n===o)return a.index;if(no&&(p-=f),a.index-1+Jl(n,p,o)}else{var g=a.next(),v=g?g.position+g.offset:c+s[1];return v0||l.length>0)&&n.renderer.render().then(function(){n.trigger(new Ge(pt.VISIBLE_CHANGE,{added:s,removed:l,visiblePanels:a}))})},t._checkNeedPanel=function(){var r=this._needPanelTriggered;if(!(r.prev&&r.next)){var n=Ae(this._flicking),i=n.renderer.panels;if(i.length<=0){r.prev||(n.trigger(new Ge(pt.NEED_PANEL,{direction:tt.PREV})),r.prev=!0),r.next||(n.trigger(new Ge(pt.NEED_PANEL,{direction:tt.NEXT})),r.next=!0);return}var a=this._position,o=this.size,s=this._range,l=n.needPanelThreshold,u=a-this._alignPos,c=u+o,f=i[0],h=i[i.length-1];if(!r.prev){var p=f.range.min;(u<=p+l||a<=s.min+l)&&(n.trigger(new Ge(pt.NEED_PANEL,{direction:tt.PREV})),r.prev=!0)}if(!r.next){var g=h.range.max;(c>=g-l||a>=s.max-l)&&(n.trigger(new Ge(pt.NEED_PANEL,{direction:tt.NEXT})),r.next=!0)}}},t._checkReachEnd=function(r,n){var i=Ae(this._flicking),a=this._range,o=r>a.min&&ra.min&&n0){var i=n[0];i.resize(),this._updatePanelSizeByGrid(i,n)}else r.panels.forEach(function(a){return a.resize()});return this},t.batchInsert=function(){for(var r=[],n=0;n0){var m=s||v[0].resize();r._updatePanelSizeByGrid(m,v)}else v.forEach(function(_){return _.resize()});return g.forEach(function(_){_.increaseIndex(v.length),_.updatePosition()}),$t(c,v)},[]);return u},t.batchRemove=function(){for(var r=[],n=0;nl.length-1&&(c=l.length-1),s.moveToPanel(l[c],{duration:0}).catch(function(){})}else s.moveToPanel(u,{duration:0}).catch(function(){});a.camera.updateOffset(),(r.length>0||n.length>0)&&(a.trigger(new Ge(pt.PANEL_CHANGE,{added:r,removed:n})),this.checkPanelContentsReady($t(r,n)))},t.checkPanelContentsReady=function(r){var n=this,i=Ae(this._flicking),a=i.resizeOnContentsReady,o=this._panels;if(!(!a||i.virtualEnabled)){var s=function(u){return u.element&&!!u.element.querySelector("img, video")};if(r=r.filter(function(u){return s(u)}),!(r.length<=0)){var l=new EB;r.forEach(function(u){u.loading=!0}),l.on("readyElement",function(u){if(!n._flicking){l.destroy();return}var c=r[u.index],f=i.camera,h=i.control,p=h.activePanel?f.getProgressInPanel(h.activePanel):0;c.loading=!1,c.resize(),o.slice(c.index+1).forEach(function(g){return g.updatePosition()}),i.initialized&&(f.updateRange(),f.updateOffset(),f.updateAnchors(),h.animating||(h.updatePosition(p),h.updateInput()))}),l.on("preReady",function(u){n._flicking&&n.render(),u.readyCount===u.totalCount&&l.destroy()}),l.on("ready",function(){n._flicking&&n.render(),l.destroy()}),l.check(r.map(function(u){return u.element}))}}},t._updateCameraAndControl=function(){var r=Ae(this._flicking),n=r.camera,i=r.control;n.updateRange(),n.updateOffset(),n.updateAnchors(),n.resetNeedPanelHistory(),i.updateInput()},t._showOnlyVisiblePanels=function(r){var n=r.renderer.panels,i=r.camera,a=i.visiblePanels.reduce(function(o,s){return o[s.index]=!0,o},{});n.forEach(function(o){o.index in a||o.loading?o.markForShow():r.holding||o.markForHide()})},t._updatePanelSizeByGrid=function(r,n){var i=Ae(this._flicking),a=i.panelsPerView;if(a<=0)throw new _t(Et.WRONG_OPTION("panelsPerView",a),yt.WRONG_OPTION);if(!(n.length<=0)){var o=i.camera.size,s=r.margin.prev+r.margin.next,l=(o-s*(a-1))/a,u=i.horizontal?{width:l}:{height:l},c=kr({size:l,margin:r.margin},!i.horizontal&&{height:r.height});i.noPanelStyleOverride||this._strategy.updatePanelSizes(i,u),i.panels.forEach(function(f){return f.resize(c)})}},t._removeAllChildsFromCamera=function(){for(var r=Ae(this._flicking),n=r.camera.element;n.firstChild;)n.removeChild(n.firstChild)},t._insertPanelElements=function(r,n){n===void 0&&(n=null);var i=Ae(this._flicking),a=i.camera,o=a.element,s=n?.element||null,l=document.createDocumentFragment();r.forEach(function(u){return l.appendChild(u.element)}),o.insertBefore(l,s)},t._removePanelElements=function(r){var n=Ae(this._flicking),i=n.camera.element;r.forEach(function(a){i.removeChild(a.element)})},t._afterRender=function(){var r=Ae(this._flicking);r.camera.applyTransform()},e})(),VB=(function(e){br(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){return ba(this,void 0,void 0,function(){var n,i;return ya(this,function(a){return n=Ae(this._flicking),i=this._strategy,i.updateRenderingPanels(n),i.renderPanels(n),this._resetPanelElementOrder(),this._afterRender(),[2]})})},r._collectPanels=function(){var n=Ae(this._flicking),i=n.camera;this._removeAllTextNodes(),this._panels=this._strategy.collectPanels(n,i.children)},r._createPanel=function(n,i){return this._strategy.createPanel(n,i)},r._resetPanelElementOrder=function(){var n=Ae(this._flicking),i=n.camera.element,a=this._strategy.getRenderingElementsByOrder(n).reverse();a.forEach(function(o,s){var l=a[s-1]?a[s-1]:null;o.nextElementSibling!==l&&i.insertBefore(o,l)})},r._removeAllTextNodes=function(){var n=Ae(this._flicking),i=n.camera.element;m3(i.childNodes).forEach(function(a){a.nodeType===Node.TEXT_NODE&&i.removeChild(a)})},t})(k_),ZB=(function(e){br(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}var r=t.prototype;return r._removePanelElements=function(n){},r._removeAllChildsFromCamera=function(){},t})(k_),w3=(function(){function e(r){var n=r.index,i=r.align,a=r.flicking,o=r.elementProvider;this._index=n,this._flicking=a,this._elProvider=o,this._align=i,this._removed=!1,this._rendered=!0,this._loading=!1,this._resetInternalStates()}var t=e.prototype;return Object.defineProperty(t,"element",{get:function(){return this._elProvider.element},enumerable:!1,configurable:!0}),Object.defineProperty(t,"elementProvider",{get:function(){return this._elProvider},enumerable:!1,configurable:!0}),Object.defineProperty(t,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(t,"position",{get:function(){return this._pos+this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(t,"sizeIncludingMargin",{get:function(){return this._size+this._margin.prev+this._margin.next},enumerable:!1,configurable:!0}),Object.defineProperty(t,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),Object.defineProperty(t,"margin",{get:function(){return this._margin},enumerable:!1,configurable:!0}),Object.defineProperty(t,"alignPosition",{get:function(){return this._alignPos},enumerable:!1,configurable:!0}),Object.defineProperty(t,"removed",{get:function(){return this._removed},enumerable:!1,configurable:!0}),Object.defineProperty(t,"rendered",{get:function(){return this._rendered},enumerable:!1,configurable:!0}),Object.defineProperty(t,"loading",{get:function(){return this._loading},set:function(r){this._loading=r},enumerable:!1,configurable:!0}),Object.defineProperty(t,"range",{get:function(){return{min:this._pos,max:this._pos+this._size}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"toggled",{get:function(){return this._toggled},enumerable:!1,configurable:!0}),Object.defineProperty(t,"toggleDirection",{get:function(){return this._toggleDirection},enumerable:!1,configurable:!0}),Object.defineProperty(t,"offset",{get:function(){var r=this._toggleDirection,n=this._flicking.camera.rangeDiff;return r===tt.NONE||!this._toggled?0:r===tt.PREV?-n:n},enumerable:!1,configurable:!0}),Object.defineProperty(t,"progress",{get:function(){var r=this._flicking;return this.index-r.camera.progress},enumerable:!1,configurable:!0}),Object.defineProperty(t,"outsetProgress",{get:function(){var r=this.position+this.offset,n=this._alignPos,i=this._flicking.camera,a=i.position;if(a===r)return 0;if(a=a.max)return 0;var s=n;return a.min>o.min&&(s-=a.min-o.min),a.max=o.min&&r<=o.max},t.isVisibleOnRange=function(r,n){var i=this.range;return n>i.min&&rr?a>=r&&a<=n&&(this._toggled=i===tt.NEXT):a<=r&&a>=n&&(this._toggled=i!==tt.NEXT),o!==this._toggled},t.updateCircularToggleDirection=function(){var r=this._flicking;if(!r.circularEnabled)return this._toggleDirection=tt.NONE,this._togglePosition=0,this._toggled=!1,this;var n=r.camera,i=n.range,a=n.alignPosition,o=n.visibleRange,s=o.max-o.min,l=i.min-a,u=i.max-a+s,c=this.includeRange(u-s,u,!1),f=this.includeRange(l,l+s,!1);return this._toggled=!1,c?(this._toggleDirection=tt.PREV,this._togglePosition=this.range.max+i.min-i.max+a,this.toggle(1/0,n.position)):f?(this._toggleDirection=tt.NEXT,this._togglePosition=this.range.min+i.max-s+a,this.toggle(-1/0,n.position)):(this._toggleDirection=tt.NONE,this._togglePosition=0),this},t._updateAlignPos=function(){this._alignPos=v3(this._align,this._size)},t._resetInternalStates=function(){this._size=0,this._pos=0,this._margin={prev:0,next:0},this._height=0,this._alignPos=0,this._toggled=!1,this._togglePosition=0,this._toggleDirection=tt.NONE},e})(),x_=(function(){function e(r){var n=r.providerCtor;this._providerCtor=n}var t=e.prototype;return t.renderPanels=function(){},t.getRenderingIndexesByOrder=function(r){var n=r.renderer.panels.filter(function(s){return s.rendered}),i=n.filter(function(s){return s.toggled&&s.toggleDirection===tt.PREV}),a=n.filter(function(s){return s.toggled&&s.toggleDirection===tt.NEXT}),o=n.filter(function(s){return!s.toggled});return $t(i,o,a).map(function(s){return s.index})},t.getRenderingElementsByOrder=function(r){var n=r.panels;return this.getRenderingIndexesByOrder(r).map(function(i){return n[i].element})},t.updateRenderingPanels=function(r){r.renderOnlyVisible?this._showOnlyVisiblePanels(r):r.panels.forEach(function(n){return n.markForShow()})},t.collectPanels=function(r,n){var i=this,a=Kl(r.renderer.align);return n.map(function(o,s){return new w3({index:s,elementProvider:new i._providerCtor(o),align:a,flicking:r})})},t.createPanel=function(r,n){return new w3(kr(kr({},n),{elementProvider:new this._providerCtor(r)}))},t.updatePanelSizes=function(r,n){r.panels.forEach(function(i){return i.setSize(n)})},t._showOnlyVisiblePanels=function(r){var n=r.renderer.panels,i=r.camera,a=i.visiblePanels.reduce(function(o,s){return o[s.index]=!0,o},{});n.forEach(function(o){o.index in a||o.loading?o.markForShow():r.holding||o.markForHide()}),i.updateOffset()},e})(),S_=(function(e){br(t,e);function t(n){var i=e.call(this,n)||this;return n.elementProvider.init(i),i._elProvider=n.elementProvider,i._cachedInnerHTML=null,i}var r=t.prototype;return Object.defineProperty(r,"element",{get:function(){return this._elProvider.element},enumerable:!1,configurable:!0}),Object.defineProperty(r,"cachedInnerHTML",{get:function(){return this._cachedInnerHTML},enumerable:!1,configurable:!0}),Object.defineProperty(r,"elementIndex",{get:function(){var n=this._flicking,i=n.panelsPerView+1,a=n.panelCount,o=this._index;return this._toggled&&(o=this._toggleDirection===tt.NEXT?o+a:o-a),__(o,i)},enumerable:!1,configurable:!0}),r.cacheRenderResult=function(n){this._cachedInnerHTML=n},r.uncacheRenderResult=function(){this._cachedInnerHTML=null},r.render=function(){var n=this._flicking,i=n.virtual,a=i.renderPanel,o=i.cache,s=this._elProvider.element,l=this._cachedInnerHTML||a(this,this._index);l!==s.innerHTML&&(s.innerHTML=l,o&&this.cacheRenderResult(l))},r.increaseIndex=function(n){return this.uncacheRenderResult(),e.prototype.increaseIndex.call(this,n)},r.decreaseIndex=function(n){return this.uncacheRenderResult(),e.prototype.decreaseIndex.call(this,n)},t})(w3),F_=(function(){function e(){}var t=e.prototype;return t.renderPanels=function(r){var n=r.virtual,i=r.visiblePanels,a=wa(r.panelsPerView+1);i.forEach(function(o){var s=o.elementIndex;o.render(),n.show(s),a[s]=-1}),a.filter(function(o){return o>=0}).forEach(function(o){n.hide(o)})},t.getRenderingIndexesByOrder=function(r){var n=r.virtual,i=$t(r.visiblePanels).filter(function(s){return s.rendered}).sort(function(s,l){return s.position+s.offset-(l.position+l.offset)});if(i.length<=0)return n.elements.map(function(s,l){return l});var a=i.map(function(s){return s.elementIndex}),o=n.elements.map(function(s,l){return kr(kr({},s),{idx:l})}).filter(function(s){return!s.visible}).map(function(s){return s.idx});return $t(a,o)},t.getRenderingElementsByOrder=function(r){var n=r.virtual,i=n.elements;return this.getRenderingIndexesByOrder(r).map(function(a){return i[a].nativeElement})},t.updateRenderingPanels=function(r){var n=r.renderer.panels,i=r.camera,a=i.visiblePanels.reduce(function(o,s){return o[s.index]=!0,o},{});n.forEach(function(o){o.index in a||o.loading?o.markForShow():o.markForHide()}),i.updateOffset()},t.collectPanels=function(r){var n=Kl(r.renderer.align);return wa(r.virtual.initialPanelCount).map(function(i){return new S_({index:i,elementProvider:new C_(r),align:n,flicking:r})})},t.createPanel=function(r,n){return new S_(kr(kr({},n),{elementProvider:new C_(n.flicking)}))},t.updatePanelSizes=function(r,n){r.virtual.elements.forEach(function(i){y_(i.nativeElement,n)}),r.panels.forEach(function(i){return i.setSize(n)})},e})(),E3=(function(e){br(t,e);function t(n,i){var a=i===void 0?{}:i,o=a.align,s=o===void 0?Sn.CENTER:o,l=a.defaultIndex,u=l===void 0?0:l,c=a.horizontal,f=c===void 0?!0:c,h=a.circular,p=h===void 0?!1:h,g=a.circularFallback,v=g===void 0?g_.LINEAR:g,m=a.bound,_=m===void 0?!1:m,w=a.adaptive,T=w===void 0?!1:w,F=a.panelsPerView,O=F===void 0?-1:F,M=a.noPanelStyleOverride,H=M===void 0?!1:M,S=a.resizeOnContentsReady,L=S===void 0?!1:S,U=a.nested,D=U===void 0?!1:U,b=a.needPanelThreshold,C=b===void 0?0:b,k=a.preventEventsBeforeInit,P=k===void 0?!0:k,A=a.deceleration,I=A===void 0?.0075:A,q=a.duration,B=q===void 0?500:q,K=a.easing,X=K===void 0?function(Y){return 1-Math.pow(1-Y,3)}:K,re=a.inputType,ve=re===void 0?["mouse","touch"]:re,be=a.moveType,Ee=be===void 0?"snap":be,Ce=a.threshold,se=Ce===void 0?40:Ce,ce=a.dragThreshold,Fe=ce===void 0?1:ce,we=a.interruptable,$e=we===void 0?!0:we,ft=a.bounce,zt=ft===void 0?"20%":ft,pe=a.iOSEdgeSwipeThreshold,rt=pe===void 0?30:pe,Ye=a.preventClickOnDrag,Oe=Ye===void 0?!0:Ye,_e=a.preventDefaultOnDrag,We=_e===void 0?!1:_e,Be=a.disableOnInit,kt=Be===void 0?!1:Be,Ht=a.changeOnHold,Wt=Ht===void 0?!1:Ht,Me=a.renderOnlyVisible,Pr=Me===void 0?!1:Me,jr=a.virtual,Ur=jr===void 0?null:jr,Dr=a.autoInit,Re=Dr===void 0?!0:Dr,Xe=a.autoResize,Ct=Xe===void 0?!0:Xe,Pt=a.useResizeObserver,Vt=Pt===void 0?!0:Pt,Ar=a.resizeDebounce,on=Ar===void 0?0:Ar,cr=a.maxResizeDebounce,Kt=cr===void 0?100:cr,Fn=a.useFractionalSize,ii=Fn===void 0?!1:Fn,Un=a.externalRenderer,ai=Un===void 0?null:Un,Mr=a.renderExternal,G=Mr===void 0?null:Mr,R=e.call(this)||this;return R._initialized=!1,R._plugins=[],R._align=s,R._defaultIndex=u,R._horizontal=f,R._circular=p,R._circularFallback=v,R._bound=_,R._adaptive=T,R._panelsPerView=O,R._noPanelStyleOverride=H,R._resizeOnContentsReady=L,R._nested=D,R._virtual=Ur,R._needPanelThreshold=C,R._preventEventsBeforeInit=P,R._deceleration=I,R._duration=B,R._easing=X,R._inputType=ve,R._moveType=Ee,R._threshold=se,R._dragThreshold=Fe,R._interruptable=$e,R._bounce=zt,R._iOSEdgeSwipeThreshold=rt,R._preventClickOnDrag=Oe,R._preventDefaultOnDrag=We,R._disableOnInit=kt,R._changeOnHold=Wt,R._renderOnlyVisible=Pr,R._autoInit=Re,R._autoResize=Ct,R._useResizeObserver=Vt,R._resizeDebounce=on,R._maxResizeDebounce=Kt,R._useFractionalSize=ii,R._externalRenderer=ai,R._renderExternal=G,R._viewport=new DB(R,kB(n)),R._autoResizer=new AB(R),R._renderer=R._createRenderer(),R._camera=R._createCamera(),R._control=R._createControl(),R._virtualManager=new IB(R,Ur),R._autoInit&&R.init(),R}var r=t.prototype;return Object.defineProperty(r,"control",{get:function(){return this._control},enumerable:!1,configurable:!0}),Object.defineProperty(r,"camera",{get:function(){return this._camera},enumerable:!1,configurable:!0}),Object.defineProperty(r,"renderer",{get:function(){return this._renderer},enumerable:!1,configurable:!0}),Object.defineProperty(r,"viewport",{get:function(){return this._viewport},enumerable:!1,configurable:!0}),Object.defineProperty(r,"initialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),Object.defineProperty(r,"circularEnabled",{get:function(){return this._camera.circularEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(r,"virtualEnabled",{get:function(){return this._panelsPerView>0&&this._virtual!=null},enumerable:!1,configurable:!0}),Object.defineProperty(r,"index",{get:function(){return this._control.activeIndex},enumerable:!1,configurable:!0}),Object.defineProperty(r,"element",{get:function(){return this._viewport.element},enumerable:!1,configurable:!0}),Object.defineProperty(r,"currentPanel",{get:function(){return this._control.activePanel},enumerable:!1,configurable:!0}),Object.defineProperty(r,"panels",{get:function(){return this._renderer.panels},enumerable:!1,configurable:!0}),Object.defineProperty(r,"panelCount",{get:function(){return this._renderer.panelCount},enumerable:!1,configurable:!0}),Object.defineProperty(r,"visiblePanels",{get:function(){return this._camera.visiblePanels},enumerable:!1,configurable:!0}),Object.defineProperty(r,"animating",{get:function(){return this._control.animating},enumerable:!1,configurable:!0}),Object.defineProperty(r,"holding",{get:function(){return this._control.holding},enumerable:!1,configurable:!0}),Object.defineProperty(r,"activePlugins",{get:function(){return this._plugins},enumerable:!1,configurable:!0}),Object.defineProperty(r,"align",{get:function(){return this._align},set:function(n){this._align=n,this._renderer.align=n,this._camera.align=n,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultIndex",{get:function(){return this._defaultIndex},set:function(n){this._defaultIndex=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"horizontal",{get:function(){return this._horizontal},set:function(n){this._horizontal=n,this._control.controller.updateDirection(),this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"circular",{get:function(){return this._circular},set:function(n){this._circular=n,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"circularFallback",{get:function(){return this._circularFallback},enumerable:!1,configurable:!0}),Object.defineProperty(r,"bound",{get:function(){return this._bound},set:function(n){this._bound=n,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"adaptive",{get:function(){return this._adaptive},set:function(n){this._adaptive=n,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"panelsPerView",{get:function(){return this._panelsPerView},set:function(n){this._panelsPerView=n,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"noPanelStyleOverride",{get:function(){return this._noPanelStyleOverride},set:function(n){this._noPanelStyleOverride=n,this.resize()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"resizeOnContentsReady",{get:function(){return this._resizeOnContentsReady},set:function(n){this._resizeOnContentsReady=n,n&&this._renderer.checkPanelContentsReady(this._renderer.panels)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"nested",{get:function(){return this._nested},set:function(n){this._nested=n;var i=this._control.controller.axes;i&&(i.options.nested=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"needPanelThreshold",{get:function(){return this._needPanelThreshold},set:function(n){this._needPanelThreshold=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"preventEventsBeforeInit",{get:function(){return this._preventEventsBeforeInit},set:function(n){this._preventEventsBeforeInit=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"deceleration",{get:function(){return this._deceleration},set:function(n){this._deceleration=n;var i=this._control.controller.axes;i&&(i.options.deceleration=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"easing",{get:function(){return this._easing},set:function(n){this._easing=n;var i=this._control.controller.axes;i&&(i.options.easing=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"duration",{get:function(){return this._duration},set:function(n){this._duration=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"inputType",{get:function(){return this._inputType},set:function(n){this._inputType=n;var i=this._control.controller.panInput;i&&(i.options.inputType=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"moveType",{get:function(){return this._moveType},set:function(n){this._moveType=n;var i=this._control,a=this._createControl(),o=i.activePanel;a.copy(i);var s=o?this._camera.getProgressInPanel(o):0;this._control=a,this._control.updatePosition(s),this._control.updateInput()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"threshold",{get:function(){return this._threshold},set:function(n){this._threshold=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"dragThreshold",{get:function(){return this._dragThreshold},set:function(n){this._dragThreshold=n;var i=this._control.controller.panInput;i&&(i.options.threshold=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"interruptable",{get:function(){return this._interruptable},set:function(n){this._interruptable=n;var i=this._control.controller.axes;i&&(i.options.interruptable=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"bounce",{get:function(){return this._bounce},set:function(n){this._bounce=n,this._control.updateInput()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"iOSEdgeSwipeThreshold",{get:function(){return this._iOSEdgeSwipeThreshold},set:function(n){this._iOSEdgeSwipeThreshold=n;var i=this._control.controller.panInput;i&&(i.options.iOSEdgeSwipeThreshold=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"preventClickOnDrag",{get:function(){return this._preventClickOnDrag},set:function(n){var i=this._preventClickOnDrag;if(n!==i){var a=this._control.controller;n?a.addPreventClickHandler():a.removePreventClickHandler(),this._preventClickOnDrag=n}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"preventDefaultOnDrag",{get:function(){return this._preventDefaultOnDrag},set:function(n){this._preventDefaultOnDrag=n;var i=this._control.controller.panInput;i&&(i.options.preventDefaultOnDrag=n)},enumerable:!1,configurable:!0}),Object.defineProperty(r,"disableOnInit",{get:function(){return this._disableOnInit},set:function(n){this._disableOnInit=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"changeOnHold",{get:function(){return this._changeOnHold},set:function(n){this._changeOnHold=n},enumerable:!1,configurable:!0}),Object.defineProperty(r,"renderOnlyVisible",{get:function(){return this._renderOnlyVisible},set:function(n){this._renderOnlyVisible=n,this._renderer.render()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"virtual",{get:function(){return this._virtualManager},enumerable:!1,configurable:!0}),Object.defineProperty(r,"autoInit",{get:function(){return this._autoInit},enumerable:!1,configurable:!0}),Object.defineProperty(r,"autoResize",{get:function(){return this._autoResize},set:function(n){this._autoResize=n,n?this._autoResizer.enable():this._autoResizer.disable()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"useResizeObserver",{get:function(){return this._useResizeObserver},set:function(n){this._useResizeObserver=n,this._autoResize&&this._autoResizer.enable()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"resizeDebounce",{get:function(){return this._resizeDebounce},enumerable:!1,configurable:!0}),Object.defineProperty(r,"maxResizeDebounce",{get:function(){return this._maxResizeDebounce},enumerable:!1,configurable:!0}),Object.defineProperty(r,"useFractionalSize",{get:function(){return this._useFractionalSize},enumerable:!1,configurable:!0}),Object.defineProperty(r,"externalRenderer",{get:function(){return this._externalRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(r,"renderExternal",{get:function(){return this._renderExternal},enumerable:!1,configurable:!0}),r.init=function(){var n=this;if(this._initialized)return Promise.resolve();var i=this._camera,a=this._renderer,o=this._control,s=this._virtualManager,l=this.trigger,u=this._preventEventsBeforeInit;return i.init(),s.init(),a.init(this),o.init(this),u&&(this.trigger=function(){return n}),this._initialResize(),this._moveToInitialPanel(),this._autoResize&&this._autoResizer.enable(),this._preventClickOnDrag&&o.controller.addPreventClickHandler(),this._disableOnInit&&this.disableInput(),a.checkPanelContentsReady(a.panels),this._initialized=!0,a.render().then(function(){n._plugins.forEach(function(c){return c.init(n)}),u&&(n.trigger=l),n.trigger(new Ge(pt.READY))})},r.destroy=function(){this.off(),this._autoResizer.disable(),this._control.destroy(),this._camera.destroy(),this._renderer.destroy(),this._plugins.forEach(function(n){return n.destroy()}),this._initialized=!1},r.prev=function(n){var i,a,o;return n===void 0&&(n=this._duration),this.moveTo((o=(a=(i=this._control.activePanel)===null||i===void 0?void 0:i.prev())===null||a===void 0?void 0:a.index)!==null&&o!==void 0?o:-1,n,tt.PREV)},r.next=function(n){var i,a,o;return n===void 0&&(n=this._duration),this.moveTo((o=(a=(i=this._control.activePanel)===null||i===void 0?void 0:i.next())===null||a===void 0?void 0:a.index)!==null&&o!==void 0?o:this._renderer.panelCount,n,tt.NEXT)},r.moveTo=function(n,i,a){i===void 0&&(i=this._duration),a===void 0&&(a=tt.NONE);var o=this._renderer,s=o.panelCount,l=o.getPanel(n);return l?this._control.animating?Promise.reject(new _t(Et.ANIMATION_ALREADY_PLAYING,yt.ANIMATION_ALREADY_PLAYING)):(this._control.holding&&this._control.controller.release(),this._control.moveToPanel(l,{duration:i,direction:a})):Promise.reject(new _t(Et.INDEX_OUT_OF_RANGE(n,0,s-1),yt.INDEX_OUT_OF_RANGE))},r.updateAnimation=function(n,i,a){if(this._control.animating){var o=this._renderer,s=o.panelCount,l=o.getPanel(n);if(!l)throw new _t(Et.INDEX_OUT_OF_RANGE(n,0,s-1),yt.INDEX_OUT_OF_RANGE);this._control.updateAnimation(l,i,a)}},r.stopAnimation=function(){this._control.animating&&this._control.stopAnimation()},r.getPanel=function(n){return this._renderer.getPanel(n)},r.enableInput=function(){return this._control.enable(),this},r.disableInput=function(){return this._control.disable(),this},r.getStatus=function(n){var i,a,o=n===void 0?{}:n,s=o.index,l=s===void 0?!0:s,u=o.position,c=u===void 0?!0:u,f=o.includePanelHTML,h=f===void 0?!1:f,p=o.visiblePanelsOnly,g=p===void 0?!1:p,v=this._camera,m=g?this.visiblePanels:this.panels,_={panels:m.map(function(F){var O={index:F.index};return h&&(O.html=F.element.outerHTML),O})};if(l&&(_.index=this.index),c){var w=v.findNearestAnchor(v.position);w&&(_.position={panel:w.panel.index,progressInPanel:v.getProgressInPanel(w.panel)})}if(g){var T=this.visiblePanels;_.visibleOffset=(a=(i=T[0])===null||i===void 0?void 0:i.index)!==null&&a!==void 0?a:0}return _},r.setStatus=function(n){var i;if(!this._initialized)throw new _t(Et.NOT_INITIALIZED,yt.NOT_INITIALIZED);var a=n.index,o=n.position,s=n.visibleOffset,l=n.panels,u=this._renderer,c=this._control;if(!((i=l[0])===null||i===void 0)&&i.html&&!this._renderExternal&&(u.batchRemove({index:0,deleteCount:this.panels.length,hasDOMInElements:!0}),u.batchInsert({index:0,elements:v_(l.map(function(m){return m.html})),hasDOMInElements:!0})),a!=null){var f=s?a-s:a;this.moveTo(f,0).catch(function(){})}if(o&&this._moveType===_a.FREE_SCROLL){var h=o.panel,p=o.progressInPanel,f=s?h-s:h,g=u.panels[f].range,v=g.min+(g.max-g.min)*p;c.moveToPosition(v,0).catch(function(){})}},r.addPlugins=function(){for(var n,i=this,a=[],o=0;o=0&&(o.destroy(),n._plugins.splice(s,1))}),this},r.resize=function(){return ba(this,void 0,void 0,function(){var n,i,a,o,s,l,u,c,f,h,p;return ya(this,function(g){switch(g.label){case 0:return n=this._viewport,i=this._renderer,a=this._camera,o=this._control,s=o.activePanel,l=n.width,u=n.height,c=s?a.getProgressInPanel(s):0,this.trigger(new Ge(pt.BEFORE_RESIZE,{width:l,height:u,element:n.element})),n.resize(),[4,i.forceRenderAllPanels()];case 1:return g.sent(),this._initialized?(i.updatePanelSize(),a.updateAlignPos(),a.updateRange(),a.updateAnchors(),a.updateAdaptiveHeight(),a.updatePanelOrder(),a.updateOffset(),[4,i.render()]):[2];case 2:return g.sent(),this._initialized?(o.animating||(o.updatePosition(c),o.updateInput()),f=n.width,h=n.height,p=f!==l||h!==u,this.trigger(new Ge(pt.AFTER_RESIZE,{width:n.width,height:n.height,prev:{width:l,height:u},sizeChanged:p,element:n.element})),[2]):[2]}})})},r.append=function(n){return this.insert(this._renderer.panelCount,n)},r.prepend=function(n){return this.insert(0,n)},r.insert=function(n,i){if(this._renderExternal)throw new _t(Et.NOT_ALLOWED_IN_FRAMEWORK,yt.NOT_ALLOWED_IN_FRAMEWORK);return this._renderer.batchInsert({index:n,elements:v_(i),hasDOMInElements:!0})},r.remove=function(n,i){if(i===void 0&&(i=1),this._renderExternal)throw new _t(Et.NOT_ALLOWED_IN_FRAMEWORK,yt.NOT_ALLOWED_IN_FRAMEWORK);return this._renderer.batchRemove({index:n,deleteCount:i,hasDOMInElements:!0})},r._createControl=function(){var n,i=this._moveType,a=Object.keys(_a).map(function(l){return _a[l]}),o=Array.isArray(i)?i[0]:i,s=Array.isArray(i)?(n=i[1])!==null&&n!==void 0?n:{}:{};if(!Ql(a,o))throw new _t(Et.WRONG_OPTION("moveType",JSON.stringify(i)),yt.WRONG_OPTION);switch(o){case _a.SNAP:return new qB(s);case _a.FREE_SCROLL:return new jB(s);case _a.STRICT:return new UB(s)}},r._createCamera=function(){return this._circular&&this._bound&&console.warn('"circular" and "bound" option cannot be used together, ignoring bound.'),new WB(this,{align:this._align})},r._createRenderer=function(){var n=this._externalRenderer;return this._virtual&&this._panelsPerView<=0&&console.warn('"virtual" and "panelsPerView" option should be used together, ignoring virtual.'),n||(this._renderExternal?this._createExternalRenderer():this._createVanillaRenderer())},r._createExternalRenderer=function(){var n=this._renderExternal,i=n.renderer,a=n.rendererOptions;return new i(kr({align:this._align},a))},r._createVanillaRenderer=function(){var n=this.virtualEnabled;return new VB({align:this._align,strategy:n?new F_:new x_({providerCtor:MB})})},r._moveToInitialPanel=function(){var n=this._renderer,i=this._control,a=this._camera,o=n.getPanel(this._defaultIndex)||n.getPanel(0);if(o){var s=a.findNearestAnchor(o.position),l=s&&o.position!==s.panel.position&&o.index!==s.panel.index?s.panel:o;if(i.setActive(l,null,!1),!s)throw new _t(Et.POSITION_NOT_REACHABLE(l.position),yt.POSITION_NOT_REACHABLE);var u=l.position;a.canReach(l)||(u=s.position),a.lookAt(u),i.updateInput(),a.updateOffset()}},r._initialResize=function(){var n=this._viewport,i=this._renderer,a=this._camera,o=this._control;this.trigger(new Ge(pt.BEFORE_RESIZE,{width:0,height:0,element:n.element})),n.resize(),i.updatePanelSize(),a.updateAlignPos(),a.updateRange(),a.updateAnchors(),a.updateOffset(),o.updateInput();var s=n.width,l=n.height,u=s!==0||l!==0;this.trigger(new Ge(pt.AFTER_RESIZE,{width:n.width,height:n.height,prev:{width:0,height:0},sizeChanged:u,element:n.element}))},t.VERSION="4.12.0",t})(ki),YB=function(e,t){[ki.prototype,E3.prototype].forEach(function(r){Object.getOwnPropertyNames(r).filter(function(n){return!e[n]&&n.indexOf("_")!==0&&n!=="constructor"}).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value)Object.defineProperty(e,n,{value:function(){for(var o,s=[],l=0;l0){var l=-1,u=-1;t.removed.forEach(function(p){l<0&&(l=p),u>=0&&p!==u-1&&(s.push.apply(s,$t(P_(n,u,l+1))),l=p),u=p,a.splice(p,1)}),s.push.apply(s,$t(P_(n,u,l+1)))}if(t.ordered.forEach(function(p){var g=g3(p,2),v=g[0],m=g[1],_=i.splice(v,1)[0];i.splice(m,0,_)}),t.ordered.length>0&&(i.forEach(function(p,g){var v=g-p.index;v>0?p.increaseIndex(v):p.decreaseIndex(-v)}),i.sort(function(p,g){return p.index-g.index}),i.forEach(function(p){p.updatePosition()})),t.added.length>0){var c=-1,f=-1,h=r.slice(a.length);t.added.forEach(function(p,g){c<0&&(c=g),f>=0&&p!==f+1?(o.push.apply(o,$t(O_(n,t,h,c,g+1))),c=-1,f=-1):f=p}),c>=0&&o.push.apply(o,$t(O_(n,t,h,c)))}(t.added.length>0||t.removed.length>0)&&n.updateAfterPanelChange(o,s)}),O_=function(e,t,r,n,i){return e.batchInsertDefer.apply(e,$t(t.added.slice(n,i).map(function(a,o){return{index:a,elements:[r[o]],hasDOMInElements:!1}})))},P_=function(e,t,r){var n=e.panels.slice(t,r);return e.batchRemoveDefer({index:t,deleteCount:n.length,hasDOMInElements:!1})},D_=(function(e,t){var r=t.removed.reduce(function(i,a){return i[a]=!0,i},{}),n=t.maintained.reduce(function(i,a){var o=g3(a,2),s=o[0],l=o[1];return i[s]=l,i},{});return $t(e.panels.filter(function(i){return!r[i.index]}).sort(function(i,a){return i.position+i.offset-(a.position+a.offset)}).map(function(i){return t.list[n[i.index]]}),t.added.map(function(i){return t.list[i]}))}),KB=(function(e,t,r){e===void 0&&(e=Sn.CENTER),t===void 0&&(t=!0);var n=XB(e),i=QB(e);if(i==null)return"";var a="calc("+n+" - ("+(r||"0px")+" * "+i.percentage+") - "+i.absolute+"px)";return t?"translate("+a+")":"translate(0, "+a+")"}),XB=function(e){var t=typeof e=="object"?e.camera:e;return A_(t)},QB=function(e){var t=typeof e=="object"?e.panel:e;return m_(A_(t))},A_=function(e){if(typeof e=="number")return e+"px";switch(e){case Sn.CENTER:return"50%";case Sn.NEXT:return"100%";case Sn.PREV:return"0%";default:return e}},T3=function(e,t){return T3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},T3(e,t)};function tu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");T3(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Hn=function(){return Hn=Object.assign||function(t){for(var r,n=1,i=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function M_(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(c){try{u(n.next(c))}catch(f){o(f)}}function l(c){try{u(n.throw(c))}catch(f){o(f)}}function u(c){c.done?a(c.value):i(c.value).then(s,l)}u((n=n.apply(e,[])).next())})}function I_(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(r=0)),r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]0?new F_:new x_({providerCtor:n$})},a=new E3(this._viewportElement,Hn(Hn({},n),{externalRenderer:new e$(i)}));this._vanillaFlicking=a;var o=this._getChildren();this._jsxDiffer=new By(o,function(s){return s.key}),this._pluginsDiffer=new By,this._prevChildren=o,this._bindEvents(),this._checkPlugins(),n.status&&a.setStatus(n.status)},r.componentWillUnmount=function(){var n;(n=this._vanillaFlicking)===null||n===void 0||n.destroy()},r.shouldComponentUpdate=function(n){var i=this._vanillaFlicking,a=this.props;if(!i||!i.initialized)return!1;var o=n.children,s=k3(n,["children"]);for(var l in s)if(a[l]!==n[l])return!0;var u=this._prevChildren,c=this._getChildren(o);return!!(n.renderOnSameKey||!this._hasSameChildren(u,c))},r.beforeRender=function(){var n=this._vanillaFlicking,i=this.props,a=this._prevChildren;if(!(!n||!n.initialized||this._diffResult)){var o=this._getChildren(i.children);(i.renderOnSameKey||!this._hasSameChildren(a,o))&&(this._panels=this._createPanelRefs(i,o),this._diffResult=this._jsxDiffer.update(o),this._prevChildren=o)}},r.componentDidUpdate=function(){var n=this._vanillaFlicking,i=this._renderEmitter,a=this._diffResult;this._checkPlugins(),i.trigger("render"),n.camera.updateOffset();var o=this.props;o.virtual;var s=k3(o,["virtual"]);for(var l in s)l in n&&n[l]!==s[l]&&(n[l]=s[l]);!a||!n.initialized||(GB(n,a,this.reactPanels),this._diffResult=null)},r.render=function(){var n=this,i,a=this.props,o=a.viewportTag,s=a.cameraTag,l={};this.beforeRender();for(var u in a)!(u in x3)&&!(u in E3.prototype)&&(l[u]=a[u]);var c=this._getClasses(l,a),f=c.viewportClasses,h=c.cameraClasses,p=c.cameraProps,g=a.virtual&&((i=a.panelsPerView)!==null&&i!==void 0?i:-1)>0?this._getVirtualPanels():this._getPanels();return he(o,Hn({},l,{className:f.join(" "),ref:function(v){v&&(n._viewportElement=v)}}),he(s,Hn({className:h.join(" ")},p),g),this._getViewportSlot())},r._createPanelRefs=function(n,i){var a,o=(a=n.panelsPerView)!==null&&a!==void 0?a:-1;return o>0&&n.virtual?wa(o+1).map(function(){return fi()}):i.map(function(){return fi()})},r._bindEvents=function(){var n=this,i=this._vanillaFlicking;Object.keys(pt).forEach(function(a){var o=pt[a];n._bindEvent(o)}),i.once(pt.READY,function(){n.forceUpdate()})},r._bindEvent=function(n){var i=this,a="on".concat(n.charAt(0).toUpperCase()+n.slice(1));this._vanillaFlicking.on(n,function(o){o.currentTarget=i;var s=i.props[a];s(o)})},r._checkPlugins=function(){var n=this._vanillaFlicking,i=this._pluginsDiffer.update(this.props.plugins),a=i.list,o=i.added,s=i.removed,l=i.prevList;n.addPlugins.apply(n,o.map(function(u){return a[u]})),n.removePlugins.apply(n,s.map(function(u){return l[u]}))},r._getClasses=function(n,i){var a,o=this._vanillaFlicking,s=o&&o.initialized,l=["flicking-viewport"],u=["flicking-camera"],c=o?o.horizontal:(a=i.horizontal)!==null&&a!==void 0?a:!0;c||l.push("vertical"),i.hideBeforeInit&&!s&&l.push("flicking-hidden"),n.className&&l.push(n.className),i.cameraClass&&u.push(i.cameraClass);var f=!s&&i.firstPanelSize?{style:{transform:KB(this.props.align,this.props.horizontal,this.props.firstPanelSize)}}:{};return{viewportClasses:l,cameraClasses:u,cameraProps:f}},r._hasSameChildren=function(n,i){if(n.length!==i.length||n.length===0)return!1;var a=n.every(function(o,s){var l=i[s];return o.key&&l.key?o.key===l.key:o===l});return a},r._getChildren=function(n){var i=this;return n===void 0&&(n=this.props.children),wo.toArray(n).filter(function(a){return a.type!==N_}).reduce(function(a,o){return ru(ru([],a,!0),i._unpackFragment(o))},[])},r._getViewportSlot=function(){return wo.toArray(this.props.children).filter(function(n){return n.type===N_})},r._unpackFragment=function(n){var i=this;return this._isFragment(n)?wo.toArray(n.props.children).reduce(function(a,o){return ru(ru([],a,!0),i._unpackFragment(o))},[]):[n]},r._getVirtualPanels=function(){var n=this,i=this.props.virtual.panelClass,a=i===void 0?"flicking-panel":i,o=this.props.panelsPerView,s=this._vanillaFlicking,l=s&&s.initialized,u=l?s.renderer.strategy.getRenderingIndexesByOrder(s):wa(o+1),c=s&&s.panels[0],f=c?s.horizontal?{width:c.size}:{height:c.size}:{};return u.map(function(h){return he("div",{key:h,"data-element-index":h,ref:n._panels[h],className:a,style:f})})},r._getPanels=function(){var n=this,i=this._getChildren(),a=this._vanillaFlicking,o=this._diffResult,s=a&&a.initialized?o?D_(a,o):D_(a,Ly(i,i)):i;return this.props.useFindDOMNode?s.map(function(l,u){return he(r$,{key:l.key,ref:n._panels[u]},l)}):s.map(function(l,u){return he(t$,{key:l.key,ref:n._panels[u]},l)})},r._isFragment=function(n){return n.type?n.type===Le:n===Le},t.defaultProps=x3,JB([YB],t.prototype,"_vanillaFlicking",void 0),t})(st);Hn(Hn({},x3),{onSideHoldStart:function(e){},onSideHoldEnd:function(e){},onSideMoveStart:function(e){},onSideMove:function(e){},onSideMoveEnd:function(e){},onSideWillChange:function(e){},onSideChanged:function(e){},onSideWillRestore:function(e){},onSideRestored:function(e){}}),To.forwardRef(function(e,t){var r=e.children,n=k3(e,["children"]);return To.createElement("div",Hn({ref:t},n),r)});const Pi={error:"error",success:"success",warning:"warning"},i$={[Pi.error]:"widget-error-icon",[Pi.warning]:"widget-warning-icon",[Pi.success]:"widget-success-icon"},nu=({message:e,closeModal:t,type:r})=>(Ie(()=>{const n=setTimeout(()=>{t()},4e3);return()=>{t(),clearTimeout(n)}},[]),d(Le,{children:Xn(d("div",{className:"widget-alert-modal-mask widget-alert-fade-in",children:d("div",{className:"widget-alert-content",children:[d("a",{className:i$[r]}),d("p",{children:e})]})}),document.body)})),a$=({ticket:e,defaultAmount:t=0})=>{const{ticketPurchaseDispatch:r,minIncrementOfTickets:n,minIncrementOfTicketsByTicketId:i,maxNumberOfTicketsByTicketId:a,formValidationDispatch:o,minIncrementForDiscountCode:s,ticketPurchaseState:l}=kn(),[u,c]=ue(t),[f,h]=ue(1),[p,g]=ue(!1),v=a&&a.find(O=>O.ticketIds.toString().includes(e.id)),m=v&&v.maxNumberOfTickets,_=O=>{const M=parseInt(O.target.value,10)||0,H=F(M),S=!zi(m)&&H>m,L=S?m:H;r({payload:{amount:L,ticket_id:e.id},type:jt.UPDATE_SELECTED_TICKETS}),w(),o({type:vr.RESET_FORM}),c(L),g(S)},w=()=>{if(!s)return;const O=s.filter(S=>S.ticketIds.toString().includes(e.id));!O||!O.map(S=>S.discountCode).includes(l.discountCodeUsed.code)||r({payload:{code:!1},type:jt.ADD_DISCOUNT_CODE})};Ie(()=>{if(!(!n&&!i))if(i){const O=i.find(M=>M.ticketIds.toString().includes(e.id));O&&O.minIncrement&&h(O.minIncrement)}else n&&h(n)},[n,i,e.id]);const T=O=>{O.keyCode===13&&document.activeElement.blur()},F=O=>parseInt(O,10)?f*Math.round(parseInt(O,10)/f):0;return d("div",{className:`ticket-list-item-container ticket-list-item-container-ticket-id-${e.id}`,children:[d("div",{className:"ticket-list-item-row-container",children:[d("div",{children:[d("p",{className:"ticket-list-item-ticket-title",children:e.name}),d("p",{className:"ticket-list-item-ticket-price",children:e.priceUnitAmount?`${_o({amount:e.priceUnitAmount,currency:e.priceCurrency})}`:"Free"})]}),d("input",{type:"number",pattern:"[0-9]*",className:"ticket-list-item-ticket-amount-input",min:"0",value:u,step:Math.round(f),onChange:_,onKeyPress:T})]}),d("p",{className:"ticket-list-item-ticket-description ticketing-secondary-text",children:e.description}),p&&d(nu,{type:Pi.warning,message:`You can only purchase ${m} tickets of type ${e.name} in a single order.`,closeModal:()=>g(!1)})]})},o$=()=>{const{ticketPurchaseState:e}=kn();return d("div",{className:"ticket-list-container",children:e.tickets.map(t=>d(a$,{ticket:t.ticketData,defaultAmount:t.amount},t.id))})};function qn(e,t,r,n,i){var a={};return Object.keys(n).forEach((function(o){a[o]=n[o]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(o,s){return s(e,t,o)||o}),a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}function iu(e,t,r){return(t=(function(n){var i=(function(a){if(typeof a!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var s=o.call(a,"string");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return a+""})(n);return typeof i=="symbol"?i:i+""})(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const R_=Symbol("formica-control");function au(e){var t;return iu(t=class extends st{render(r){return he(e,r)}},"type",R_),t}function jn(e,t,r){return{configurable:!0,get(){const n=r.value.bind(this);return Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),n}}}function ou(e,t){return Lt(e).map((r=>{const n=t(r);if(n)return Zo(r,...n);const i=r.props&&Lt(r.props.children);return i&&i.length?Zo(r,null,ou(i,t)):r}))}function s$(e){return typeof e.type=="string"?"onInput":"onChange"}function L_(e,t){switch(t!=null&&e.type){case"checkbox":return{checked:t};case"radio":return{checked:t===e.value};case"number":return{value:isNaN(t)?"":""+t};case"range":return{valueAsNumber:t};default:return{value:t}}}var Di;const B_=au((qn((Di=class extends st{_handleChange(e){const t=this.props.name;let r=(function(n){switch(n.type){case"checkbox":return n.checked;case"number":case"range":return n.value?n.valueAsNumber:null;default:return n.value}})(e.target);e.target.name&&(r===void 0?(r={...r},delete r[e.target.name]):r={...this.props.value,[e.target.name]:r}),this.props.onChange({target:{name:t,value:r}})}_linker(e){if((t=e).type&&(t.type==="input"&&(!t.props||["submit","button"].indexOf(t.props.type)===-1)||["textarea","select"].indexOf(t.type)!==-1||t.type.type===R_)){const r=e.props||{},{name:n,disabled:i}=r,{value:a,disabled:o}=this.props;return[{disabled:o||i,[s$(e)]:this._handleChange,...L_(r,a&&(n==null?a:a[n]))}]}var t;return null}render({children:e,...t}){const r=Lt(e),n=r&&typeof r[0]=="function",i={...t,onChange:this._handleChange};return ou(n?[r[0](i)]:r,this._linker)}}).prototype,"_handleChange",[jn],Object.getOwnPropertyDescriptor(Di.prototype,"_handleChange"),Di.prototype),qn(Di.prototype,"_linker",[jn],Object.getOwnPropertyDescriptor(Di.prototype,"_linker"),Di.prototype),Di));var Ai;let F3=(qn((Ai=class extends st{_handleChange(e){this.props.onChange&&this.props.onChange(e.target.value)}_handleSubmit(e){this.props.onSubmit&&this.props.onSubmit(e),e.preventDefault()}render({children:e,value:t,onChange:r,onSubmit:n,...i}){return he("form",Object.assign({onSubmit:this._handleSubmit,noValidate:!0},i),he(B_,{value:t,onChange:this._handleChange},e))}}).prototype,"_handleChange",[jn],Object.getOwnPropertyDescriptor(Ai.prototype,"_handleChange"),Ai.prototype),qn(Ai.prototype,"_handleSubmit",[jn],Object.getOwnPropertyDescriptor(Ai.prototype,"_handleSubmit"),Ai.prototype),Ai);var su;au((qn((su=class extends st{_handleChange(e){const t=this.props.name,r=this.props.value.slice();e.target.value===void 0?r.splice(e.target.name,1):r.splice(e.target.name,1,e.target.value),this.props.onChange({target:{name:t,value:r}})}render({children:e,keyedBy:t,name:r,value:n,onChange:i,...a}){return n&&n.map(((o,s)=>he(B_,Object.assign({key:t&&o&&o[t],name:s,value:o,onChange:this._handleChange},a),e)))}}).prototype,"_handleChange",[jn],Object.getOwnPropertyDescriptor(su.prototype,"_handleChange"),su.prototype),su));var Mi;let l$=0;au((qn((Mi=class extends st{constructor(...e){super(...e),iu(this,"_ref",null),iu(this,"_id",l$++),iu(this,"state",{touched:!1})}_getControlAttrs(e){return{disabled:this.props.disabled,...L_(e,this.props.value)}}_applyAttrs(e,t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&!Object.is(e[r],t[r])&&(e[r]=t[r])}_handleBlur(){this.setState({touched:!0})}_linker(e){const t=e.props||{},{id:r="form-contol-"+this._id,name:n,onChange:i}=this.props;switch(e&&e.type){case"input":case"textarea":case"select":return[{id:e.props.id||r,ref:a=>this._ref=a,[typeof n=="string"?"name":"data-index"]:n,onInput:i,onBlur:this._handleBlur,...this._getControlAttrs(t)}];case"label":return!e.props.for&&r&&[{htmlFor:r},ou(e.props&&e.props.children,this._linker)];default:return null}}render({children:e,className:t,disabled:r},{touched:n}){this._ref&&this._applyAttrs(this._ref,this._getControlAttrs(this._ref));const i=this._ref&&this._ref.validity,a=[this.props.class||t,r&&"disabled",n&&"touched",i&&!i.valid&&"invalid"],o=Lt(e),s={disabled:r,touched:n,validity:i},l=o&&typeof o[0]=="function";return he("div",{className:a.filter((u=>u)).join(" ")},ou(l?[o[0](s)]:o,this._linker))}}).prototype,"_handleBlur",[jn],Object.getOwnPropertyDescriptor(Mi.prototype,"_handleBlur"),Mi.prototype),qn(Mi.prototype,"_linker",[jn],Object.getOwnPropertyDescriptor(Mi.prototype,"_linker"),Mi.prototype),Mi));var Ii;au((qn((Ii=class extends st{_handleAdd(){const{item:e,name:t}=this.props,r=typeof e=="function"?e():e,n=Array.isArray(this.props.value)?[...this.props.value,r]:{...this.props.value,...r};this.props.onChange({target:{name:t,value:n}})}_handleRemove(){const{name:e,value:t}=this.props,r=Array.isArray(t)?t.slice(0,t.length-1):void 0;this.props.onChange({target:{name:e,value:r}})}render({children:e,...t}){const r=Lt(e);return r&&typeof r[0]=="function"&&r[0]({add:this._handleAdd,remove:this._handleRemove,...t})}}).prototype,"_handleAdd",[jn],Object.getOwnPropertyDescriptor(Ii.prototype,"_handleAdd"),Ii.prototype),qn(Ii.prototype,"_handleRemove",[jn],Object.getOwnPropertyDescriptor(Ii.prototype,"_handleRemove"),Ii.prototype),Ii));const O3=({isThankYouModal:e=!1,totalPrice:t})=>{const{event:r,tickets:n,ticketPurchaseState:i,ticketPurchaseDispatch:a,minIncrementForDiscountCode:o,discountCodeSettings:s}=kn(),[l,u]=ue({discountCode:i.discountCodeUsed.code}),[c,f]=ue(0),[h,p]=ue(null),[g,v]=ue(!1),{filteredSelectedTickets:m}=i,_=n.length>0?n[0].priceCurrency:"",w=r.bannerImageTabletUrl,T=m.length>0?m[0].ticketData.priceCurrency:_,F=(D,b=!1)=>{let C=0;return b&&i.discountCodeUsed.isValid&&i.discountCodeUsed.code?c:(D.length>0&&D.forEach(k=>{C+=k.amount*k.ticketData.priceUnitAmount}),C)},O=()=>{e||(a({payload:{code:!1},type:jt.ADD_DISCOUNT_CODE}),f(0),u({discountCode:""}),h&&p(null))},M=()=>{if(!o)return!0;const D=o.find(k=>k.discountCode===l.discountCode);if(!D)return!0;const b=m.filter(k=>D.ticketIds.toString().includes(k.ticketData.id));if(b.length===0||b.filter(k=>k.amount%Number(D.minIncrement)).length===0)return!0},H=()=>{if(!M()){const D=o.find(b=>b.discountCode===l.discountCode);return p(`This discount code can be only applied to sets of ${D.minIncrement}`),null}a({payload:{code:l.discountCode},type:jt.ADD_DISCOUNT_CODE})},S=Br(()=>{v(!0),rr.getDiscountForTickets({discountCode:i.discountCodeUsed.code,eventSlug:r.slug,ticketIds:JSON.stringify(m.map(D=>({id:D.ticketData.id,qty:D.amount})))}).then(D=>{if(v(!1),!D.ok){if(s&&s.discountCode){f(F(m));return}a({payload:{isValid:!1},type:jt.ADD_DISCOUNT_CODE}),p("Invalid discount code");return}D.data&&(f(D.data.totalPrice),a({payload:{isValid:!0},type:jt.ADD_DISCOUNT_CODE}))})},[r.slug,m,a,i.discountCodeUsed.code]);Ie(function(){if(p(null),m.length===0){f(0);return}i.discountCodeUsed.code.length>0&&S()},[m,S,i.discountCodeUsed.code]);const L=D=>{h&&O(),u({discountCode:D.discountCode.toUpperCase()})},U=()=>{if(e&&s&&s.discountCode&&h||e&&s&&s.discountCode)return null;if(i.discountCodeUsed.code&&!h)return d("div",{className:"discount-code-success-container",children:[d("div",{className:"discount-code-tag",children:[d("p",{children:`${i.discountCodeUsed.code}`}),!(s&&!s.allowClear)&&d("a",{className:"remove-discount-code",onClick:O})]}),d("p",{className:"discount-code-price-reduction",children:_o({amount:-(F(m,g)-(e?t:c)),currency:T})})]});if(!e)return d(F3,{value:l,onSubmit:H,onChange:L,children:[d("div",{className:"discount-code-input-container",children:[d("input",{className:`discount-code-input ${h&&"discount-code-input-error"}`,name:"discountCode",placeholder:"Discount code",disabled:!m.length}),d("button",{className:"discount-code-apply-button",type:"submit",disabled:i.discountCodeUsed.code||!m.length,children:"Apply"})]}),h&&d("span",{className:"discount-code-error",children:`${h}`})]})};return d("div",{className:"ticketing-summary-container",children:[d("div",{className:"ticketing-summary-header",children:[d("p",{className:"summary-event-date",children:fR(r)}),d("h3",{className:"summary-event-name",children:r.name})]}),w&&d("img",{src:w,alt:"Event summary image"}),d("p",{className:"summary-order-summary-text",children:"Order summary"}),d("div",{className:"summary-info-container",children:m.length<1?d("p",{className:"summary-helper-text",children:"Select ticket from left to proceed"}):m.map(D=>d("div",{className:"selected-ticket-row",children:[d("p",{className:"selected-ticket-name",children:`${D.amount} x ${D.ticketData.name}`}),d("p",{className:"selected-ticket-price",children:_o({amount:D.ticketData.priceUnitAmount,currency:D.ticketData.priceCurrency})})]},D.id))}),!i.isSelectedTicketsValid&&d("p",{className:"brella-widget-error-text summary-helper-text",children:"Only tickets of the same currency can be purchased at once."}),d("div",{className:"summary-subtotal-container",children:[d("div",{className:"discount-code-amount",children:[d("p",{className:"total-summary-text",children:"Subtotal"}),d("p",{className:"total-summary-text",children:_o({amount:F(m),currency:T})})]}),U()]}),d("div",{className:"discount-code-total-container",children:[d("p",{className:"total-summary-text",children:"Total"}),d("p",{className:"total-summary-text",children:_o({amount:e?t:F(m,!0),currency:T})})]})]})},u$=({question:e,onInputChange:t,showError:r,ticketIndex:n})=>{const i=e.options&&e.options.map(a=>({label:a,value:a}));return d("div",{className:"custom-form-checkbox-group","data-testid":"custom-form-checkbox",children:[i.map((a,o)=>d("span",{children:[d("input",{name:a.label,id:`${a.value}-${n}-checkbox`,type:"checkbox",value:a.value,onChange:t}),d("label",{for:`${a.value}-${n}-checkbox`,children:a.label})]},`${a.value}-${o}-checkbox`)),e.required&&r&&d("span",{className:"brella-widget-error-text",children:"Please select at least one option"})]})},c$=({question:e,onInputChange:t,showError:r,ticketIndex:n})=>{const i=e.options&&e.options.map(a=>({label:a,value:a}));return d("div",{className:"custom-form-radio-button-group","data-testid":"custom-form-radio-buttons",children:[i.map((a,o)=>d("span",{children:d("label",{for:`${a.value}-${n}-radio-button`,value:o,children:[d("input",{name:e.title,type:"radio",id:`${a.value}-${n}-radio-button`,value:a.value,onChange:t}),a.label]})},`${a.value}-${o}`)),e.required&&r&&d("span",{className:"brella-widget-error-text",children:"Please select one option"})]})},d$=({question:e,onInputChange:t,showError:r})=>d(Le,{children:[d("textarea",{rows:4,name:e.title,onChange:t,"data-testid":"custom-form-long-text"}),e.required&&r&&d("span",{className:"brella-widget-error-text",children:"Please fill the required field"})]}),f$=({question:e,onInputChange:t,showError:r})=>{const n=e.options&&e.options.map(i=>({label:i,value:i}));return d(Le,{children:[d("select",{name:e.title,onChange:t,"data-testid":"custom-form-dropdown",children:[d("option",{style:"display:none;"}),n.map((i,a)=>d("option",{value:i.value,children:i.label},`${i.value}-${a}`))]}),e.required&&r&&d("span",{className:"brella-widget-error-text",children:"Please select one option"})]})},h$=({question:e,onInputChange:t,showError:r})=>d(Le,{children:[d("input",{"data-testid":"custom-form-short-text",type:"text",name:e.title,onChange:t}),e.required&&r&&d("span",{className:"brella-widget-error-text",children:"Please fill the required field"})]}),Io=e=>r=>{const{question:n,ticketIndex:i,ticketId:a}=r,{onFormChange:o,formValidationState:s,formValidationDispatch:l}=kn(),[u,c]=ue(!1),[f,h]=ue([]),p=g=>{if(n.questionType==="checkboxes")if(g.target.checked)f.push(g.target.name),h([...f]);else{const v=f.indexOf(g.target.name);f.splice(v,1),h([...f])}else h([g.target.value])};return Ie(()=>{const g={[n.id]:f,ticketIndex:i,ticket_id:a};o(g)},[f]),Ie(()=>()=>{l({payload:{questionId:n.id,ticketId:a,ticketIndex:i},type:vr.REMOVE_MISSING_MANDATORY_QUESTION})},[]),Ie(()=>{n.required&&(!f||!f.length||!f[0].length?(s.showValidationErrors&&c(!0),s.requiredMissingQuestions.findIndex(v=>v.questionId===n.id&&v.ticketId===a&&v.ticketIndex===i)===-1&&l({payload:{questionId:n.id,ticketId:a,ticketIndex:i},type:vr.ADD_MISSING_MANDATORY_QUESTION})):(s.showValidationErrors&&c(!1),s.requiredMissingQuestions.findIndex(v=>v.questionId===n.id&&v.ticketId===a&&v.ticketIndex===i)>-1&&l({payload:{questionId:n.id,ticketId:a,ticketIndex:i},type:vr.REMOVE_MISSING_MANDATORY_QUESTION})))},[s.showValidationErrors,f,n.required,i]),d(e,{...r,onInputChange:p,showError:u})},p$={checkboxes:Io(u$),dropdown:Io(f$),long_text:Io(d$),radio_buttons:Io(c$),short_text:Io(h$)},g$=({question:e,ticketIndex:t,ticketId:r})=>{const n=(i,a)=>{const o=p$[i.questionType];return d(o,{question:i,ticketIndex:a,ticketId:r})};return d("div",{className:"custom-form-item",children:[d("p",{className:"ticketing-mandatory-field",children:[e.required&&d("span",{"data-testid":"ticketing-mandatory-field",children:"* "}),e.title]}),n(e,t)]})},m$=({ticketData:e,ticketNumber:t,ticketIndex:r})=>{const[n,i]=ue(null),{event:a,form:o,onFormChange:s,formValidationState:l,formValidationDispatch:u,ticketPurchaseState:c}=kn(),{ticketQuestionAnswers:f,ticketPurchaserAnswers:h}=c,[p,g]=ue(!1),[v,m]=ue({});Ie(()=>{rr.getTicketQuestion({eventSlug:a.slug,ticketId:e.id}).then(w=>{w.ok&&i(w.data)})},[a.slug,e.id]);const _=w=>{const T={...w,ticketIndex:r,ticket_id:e.id};m({...v,...w}),s(T)};return Ie(()=>()=>{u({payload:{questionId:t,ticketId:e.id,ticketIndex:r},type:vr.REMOVE_MISSING_MANDATORY_QUESTION})},[]),Ie(function(){!v.registrants_email&&!v.use_purchasers_email?(l.showValidationErrors&&g(!0),l.requiredMissingQuestions.findIndex(F=>F.questionId===t&&F.ticketId===e.id&&F.ticketIndex===r)===-1&&u({payload:{questionId:t,ticketId:e.id,ticketIndex:r},type:vr.ADD_MISSING_MANDATORY_QUESTION})):(l.showValidationErrors&&g(!1),l.requiredMissingQuestions.findIndex(F=>F.questionId===t&&F.ticketId===e.id&&F.ticketIndex===r)>-1&&u({payload:{questionId:t,ticketId:e.id,ticketIndex:r},type:vr.REMOVE_MISSING_MANDATORY_QUESTION}))},[l.showValidationErrors,v,r]),d(F3,{value:o,onChange:_,children:d("div",{className:"ticketing-question-container",children:[d("h4",{className:"ticket-question-name",children:`#${t+1} ${e.name}`}),d("div",{className:"ticketing-registrant-info",children:[d("p",{className:"ticket-question-registrant-email",children:[d("span",{children:"* "}),"Registrant email"]}),d("input",{type:"email",name:"registrants_email",disabled:f[r]&&f[r].use_purchasers_email,placeholder:f[r]&&f[r].use_purchasers_email?h.purchasers_email:""}),d("div",{className:"purchaser-email-checkbox",children:[d("input",{type:"checkbox",name:"use_purchasers_email",id:`use_purchasers_email-${t}-${e.id}`}),d("label",{for:`use_purchasers_email-${t}-${e.id}`,children:"Use purchaser email"})]}),p&&d("span",{className:"brella-widget-error-text",children:"Registrant email cannot be empty"}),l.showValidationErrors&&v.registrants_email&&!ly(v.registrants_email)&&!v.use_purchasers_email&&d("span",{className:"brella-widget-error-text",children:"Invalid email address"})]}),n&&n.length>0&&n.map(w=>d(g$,{question:w,ticketIndex:r,ticketId:e.id},`${w.id}-${t}`))]})})},$_=()=>{const{event:e,form:t,onFormChange:r,formValidationState:n,ticketPurchaseState:i}=kn(),{ticketPurchaserAnswers:a,filteredSelectedTickets:o}=i,{showValidationErrors:s,mandatoryFields:l}=n,u=()=>{let c=0;return d("div",{children:o.map(f=>{const h=[];for(let p=0;p=H||Fe<0||I&&we>=D}function ve(){var ce=v();if(re(ce))return be(ce);C=setTimeout(ve,X(ce))}function be(ce){return C=void 0,q&&L?B(ce):(L=U=void 0,b)}function Ee(){C!==void 0&&clearTimeout(C),P=0,L=k=U=C=void 0}function Ce(){return C===void 0?b:be(v())}function se(){var ce=v(),Fe=re(ce);if(L=arguments,U=this,k=ce,Fe){if(C===void 0)return K(k);if(I)return C=setTimeout(ve,H),B(k)}return C===void 0&&(C=setTimeout(ve,H)),b}return se.cancel=Ee,se.flush=Ce,se}function _(M,H,S){var L=!0,U=!0;if(typeof M!="function")throw new TypeError(e);return w(S)&&(L="leading"in S?!!S.leading:L,U="trailing"in S?!!S.trailing:U),m(M,H,{leading:L,maxWait:H,trailing:U})}function w(M){var H=typeof M;return!!M&&(H=="object"||H=="function")}function T(M){return!!M&&typeof M=="object"}function F(M){return typeof M=="symbol"||T(M)&&h.call(M)==r}function O(M){if(typeof M=="number")return M;if(F(M))return t;if(w(M)){var H=typeof M.valueOf=="function"?M.valueOf():M;M=w(H)?H+"":H}if(typeof M!="string")return M===0?M:+M;M=M.replace(n,"");var S=a.test(M);return S||o.test(M)?s(M.slice(2),S?2:8):i.test(M)?t:+M}return P3=_,P3}var b$=v$();const y$=pn(b$),_$={lg:992};function D3(){const[e,t]=ue(window.innerWidth),r=e<_$.lg;return Ie(()=>{const n=y$(()=>{t(window.innerWidth)},300);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),{isMobile:r,windowWidth:e}}const C$=({nextPage:e,previousPage:t,currentStep:r})=>{const{gotToCheckout:n,ticketPurchaseState:i,formValidationState:a,isCheckingOut:o,formValidationDispatch:s}=kn(),{isMobile:l}=D3(),u=()=>{e()},c=()=>{t()},f=()=>{switch(r){case 0:return h();case 1:return l?p():g();case 2:return l?g():null}},h=()=>d("button",{className:"ticketing-footer-proceed-button brella-widget-button-primary",onClick:u,"data-testid":"ticketing-footer-proceed",disabled:!i.filteredSelectedTickets.length>0||!i.isSelectedTicketsValid,children:"Proceed"}),p=()=>d(Le,{children:[d("button",{className:"ticketing-footer-button-go-back brella-widget-link-button",onClick:c,"data-testid":"ticketing-footer-go-back",children:"Go Back"}),d("button",{className:"ticketing-footer-proceed-button brella-widget-button-primary",onClick:()=>{a.isFormValid?u():s({payload:!0,type:vr.UPDATE_SHOW_VALIDATION_ERROR})},"data-testid":"ticketing-footer-proceed",children:"Proceed"})]}),g=()=>d(Le,{children:[d("button",{className:"ticketing-footer-button-go-back brella-widget-link-button",onClick:c,"data-testid":"ticketing-footer-go-back",children:"Go Back"}),d("button",{className:"ticketing-footer-button-get-tickets brella-widget-button-primary",onClick:n,"data-testid":"ticketing-footer-checkout",children:d("span",{className:`${o&&"brella-widget-button-primary-loading"}`,children:"Get Tickets"})})]});return d("div",{className:"ticketing-footer-container",children:[l&&!i.isSelectedTicketsValid&&d("p",{className:"brella-widget-error-text summary-helper-text",children:"Only tickets of the same currency can be purchased at once."}),f()]})},q_=({closeModal:e,showModalOnly:t=!1})=>{const{error:r,propsError:n,isLoading:i,showWarningMessage:a,setShowWarningMessage:o,showErrorMessage:s,setShowErrorMessage:l,resetTickets:u}=kn(),c=fi(),{isMobile:f}=D3(),[h,p]=ue(0);Ie(()=>()=>{u()},[]);const g=()=>{c.current.next(),p(h+1)},v=()=>{c.current.prev(),p(h-1)},m=_=>{_.isTrusted&&_.stop()};return r||n?(r&&console.info(`[Brella Widget]: ${r}`),n&&console.info(`[Brella Widget]: ${n}`),d("div",{className:"brella-ticketing-error-container",children:[d("a",{className:"brella-widget-close",onClick:e}),d("div",{className:"brella-ticketing-error",children:d("div",{className:"brella-ticketing-error-content",children:[r&&d("p",{className:"brella-error-message",children:r}),n&&d("div",{children:[d("p",{className:"ticketing-secondary-text",children:`Widget code error: ${n}`}),d("a",{href:"https://help.brella.io/en/organizers/ticketing-widget-customize-the-ticketing-widget",target:"_blank",rel:"noreferrer",children:"For more information check out help center"})]}),d("p",{className:"brella-error-message-subtext ticketing-secondary-text",children:"Sorry, the page you are looking for doesn't exist."}),d("button",{className:"brella-widget-button-secondary",onClick:e,children:"Go back"})]})})]})):i?d("div",{className:"brella-ticketing-loading-container",children:[d("a",{className:"brella-widget-close",onClick:e}),d("div",{className:"brella-ticketing-loading",children:d(ia,{})})]}):d("div",{children:[d("div",{className:"ticketing-root",children:[d("div",{className:"ticketing-header",children:[d("p",{className:"ticketing-header-title",children:"Buy tickets"}),!t&&d("a",{className:"brella-widget-close",onClick:e})]}),d("div",{children:d(S3,{ref:c,viewportTag:"div",align:{camera:"0%",panel:"0%"},onMoveStart:_=>m(_),children:[d("div",{className:`ticketing-tickets-list ${f?"ticketing-slide-mobile":"ticketing-slide"}`,isActive:h===0,children:d(o$,{})},1),f?d(Le,{children:[d("div",{className:"ticketing-registration-form ticketing-slide-mobile",isActive:h===1,children:d($_,{})},3),d("div",{className:"ticketing-order-summery ticketing-slide-mobile",isActive:h===2,children:d(O3,{})},2)]}):d(Le,{children:[d("div",{className:"ticketing-order-summery ticketing-slide",isActive:h===1,children:d(O3,{})},2),d("div",{className:"ticketing-registration-form ticketing-slide",isActive:h===1,children:d($_,{})},3)]})]})}),d(C$,{nextPage:g,previousPage:v,currentStep:h})]}),a&&d(nu,{type:Pi.warning,message:"Something is still missing. Please fill all required fields",closeModal:()=>o(!1)}),s&&d(nu,{type:Pi.error,message:"Failed to purchase tickets",closeModal:()=>l(!1)})]})},w$=({closeModal:e})=>{const{event:t,ticketPurchaseDispatch:r,error:n,resetTickets:i}=kn(),a=Qf(),[o,s]=ue(!0),[l,u]=ue(!1),[c,f]=ue([]),[h,p]=ue();Ie(()=>()=>{i(!0)},[]);const g=()=>{window.history.replaceState({},"ticket_purchase_id",window.location.pathname),e()};return Ie(()=>{if(t){const v=new URLSearchParams(window.location.search);rr.getTicketPurchase({eventSlug:t.slug,ticketPurchaseId:v.get("ticket_purchase_id")}).then(m=>{if(!m.ok)return u(!0);r({payload:{preSelectedTickets:[],tickets:vR(m.data.invites)},type:jt.SET_SELECTED_TICKETS}),m.data.discountCode&&r({payload:{code:m.data.discountCode.code},type:jt.ADD_DISCOUNT_CODE}),f(m.data.invites),p(m.data.total),a("ticket:purchased",{discountCode:m.data.discountCode?m.data.discountCode.code:"",purchaseId:m.data.id,purchaser:{email:m.data.purchasersEmail,firstName:m.data.firstName,lastName:m.data.lastName},tickets:m.data.invites,total:m.data.total})}).finally(()=>{s(!1)})}},[t]),l||n?d("div",{className:"brella-ticketing-error-container",children:[d("a",{className:"brella-widget-close",onClick:()=>g()}),d("div",{className:"brella-ticketing-error",children:d("div",{className:"brella-ticketing-error-content",children:[n&&d("p",{className:"brella-error-message",children:n}),d("p",{className:"brella-error-message-subtext ticketing-secondary-text",children:"Sorry, the page you are looking for doesn't exist."}),d("button",{className:"brella-widget-button-secondary",onClick:()=>g(),children:"Go back"})]})})]}):o?d("div",{className:"brella-ticketing-loading-container",children:[d("a",{className:"brella-widget-close",onClick:()=>g()}),d("div",{className:"brella-ticketing-loading",children:d(ia,{})})]}):d("div",{className:"thank-you-modal-root",children:[d("div",{class:"ticketing-header thank-you-modal-header",children:[d("div",{children:[d("p",{className:"thank-you-modal-title",children:"Thank you for your order!"}),d("p",{className:"thank-you-modal-subtitle ticketing-secondary-text",children:"Here is your purchase information"})]}),d("a",{className:"brella-widget-close",onClick:()=>g()})]}),d("div",{className:"thank-you-modal-body",children:d(O3,{isThankYouModal:!0,totalPrice:h})}),d("div",{className:"ticket-claiming-container",children:c.map(v=>d("div",{className:"ticket-claiming-invite",children:[d("div",{className:"ticket-claiming-info",children:[d("h4",{children:v.ticket.name}),d("p",{children:`Sent to: ${v.externalEmail}`})]}),d("a",{className:"brella-widget-button-primary",href:`${mR(t)}/join/${v.fillToken}`,target:"_blank",rel:"noopener noreferrer",children:"Claim ticket"})]},v.id))})]})},E$=({showModalOnly:e=!1,...t})=>{const r=Qf(),[n,i]=ue(!1),[a,o]=ue(!1),{widgetId:s}=kn();Ie(()=>{const c=new URLSearchParams(window.location.search);c.get("widget_id")===s&&o(!!c.get("ticket_purchase_id"))},[]),Ie(()=>{n?(document.body.classList.add("brella-widget-modal-open"),r("ticket:opened",{name:"Ticketing modal open"})):document.body.classList.remove("brella-widget-modal-open")},[n]);const l=()=>{i(!1),o(!1)},u=()=>{i(!1)};return d(cy,{...t,widgetId:s,children:d("div",{children:[e?d("div",{className:"ticketing-modal",children:d(q_,{showModalOnly:!0})}):d("button",{className:"brella-widget-button-primary brella-get-tickets",onClick:()=>i(!n),children:"Get Tickets"}),a&&Xn(d("div",{className:"brella-ticketing-widget ticketing-modal-mask fade-in",children:d("div",{className:"ticketing-modal-wrap",children:d("div",{className:"ticketing-modal-content-wrap",children:d("div",{className:"ticketing-modal-content",children:d(w$,{closeModal:l})})})})}),document.body),n&&Xn(d("div",{className:"brella-ticketing-widget ticketing-modal-mask fade-in","data-testid":"ticketing-modal-open",children:d("div",{className:"ticketing-modal-wrap",children:d("div",{className:"ticketing-modal-content-wrap",children:d("div",{className:"ticketing-modal-content",children:d(q_,{closeModal:u})})})})}),document.body)]})})},No=({label:e,onClick:t,active:r,disabled:n})=>d("button",{className:`brella-pagination-button ${r?"brella-pagination-button-current":""}`,onClick:t,disabled:n,type:"button",children:e}),A3=2,j_=({current:e,total:t,pageSize:r,onChange:n})=>{const i=Math.ceil(t/r),a=f=>{f=Math.max(f,1),f=Math.min(f,i),n(f)},o=Math.min(Math.max(1,e-A3),i-A3*2),s=Math.min(o+A3*2,i),l=()=>a(e+1),u=()=>a(e-1),c=()=>{const f=Array.from({length:i},(p,g)=>g+1),h=p=>p>=o&&p<=s;return d(Le,{children:f.map(p=>h(p)?d(No,{onClick:()=>n(p),label:p,active:e===p},p):null)})};return i<2?null:d("div",{className:"brella-pagination",children:[d(No,{onClick:u,disabled:e<=1,label:"‹"}),o>1&&d(No,{onClick:()=>n(1),disabled:e<=1,label:1}),o>2&&d("span",{className:"brella-pagination-separator",children:"•••"}),c(),sn(i),label:i}),d(No,{onClick:l,disabled:e>=i,label:"›"})]})},U_=({children:e,hasNarrowItems:t})=>d("div",{className:`speaker-card-grid ${t&&"speaker-card-grid-narrow-items"}`,children:e}),T$=e=>{const[t,r]=ue(!1),[n,i]=ue(),[a,o]=ue([]),s=a.filter(u=>u.highlightPosition!==null).sort((u,c)=>u.highlightPosition>c.highlightPosition?1:-1),l=async u=>{r(!0),rr.getSpeakers({eventSlug:u}).then(c=>{if(!c.ok)return i("Join code is invalid.");o(c.data)}).finally(()=>r(!1))};return Ie(()=>{l(e)},[e]),{error:n,highlightedSpeakers:s,isLoading:t,speakers:a}},Ea=e=>d("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:d("path",{d:"M11.5781 5.53105L5.675 0.407617C5.62969 0.368555 5.57188 0.34668 5.51094 0.34668H4.12813C4.0125 0.34668 3.95938 0.49043 4.04688 0.56543L9.51875 5.31543H0.375C0.30625 5.31543 0.25 5.37168 0.25 5.44043V6.37793C0.25 6.44668 0.30625 6.50293 0.375 6.50293H9.51719L4.04531 11.2529C3.95781 11.3295 4.01094 11.4717 4.12656 11.4717H5.55625C5.58594 11.4717 5.61562 11.4607 5.6375 11.4404L11.5781 6.2873C11.6322 6.24027 11.6756 6.18217 11.7053 6.11694C11.735 6.05171 11.7504 5.98086 11.7504 5.90918C11.7504 5.8375 11.735 5.76665 11.7053 5.70142C11.6756 5.63619 11.6322 5.57809 11.5781 5.53105V5.53105Z",fill:"currentColor"})}),z_=An(),k$=({children:e,socialMediaLinks:t})=>d(z_.Provider,{value:{socialMediaLinks:t},children:e}),M3=()=>tn(z_);function x$(e){return/^(http:\/\/|https:\/\/|mailto:)/i.test(e)?e:`https://${e}`}const S$=[{icon:()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"16",viewBox:"0 0 512 512",children:d("path",{d:"M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"})}),key:"facebook"},{icon:()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"14",viewBox:"0 0 448 512",children:d("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"})}),key:"instagram"},{icon:()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"18",viewBox:"0 0 576 512",children:d("path",{d:"M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"})}),key:"youtube"},{icon:()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"14",viewBox:"0 0 448 512",children:d("path",{d:"M448 209.9a210.1 210.1 0 0 1 -122.8-39.3V349.4A162.6 162.6 0 1 1 185 188.3V278.2a74.6 74.6 0 1 0 52.2 71.2V0l88 0a121.2 121.2 0 0 0 1.9 22.2h0A122.2 122.2 0 0 0 381 102.4a121.4 121.4 0 0 0 67 20.1z"})}),key:"tiktok"},{icon:()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"14",viewBox:"0 0 448 512",children:d("path",{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"})}),key:"linkedin"},{icon:()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"16",viewBox:"0 0 512 512",children:d("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"})}),key:"x"}];function I3(e){return d("div",{className:"brella-speaker-social-media-container",children:S$.map(({key:t,icon:r})=>{const n=e[t],i=r;return n?d("a",{href:x$(n),className:`brella-speaker-social-media-${t}`,"data-testid":`brella-speaker-social-media-${t}`,target:"_blank",rel:"noopener noreferrer",onClick:a=>{a.stopPropagation()},children:d(i,{})},t):null})})}const F$=({speaker:e,onSelect:t,linkLabel:r})=>{const{socialMediaLinks:n}=M3(),i=n?n[e.id]:void 0;return d("button",{className:"brella-speaker-card brella-speaker-card-reset-button-styles",onClick:()=>t(e),"data-testid":"speaker-card",type:"button",children:[d("div",{className:"brella-speaker-card-image",children:e.photoUrl?d("img",{src:e.photoUrl,alt:`An image of ${nr(e)}`,"data-testid":"speaker-card-image"}):d("div",{className:"brella-speaker-card-placeholder-image"})}),d("div",{className:"brella-speaker-card-content",children:[d("h2",{className:"brella-speaker-card-name brella-ellipsed-text-2-rows",children:nr(e)}),e.jobTitle&&d("div",{className:"brella-speaker-card-job-titles brella-ellipsed-text-2-rows",children:e.jobTitle}),e.companyName&&d("div",{className:"brella-speaker-card-company-names brella-ellipsed-text-2-rows",children:e.companyName}),i&&d(I3,{...i}),d("span",{className:"brella-speaker-card-learnmore-link",children:[r,d(Ea,{})]})]})]})},O$=({speaker:e,onSelect:t,linkLabel:r})=>{const{socialMediaLinks:n}=M3(),i=n?n[e.id]:void 0;return d("button",{className:"brella-speaker-highlighted-card brella-speaker-card-reset-button-styles",onClick:()=>t(e),"data-testid":"highlighted-speaker-card",type:"button",children:[d("div",{className:"brella-speaker-highlighted-card-image",children:[e.photoUrl?d("img",{src:e.photoUrl,alt:`An image of ${nr(e)}`,"data-testid":"speaker-card-image"}):d("div",{className:"brella-speaker-highlighted-card-placeholder-image"}),d("div",{className:"brella-speaker-highlighted-card-image-mask "})]}),d("div",{className:"brella-speaker-highlighted-card-content",children:[d("h2",{className:"brella-speaker-card-name",children:nr(e)}),e.jobTitle&&d("div",{className:"brella-speaker-card-job-title brella-ellipsed-text-2-rows",children:[e.jobTitle,e.companyName&&","]}),e.companyName&&d("div",{className:"brella-speaker-card-company-name brella-ellipsed-text-2-rows",children:e.companyName}),i&&d(I3,{...i}),d("span",{className:"brella-speaker-card-learnmore-link",children:[r,d(Ea,{})]})]})]})},N3=()=>d("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M6.22517 4.81099C6.03657 4.62883 5.78397 4.52803 5.52177 4.53031C5.25957 4.53259 5.00876 4.63776 4.82335 4.82317C4.63794 5.00858 4.53278 5.25939 4.5305 5.52158C4.52822 5.78378 4.62901 6.03638 4.81117 6.22499L10.5862 12L4.81017 17.775C4.71466 17.8672 4.63848 17.9776 4.58607 18.0996C4.53366 18.2216 4.50607 18.3528 4.50492 18.4856C4.50377 18.6184 4.52907 18.75 4.57935 18.8729C4.62963 18.9958 4.70388 19.1075 4.79778 19.2014C4.89167 19.2953 5.00332 19.3695 5.12622 19.4198C5.24911 19.4701 5.38079 19.4954 5.51357 19.4942C5.64635 19.4931 5.77757 19.4655 5.89958 19.4131C6.02158 19.3607 6.13192 19.2845 6.22417 19.189L12.0002 13.414L17.7752 19.189C17.9638 19.3711 18.2164 19.4719 18.4786 19.4697C18.7408 19.4674 18.9916 19.3622 19.177 19.1768C19.3624 18.9914 19.4676 18.7406 19.4698 18.4784C19.4721 18.2162 19.3713 17.9636 19.1892 17.775L13.4142 12L19.1892 6.22499C19.3713 6.03638 19.4721 5.78378 19.4698 5.52158C19.4676 5.25939 19.3624 5.00858 19.177 4.82317C18.9916 4.63776 18.7408 4.53259 18.4786 4.53031C18.2164 4.52803 17.9638 4.62883 17.7752 4.81099L12.0002 10.586L6.22517 4.80999V4.81099Z",fill:"currentColor"})}),Ta=({children:e,visible:t,onClose:r,title:n,className:i,closeButton:a,closable:o=!0,width:s})=>{const l=bt();if(!t)return null;const u=c=>{l.current===c.target&&r&&r()};return Xn(d("div",{className:`brella-modal ${i}`,"data-testid":"modal-container",children:d("div",{className:"brella-modal-wrap",onClick:u,ref:l,children:d("div",{className:"brella-modal-content-wrap",style:{width:s},children:[n&&d("header",{class:"brella-modal-header",children:n}),o&&d("button",{className:"brella-modal-close-button",onClick:r,"data-testid":"modal-close-button",type:"button",children:a||d(N3,{})}),d("div",{className:"brella-modal-content",children:e})]})})}),document.body)},P$=({assignment:e,timeZone:t})=>{const{startTime:r,endTime:n}=e.timeslot,i=r?pr(new Date(r),t):null,a=n?pr(new Date(n),t):null,o=[i&&$n(i,"do MMM yyyy"),i&&`${$n(i,"h:mm")}-${$n(a,"h:mm")}`,kN(a,i,{addSuffix:!1})];e.timeslot.location&&o.push(e.timeslot.location);const s=e.timeslot.tags||[],l=e.timeslot.locations||[],u=l.length>0?l[0].color:void 0;return d("div",{className:"brella-speaker-modal-assignment",children:[d("span",{className:"brella-speaker-modal-assignment-border",style:{backgroundColor:u}}),d("div",{className:"brella-speaker-modal-assignment-info",children:o.join(" ∙ ")}),d("h2",{className:"brella-speaker-modal-assignment-title brella-widget-speaker-title-2",children:e.timeslot.title}),d("div",{className:"brella-speaker-modal-assignment-subtitle",children:e.timeslot.subtitle}),d("div",{className:"brella-speaker-modal-tag-container",children:s.map(c=>d("span",{className:"brella-speaker-modal-tag",children:c.name},c.id))})]})},D$=({speaker:e})=>{const{socialMediaLinks:t}=M3(),r=nr(e),n=[];e.jobTitle&&n.push(e.jobTitle),e.companyName&&n.push(e.companyName);const i=a=>{if(!a||a.blocks.length===0||a.blocks.length===1&&a.blocks[0].text==="")return null;const o={__html:Dl(a)};return d("div",{className:"brella-speaker-profile-bio-container",children:[d("h2",{className:"brella-widget-speaker-title-2",children:"Introduction"}),d("div",{className:"brella-speaker-profile-bio brella-wysiwyg-content",dangerouslySetInnerHTML:o})]})};return d("div",{children:[d("div",{className:"brella-speaker-profile-header",children:[d("div",{className:"brella-speaker-profile-avatar",children:e.photoUrl&&d("img",{src:e.photoUrl,alt:`Avatar for ${r}`})}),d("div",{className:"brella-speaker-profile-info",children:[d("div",{className:"brella-widget-speaker-title-2",children:r}),d("div",{className:"brella-speaker-profile-company-info",children:n.join(" ∙ ")}),t&&t[e.id]&&d(I3,{...t[e.id]})]})]}),i(e.bio)]})},A$=is(Xo(xr(["timeslot","startTime"]))),M$=({visible:e,speaker:t,onClose:r,timeZone:n})=>{if(!t)return null;const i=A$(t.speakerAssignments||[]);return d(Ta,{visible:e,onClose:r,title:"Speaker Profile",className:"brella-speaker-modal",children:d("div",{className:"brella-speaker-modal-columns",children:[d(D$,{speaker:t}),d("div",{className:"brella-speaker-modal-assignment-container",children:i.map(a=>d(P$,{assignment:a,timeZone:n},a.id))})]})})},I$=()=>d("svg",{className:"brella-icon-search",width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M13.7812 13.6289L10.1172 9.96484C10.9102 9.00781 11.3477 7.77734 11.3477 6.4375C11.3477 3.32031 8.77734 0.75 5.66016 0.75C2.51562 0.75 0 3.32031 0 6.4375C0 9.58203 2.54297 12.125 5.66016 12.125C6.97266 12.125 8.20312 11.6875 9.1875 10.8945L12.8516 14.5586C12.9883 14.6953 13.1523 14.75 13.3438 14.75C13.5078 14.75 13.6719 14.6953 13.7812 14.5586C14.0547 14.3125 14.0547 13.9023 13.7812 13.6289ZM1.3125 6.4375C1.3125 4.03125 3.25391 2.0625 5.6875 2.0625C8.09375 2.0625 10.0625 4.03125 10.0625 6.4375C10.0625 8.87109 8.09375 10.8125 5.6875 10.8125C3.25391 10.8125 1.3125 8.87109 1.3125 6.4375Z",fill:"currentColor"})}),N$=({value:e,onChange:t})=>d("div",{className:"brella-speaker-search",children:[d(I$,{}),d("input",{"data-testid":"search-input",type:"search",className:"brella-speaker-search-input",placeholder:"Search by name, title, company, session...",value:e,onChange:n=>{t(n.target.value)}})]}),R$=()=>d("svg",{viewBox:"0 0 402 284",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("g",{"clip-path":"url(#clip0_199_8984)",children:[d("path",{d:"M158.079 177.663C158.203 176.821 158.141 175.962 157.897 175.146C157.653 174.331 157.233 173.579 156.667 172.944C156.101 172.308 155.402 171.805 154.621 171.468C153.839 171.132 152.993 170.971 152.142 170.997L114.858 133.299L107.492 143.596L146.458 177.414C146.596 178.84 147.253 180.166 148.303 181.14C149.354 182.114 150.725 182.669 152.158 182.7C153.59 182.731 154.984 182.235 156.076 181.307C157.167 180.378 157.88 179.082 158.079 177.663Z",fill:"#FFB8B8"}),d("path",{d:"M140.418 155.895L130.901 165.401C130.445 165.853 129.83 166.108 129.188 166.111C128.545 166.113 127.928 165.863 127.468 165.414L101.464 139.849C100.565 138.965 99.8504 137.911 99.361 136.749C98.8717 135.587 98.6175 134.34 98.6133 133.079C98.6091 131.818 98.8549 130.569 99.3365 129.404C99.8181 128.238 100.526 127.18 101.419 126.29C102.312 125.4 103.373 124.696 104.54 124.219C105.707 123.741 106.957 123.5 108.218 123.509C109.479 123.517 110.725 123.776 111.885 124.269C113.046 124.763 114.097 125.481 114.978 126.383L140.439 152.466C140.886 152.926 141.133 153.544 141.129 154.185C141.125 154.826 140.87 155.44 140.418 155.895Z",fill:"currentColor"}),d("path",{d:"M107.042 109.235C114.392 109.235 120.351 103.276 120.351 95.9256C120.351 88.575 114.392 82.6162 107.042 82.6162C99.6913 82.6162 93.7324 88.575 93.7324 95.9256C93.7324 103.276 99.6913 109.235 107.042 109.235Z",fill:"#FFB8B8"}),d("path",{d:"M62.0703 255.418L65.4403 261.143L89.1275 250.869L84.1535 242.419L62.0703 255.418Z",fill:"#FFB8B8"}),d("path",{d:"M63.0792 252.857L69.7159 264.132L69.7162 264.133C70.2716 265.076 70.6357 266.12 70.7877 267.204C70.9397 268.289 70.8767 269.392 70.6022 270.452C70.3276 271.512 69.847 272.508 69.1878 273.382C68.5285 274.256 67.7035 274.992 66.7599 275.547L66.5264 275.685L55.6602 257.224L63.0792 252.857Z",fill:"#2F2E41"}),d("path",{d:"M101.116 276.043H107.76L110.92 250.418L101.115 250.419L101.116 276.043Z",fill:"#FFB8B8"}),d("path",{d:"M99.4219 273.875L112.505 273.874H112.506C113.601 273.874 114.685 274.09 115.696 274.509C116.708 274.928 117.627 275.542 118.401 276.316C119.176 277.09 119.79 278.009 120.209 279.021C120.628 280.033 120.844 281.117 120.844 282.212V282.483L99.4223 282.483L99.4219 273.875Z",fill:"#2F2E41"}),d("path",{d:"M74.4084 260.518C74.0261 260.519 73.649 260.429 73.3079 260.256C72.9667 260.084 72.671 259.833 72.4446 259.525L66.0374 250.823C65.8419 250.558 65.7023 250.255 65.627 249.934C65.5517 249.613 65.5422 249.281 65.5992 248.956C65.6561 248.631 65.7783 248.321 65.9584 248.045C66.1385 247.769 66.3726 247.532 66.6468 247.349L95.1579 228.306L77.9547 183.072L114.743 186.108L115.982 224.98C116.099 228.52 115.25 232.025 113.528 235.12C111.805 238.215 109.274 240.783 106.204 242.55L75.6267 260.191C75.2565 260.405 74.8363 260.518 74.4084 260.518Z",fill:"#2F2E41"}),d("path",{d:"M101.318 270.841C100.687 270.84 100.081 270.594 99.6273 270.156C99.1737 269.717 98.9078 269.12 98.8853 268.49L97.5371 230.621L114.232 229.742L112.903 267.882C112.883 268.486 112.639 269.062 112.218 269.496C111.798 269.93 111.23 270.192 110.627 270.23L101.484 270.836C101.428 270.84 101.373 270.841 101.318 270.841Z",fill:"#2F2E41"}),d("path",{d:"M119.001 193.628C114.754 193.628 99.9176 188.851 94.7671 187.148C93.9966 187.764 89.7638 190.929 84.8228 190.351C81.7742 189.993 79.0902 188.267 76.8457 185.221C71.889 178.494 78.0111 149.645 84.0198 126.629C85.2244 121.976 88.1858 117.972 92.2814 115.458C96.3771 112.944 101.288 112.115 105.982 113.147C109.384 113.898 112.509 115.583 115.006 118.012C117.504 120.441 119.274 123.519 120.119 126.899C121.25 131.504 120.277 136.921 119.566 140.876C119.232 142.736 118.968 144.205 119.058 144.927C119.407 147.717 121.344 191.471 120.099 193.339C119.966 193.538 119.582 193.628 119.001 193.628Z",fill:"currentColor"}),d("path",{d:"M103.461 193.706C104.143 193.197 104.706 192.546 105.11 191.796C105.513 191.047 105.748 190.218 105.796 189.369C105.845 188.519 105.707 187.669 105.391 186.879C105.076 186.088 104.591 185.377 103.971 184.794L104.234 131.773L91.7461 133.853L95.4143 185.316C94.5043 186.423 94.0319 187.825 94.0866 189.257C94.1414 190.689 94.7194 192.051 95.7112 193.085C96.703 194.119 98.0397 194.753 99.468 194.868C100.896 194.982 102.317 194.569 103.461 193.706Z",fill:"#FFB8B8"}),d("path",{d:"M106.351 165.823H92.9C92.2577 165.821 91.6419 165.567 91.1856 165.115C90.7293 164.663 90.4692 164.049 90.4615 163.407L90.1313 126.942C90.1198 125.681 90.3584 124.431 90.8334 123.262C91.3083 122.094 92.0101 121.032 92.8982 120.137C93.7864 119.242 94.8431 118.532 96.0074 118.047C97.1717 117.563 98.4205 117.315 99.6814 117.316C100.942 117.318 102.191 117.569 103.354 118.056C104.517 118.543 105.572 119.256 106.458 120.153C107.344 121.051 108.043 122.115 108.515 123.284C108.987 124.453 109.223 125.705 109.208 126.965L108.789 163.413C108.78 164.054 108.519 164.666 108.063 165.117C107.607 165.567 106.992 165.821 106.351 165.823Z",fill:"currentColor"}),d("path",{d:"M103.653 109.18C97.5594 109.191 91.8106 104.374 90.7546 98.3726C90.3765 96.0149 90.547 93.6018 91.2527 91.3206C92.019 88.7238 93.3331 86.3214 95.1064 84.2754C96.8798 82.2294 99.0711 80.5874 101.533 79.46C103.994 78.3327 106.669 77.7462 109.377 77.74C112.084 77.7339 114.762 78.3084 117.228 79.4246C118.859 80.1623 120.464 81.2217 121.211 82.8479C121.957 84.4741 121.49 86.747 119.857 87.4787C118.79 87.9569 117.451 87.7221 116.504 88.4085C115.145 89.3944 115.495 91.4925 116.102 93.0585C116.709 94.6245 117.396 96.5195 116.378 97.8555C115.429 99.1005 113.534 99.0618 112.04 98.5932C110.547 98.1247 109.073 97.34 107.516 97.4996C105.246 97.7324 103.614 99.9911 103.312 102.254C103.01 104.516 103.721 106.778 104.423 108.95L103.653 109.18Z",fill:"#2F2E41"}),d("path",{d:"M270.197 122.763C270.197 86.3668 299.702 0 336.099 0C372.495 0 402 86.3668 402 122.763C402 140.241 395.057 157.004 382.698 169.362C370.339 181.721 353.577 188.665 336.099 188.665C318.621 188.665 301.858 181.721 289.499 169.362C277.14 157.004 270.197 140.241 270.197 122.763Z",fill:"currentColor"}),d("path",{d:"M336.099 283.094C335.955 283.094 335.817 283.037 335.715 282.935C335.614 282.833 335.557 282.696 335.557 282.552V55.3454C335.557 55.2016 335.614 55.0638 335.715 54.9622C335.817 54.8606 335.955 54.8035 336.099 54.8035C336.242 54.8035 336.38 54.8606 336.482 54.9622C336.583 55.0638 336.64 55.2016 336.64 55.3454V282.552C336.64 282.696 336.583 282.833 336.482 282.935C336.38 283.037 336.242 283.094 336.099 283.094Z",fill:"#3F3D56"}),d("path",{d:"M336.098 99.2094C336.027 99.2094 335.956 99.1955 335.89 99.1682C335.825 99.141 335.765 99.101 335.715 99.0506L309.631 72.967C309.53 72.8652 309.474 72.7277 309.475 72.5846C309.475 72.4414 309.532 72.3043 309.633 72.2031C309.735 72.1019 309.872 72.0449 310.015 72.0444C310.158 72.044 310.295 72.1002 310.397 72.2008L336.481 98.2843C336.557 98.3601 336.608 98.4566 336.629 98.5618C336.65 98.6669 336.639 98.7758 336.598 98.8748C336.557 98.9738 336.488 99.0584 336.399 99.118C336.31 99.1775 336.205 99.2093 336.098 99.2093V99.2094Z",fill:"#3F3D56"}),d("path",{d:"M336.099 144.365C335.991 144.365 335.887 144.333 335.797 144.274C335.708 144.214 335.639 144.13 335.598 144.031C335.557 143.932 335.546 143.823 335.567 143.718C335.588 143.613 335.64 143.516 335.715 143.44L379.397 99.7582C379.499 99.6577 379.636 99.6016 379.78 99.6021C379.923 99.6025 380.06 99.6596 380.161 99.7607C380.262 99.8619 380.319 99.999 380.32 100.142C380.32 100.285 380.264 100.423 380.164 100.524L336.482 144.206C336.431 144.257 336.372 144.297 336.306 144.324C336.24 144.351 336.17 144.365 336.099 144.365Z",fill:"#3F3D56"}),d("path",{d:"M153.722 177.354C162.368 175.4 172.163 182.163 172.467 191.242C172.552 193.795 171.804 196.477 169.839 198.214C168.216 199.648 165.802 200.372 163.705 199.671C159.67 198.322 159.454 192.698 161.619 189.695C164.55 185.628 170.357 184.934 174.965 185.417C180.599 186.009 185.953 188.479 190.446 191.865C199.441 198.642 205.168 209.031 209.804 219.067C214.55 229.363 218.001 240.208 220.078 251.353C220.339 252.752 220.579 254.156 220.796 255.563C220.858 255.77 220.998 255.943 221.187 256.047C221.375 256.15 221.597 256.175 221.804 256.117C222.008 256.052 222.179 255.911 222.282 255.723C222.385 255.536 222.412 255.316 222.358 255.109C220.46 242.947 216.955 231.091 211.935 219.852C207.081 208.975 200.961 197.693 191.226 190.434C186.374 186.815 180.643 184.297 174.578 183.759C169.473 183.305 163.427 184.385 160.252 188.826C157.747 192.329 158.001 198.151 161.877 200.591C164.008 201.932 166.715 201.775 168.928 200.732C170.102 200.153 171.136 199.325 171.958 198.305C172.78 197.286 173.371 196.101 173.689 194.83C175.065 189.788 172.975 184.334 169.393 180.73C166.03 177.338 161.461 175.416 156.684 175.386C155.534 175.398 154.389 175.535 153.268 175.793C152.247 176.024 152.703 177.585 153.722 177.354V177.354Z",fill:"#CCCCCC"}),d("path",{d:"M195.418 277.204L190.045 268.031L196.67 264.151L202.043 273.324V273.324C202.557 274.203 202.702 275.25 202.444 276.235C202.187 277.22 201.549 278.062 200.67 278.577C199.792 279.091 198.745 279.236 197.76 278.978C196.775 278.721 195.932 278.083 195.418 277.204Z",fill:"currentColor"}),d("path",{d:"M177.652 258.137C180.262 258.137 182.377 256.022 182.377 253.413C182.377 250.803 180.262 248.688 177.652 248.688C175.043 248.688 172.928 250.803 172.928 253.413C172.928 256.022 175.043 258.137 177.652 258.137Z",fill:"currentColor"}),d("path",{d:"M216.205 277.204L210.832 268.031L217.457 264.151L222.83 273.324C223.343 274.202 223.487 275.249 223.229 276.233C222.971 277.217 222.333 278.059 221.456 278.573C220.578 279.087 219.531 279.232 218.547 278.975C217.562 278.719 216.72 278.082 216.205 277.204Z",fill:"currentColor"}),d("path",{d:"M178.551 262.931C178.554 260.269 179.613 257.717 181.495 255.835C183.377 253.953 185.929 252.894 188.591 252.891H220.373C221.498 252.892 222.577 253.34 223.373 254.136C224.168 254.931 224.616 256.01 224.617 257.135V260.751C224.613 263.991 223.325 267.097 221.034 269.388C218.743 271.679 215.637 272.968 212.397 272.971H188.591C185.929 272.968 183.377 271.909 181.495 270.027C179.613 268.145 178.554 265.593 178.551 262.931Z",fill:"#3F3D56"}),d("path",{d:"M185.879 278.387V267.757H193.557V278.387C193.557 279.406 193.152 280.382 192.432 281.102C191.712 281.822 190.736 282.226 189.718 282.226C188.7 282.226 187.723 281.822 187.003 281.102C186.283 280.382 185.879 279.406 185.879 278.387Z",fill:"#3F3D56"}),d("path",{d:"M208.158 278.387V267.757H215.836V278.387C215.837 278.892 215.738 279.392 215.545 279.858C215.352 280.324 215.07 280.748 214.713 281.105C214.357 281.462 213.933 281.745 213.467 281.938C213.001 282.131 212.502 282.231 211.997 282.231C211.493 282.231 210.993 282.131 210.527 281.938C210.061 281.745 209.637 281.462 209.281 281.105C208.924 280.748 208.642 280.324 208.449 279.858C208.256 279.392 208.158 278.892 208.158 278.387Z",fill:"#3F3D56"}),d("path",{d:"M239.395 236.328C240.181 235.354 241.321 234.731 242.565 234.597C243.809 234.462 245.056 234.826 246.032 235.61C247.007 236.394 247.632 237.532 247.769 238.776C247.906 240.02 247.544 241.268 246.763 242.245L238.996 251.915L231.629 245.998L239.395 236.328Z",fill:"currentColor"}),d("path",{d:"M220.689 255.377L226.91 247.63C228.423 245.751 230.62 244.548 233.018 244.287C235.416 244.025 237.82 244.725 239.703 246.233L241.647 247.795C243.888 249.598 245.321 252.217 245.634 255.077C245.946 257.936 245.111 260.803 243.312 263.048L238.186 269.43C237.62 270.134 236.797 270.584 235.9 270.682C235.002 270.78 234.101 270.518 233.397 269.953L221.211 260.166C220.508 259.6 220.058 258.778 219.96 257.88C219.862 256.982 220.124 256.082 220.689 255.377Z",fill:"#3F3D56"}),d("path",{d:"M240.32 235.177C240.587 234.844 240.917 234.567 241.291 234.362C241.665 234.157 242.076 234.028 242.5 233.982C242.924 233.935 243.353 233.973 243.762 234.092C244.172 234.212 244.554 234.411 244.886 234.678C245.219 234.945 245.496 235.275 245.701 235.649C245.906 236.023 246.035 236.434 246.081 236.858C246.128 237.282 246.09 237.711 245.97 238.121C245.851 238.53 245.652 238.912 245.385 239.245L236.694 250.066L231.629 245.998L240.32 235.177Z",fill:"#3F3D56"}),d("path",{d:"M227.87 253.264L241.224 263.989C242.197 264.775 242.819 265.915 242.953 267.159C243.087 268.402 242.723 269.649 241.939 270.624C241.156 271.599 240.018 272.224 238.775 272.361C237.531 272.499 236.284 272.138 235.307 271.357L221.953 260.632L227.87 253.264Z",fill:"#3F3D56"}),d("path",{d:"M242.52 270.981C243.209 270.123 243.381 269.117 242.905 268.734C242.428 268.351 241.482 268.736 240.793 269.595C240.104 270.453 239.931 271.459 240.408 271.842C240.885 272.225 241.83 271.84 242.52 270.981Z",fill:"currentColor"}),d("path",{d:"M374.989 282.993H0.541891C0.398173 282.993 0.26034 282.936 0.158716 282.835C0.0570916 282.733 0 282.595 0 282.452C0 282.308 0.0570916 282.17 0.158716 282.068C0.26034 281.967 0.398173 281.91 0.541891 281.91H374.989C375.133 281.91 375.27 281.967 375.372 282.068C375.474 282.17 375.531 282.308 375.531 282.452C375.531 282.595 375.474 282.733 375.372 282.835C375.27 282.936 375.133 282.993 374.989 282.993Z",fill:"#CCCCCC"})]}),d("defs",{children:d("clipPath",{id:"clip0_199_8984",children:d("rect",{width:"402",height:"283.094",fill:"white"})})})]}),L$=()=>d("div",{class:"brella-speaker-widget-no-search-hits",children:[d(R$,{}),d("h2",{className:"brella-speaker-widget-no-search-hits-title",children:"Hmm.. no results found"}),d("p",{className:"brella-speaker-widget-no-search-hits-text",children:["Your search didn’t match any speakers at this event. ","Try a different spelling or query."]})]}),B$=({text:e})=>d("div",{className:"brella-widget-speakers-disabled-feature",children:d("h2",{children:e})});function $$(){return new _b({extractField:(e,t)=>t==="timeslot"&&e.speakerAssignments?e.speakerAssignments.map(({timeslot:r})=>r.title).join(" "):e[t],fields:["firstName","lastName","companyName","jobTitle","timeslot"]})}const W_=(e,{searchTerm:t="",includeFeatured:r=!0})=>{let n=e;const i=bt($$());if(Ie(()=>{i.current.removeAll(),i.current.addAll(e)},[e]),t!==""){const o=i.current.search(t,{fuzzy:.2,prefix:!0}).map(({id:s})=>s);n=e.filter(({id:s})=>o.includes(s))}return r||(n=n.filter(({highlightPosition:a})=>a===null)),n},H$={allSpeakers:"All speakers",featuredSpeakers:"Featured Speakers",learnMore:"Learn more"},q$=({joinCode:e,hideFeaturedSpeakersFromAllSpeakers:t=!1,labels:r,paginationPageSize:n=12})=>{const[i,a]=ue(!0),[o,s]=ue(),[l,u]=ue(),[c,f]=ue(""),[h,p]=ue(null),{speakers:g,highlightedSpeakers:v,isLoading:m,error:_}=T$(e),[w,T]=ue(1),F={...H$,...r};Ie(()=>{rr.getPublicEvent({publicCode:e}).then(L=>{if(!L.ok)return s("Join code is invalid.");const{usesSpeakers:U,timeZone:D}=L.data;if(!U)return s("Please turn on the “Speakers” feature in your Admin Panel to use this widget");u(D)}).finally(()=>a(!1))},[e]);const O=W_(v,{searchTerm:c}),M=W_(g,{includeFeatured:!t,searchTerm:c}),H=M.slice((w-1)*n,(w-1)*n+n),S=M.length+O.length;return i||m?d(ia,{}):o||_?d(B$,{text:o||_}):d("div",{className:"brella-widget-speaker",children:[d("div",{className:"brella-widget-speaker-toolbar",children:d(N$,{value:c,onChange:L=>{f(L),T(1)}})}),d("div",{className:"brella-widget-speaker-card-container",children:[O.length>0&&d("div",{className:"brella-widget-highlighted-speakers",children:[d("h2",{className:"brella-widget-speaker-title-2 brella-widget-grid-title",children:F.featuredSpeakers}),d(U_,{hasNarrowItems:!0,children:O.map(L=>d(O$,{speaker:L,onSelect:p,linkLabel:F.learnMore},L.id))})]}),d("div",{className:"brella-widget-all-speakers",children:[H.length>0&&d(Le,{children:[d("h2",{className:"brella-widget-speaker-title-2 brella-widget-grid-title",children:F.allSpeakers}),d(U_,{children:H.map(L=>d(F$,{speaker:L,onSelect:p,linkLabel:F.learnMore},L.id))})]}),d(j_,{current:w,onChange:T,total:M.length,pageSize:n}),S===0&&c!==""&&d(L$,{})]})]}),d(M$,{visible:h,speaker:h,onClose:()=>p(null),timeZone:l})]})};var j$=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,U$=fp(function(e){return j$.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),z$=U$,W$=function(t){return t!=="theme"},V_=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?z$:W$},Z_=function(t,r,n){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},V$=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return yp(r,n,i),tx(function(){return _p(r,n,i)}),null},gt=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,a,o;r!==void 0&&(a=r.label,o=r.target);var s=Z_(t,r,n),l=s||V_(i),u=!l("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var h=c.length,p=1;p{const e=window.location.search,t=new URLSearchParams(e),r={};for(const[i,a]of t.entries())r[i]=a;return{params:r,remove:i=>{t.delete(i);const a=`${window.location.pathname}?${t.toString()}`;window.history.replaceState({},"",a)}}},Ni={selectedDate:"",selectedLocations:[],selectedSessionTypes:[],selectedSlotTypes:[],selectedSpeakers:[],selectedTags:[],selectedTracks:[]},G_=An({draftFilters:Ni,fetchingSchedule:!1,filters:Ni,joinCode:"",loadingSchedule:!1,meta:{},refetchSchedule:()=>{},resetDraftFilters:()=>{},resetScheduleFilters:()=>{},schedule:{},setDraftFilters:()=>{},setScheduleFilters:()=>{},widgetOptions:{}});function Y$(e){const{children:t,joinCode:r,preSelectedFilters:n}=e,{params:i}=Y_(),[a,o]=vi(G$,{error:null,filters:{...Ni,selectedDate:i.date||n?.date||"",selectedTracks:n?.track_ids||[]},loading:!0}),[s,l]=ue({...Ni,selectedDate:n?.date||"",selectedTracks:n?.track_ids||[]}),u=Br(async v=>{o({loading:!0});const{data:m,meta:_,ok:w}=await rr.getScheduleTracks({eventSlug:v,options:{params:K_(a.filters,e)}});w||o({error:"Couldn't fetch schedule data, please check the join code",loading:!1}),o({loading:!1,meta:_,schedule:m})},[a.filters]),c=v=>{o({filters:v})},f=()=>{const v=a.filters,m={...Ni};Object.keys(v).forEach(_=>{_ in Ni||(m[_]=void 0)}),c(m)};function h(v){l(m=>({...m,...v}))}function p(){l(a.filters)}Ie(()=>{u(r)},[u,r]);const g={draftFilters:s,error:a.error,filters:a.filters,joinCode:r,loadingSchedule:a.loading,meta:a.meta,refetchSchedule:u,resetDraftFilters:p,resetScheduleFilters:f,schedule:a.schedule,setDraftFilters:h,setScheduleFilters:c,widgetOptions:e};return d(G_.Provider,{value:g,children:t})}function G$(e,t){return Vu(e,t)}const ir=()=>tn(G_),K$=h4(en,d4(Mn("position")));function K_(e,t){const r=e.selectedSessionTypes.length>1?"all":e.selectedSessionTypes[0],n=t.simplifiedLayoutOptions?.showAllTab?"all":"",i=Object.keys(Ni);return{custom_fields:Object.fromEntries(Object.entries(e).filter(([o])=>!i.includes(o))),date:e.selectedDate||n,location_ids:e.selectedLocations,session_type:r,speaker_ids:e.selectedSpeakers,tag_ids:e.selectedTags,track_ids:e.selectedTracks}}function X$(e,t){return!e||!e?.timeslotsForDate?{sessions:[],tracks:[]}:{sessions:e.timeslotsForDate.map(n=>({...n,channelUuid:n.track.id,since:pr(n.startTime,t),till:pr(n.endTime,t)})),tracks:e.tracks.map(n=>({...n,color:Bn(n.color),uuid:n.id}))}}function mt(e){return e==="grayscale"}function Q$({className:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 11",width:"14",height:"14",className:e,children:d("path",{d:"M8.47656 0.5C9.10547 0.5 9.625 1.01953 9.625 1.64844C9.625 1.92188 9.51562 2.19531 9.29688 2.41406L6.75391 5.14844V10.125C6.75391 10.6172 6.37109 11 5.87891 11C5.6875 11 5.52344 10.9727 5.38672 10.8633L3.30859 9.49609C3.00781 9.30469 2.84375 8.94922 2.84375 8.59375V5.14844L0.300781 2.41406C0.0820312 2.19531 0 1.92188 0 1.64844C0 1.01953 0.492188 0.5 1.12109 0.5H8.47656ZM4.12891 4.875V8.48438L5.44141 9.33203V4.875C5.44141 4.71094 5.52344 4.57422 5.63281 4.4375L8.06641 1.8125H1.53125L3.96484 4.4375C4.07422 4.57422 4.12891 4.71094 4.12891 4.875ZM13.3438 9.46875C13.6992 9.46875 14 9.76953 14 10.125C14 10.5078 13.6992 10.7812 13.3438 10.7812H9.40625C9.02344 10.7812 8.75 10.5078 8.75 10.125C8.75 9.76953 9.02344 9.46875 9.40625 9.46875H13.3438ZM8.75 5.75C8.75 5.39453 9.02344 5.09375 9.40625 5.09375H13.3438C13.6992 5.09375 14 5.39453 14 5.75C14 6.13281 13.6992 6.40625 13.3438 6.40625H9.40625C9.02344 6.40625 8.75 6.13281 8.75 5.75ZM13.3438 0.71875C13.6992 0.71875 14 1.01953 14 1.375C14 1.75781 13.6992 2.03125 13.3438 2.03125H11.1562C10.7734 2.03125 10.5 1.75781 10.5 1.375C10.5 1.01953 10.7734 0.71875 11.1562 0.71875H13.3438Z",fill:"currentColor"})})}function J$({className:e}){return d("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:d("path",{d:"M14.75 1.21875C15.0625 1.53125 15.0625 2 14.75 2.28125L6.5 10.5312C6.21875 10.8438 5.75 10.8438 5.46875 10.5312L1.21875 6.28125C0.90625 6 0.90625 5.53125 1.21875 5.21875C1.5 4.9375 1.96875 4.9375 2.25 5.21875L6 8.96875L13.7188 1.21875C14 0.9375 14.4688 0.9375 14.75 1.21875Z",fill:"currentColor"})})}function eH({className:e}){return d("svg",{width:"12",height:"16",viewBox:"0 0 12 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:d("path",{d:"M0 2C0 0.90625 0.875 0 2 0H10C11.0938 0 12 0.90625 12 2V10C12 11.125 11.0938 12 10 12H8V14C8 15.125 7.09375 16 6 16C4.875 16 4 15.125 4 14V12H2C0.875 12 0 11.125 0 10V2ZM10.5 9V2C10.5 1.75 10.25 1.5 10 1.5H7V3.5C7 3.78125 6.75 4 6.5 4C6.21875 4 6 3.78125 6 3.5V1.5H4V4.5C4 4.78125 3.75 5 3.5 5C3.21875 5 3 4.78125 3 4.5V1.5H2C1.71875 1.5 1.5 1.75 1.5 2V9H10.5ZM6 14.5C6.25 14.5 6.5 14.2812 6.5 14C6.5 13.75 6.25 13.5 6 13.5C5.71875 13.5 5.5 13.75 5.5 14C5.5 14.2812 5.71875 14.5 6 14.5Z",fill:"#FF4C4D"})})}function tH({toggleModal:e}){const{draftFilters:t,setScheduleFilters:r,resetScheduleFilters:n}=ir();return d(rH,{className:"brella-schedule-filters-footer",children:[d(nH,{className:"brella-schedule-filters-clear-button",onClick:()=>{n(),e(null)},children:[d(eH,{}),"Clear filters"]}),d(iH,{className:"brella-schedule-filters-apply-button",onClick:()=>{r(t),e(null)},children:[d(aH,{}),"Apply"]})]})}const rH=W.footer` padding: var(--brella-widget-margin-base) 0; display: flex; align-items: center; justify-content: space-between; `,X_=W.button` display: inline-flex; gap: var(--brella-widget-margin-base); align-items: center; appearance: none; padding: var(--brella-widget-margin-base) var(--brella-widget-margin-three-quarters-base); border: 0; border-radius: var(--brella-widget-border-radius-small); cursor: pointer; `,nH=W(X_)` color: var(--brella-color-error-600); background: ${({theme:e})=>e.system.background.primary}; border: 1px solid ${({theme:e})=>e.system.separator[100]}; `,iH=W(X_)` ${({theme:e})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor].button.primary.color:"var(--brella-color-white)"}; background: ${mt(e.colorTheme)?e.system.background.primary:e.accentColor?e.system.color[e.accentColor].button.primary.background:"var(--brella-color-primary-600)"}; ${mt(e.colorTheme)&&`border: 1px solid ${e.system.separator[100]};`} `:` color: ${e.accentColor?e.system.color[e.accentColor].button.primary.color:"var(--brella-color-white)"}; background: var(--brella-color-primary-600); `} `,aH=W(J$)` ${({theme:e})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor].button.primary.color:"var(--brella-color-white)"}; `:` color: ${e.accentColor?e.system.color[e.accentColor].button.primary.color:"var(--brella-color-white)"}; `} `;function oH(){const{meta:e}=ir(),t=(e.custom_field_definitions||[]).map(r=>{const n=(e.custom_field_filter_options[r.key]||[]).map(i=>({label:i,value:i}));return{dataKey:r.title.toLowerCase(),filterKey:r.key,filterType:"select",label:r.title,options:n}});return[{dataKey:"availableTracks",filterKey:"selectedTracks",label:"Track(s)"},{dataKey:"tags",filterKey:"selectedTags",label:"Tag(s)"},{dataKey:"locations",filterKey:"selectedLocations",label:"Location"},{filterKey:"selectedSessionTypes",filterType:"checkbox",label:"Session type"},{dataKey:"speakers",filterKey:"selectedSpeakers",label:"Speakers"},...t]}var R3={exports:{}};/*! choices.js v10.2.0 | © 2022 Josh Johnson | https://github.com/jshjohnson/Choices#readme */var Q_;function sH(){return Q_||(Q_=1,(function(e,t){(function(n,i){e.exports=i()})(window,function(){return(function(){var r={282:(function(o,s,l){Object.defineProperty(s,"__esModule",{value:!0}),s.clearChoices=s.activateChoices=s.filterChoices=s.addChoice=void 0;var u=l(883),c=function(g){var v=g.value,m=g.label,_=g.id,w=g.groupId,T=g.disabled,F=g.elementId,O=g.customProperties,M=g.placeholder,H=g.keyCode;return{type:u.ACTION_TYPES.ADD_CHOICE,value:v,label:m,id:_,groupId:w,disabled:T,elementId:F,customProperties:O,placeholder:M,keyCode:H}};s.addChoice=c;var f=function(g){return{type:u.ACTION_TYPES.FILTER_CHOICES,results:g}};s.filterChoices=f;var h=function(g){return g===void 0&&(g=!0),{type:u.ACTION_TYPES.ACTIVATE_CHOICES,active:g}};s.activateChoices=h;var p=function(){return{type:u.ACTION_TYPES.CLEAR_CHOICES}};s.clearChoices=p}),783:(function(o,s,l){Object.defineProperty(s,"__esModule",{value:!0}),s.addGroup=void 0;var u=l(883),c=function(f){var h=f.value,p=f.id,g=f.active,v=f.disabled;return{type:u.ACTION_TYPES.ADD_GROUP,value:h,id:p,active:g,disabled:v}};s.addGroup=c}),464:(function(o,s,l){Object.defineProperty(s,"__esModule",{value:!0}),s.highlightItem=s.removeItem=s.addItem=void 0;var u=l(883),c=function(p){var g=p.value,v=p.label,m=p.id,_=p.choiceId,w=p.groupId,T=p.customProperties,F=p.placeholder,O=p.keyCode;return{type:u.ACTION_TYPES.ADD_ITEM,value:g,label:v,id:m,choiceId:_,groupId:w,customProperties:T,placeholder:F,keyCode:O}};s.addItem=c;var f=function(p,g){return{type:u.ACTION_TYPES.REMOVE_ITEM,id:p,choiceId:g}};s.removeItem=f;var h=function(p,g){return{type:u.ACTION_TYPES.HIGHLIGHT_ITEM,id:p,highlighted:g}};s.highlightItem=h}),137:(function(o,s,l){Object.defineProperty(s,"__esModule",{value:!0}),s.setIsLoading=s.resetTo=s.clearAll=void 0;var u=l(883),c=function(){return{type:u.ACTION_TYPES.CLEAR_ALL}};s.clearAll=c;var f=function(p){return{type:u.ACTION_TYPES.RESET_TO,state:p}};s.resetTo=f;var h=function(p){return{type:u.ACTION_TYPES.SET_IS_LOADING,isLoading:p}};s.setIsLoading=h}),373:(function(o,s,l){var u=this&&this.__spreadArray||function(D,b,C){if(C||arguments.length===2)for(var k=0,P=b.length,A;k=0?this._store.getGroupById(A):null;return this._store.dispatch((0,v.highlightItem)(k,!0)),C&&this.passedElement.triggerEvent(w.EVENTS.highlightItem,{id:k,value:q,label:K,groupValue:X&&X.value?X.value:null}),this},D.prototype.unhighlightItem=function(b){if(!b||!b.id)return this;var C=b.id,k=b.groupId,P=k===void 0?-1:k,A=b.value,I=A===void 0?"":A,q=b.label,B=q===void 0?"":q,K=P>=0?this._store.getGroupById(P):null;return this._store.dispatch((0,v.highlightItem)(C,!1)),this.passedElement.triggerEvent(w.EVENTS.highlightItem,{id:C,value:I,label:B,groupValue:K&&K.value?K.value:null}),this},D.prototype.highlightAll=function(){var b=this;return this._store.items.forEach(function(C){return b.highlightItem(C)}),this},D.prototype.unhighlightAll=function(){var b=this;return this._store.items.forEach(function(C){return b.unhighlightItem(C)}),this},D.prototype.removeActiveItemsByValue=function(b){var C=this;return this._store.activeItems.filter(function(k){return k.value===b}).forEach(function(k){return C._removeItem(k)}),this},D.prototype.removeActiveItems=function(b){var C=this;return this._store.activeItems.filter(function(k){var P=k.id;return P!==b}).forEach(function(k){return C._removeItem(k)}),this},D.prototype.removeHighlightedItems=function(b){var C=this;return b===void 0&&(b=!1),this._store.highlightedActiveItems.forEach(function(k){C._removeItem(k),b&&C._triggerChange(k.value)}),this},D.prototype.showDropdown=function(b){var C=this;return this.dropdown.isActive?this:(requestAnimationFrame(function(){C.dropdown.show(),C.containerOuter.open(C.dropdown.distanceFromTopWindow),!b&&C._canSearch&&C.input.focus(),C.passedElement.triggerEvent(w.EVENTS.showDropdown,{})}),this)},D.prototype.hideDropdown=function(b){var C=this;return this.dropdown.isActive?(requestAnimationFrame(function(){C.dropdown.hide(),C.containerOuter.close(),!b&&C._canSearch&&(C.input.removeActiveDescendant(),C.input.blur()),C.passedElement.triggerEvent(w.EVENTS.hideDropdown,{})}),this):this},D.prototype.getValue=function(b){b===void 0&&(b=!1);var C=this._store.activeItems.reduce(function(k,P){var A=b?P.value:P;return k.push(A),k},[]);return this._isSelectOneElement?C[0]:C},D.prototype.setValue=function(b){var C=this;return this.initialised?(b.forEach(function(k){return C._setChoiceOrItem(k)}),this):this},D.prototype.setChoiceByValue=function(b){var C=this;if(!this.initialised||this._isTextElement)return this;var k=Array.isArray(b)?b:[b];return k.forEach(function(P){return C._findAndSelectChoiceByValue(P)}),this},D.prototype.setChoices=function(b,C,k,P){var A=this;if(b===void 0&&(b=[]),C===void 0&&(C="value"),k===void 0&&(k="label"),P===void 0&&(P=!1),!this.initialised)throw new ReferenceError("setChoices was called on a non-initialized instance of Choices");if(!this._isSelectElement)throw new TypeError("setChoices can't be used with INPUT based Choices");if(typeof C!="string"||!C)throw new TypeError("value parameter must be a name of 'value' field in passed objects");if(P&&this.clearChoices(),typeof b=="function"){var I=b(this);if(typeof Promise=="function"&&I instanceof Promise)return new Promise(function(q){return requestAnimationFrame(q)}).then(function(){return A._handleLoadingState(!0)}).then(function(){return I}).then(function(q){return A.setChoices(q,C,k,P)}).catch(function(q){A.config.silent||console.error(q)}).then(function(){return A._handleLoadingState(!1)}).then(function(){return A});if(!Array.isArray(I))throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof I));return this.setChoices(I,C,k,!1)}if(!Array.isArray(b))throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");return this.containerOuter.removeLoadingState(),this._startLoading(),b.forEach(function(q){if(q.choices)A._addGroup({id:q.id?parseInt("".concat(q.id),10):null,group:q,valueKey:C,labelKey:k});else{var B=q;A._addChoice({value:B[C],label:B[k],isSelected:!!B.selected,isDisabled:!!B.disabled,placeholder:!!B.placeholder,customProperties:B.customProperties})}}),this._stopLoading(),this},D.prototype.clearChoices=function(){return this._store.dispatch((0,p.clearChoices)()),this},D.prototype.clearStore=function(){return this._store.dispatch((0,m.clearAll)()),this},D.prototype.clearInput=function(){var b=!this._isSelectOneElement;return this.input.clear(b),!this._isTextElement&&this._canSearch&&(this._isSearching=!1,this._store.dispatch((0,p.activateChoices)(!0))),this},D.prototype._render=function(){if(!this._store.isLoading()){this._currentState=this._store.state;var b=this._currentState.choices!==this._prevState.choices||this._currentState.groups!==this._prevState.groups||this._currentState.items!==this._prevState.items,C=this._isSelectElement,k=this._currentState.items!==this._prevState.items;b&&(C&&this._renderChoices(),k&&this._renderItems(),this._prevState=this._currentState)}},D.prototype._renderChoices=function(){var b=this,C=this._store,k=C.activeGroups,P=C.activeChoices,A=document.createDocumentFragment();if(this.choiceList.clear(),this.config.resetScrollPosition&&requestAnimationFrame(function(){return b.choiceList.scrollToTop()}),k.length>=1&&!this._isSearching){var I=P.filter(function(re){return re.placeholder===!0&&re.groupId===-1});I.length>=1&&(A=this._createChoicesFragment(I,A)),A=this._createGroupsFragment(k,P,A)}else P.length>=1&&(A=this._createChoicesFragment(P,A));if(A.childNodes&&A.childNodes.length>0){var q=this._store.activeItems,B=this._canAddItem(q,this.input.value);if(B.response)this.choiceList.append(A),this._highlightChoice();else{var K=this._getTemplate("notice",B.notice);this.choiceList.append(K)}}else{var X=void 0,K=void 0;this._isSearching?(K=typeof this.config.noResultsText=="function"?this.config.noResultsText():this.config.noResultsText,X=this._getTemplate("notice",K,"no-results")):(K=typeof this.config.noChoicesText=="function"?this.config.noChoicesText():this.config.noChoicesText,X=this._getTemplate("notice",K,"no-choices")),this.choiceList.append(X)}},D.prototype._renderItems=function(){var b=this._store.activeItems||[];this.itemList.clear();var C=this._createItemsFragment(b);C.childNodes&&this.itemList.append(C)},D.prototype._createGroupsFragment=function(b,C,k){var P=this;k===void 0&&(k=document.createDocumentFragment());var A=function(I){return C.filter(function(q){return P._isSelectOneElement?q.groupId===I.id:q.groupId===I.id&&(P.config.renderSelectedChoices==="always"||!q.selected)})};return this.config.shouldSort&&b.sort(this.config.sorter),b.forEach(function(I){var q=A(I);if(q.length>=1){var B=P._getTemplate("choiceGroup",I);k.appendChild(B),P._createChoicesFragment(q,k,!0)}}),k},D.prototype._createChoicesFragment=function(b,C,k){var P=this;C===void 0&&(C=document.createDocumentFragment()),k===void 0&&(k=!1);var A=this.config,I=A.renderSelectedChoices,q=A.searchResultLimit,B=A.renderChoiceLimit,K=this._isSearching?F.sortByScore:this.config.sorter,X=function(Fe){var we=I==="auto"?P._isSelectOneElement||!Fe.selected:!0;if(we){var $e=P._getTemplate("choice",Fe,P.config.itemSelectText);C.appendChild($e)}},re=b;I==="auto"&&!this._isSelectOneElement&&(re=b.filter(function(Fe){return!Fe.selected}));var ve=re.reduce(function(Fe,we){return we.placeholder?Fe.placeholderChoices.push(we):Fe.normalChoices.push(we),Fe},{placeholderChoices:[],normalChoices:[]}),be=ve.placeholderChoices,Ee=ve.normalChoices;(this.config.shouldSort||this._isSearching)&&Ee.sort(K);var Ce=re.length,se=this._isSelectOneElement?u(u([],be,!0),Ee,!0):Ee;this._isSearching?Ce=q:B&&B>0&&!k&&(Ce=B);for(var ce=0;ce=P){var q=A?this._searchChoices(b):0;this.passedElement.triggerEvent(w.EVENTS.search,{value:b,resultCount:q})}else I&&(this._isSearching=!1,this._store.dispatch((0,p.activateChoices)(!0)))}},D.prototype._canAddItem=function(b,C){var k=!0,P=typeof this.config.addItemText=="function"?this.config.addItemText(C):this.config.addItemText;if(!this._isSelectOneElement){var A=(0,F.existsInArray)(b,C);this.config.maxItemCount>0&&this.config.maxItemCount<=b.length&&(k=!1,P=typeof this.config.maxItemText=="function"?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),!this.config.duplicateItemsAllowed&&A&&k&&(k=!1,P=typeof this.config.uniqueItemText=="function"?this.config.uniqueItemText(C):this.config.uniqueItemText),this._isTextElement&&this.config.addItems&&k&&typeof this.config.addItemFilter=="function"&&!this.config.addItemFilter(C)&&(k=!1,P=typeof this.config.customAddItemText=="function"?this.config.customAddItemText(C):this.config.customAddItemText)}return{response:k,notice:P}},D.prototype._searchChoices=function(b){var C=typeof b=="string"?b.trim():b,k=typeof this._currentValue=="string"?this._currentValue.trim():this._currentValue;if(C.length<1&&C==="".concat(k," "))return 0;var P=this._store.searchableChoices,A=C,I=Object.assign(this.config.fuseOptions,{keys:u([],this.config.searchFields,!0),includeMatches:!0}),q=new h.default(P,I),B=q.search(A);return this._currentValue=C,this._highlightPosition=0,this._isSearching=!0,this._store.dispatch((0,p.filterChoices)(B)),B.length},D.prototype._addEventListeners=function(){var b=document.documentElement;b.addEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.addEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,!0),b.addEventListener("click",this._onClick,{passive:!0}),b.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:!0}),this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:!0})),this.input.element.addEventListener("keyup",this._onKeyUp,{passive:!0}),this.input.element.addEventListener("focus",this._onFocus,{passive:!0}),this.input.element.addEventListener("blur",this._onBlur,{passive:!0}),this.input.element.form&&this.input.element.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},D.prototype._removeEventListeners=function(){var b=document.documentElement;b.removeEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,!0),b.removeEventListener("click",this._onClick),b.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(this.containerOuter.element.removeEventListener("focus",this._onFocus),this.containerOuter.element.removeEventListener("blur",this._onBlur)),this.input.element.removeEventListener("keyup",this._onKeyUp),this.input.element.removeEventListener("focus",this._onFocus),this.input.element.removeEventListener("blur",this._onBlur),this.input.element.form&&this.input.element.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},D.prototype._onKeyDown=function(b){var C=b.keyCode,k=this._store.activeItems,P=this.input.isFocussed,A=this.dropdown.isActive,I=this.itemList.hasChildren(),q=String.fromCharCode(C),B=/[^\x00-\x1F]/.test(q),K=w.KEY_CODES.BACK_KEY,X=w.KEY_CODES.DELETE_KEY,re=w.KEY_CODES.ENTER_KEY,ve=w.KEY_CODES.A_KEY,be=w.KEY_CODES.ESC_KEY,Ee=w.KEY_CODES.UP_KEY,Ce=w.KEY_CODES.DOWN_KEY,se=w.KEY_CODES.PAGE_UP_KEY,ce=w.KEY_CODES.PAGE_DOWN_KEY;switch(!this._isTextElement&&!A&&B&&(this.showDropdown(),this.input.isFocussed||(this.input.value+=b.key.toLowerCase())),C){case ve:return this._onSelectKey(b,I);case re:return this._onEnterKey(b,k,A);case be:return this._onEscapeKey(A);case Ee:case se:case Ce:case ce:return this._onDirectionKey(b,A);case X:case K:return this._onDeleteKey(b,k,P)}},D.prototype._onKeyUp=function(b){var C=b.target,k=b.keyCode,P=this.input.value,A=this._store.activeItems,I=this._canAddItem(A,P),q=w.KEY_CODES.BACK_KEY,B=w.KEY_CODES.DELETE_KEY;if(this._isTextElement){var K=I.notice&&P;if(K){var X=this._getTemplate("notice",I.notice);this.dropdown.element.innerHTML=X.outerHTML,this.showDropdown(!0)}else this.hideDropdown(!0)}else{var re=k===q||k===B,ve=re&&C&&!C.value,be=!this._isTextElement&&this._isSearching,Ee=this._canSearch&&I.response;ve&&be?(this._isSearching=!1,this._store.dispatch((0,p.activateChoices)(!0))):Ee&&this._handleSearch(this.input.rawValue)}this._canSearch=this.config.searchEnabled},D.prototype._onSelectKey=function(b,C){var k=b.ctrlKey,P=b.metaKey,A=k||P;if(A&&C){this._canSearch=!1;var I=this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement;I&&this.highlightAll()}},D.prototype._onEnterKey=function(b,C,k){var P=b.target,A=w.KEY_CODES.ENTER_KEY,I=P&&P.hasAttribute("data-button");if(this._isTextElement&&P&&P.value){var q=this.input.value,B=this._canAddItem(C,q);B.response&&(this.hideDropdown(!0),this._addItem({value:q}),this._triggerChange(q),this.clearInput())}if(I&&(this._handleButtonAction(C,P),b.preventDefault()),k){var K=this.dropdown.getChild(".".concat(this.config.classNames.highlightedState));K&&(C[0]&&(C[0].keyCode=A),this._handleChoiceAction(C,K)),b.preventDefault()}else this._isSelectOneElement&&(this.showDropdown(),b.preventDefault())},D.prototype._onEscapeKey=function(b){b&&(this.hideDropdown(!0),this.containerOuter.focus())},D.prototype._onDirectionKey=function(b,C){var k=b.keyCode,P=b.metaKey,A=w.KEY_CODES.DOWN_KEY,I=w.KEY_CODES.PAGE_UP_KEY,q=w.KEY_CODES.PAGE_DOWN_KEY;if(C||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var B=k===A||k===q?1:-1,K=P||k===q||k===I,X="[data-choice-selectable]",re=void 0;if(K)B>0?re=this.dropdown.element.querySelector("".concat(X,":last-of-type")):re=this.dropdown.element.querySelector(X);else{var ve=this.dropdown.element.querySelector(".".concat(this.config.classNames.highlightedState));ve?re=(0,F.getAdjacentEl)(ve,X,B):re=this.dropdown.element.querySelector(X)}re&&((0,F.isScrolledIntoView)(re,this.choiceList.element,B)||this.choiceList.scrollToChildElement(re,B),this._highlightChoice(re)),b.preventDefault()}},D.prototype._onDeleteKey=function(b,C,k){var P=b.target;!this._isSelectOneElement&&!P.value&&k&&(this._handleBackspace(C),b.preventDefault())},D.prototype._onTouchMove=function(){this._wasTap&&(this._wasTap=!1)},D.prototype._onTouchEnd=function(b){var C=(b||b.touches[0]).target,k=this._wasTap&&this.containerOuter.element.contains(C);if(k){var P=C===this.containerOuter.element||C===this.containerInner.element;P&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),b.stopPropagation()}this._wasTap=!0},D.prototype._onMouseDown=function(b){var C=b.target;if(C instanceof HTMLElement){if(S&&this.choiceList.element.contains(C)){var k=this.choiceList.element.firstElementChild,P=this._direction==="ltr"?b.offsetX>=k.offsetWidth:b.offsetX0;P&&this.unhighlightAll(),this.containerOuter.removeFocusState(),this.hideDropdown(!0)}},D.prototype._onFocus=function(b){var C,k=this,P=b.target,A=P&&this.containerOuter.element.contains(P);if(A){var I=(C={},C[w.TEXT_TYPE]=function(){P===k.input.element&&k.containerOuter.addFocusState()},C[w.SELECT_ONE_TYPE]=function(){k.containerOuter.addFocusState(),P===k.input.element&&k.showDropdown(!0)},C[w.SELECT_MULTIPLE_TYPE]=function(){P===k.input.element&&(k.showDropdown(!0),k.containerOuter.addFocusState())},C);I[this.passedElement.element.type]()}},D.prototype._onBlur=function(b){var C,k=this,P=b.target,A=P&&this.containerOuter.element.contains(P);if(A&&!this._isScrollingOnIe){var I=this._store.activeItems,q=I.some(function(K){return K.highlighted}),B=(C={},C[w.TEXT_TYPE]=function(){P===k.input.element&&(k.containerOuter.removeFocusState(),q&&k.unhighlightAll(),k.hideDropdown(!0))},C[w.SELECT_ONE_TYPE]=function(){k.containerOuter.removeFocusState(),(P===k.input.element||P===k.containerOuter.element&&!k._canSearch)&&k.hideDropdown(!0)},C[w.SELECT_MULTIPLE_TYPE]=function(){P===k.input.element&&(k.containerOuter.removeFocusState(),k.hideDropdown(!0),q&&k.unhighlightAll())},C);B[this.passedElement.element.type]()}else this._isScrollingOnIe=!1,this.input.element.focus()},D.prototype._onFormReset=function(){this._store.dispatch((0,m.resetTo)(this._initialState))},D.prototype._highlightChoice=function(b){var C=this;b===void 0&&(b=null);var k=Array.from(this.dropdown.element.querySelectorAll("[data-choice-selectable]"));if(k.length){var P=b,A=Array.from(this.dropdown.element.querySelectorAll(".".concat(this.config.classNames.highlightedState)));A.forEach(function(I){I.classList.remove(C.config.classNames.highlightedState),I.setAttribute("aria-selected","false")}),P?this._highlightPosition=k.indexOf(P):(k.length>this._highlightPosition?P=k[this._highlightPosition]:P=k[k.length-1],P||(P=k[0])),P.classList.add(this.config.classNames.highlightedState),P.setAttribute("aria-selected","true"),this.passedElement.triggerEvent(w.EVENTS.highlightChoice,{el:P}),this.dropdown.isActive&&(this.input.setActiveDescendant(P.id),this.containerOuter.setActiveDescendant(P.id))}},D.prototype._addItem=function(b){var C=b.value,k=b.label,P=k===void 0?null:k,A=b.choiceId,I=A===void 0?-1:A,q=b.groupId,B=q===void 0?-1:q,K=b.customProperties,X=K===void 0?{}:K,re=b.placeholder,ve=re===void 0?!1:re,be=b.keyCode,Ee=be===void 0?-1:be,Ce=typeof C=="string"?C.trim():C,se=this._store.items,ce=P||Ce,Fe=I||-1,we=B>=0?this._store.getGroupById(B):null,$e=se?se.length+1:1;this.config.prependValue&&(Ce=this.config.prependValue+Ce.toString()),this.config.appendValue&&(Ce+=this.config.appendValue.toString()),this._store.dispatch((0,v.addItem)({value:Ce,label:ce,id:$e,choiceId:Fe,groupId:B,customProperties:X,placeholder:ve,keyCode:Ee})),this._isSelectOneElement&&this.removeActiveItems($e),this.passedElement.triggerEvent(w.EVENTS.addItem,{id:$e,value:Ce,label:ce,customProperties:X,groupValue:we&&we.value?we.value:null,keyCode:Ee})},D.prototype._removeItem=function(b){var C=b.id,k=b.value,P=b.label,A=b.customProperties,I=b.choiceId,q=b.groupId,B=q&&q>=0?this._store.getGroupById(q):null;!C||!I||(this._store.dispatch((0,v.removeItem)(C,I)),this.passedElement.triggerEvent(w.EVENTS.removeItem,{id:C,value:k,label:P,customProperties:A,groupValue:B&&B.value?B.value:null}))},D.prototype._addChoice=function(b){var C=b.value,k=b.label,P=k===void 0?null:k,A=b.isSelected,I=A===void 0?!1:A,q=b.isDisabled,B=q===void 0?!1:q,K=b.groupId,X=K===void 0?-1:K,re=b.customProperties,ve=re===void 0?{}:re,be=b.placeholder,Ee=be===void 0?!1:be,Ce=b.keyCode,se=Ce===void 0?-1:Ce;if(!(typeof C>"u"||C===null)){var ce=this._store.choices,Fe=P||C,we=ce?ce.length+1:1,$e="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(we);this._store.dispatch((0,p.addChoice)({id:we,groupId:X,elementId:$e,value:C,label:Fe,disabled:B,customProperties:ve,placeholder:Ee,keyCode:se})),I&&this._addItem({value:C,label:Fe,choiceId:we,customProperties:ve,placeholder:Ee,keyCode:se})}},D.prototype._addGroup=function(b){var C=this,k=b.group,P=b.id,A=b.valueKey,I=A===void 0?"value":A,q=b.labelKey,B=q===void 0?"label":q,K=(0,F.isType)("Object",k)?k.choices:Array.from(k.getElementsByTagName("OPTION")),X=P||Math.floor(new Date().valueOf()*Math.random()),re=k.disabled?k.disabled:!1;if(K){this._store.dispatch((0,g.addGroup)({value:k.label,id:X,active:!0,disabled:re}));var ve=function(be){var Ee=be.disabled||be.parentNode&&be.parentNode.disabled;C._addChoice({value:be[I],label:(0,F.isType)("Object",be)?be[B]:be.innerHTML,isSelected:be.selected,isDisabled:Ee,groupId:X,customProperties:be.customProperties,placeholder:be.placeholder})};K.forEach(ve)}else this._store.dispatch((0,g.addGroup)({value:k.label,id:k.id,active:!1,disabled:k.disabled}))},D.prototype._getTemplate=function(b){for(var C,k=[],P=1;P0?this.element.scrollTop+w-m:h.offsetTop;requestAnimationFrame(function(){g._animateScroll(T,p)})}},f.prototype._scrollDown=function(h,p,g){var v=(g-h)/p,m=v>1?v:1;this.element.scrollTop=h+m},f.prototype._scrollUp=function(h,p,g){var v=(h-g)/p,m=v>1?v:1;this.element.scrollTop=h-m},f.prototype._animateScroll=function(h,p){var g=this,v=u.SCROLLING_SPEED,m=this.element.scrollTop,_=!1;p>0?(this._scrollDown(m,v,h),mh&&(_=!0)),_&&requestAnimationFrame(function(){g._animateScroll(h,p)})},f})();s.default=c}),730:(function(o,s,l){Object.defineProperty(s,"__esModule",{value:!0});var u=l(799),c=(function(){function f(h){var p=h.element,g=h.classNames;if(this.element=p,this.classNames=g,!(p instanceof HTMLInputElement)&&!(p instanceof HTMLSelectElement))throw new TypeError("Invalid element passed");this.isDisabled=!1}return Object.defineProperty(f.prototype,"isActive",{get:function(){return this.element.dataset.choice==="active"},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"dir",{get:function(){return this.element.dir},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"value",{get:function(){return this.element.value},set:function(h){this.element.value=h},enumerable:!1,configurable:!0}),f.prototype.conceal=function(){this.element.classList.add(this.classNames.input),this.element.hidden=!0,this.element.tabIndex=-1;var h=this.element.getAttribute("style");h&&this.element.setAttribute("data-choice-orig-style",h),this.element.setAttribute("data-choice","active")},f.prototype.reveal=function(){this.element.classList.remove(this.classNames.input),this.element.hidden=!1,this.element.removeAttribute("tabindex");var h=this.element.getAttribute("data-choice-orig-style");h?(this.element.removeAttribute("data-choice-orig-style"),this.element.setAttribute("style",h)):this.element.removeAttribute("style"),this.element.removeAttribute("data-choice"),this.element.value=this.element.value},f.prototype.enable=function(){this.element.removeAttribute("disabled"),this.element.disabled=!1,this.isDisabled=!1},f.prototype.disable=function(){this.element.setAttribute("disabled",""),this.element.disabled=!0,this.isDisabled=!0},f.prototype.triggerEvent=function(h,p){(0,u.dispatchEvent)(this.element,h,p)},f})();s.default=c}),541:(function(o,s,l){var u=this&&this.__extends||(function(){var p=function(g,v){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&(m[w]=_[w])},p(g,v)};return function(g,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");p(g,v);function m(){this.constructor=g}g.prototype=v===null?Object.create(v):(m.prototype=v.prototype,new m)}})(),c=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(s,"__esModule",{value:!0});var f=c(l(730)),h=(function(p){u(g,p);function g(v){var m=v.element,_=v.classNames,w=v.delimiter,T=p.call(this,{element:m,classNames:_})||this;return T.delimiter=w,T}return Object.defineProperty(g.prototype,"value",{get:function(){return this.element.value},set:function(v){this.element.setAttribute("value",v),this.element.value=v},enumerable:!1,configurable:!0}),g})(f.default);s.default=h}),982:(function(o,s,l){var u=this&&this.__extends||(function(){var p=function(g,v){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&(m[w]=_[w])},p(g,v)};return function(g,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");p(g,v);function m(){this.constructor=g}g.prototype=v===null?Object.create(v):(m.prototype=v.prototype,new m)}})(),c=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(s,"__esModule",{value:!0});var f=c(l(730)),h=(function(p){u(g,p);function g(v){var m=v.element,_=v.classNames,w=v.template,T=p.call(this,{element:m,classNames:_})||this;return T.template=w,T}return Object.defineProperty(g.prototype,"placeholderOption",{get:function(){return this.element.querySelector('option[value=""]')||this.element.querySelector("option[placeholder]")},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"optionGroups",{get:function(){return Array.from(this.element.getElementsByTagName("OPTGROUP"))},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"options",{get:function(){return Array.from(this.element.options)},set:function(v){var m=this,_=document.createDocumentFragment(),w=function(T){var F=m.template(T);_.appendChild(F)};v.forEach(function(T){return w(T)}),this.appendDocFragment(_)},enumerable:!1,configurable:!0}),g.prototype.appendDocFragment=function(v){this.element.innerHTML="",this.element.appendChild(v)},g})(f.default);s.default=h}),883:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0}),s.SCROLLING_SPEED=s.SELECT_MULTIPLE_TYPE=s.SELECT_ONE_TYPE=s.TEXT_TYPE=s.KEY_CODES=s.ACTION_TYPES=s.EVENTS=void 0,s.EVENTS={showDropdown:"showDropdown",hideDropdown:"hideDropdown",change:"change",choice:"choice",search:"search",addItem:"addItem",removeItem:"removeItem",highlightItem:"highlightItem",highlightChoice:"highlightChoice",unhighlightItem:"unhighlightItem"},s.ACTION_TYPES={ADD_CHOICE:"ADD_CHOICE",FILTER_CHOICES:"FILTER_CHOICES",ACTIVATE_CHOICES:"ACTIVATE_CHOICES",CLEAR_CHOICES:"CLEAR_CHOICES",ADD_GROUP:"ADD_GROUP",ADD_ITEM:"ADD_ITEM",REMOVE_ITEM:"REMOVE_ITEM",HIGHLIGHT_ITEM:"HIGHLIGHT_ITEM",CLEAR_ALL:"CLEAR_ALL",RESET_TO:"RESET_TO",SET_IS_LOADING:"SET_IS_LOADING"},s.KEY_CODES={BACK_KEY:46,DELETE_KEY:8,ENTER_KEY:13,A_KEY:65,ESC_KEY:27,UP_KEY:38,DOWN_KEY:40,PAGE_UP_KEY:33,PAGE_DOWN_KEY:34},s.TEXT_TYPE="text",s.SELECT_ONE_TYPE="select-one",s.SELECT_MULTIPLE_TYPE="select-multiple",s.SCROLLING_SPEED=4}),789:(function(o,s,l){Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_CONFIG=s.DEFAULT_CLASSNAMES=void 0;var u=l(799);s.DEFAULT_CLASSNAMES={containerOuter:"choices",containerInner:"choices__inner",input:"choices__input",inputCloned:"choices__input--cloned",list:"choices__list",listItems:"choices__list--multiple",listSingle:"choices__list--single",listDropdown:"choices__list--dropdown",item:"choices__item",itemSelectable:"choices__item--selectable",itemDisabled:"choices__item--disabled",itemChoice:"choices__item--choice",placeholder:"choices__placeholder",group:"choices__group",groupHeading:"choices__heading",button:"choices__button",activeState:"is-active",focusState:"is-focused",openState:"is-open",disabledState:"is-disabled",highlightedState:"is-highlighted",selectedState:"is-selected",flippedState:"is-flipped",loadingState:"is-loading",noResults:"has-no-results",noChoices:"has-no-choices"},s.DEFAULT_CONFIG={items:[],choices:[],silent:!1,renderChoiceLimit:-1,maxItemCount:-1,addItems:!0,addItemFilter:null,removeItems:!0,removeItemButton:!1,editItems:!1,allowHTML:!0,duplicateItemsAllowed:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,shouldSort:!0,shouldSortItems:!1,sorter:u.sortByAlpha,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prependValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",uniqueItemText:"Only unique values can be added",customAddItemText:"Only values matching specific conditions can be added",addItemText:function(c){return'Press Enter to add "'.concat((0,u.sanitise)(c),'"')},maxItemText:function(c){return"Only ".concat(c," values can be added")},valueComparer:function(c,f){return c===f},fuseOptions:{includeScore:!0},labelId:"",callbackOnInit:null,callbackOnCreateTemplates:null,classNames:s.DEFAULT_CLASSNAMES}}),18:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),978:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),948:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),359:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),285:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),533:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),187:(function(o,s,l){var u=this&&this.__createBinding||(Object.create?function(f,h,p,g){g===void 0&&(g=p);var v=Object.getOwnPropertyDescriptor(h,p);(!v||("get"in v?!h.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return h[p]}}),Object.defineProperty(f,g,v)}:function(f,h,p,g){g===void 0&&(g=p),f[g]=h[p]}),c=this&&this.__exportStar||function(f,h){for(var p in f)p!=="default"&&!Object.prototype.hasOwnProperty.call(h,p)&&u(h,f,p)};Object.defineProperty(s,"__esModule",{value:!0}),c(l(18),s),c(l(978),s),c(l(948),s),c(l(359),s),c(l(285),s),c(l(533),s),c(l(287),s),c(l(132),s),c(l(837),s),c(l(598),s),c(l(369),s),c(l(37),s),c(l(47),s),c(l(923),s),c(l(876),s)}),287:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),132:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),837:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),598:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),37:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),369:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),47:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),923:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),876:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0})}),799:(function(o,s){Object.defineProperty(s,"__esModule",{value:!0}),s.parseCustomProperties=s.diff=s.cloneObject=s.existsInArray=s.dispatchEvent=s.sortByScore=s.sortByAlpha=s.strToEl=s.sanitise=s.isScrolledIntoView=s.getAdjacentEl=s.wrap=s.isType=s.getType=s.generateId=s.generateChars=s.getRandomNumber=void 0;var l=function(S,L){return Math.floor(Math.random()*(L-S)+S)};s.getRandomNumber=l;var u=function(S){return Array.from({length:S},function(){return(0,s.getRandomNumber)(0,36).toString(36)}).join("")};s.generateChars=u;var c=function(S,L){var U=S.id||S.name&&"".concat(S.name,"-").concat((0,s.generateChars)(2))||(0,s.generateChars)(4);return U=U.replace(/(:|\.|\[|\]|,)/g,""),U="".concat(L,"-").concat(U),U};s.generateId=c;var f=function(S){return Object.prototype.toString.call(S).slice(8,-1)};s.getType=f;var h=function(S,L){return L!=null&&(0,s.getType)(L)===S};s.isType=h;var p=function(S,L){return L===void 0&&(L=document.createElement("div")),S.parentNode&&(S.nextSibling?S.parentNode.insertBefore(L,S.nextSibling):S.parentNode.appendChild(L)),L.appendChild(S)};s.wrap=p;var g=function(S,L,U){U===void 0&&(U=1);for(var D="".concat(U>0?"next":"previous","ElementSibling"),b=S[D];b;){if(b.matches(L))return b;b=b[D]}return b};s.getAdjacentEl=g;var v=function(S,L,U){if(U===void 0&&(U=1),!S)return!1;var D;return U>0?D=L.scrollTop+L.offsetHeight>=S.offsetTop+S.offsetHeight:D=S.offsetTop>=L.scrollTop,D};s.isScrolledIntoView=v;var m=function(S){return typeof S!="string"?S:S.replace(/&/g,"&").replace(/>/g,">").replace(/-1?c.map(function(w){var T=w;return T.id===parseInt("".concat(g.choiceId),10)&&(T.selected=!0),T}):c}case"REMOVE_ITEM":{var v=f;return v.choiceId&&v.choiceId>-1?c.map(function(w){var T=w;return T.id===parseInt("".concat(v.choiceId),10)&&(T.selected=!1),T}):c}case"FILTER_CHOICES":{var m=f;return c.map(function(w){var T=w;return T.active=m.results.some(function(F){var O=F.item,M=F.score;return O.id===T.id?(T.score=M,!0):!1}),T})}case"ACTIVATE_CHOICES":{var _=f;return c.map(function(w){var T=w;return T.active=_.active,T})}case"CLEAR_CHOICES":return s.defaultState;default:return c}}s.default=u}),871:(function(o,s){var l=this&&this.__spreadArray||function(c,f,h){if(h||arguments.length===2)for(var p=0,g=f.length,v;p0?"treeitem":"option"),Object.assign(C.dataset,{choice:"",id:O,value:M,selectText:f}),U?(C.classList.add(T),C.dataset.choiceDisabled="",C.setAttribute("aria-disabled","true")):(C.classList.add(_),C.dataset.choiceSelectable=""),C},input:function(u,c){var f=u.classNames,h=f.input,p=f.inputCloned,g=Object.assign(document.createElement("input"),{type:"search",name:"search_terms",className:"".concat(h," ").concat(p),autocomplete:"off",autocapitalize:"off",spellcheck:!1});return g.setAttribute("role","textbox"),g.setAttribute("aria-autocomplete","list"),g.setAttribute("aria-label",c),g},dropdown:function(u){var c=u.classNames,f=c.list,h=c.listDropdown,p=document.createElement("div");return p.classList.add(f,h),p.setAttribute("aria-expanded","false"),p},notice:function(u,c,f){var h,p=u.allowHTML,g=u.classNames,v=g.item,m=g.itemChoice,_=g.noResults,w=g.noChoices;f===void 0&&(f="");var T=[v,m];return f==="no-choices"?T.push(w):f==="no-results"&&T.push(_),Object.assign(document.createElement("div"),(h={},h[p?"innerHTML":"innerText"]=c,h.className=T.join(" "),h))},option:function(u){var c=u.label,f=u.value,h=u.customProperties,p=u.active,g=u.disabled,v=new Option(c,f,!1,p);return h&&(v.dataset.customProperties="".concat(h)),v.disabled=!!g,v}};s.default=l}),996:(function(o){var s=function(L){return l(L)&&!u(L)};function l(S){return!!S&&typeof S=="object"}function u(S){var L=Object.prototype.toString.call(S);return L==="[object RegExp]"||L==="[object Date]"||h(S)}var c=typeof Symbol=="function"&&Symbol.for,f=c?Symbol.for("react.element"):60103;function h(S){return S.$$typeof===f}function p(S){return Array.isArray(S)?[]:{}}function g(S,L){return L.clone!==!1&&L.isMergeableObject(S)?M(p(S),S,L):S}function v(S,L,U){return S.concat(L).map(function(D){return g(D,U)})}function m(S,L){if(!L.customMerge)return M;var U=L.customMerge(S);return typeof U=="function"?U:M}function _(S){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(S).filter(function(L){return S.propertyIsEnumerable(L)}):[]}function w(S){return Object.keys(S).concat(_(S))}function T(S,L){try{return L in S}catch{return!1}}function F(S,L){return T(S,L)&&!(Object.hasOwnProperty.call(S,L)&&Object.propertyIsEnumerable.call(S,L))}function O(S,L,U){var D={};return U.isMergeableObject(S)&&w(S).forEach(function(b){D[b]=g(S[b],U)}),w(L).forEach(function(b){F(S,b)||(T(S,b)&&U.isMergeableObject(L[b])?D[b]=m(b,U)(S[b],L[b],U):D[b]=g(L[b],U))}),D}function M(S,L,U){U=U||{},U.arrayMerge=U.arrayMerge||v,U.isMergeableObject=U.isMergeableObject||s,U.cloneUnlessOtherwiseSpecified=g;var D=Array.isArray(L),b=Array.isArray(S),C=D===b;return C?D?U.arrayMerge(S,L,U):O(S,L,U):g(L,U)}M.all=function(L,U){if(!Array.isArray(L))throw new Error("first argument should be an array");return L.reduce(function(D,b){return M(D,b,U)},{})};var H=M;o.exports=H}),221:(function(o,s,l){l.r(s),l.d(s,{default:function(){return Mr}});function u(G){return Array.isArray?Array.isArray(G):T(G)==="[object Array]"}function c(G){if(typeof G=="string")return G;let R=G+"";return R=="0"&&1/G==-1/0?"-0":R}function f(G){return G==null?"":c(G)}function h(G){return typeof G=="string"}function p(G){return typeof G=="number"}function g(G){return G===!0||G===!1||m(G)&&T(G)=="[object Boolean]"}function v(G){return typeof G=="object"}function m(G){return v(G)&&G!==null}function _(G){return G!=null}function w(G){return!G.trim().length}function T(G){return G==null?G===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(G)}const F="Incorrect 'index' type",O=G=>`Invalid value for key ${G}`,M=G=>`Pattern length exceeds max of ${G}.`,H=G=>`Missing ${G} property in key`,S=G=>`Property 'weight' in key '${G}' must be a positive integer`,L=Object.prototype.hasOwnProperty;class U{constructor(R){this._keys=[],this._keyMap={};let Y=0;R.forEach(J=>{let ee=D(J);Y+=ee.weight,this._keys.push(ee),this._keyMap[ee.id]=ee,Y+=ee.weight}),this._keys.forEach(J=>{J.weight/=Y})}get(R){return this._keyMap[R]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function D(G){let R=null,Y=null,J=null,ee=1,ne=null;if(h(G)||u(G))J=G,R=b(G),Y=C(G);else{if(!L.call(G,"name"))throw new Error(H("name"));const le=G.name;if(J=le,L.call(G,"weight")&&(ee=G.weight,ee<=0))throw new Error(S(le));R=b(le),Y=C(le),ne=G.getFn}return{path:R,id:Y,weight:ee,src:J,getFn:ne}}function b(G){return u(G)?G:G.split(".")}function C(G){return u(G)?G.join("."):G}function k(G,R){let Y=[],J=!1;const ee=(ne,le,fe)=>{if(_(ne))if(!le[fe])Y.push(ne);else{let ye=le[fe];const Te=ne[ye];if(!_(Te))return;if(fe===le.length-1&&(h(Te)||p(Te)||g(Te)))Y.push(f(Te));else if(u(Te)){J=!0;for(let xe=0,He=Te.length;xeG.score===R.score?G.idx{this._keysMap[Y.id]=J})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,h(this.docs[0])?this.docs.forEach((R,Y)=>{this._addString(R,Y)}):this.docs.forEach((R,Y)=>{this._addObject(R,Y)}),this.norm.clear())}add(R){const Y=this.size();h(R)?this._addString(R,Y):this._addObject(R,Y)}removeAt(R){this.records.splice(R,1);for(let Y=R,J=this.size();Y{let le=ee.getFn?ee.getFn(R):this.getFn(R,ee.path);if(_(le)){if(u(le)){let fe=[];const ye=[{nestedArrIndex:-1,value:le}];for(;ye.length;){const{nestedArrIndex:Te,value:xe}=ye.pop();if(_(xe))if(h(xe)&&!w(xe)){let He={v:xe,i:Te,n:this.norm.get(xe)};fe.push(He)}else u(xe)&&xe.forEach((He,Qe)=>{ye.push({nestedArrIndex:Qe,value:He})})}J.$[ne]=fe}else if(h(le)&&!w(le)){let fe={v:le,n:this.norm.get(le)};J.$[ne]=fe}}}),this.records.push(J)}toJSON(){return{keys:this.keys,records:this.records}}}function ve(G,R,{getFn:Y=B.getFn,fieldNormWeight:J=B.fieldNormWeight}={}){const ee=new re({getFn:Y,fieldNormWeight:J});return ee.setKeys(G.map(D)),ee.setSources(R),ee.create(),ee}function be(G,{getFn:R=B.getFn,fieldNormWeight:Y=B.fieldNormWeight}={}){const{keys:J,records:ee}=G,ne=new re({getFn:R,fieldNormWeight:Y});return ne.setKeys(J),ne.setIndexRecords(ee),ne}function Ee(G,{errors:R=0,currentLocation:Y=0,expectedLocation:J=0,distance:ee=B.distance,ignoreLocation:ne=B.ignoreLocation}={}){const le=R/G.length;if(ne)return le;const fe=Math.abs(J-Y);return ee?le+fe/ee:fe?1:le}function Ce(G=[],R=B.minMatchCharLength){let Y=[],J=-1,ee=-1,ne=0;for(let le=G.length;ne=R&&Y.push([J,ee]),J=-1)}return G[ne-1]&&ne-J>=R&&Y.push([J,ne-1]),Y}const se=32;function ce(G,R,Y,{location:J=B.location,distance:ee=B.distance,threshold:ne=B.threshold,findAllMatches:le=B.findAllMatches,minMatchCharLength:fe=B.minMatchCharLength,includeMatches:ye=B.includeMatches,ignoreLocation:Te=B.ignoreLocation}={}){if(R.length>se)throw new Error(M(se));const xe=R.length,He=G.length,Qe=Math.max(0,Math.min(J,He));let Dt=ne,It=Qe;const Ir=fe>1||ye,On=Ir?Array(He):[];let sn;for(;(sn=G.indexOf(R,It))>-1;){let Nr=Ee(R,{currentLocation:sn,expectedLocation:Qe,distance:ee,ignoreLocation:Te});if(Dt=Math.min(Nr,Dt),It=sn+xe,Ir){let ln=0;for(;ln=mu;zr-=1){let Da=zr-1,vu=Y[G.charAt(Da)];if(Ir&&(On[Da]=+!!vu),si[zr]=(si[zr+1]<<1|1)&vu,Nr&&(si[zr]|=(oi[zr+1]|oi[zr])<<1|1|oi[zr+1]),si[zr]&V3&&(zn=Ee(R,{errors:Nr,currentLocation:Da,expectedLocation:Qe,distance:ee,ignoreLocation:Te}),zn<=Dt)){if(Dt=zn,It=Da,It<=Qe)break;mu=Math.max(1,2*Qe-It)}}if(Ee(R,{errors:Nr+1,currentLocation:Qe,expectedLocation:Qe,distance:ee,ignoreLocation:Te})>Dt)break;oi=si}const Oa={isMatch:It>=0,score:Math.max(.001,zn)};if(Ir){const Nr=Ce(On,fe);Nr.length?ye&&(Oa.indices=Nr):Oa.isMatch=!1}return Oa}function Fe(G){let R={};for(let Y=0,J=G.length;Y{this.chunks.push({pattern:Qe,alphabet:Fe(Qe),startIndex:Dt})},He=this.pattern.length;if(He>se){let Qe=0;const Dt=He%se,It=He-Dt;for(;Qe{const{isMatch:sn,score:oi,indices:zn}=ce(R,It,Ir,{location:ee+On,distance:ne,threshold:le,findAllMatches:fe,minMatchCharLength:ye,includeMatches:J,ignoreLocation:Te});sn&&(Qe=!0),He+=oi,sn&&zn&&(xe=[...xe,...zn])});let Dt={isMatch:Qe,score:Qe?He/this.chunks.length:1};return Qe&&J&&(Dt.indices=xe),Dt}}class $e{constructor(R){this.pattern=R}static isMultiMatch(R){return ft(R,this.multiRegex)}static isSingleMatch(R){return ft(R,this.singleRegex)}search(){}}function ft(G,R){const Y=G.match(R);return Y?Y[1]:null}class zt extends $e{constructor(R){super(R)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(R){const Y=R===this.pattern;return{isMatch:Y,score:Y?0:1,indices:[0,this.pattern.length-1]}}}class pe extends $e{constructor(R){super(R)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(R){const J=R.indexOf(this.pattern)===-1;return{isMatch:J,score:J?0:1,indices:[0,R.length-1]}}}class rt extends $e{constructor(R){super(R)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(R){const Y=R.startsWith(this.pattern);return{isMatch:Y,score:Y?0:1,indices:[0,this.pattern.length-1]}}}class Ye extends $e{constructor(R){super(R)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(R){const Y=!R.startsWith(this.pattern);return{isMatch:Y,score:Y?0:1,indices:[0,R.length-1]}}}class Oe extends $e{constructor(R){super(R)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(R){const Y=R.endsWith(this.pattern);return{isMatch:Y,score:Y?0:1,indices:[R.length-this.pattern.length,R.length-1]}}}class _e extends $e{constructor(R){super(R)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(R){const Y=!R.endsWith(this.pattern);return{isMatch:Y,score:Y?0:1,indices:[0,R.length-1]}}}class We extends $e{constructor(R,{location:Y=B.location,threshold:J=B.threshold,distance:ee=B.distance,includeMatches:ne=B.includeMatches,findAllMatches:le=B.findAllMatches,minMatchCharLength:fe=B.minMatchCharLength,isCaseSensitive:ye=B.isCaseSensitive,ignoreLocation:Te=B.ignoreLocation}={}){super(R),this._bitapSearch=new we(R,{location:Y,threshold:J,distance:ee,includeMatches:ne,findAllMatches:le,minMatchCharLength:fe,isCaseSensitive:ye,ignoreLocation:Te})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(R){return this._bitapSearch.searchIn(R)}}class Be extends $e{constructor(R){super(R)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(R){let Y=0,J;const ee=[],ne=this.pattern.length;for(;(J=R.indexOf(this.pattern,Y))>-1;)Y=J+ne,ee.push([J,Y-1]);const le=!!ee.length;return{isMatch:le,score:le?0:1,indices:ee}}}const kt=[zt,Be,rt,Ye,_e,Oe,pe,We],Ht=kt.length,Wt=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Me="|";function Pr(G,R={}){return G.split(Me).map(Y=>{let J=Y.trim().split(Wt).filter(ne=>ne&&!!ne.trim()),ee=[];for(let ne=0,le=J.length;ne!!(G[Ct.AND]||G[Ct.OR]),Ar=G=>!!G[Pt.PATH],on=G=>!u(G)&&v(G)&&!Vt(G),cr=G=>({[Ct.AND]:Object.keys(G).map(R=>({[R]:G[R]}))});function Kt(G,R,{auto:Y=!0}={}){const J=ee=>{let ne=Object.keys(ee);const le=Ar(ee);if(!le&&ne.length>1&&!Vt(ee))return J(cr(ee));if(on(ee)){const ye=le?ee[Pt.PATH]:ne[0],Te=le?ee[Pt.PATTERN]:ee[ye];if(!h(Te))throw new Error(O(ye));const xe={keyId:C(ye),pattern:Te};return Y&&(xe.searcher=Xe(Te,R)),xe}let fe={children:[],operator:ne[0]};return ne.forEach(ye=>{const Te=ee[ye];u(Te)&&Te.forEach(xe=>{fe.children.push(J(xe))})}),fe};return Vt(G)||(G=cr(G)),J(G)}function Fn(G,{ignoreFieldNorm:R=B.ignoreFieldNorm}){G.forEach(Y=>{let J=1;Y.matches.forEach(({key:ee,norm:ne,score:le})=>{const fe=ee?ee.weight:null;J*=Math.pow(le===0&&fe?Number.EPSILON:le,(fe||1)*(R?1:ne))}),Y.score=J})}function ii(G,R){const Y=G.matches;R.matches=[],_(Y)&&Y.forEach(J=>{if(!_(J.indices)||!J.indices.length)return;const{indices:ee,value:ne}=J;let le={indices:ee,value:ne};J.key&&(le.key=J.key.src),J.idx>-1&&(le.refIndex=J.idx),R.matches.push(le)})}function Un(G,R){R.score=G.score}function ai(G,R,{includeMatches:Y=B.includeMatches,includeScore:J=B.includeScore}={}){const ee=[];return Y&&ee.push(ii),J&&ee.push(Un),G.map(ne=>{const{idx:le}=ne,fe={item:R[le],refIndex:le};return ee.length&&ee.forEach(ye=>{ye(ne,fe)}),fe})}class Mr{constructor(R,Y={},J){this.options={...B,...Y},this.options.useExtendedSearch,this._keyStore=new U(this.options.keys),this.setCollection(R,J)}setCollection(R,Y){if(this._docs=R,Y&&!(Y instanceof re))throw new Error(F);this._myIndex=Y||ve(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(R){_(R)&&(this._docs.push(R),this._myIndex.add(R))}remove(R=()=>!1){const Y=[];for(let J=0,ee=this._docs.length;J-1&&(ye=ye.slice(0,Y)),ai(ye,this._docs,{includeMatches:J,includeScore:ee})}_searchStringList(R){const Y=Xe(R,this.options),{records:J}=this._myIndex,ee=[];return J.forEach(({v:ne,i:le,n:fe})=>{if(!_(ne))return;const{isMatch:ye,score:Te,indices:xe}=Y.searchIn(ne);ye&&ee.push({item:ne,idx:le,matches:[{score:Te,value:ne,norm:fe,indices:xe}]})}),ee}_searchLogical(R){const Y=Kt(R,this.options),J=(fe,ye,Te)=>{if(!fe.children){const{keyId:He,searcher:Qe}=fe,Dt=this._findMatches({key:this._keyStore.get(He),value:this._myIndex.getValueForItemAtKeyId(ye,He),searcher:Qe});return Dt&&Dt.length?[{idx:Te,item:ye,matches:Dt}]:[]}const xe=[];for(let He=0,Qe=fe.children.length;He{if(_(fe)){let Te=J(Y,fe,ye);Te.length&&(ne[ye]||(ne[ye]={idx:ye,item:fe,matches:[]},le.push(ne[ye])),Te.forEach(({matches:xe})=>{ne[ye].matches.push(...xe)}))}}),le}_searchObjectList(R){const Y=Xe(R,this.options),{keys:J,records:ee}=this._myIndex,ne=[];return ee.forEach(({$:le,i:fe})=>{if(!_(le))return;let ye=[];J.forEach((Te,xe)=>{ye.push(...this._findMatches({key:Te,value:le[xe],searcher:Y}))}),ye.length&&ne.push({idx:fe,item:le,matches:ye})}),ne}_findMatches({key:R,value:Y,searcher:J}){if(!_(Y))return[];let ee=[];if(u(Y))Y.forEach(({v:ne,i:le,n:fe})=>{if(!_(ne))return;const{isMatch:ye,score:Te,indices:xe}=J.searchIn(ne);ye&&ee.push({score:Te,key:R,value:ne,idx:le,norm:fe,indices:xe})});else{const{v:ne,n:le}=Y,{isMatch:fe,score:ye,indices:Te}=J.searchIn(ne);fe&&ee.push({score:ye,key:R,value:ne,norm:le,indices:Te})}return ee}}Mr.version="6.6.2",Mr.createIndex=ve,Mr.parseIndex=be,Mr.config=B,Mr.parseQuery=Kt,Re(Ur)}),791:(function(o,s,l){l.r(s),l.d(s,{__DO_NOT_USE__ActionTypes:function(){return w},applyMiddleware:function(){return D},bindActionCreators:function(){return L},combineReducers:function(){return H},compose:function(){return U},createStore:function(){return F},legacy_createStore:function(){return O}});function u(b){"@babel/helpers - typeof";return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},u(b)}function c(b,C){if(u(b)!=="object"||b===null)return b;var k=b[Symbol.toPrimitive];if(k!==void 0){var P=k.call(b,C);if(u(P)!=="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(b)}function f(b){var C=c(b,"string");return u(C)==="symbol"?C:String(C)}function h(b,C,k){return C=f(C),C in b?Object.defineProperty(b,C,{value:k,enumerable:!0,configurable:!0,writable:!0}):b[C]=k,b}function p(b,C){var k=Object.keys(b);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(b);C&&(P=P.filter(function(A){return Object.getOwnPropertyDescriptor(b,A).enumerable})),k.push.apply(k,P)}return k}function g(b){for(var C=1;C"u"&&(k=C,C=void 0),typeof k<"u"){if(typeof k!="function")throw new Error(v(1));return k(F)(b,C)}if(typeof b!="function")throw new Error(v(2));var A=b,I=C,q=[],B=q,K=!1;function X(){B===q&&(B=q.slice())}function re(){if(K)throw new Error(v(3));return I}function ve(se){if(typeof se!="function")throw new Error(v(4));if(K)throw new Error(v(5));var ce=!0;return X(),B.push(se),function(){if(ce){if(K)throw new Error(v(6));ce=!1,X();var we=B.indexOf(se);B.splice(we,1),q=null}}}function be(se){if(!T(se))throw new Error(v(7));if(typeof se.type>"u")throw new Error(v(8));if(K)throw new Error(v(9));try{K=!0,I=A(I,se)}finally{K=!1}for(var ce=q=B,Fe=0;Fe"u")throw new Error(v(12));if(typeof k(void 0,{type:w.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(v(13))})}function H(b){for(var C=Object.keys(b),k={},P=0;P"u")throw X&&X.type,new Error(v(14));ve[Ee]=ce,re=re||ce!==se}return re=re||I.length!==Object.keys(K).length,re?ve:K}}function S(b,C){return function(){return C(b.apply(this,arguments))}}function L(b,C){if(typeof b=="function")return S(b,C);if(typeof b!="object"||b===null)throw new Error(v(16));var k={};for(var P in b){var A=b[P];typeof A=="function"&&(k[P]=S(A,C))}return k}function U(){for(var b=arguments.length,C=new Array(b),k=0;k{setTimeout(()=>new uH(`.${c.split(" ").join(".")}`,{allowHTML:!0,classNames:qe,itemSelectText:"",noChoicesText:"No options to choose from",placeholderValue:a,removeItemButton:e,searchEnabled:e}),10)},[c,e,a]),d(cH,{className:"brella-widget-select-wrapper",style:s,children:[d("select",{...u,multiple:e,className:c,onChange:r,defaultValue:o,children:n.map(f=>d("option",{selected:i?.(f),value:f.value,children:f.label},f.value))}),l&&d(dH,{children:l})]})}const qe={activeState:"is-active",button:"brella-widget-select-select__button",containerInner:"brella-widget-select-select__inner",containerOuter:"brella-widget-select-select",disabledState:"is-disabled",flippedState:"is-flipped",focusState:"is-focused",group:"brella-widget-select-select__group",groupHeading:"brella-widget-select-select__heading",highlightedState:"is-highlighted",input:"brella-widget-select-select__input",inputCloned:"brella-widget-select-select__input--cloned",item:"brella-widget-select-select__item",itemChoice:"brella-widget-select-select__item--choice",itemDisabled:"brella-widget-select-select__item--disabled",itemSelectable:"brella-widget-select-select__item--selectable",list:"brella-widget-select-select__list",listDropdown:"brella-widget-select-select__list--dropdown",listItems:"brella-widget-select-select__list--multiple",listSingle:"brella-widget-select-select__list--single",loadingState:"is-loading",noChoices:"has-no-choices",noResults:"has-no-results",openState:"is-open",placeholder:"brella-widget-select-select__placeholder",selectedState:"is-selected"},cH=W.div` position: relative; .${qe.containerInner}, .${qe.input} { background: transparent; } .${qe.input} { margin-bottom: 0; } input.${qe.input}::placeholder { color: ${({theme:e})=>e.system.color.gray[300]}; } .${qe.containerInner} { padding: 4px; min-height: 24px; border-color: ${({theme:e})=>e.system.separator[100]}; min-width: 150px; } .${qe.containerOuter} { margin-bottom: 0; } .${qe.containerOuter}[data-type*=select-one] .${qe.containerInner} { padding-bottom: 4px; } .${qe.containerOuter}.${qe.openState} { position: relative; z-index: 999; isolation: isolate; } .${qe.listItems} .${qe.item}, .${qe.item}.${qe.highlightedState} { margin-bottom: 0; border-radius: ${({theme:e})=>e.base.rounded.sm}; background: ${({theme:e})=>e.system.color.gray.colorContainer[50].background}; border: 1px solid ${({theme:e})=>e.system.separator[100]}; color: ${({theme:e})=>e.system.color.gray.colorContainer[50].color}; } .${qe.item} .${qe.button} { position: relative; border-left: 1px solid ${({theme:e})=>e.system.separator[100]}; background-image: none; color: ${({theme:e})=>e.system.color.gray.colorContainer[50].color}; opacity: 1; } .${qe.item} .${qe.button}::after { display: block; position: absolute; top: 0; left: 8px; content: 'x'; height: 0; width: 0; text-indent: 0; } .${qe.listDropdown}, .${qe.list}[aria-expanded] { position: absolute !important; margin-top: 2px; border-color: ${({theme:e})=>e.system.separator[100]}; box-shadow: ${({theme:e})=>e.system.shadows.shadow.md}; z-index: 999 !important; transform: translate3d(0, 0, 0) !important; isolation: isolate !important; } .${qe.activeState}.${qe.listDropdown} { z-index: 999 !important; } .${qe.openState} .${qe.listDropdown} { border-color: ${({theme:e})=>e.system.separator[100]}; } .${qe.listItems} .${qe.listDropdown} .${qe.item}, .${qe.listDropdown} .${qe.item} { background: ${({theme:e})=>e.system.background.primary}; border-radius: 0; border: 0; } .${qe.listDropdown} .${qe.item}.${qe.highlightedState}, .${qe.listItems} .${qe.listDropdown} .${qe.item}.${qe.highlightedState} { background: ${({theme:e})=>e.system.color.gray.colorContainer[50].background}; color: ${({theme:e})=>e.system.color.gray.colorContainer[50].color}; } .${qe.listDropdown} .${qe.itemSelectable} { padding-right: 0; } .${qe.listSingle} { padding-right: 24px; } `,dH=W.div` position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; padding: 0 8px; pointer-events: none; `;function J_({className:e}){return d("svg",{className:e,width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M12.5547 11.5615C12.7988 11.8057 12.7988 12.1719 12.5547 12.3916C12.457 12.5137 12.3105 12.5625 12.1641 12.5625C11.9932 12.5625 11.8467 12.5137 11.7246 12.3916L8.45312 9.12012C7.57422 9.82812 6.47559 10.2188 5.30371 10.2188C2.52051 10.2188 0.25 7.94824 0.25 5.14062C0.25 2.35742 2.49609 0.0625 5.30371 0.0625C8.08691 0.0625 10.3818 2.35742 10.3818 5.14062C10.3818 6.33691 9.99121 7.43555 9.2832 8.29004L12.5547 11.5615ZM1.42188 5.14062C1.42188 7.31348 3.15527 9.04688 5.32812 9.04688C7.47656 9.04688 9.23438 7.31348 9.23438 5.14062C9.23438 2.99219 7.47656 1.23438 5.32812 1.23438C3.15527 1.23438 1.42188 2.99219 1.42188 5.14062Z",fill:"currentColor"})})}function fH(){const e=oH(),{schedule:t,draftFilters:r,setDraftFilters:n,resetDraftFilters:i}=ir();return Ie(()=>(i(),()=>i()),[]),d(Le,{children:e.map(a=>d(mH,{className:`brella-schedule-filter brella-schedule-filter-${a.filterKey}`,children:[d("p",{className:"brella-schedule-filter-label",children:a.label}),d("section",{style:{width:"100%"},children:gH(a.filterType||"select",a.filterKey,a.dataKey||a.filterKey,r[a.filterKey],t,n,a.options)})]},a.filterKey))})}function hH(e){switch(e){case"selectedSessionTypes":return[{label:"Regular",value:"regular"},{label:"Virtual oriented",value:"virtual"}];default:return[]}}function pH(e){switch(e){case"selectedSpeakers":return t=>({...t,label:nr(t),value:t.id});default:return t=>({...t,label:t.name,value:t.id})}}function gH(e,t,r,n=[],i,a,o){function s(l){if(e==="checkbox"){const c=n.includes(l.target.value)?n.filter(f=>f!==l.target.value):[...n,l.target.value];return a({[t]:c})}const u=Array.from(l.target.selectedOptions).map(c=>c.value);a({[t]:u})}switch(e){case"checkbox":return hH(t).map(l=>d("div",{style:{alignItems:"center",display:"inline-flex",gap:4,marginRight:16},children:[d(vH,{id:`brella-schedule-filter-checkbox-${l.value}`,type:"checkbox",defaultChecked:n.includes(l.value),value:l.value,onChange:s}),d("label",{htmlFor:`brella-schedule-filter-checkbox-${l.value}`,style:{fontSize:12},children:l.label})]},l.value));case"select":return d(L3,{multiple:!0,className:`brella-schedule-filter-${t}`,onChange:s,options:i?.[r]?.map(pH(t))||o,optionSelected:l=>n.includes(l.value),placeholderValue:`Choose ${r.includes("Tracks")?"tracks":r}`,icon:d(bH,{})});default:return null}}const mH=W.div` display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-bottom: var(--brella-widget-margin-base); p { margin-bottom: ${({isToggle:e})=>e?0:"var(--brella-widget-margin-quarter-base)"}; } `,vH=W.input` ${({theme:e})=>e.colorTheme?` accent-color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor].link.onPrimary:"var(--brella-color-primary-600)"}; `:` accent-color: var(--brella-color-primary-600); `} height: 16px; width: 16px; `,bH=W(J_)` ${({theme:e})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor].link.onPrimary:"var(--brella-color-primary-600)"}; `:` color: var(--brella-color-primary-600); `} `;function eC({content:e}){if(!e)return null;const t={__html:Dl(e)};return d("div",{className:"brella-schedule-content-description",dangerouslySetInnerHTML:t})}function tC(e,t,r){var n=this,i=bt(null),a=bt(0),o=bt(null),s=bt([]),l=bt(),u=bt(),c=bt(e),f=bt(!0);c.current=e;var h=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0,r=r||{};var p=!!r.leading,g="trailing"in r?!!r.trailing:!0,v="maxWait"in r,m=v?Math.max(+r.maxWait||0,t):null;Ie(function(){return f.current=!0,function(){f.current=!1}},[]);var _=Nn(function(){var w=function(S){var L=s.current,U=l.current;return s.current=l.current=null,a.current=S,u.current=c.current.apply(U,L)},T=function(S,L){h&&cancelAnimationFrame(o.current),o.current=h?requestAnimationFrame(S):setTimeout(S,L)},F=function(S){if(!f.current)return!1;var L=S-i.current,U=S-a.current;return!i.current||L>=t||L<0||v&&U>=m},O=function(S){return o.current=null,g&&s.current?w(S):(s.current=l.current=null,u.current)},M=function(){var S=Date.now();if(F(S))return O(S);if(f.current){var L=S-i.current,U=S-a.current,D=t-L,b=v?Math.min(D,m-U):D;T(M,b)}},H=function(){for(var S=[],L=0;L=0)&&(r[i]=e[i]);return r}function Gt(e,t){return t||(t=e.slice(0)),e.raw=t,e}var rC,yH=Yt(rC||(rC=Gt([` @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap"); .planby { font-family: "Inter", system-ui, -apple-system, /* Firefox supports this but not yet system-ui */ "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; /* 2 */ } `]))),ni;(function(e){e[e.Sidebar=10]="Sidebar",e[e.EpgCornerBox=90]="EpgCornerBox",e[e.Line=10]="Line",e[e.Loader=100]="Loader",e[e.Program=1]="Program",e[e.Timeline=10]="Timeline"})(ni||(ni={}));var _H=7200,CH=24,nC=60,wH=60,EH=60,lu=70,TH=100,B3=80,kH=B3,iC=100,aC=100,xH=120,Or={DEFAULT:"yyyy-MM-dd HH:mm:ss",DATE:"yyyy-MM-dd",DAY_MONTH:"dd.MM",BASE_DAY_MONTH:"MM/dd",HOURS_MIN:"HH:mm",BASE_HOURS_TIME:"h:mm a"},SH=function(t){for(var r=er({},t),n=arguments.length,i=new Array(n>1?n-1:0),a=1;a=i&&a>n},ka=function(t){return nt(new Date(t),Or.DEFAULT).replace(/\s/g,"T")},Ro=function(t){return uR(new Date(t))},DH=function(t,r){var n=Li(new Date(t)),i=Li(new Date(r));return i>n},AH=function(t){var r=Li(new Date(t)),n=Li(new Date);return r>n},MH=function(t,r){var n=r;return r===""&&(n=ka(wn(Ch(new Date(t),1)))),{startDate:t,endDate:n}},du=function(t,r){return Math.floor(t*r/nC)},xa=function(t,r,n,i,a){var o=Il(Ut(r))>Il(Ut(i)),s=Il(Ut(t))r.left+r.width*2||i+o<=r.left)return!1;if(n+a>=r.top&&n<=r.edgeEnd)return!0}else{if(r.width<=0||n>r.top+s*3||n+a<=r.top)return!1;if(i+o>=r.left&&i<=r.edgeEnd)return!0}return!1},$H=function(t){var r=t.position,n=t.scrollX,i=t.scrollY,a=t.containerHeight,o=t.containerWidth,s=t.itemOverscan,l=t.isVerticalMode;if(l){var u=r.left;if(n>u+s*3||n+o<=u)return!1}else if(i>r.top+s*3||i+a<=r.top)return!1;return!0},HH=function(t){var r=t.position,n=t.scrollY,i=t.scrollX,a=t.containerHeight,o=t.containerWidth,s=t.isVerticalMode;if(s){if(n>r.left+r.width*2||n+a<=r.left)return!1}else if(i>r.left+r.width*2||i+o<=r.left)return!1;return!0},qH=Or.BASE_DAY_MONTH,jH=Or.DAY_MONTH,UH=function(t,r,n){return Array.from({length:CH},function(i,a){if(a===0){var o=t?qH:jH,s=WN(n[r],Or.DATE,new Date);return r===0?a:nt(s,o)}return a})},zH=function(t){var r=t.isBaseTimeFormat,n=t.days,i=t.numberOfDays,a=t.numberOfHoursInDay,o=t.offsetStartHoursRange,s=oC(i).reduce(function(l,u,c){var f=UH(r,c,n);return c===0?[].concat(l,f.slice(o)):[].concat(l,f)},[]);return s.slice(0,a)},WH=function(t){var r=t.isVerticalMode,n=t.isTimeline,i=t.lineStyles,a=t.position;return r?{position:er({},a,{position:i.position,top:a.left,left:n?i.top:0,width:a.height,height:i.width})}:{position:er({},a,{position:i.position,top:n?i.top:0,width:i.width})}},VH=function(t,r){return r?er({},t,{position:er({},t.position,{left:t.position.top,width:t.position.height})}):t},ZH=gt("div",{target:"e1oklmjh4"})("padding:5px;height:",function(e){var t=e.height;return t?t+"px":"100%"},";width:",function(e){var t=e.width;return t?t+"px":"100%"},";*,::before,::after{box-sizing:border-box;}"),YH=gt("div",{target:"e1oklmjh3"})({name:"qjsha7",styles:"height:100%;width:100%;display:flex;flex-direction:column;position:relative;border-radius:6px;overflow:hidden"}),GH=gt("div",{target:"e1oklmjh2"})("height:100%;width:100%;position:relative;overflow:auto;scroll-behavior:smooth;background:",function(e){var t=e.theme;return t.primary[900]},";",function(e){var t=e.isRTL;return t&&"transform: scale(-1,1)"},";::-webkit-scrollbar{width:10px;height:10px;}::-webkit-scrollbar-thumb{background:",function(e){var t=e.theme;return t.scrollbar.thumb.bg},";border:10px none ",function(e){var t=e.theme;return t.white},";border-radius:20px;}::-webkit-scrollbar-thumb:hover{background:",function(e){var t=e.theme;return t.white},";}::-webkit-scrollbar-track{background:",function(e){var t=e.theme;return t.primary[900]},";border:22px none ",function(e){var t=e.theme;return t.white},";border-radius:0px;}::-webkit-scrollbar-corner{background:",function(e){var t=e.theme;return t.primary[900]},";}"),KH=gt("div",{target:"e1oklmjh1"})("position:absolute;top:",function(e){var t=e.top,r=t===void 0?0:t;return r},"px;background:",function(e){var t=e.theme;return t.primary[900]},";z-index:",ni.EpgCornerBox,";",function(e){var t=e.isRTL,r=e.left,n=r===void 0?0:r;return t?"right:0px;":" left: "+n+"px"},";"),XH=gt("div",{target:"e1oklmjh0"})("position:relative;left:",function(e){var t=e.isSidebar,r=e.sidebarWidth;return t?r:0},"px;height:",function(e){var t=e.contentHeight;return t},"px;width:",function(e){var t=e.dayWidth;return t},"px;background:",function(e){var t=e.theme;return t.primary[900]},";",function(e){var t=e.isVerticalMode,r=e.isTimeline,n=e.dayWidth,i=e.contentHeight,a=e.hourWidth;return t&&` left: `+(r?a||lu:0)+`px; width: `+i+`px; height: `+n+`px; `},";"),cC,dC,fC,QH=gt("div",{target:"e1xqwx3c0"})(function(e){var t=e.isVerticalMode,r=e.isTimeline,n=e.isRTL,i=e.sidebarWidth,a=e.contentHeight,o=e.bottom,s=e.theme;return Yt(cC||(cC=Gt([` position: sticky; background-color: `,`; `,` `,` `,`; `])),s.primary[900],t&&Yt(dC||(dC=Gt([` top: 0; left: `,`px; height: `,`px; width: `,`px; `])),r?lu:0,i,a),!t&&Yt(fC||(fC=Gt([` left: 0; bottom: `,`px; float: left; width: `,`px; `])),o,i),n&&"transform: scale(-1,1)")}," z-index:",ni.Sidebar,";"),hC,pC,gC,mC=gt("div",{target:"ev67e8c1"})(function(e){var t=e.isVerticalMode,r=e.top,n=e.height,i=e.theme;return Yt(hC||(hC=Gt([` position: absolute; display: flex; align-items: center; justify-content: center; background-color: `,`; `,` `,` `])),i.primary[900],t&&Yt(pC||(pC=Gt([` top: 0; left: `,`px; width: `,`px; height: 100%; `])),r,n),!t&&Yt(gC||(gC=Gt([` top: `,`px; height: `,`px; width: 100%; `])),r,n))},";"),JH=gt("img",{target:"ev67e8c0"})({name:"vfop22",styles:"max-height:60px;max-width:60px;position:relative"}),vC=gt("div",{target:"e1mj9att6"})("position:absolute;padding:",function(e){var t=e.width;return t===0?0:4},"px;overflow:hidden;"),bC=gt("div",{target:"e1mj9att5"})("position:relative;display:flex;font-size:11px;height:100%;border-radius:8px;padding:10px ",function(e){var t=e.width;return t<30?4:20},"px;overflow:hidden;cursor:pointer;transition:all 0.4s ease-in-out;background:",function(e){var t=e.theme.primary;return"linear-gradient(to right, "+t[600]+", "+t[600]+")"},";z-index:",ni.Program,";&:hover{background:",function(e){var t=e.theme.gradient;return"linear-gradient(to right, "+t.blue[900]+", "+t.blue[600]+")"},";}",function(e){var t=e.isLive,r=e.isVerticalMode,n=e.theme.gradient;return t&&"background: linear-gradient(to "+(r?"bottom":"right")+", "+n.blue[900]+", "+n.blue[600]+","+n.blue[300]+")"},";"),yC=gt("div",{target:"e1mj9att4"})("width:100%;display:flex;justify-content:flex-start;",function(e){var t=e.isVerticalMode;return t&&"flex-direction: column;"},";"),_C=` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; `,CC=gt("p",{target:"e1mj9att3"})("font-size:14px;text-align:left;margin-top:0;margin-bottom:5px;font-weight:500;color:",function(e){var t=e.theme;return t.grey[300]},";",_C,";"),wC=gt("span",{target:"e1mj9att2"})("display:block;font-size:12.5px;font-weight:400;color:",function(e){var t=e.theme;return t.text.grey[500]},";text-align:left;",_C,";"),eq=gt("img",{target:"e1mj9att1"})("margin-right:15px;border-radius:6px;width:100px;",function(e){var t=e.isVerticalMode;return t&&"width: 100%; margin-bottom: 10px"},";"),EC=gt("div",{target:"e1mj9att0"})("overflow:hidden;",function(e){var t=e.isRTL;return t&&`transform: scale(-1,1); display: flex; flex-direction: column; align-items: flex-end`},";"),TC,kC,xC,SC,FC,OC,PC,DC,AC,$3=gt("span",{target:"e1lsdki04"})("position:absolute;top:18px;left:",function(e){var t=e.isRTL,r=e.isBaseTimeFormat,n=e.isVerticalMode;return n?t?r?9:17:r?9:14:t&&r?"-32":"-18"},"px;color:",function(e){var t=e.theme;return t.text.grey[300]},";",function(e){var t=e.isRTL;return t&&"transform: scale(-1,1)"},";",function(e){var t=e.theme,r=e.isNewDay;return r&&"color: "+t.teal[100]+"; font-weight: 600"},";",function(e){var t=e.isVerticalMode,r=e.isNewDay,n=e.isBaseTimeFormat;return t&&Yt(TC||(TC=Gt([` top: -10px; `,` `])),r&&n&&"left: 14px")},";"),tq=gt("div",{target:"e1lsdki03"})("height:100%;width:100%;display:grid;grid-template-columns:repeat(4, 1fr);align-items:end;padding-bottom:6px;",function(e){var t=e.isVerticalMode;return t&&Yt(kC||(kC=Gt([` grid-template-columns: 1fr; align-items: start; `])))},";"),rq=gt("div",{target:"e1lsdki02"})("background:",function(e){var t=e.theme;return t.timeline.divider.bg},";height:10px;width:1px;margin-right:",function(e){var t=e.width;return t/4},"px;",function(e){var t=e.isVerticalMode;return t&&Yt(xC||(xC=Gt([` height: 1px; width: 15px; margin: 0 auto; &:first-of-type { opacity: 0; visibility: hidden; } `])))}," ",function(e){var t=e.isNewDay,r=e.theme;return t&&`&:first-of-type { width:2px; background: `+r.teal[100]+`; }`},";"),MC=gt("div",{target:"e1lsdki01"})(function(e){var t=e.isVerticalMode,r=e.isSidebar,n=e.sidebarWidth,i=e.dayWidth,a=e.theme;return Yt(SC||(SC=Gt([` position: sticky; background: `,`; z-index: `,`; `,` `,` `])),a.primary[900],ni.Timeline,t&&Yt(FC||(FC=Gt([` left: 0; bottom: 0px; float: left; width: 75px; margin-top: `,`px; `])),r?n:0),!t&&Yt(OC||(OC=Gt([` top: 0; left: `,`px; height: `,`px; width: `,`px; `])),r?n:0,B3-20,i))},";"),IC=gt("div",{target:"e1lsdki00"})(function(e){var t=e.isVerticalMode,r=e.left,n=e.width,i=e.theme;return Yt(PC||(PC=Gt([` position: absolute; font-size: 14px; background-color: `,`; `,` `,` `])),i.primary[900],!t&&Yt(DC||(DC=Gt([` left: `,`px; width: `,`px; height: 100%; `])),r,n),t&&Yt(AC||(AC=Gt([` top: `,`px; height: `,`px; width: `,`px; `])),r,n,lu))}," ",function(e){var t=e.isVerticalMode,r=e.isToday,n=e.isCurrentTime,i=r&&n?2:1,a=t?"top":"left";return"&:nth-of-type("+i+`) { `+$3+` { `+a+`: 0px; } }`},";"),Sa={position:"absolute",top:64,width:3},nq=gt("div",{target:"e11ykrth0"})("position:",Sa.position,";top:",function(e){var t=e.isTimeline;return t?Sa.top:0},"px;left:",function(e){var t=e.left;return t},"px;height:",function(e){var t=e.height;return t},"px;width:",Sa.width,"px;background:",function(e){var t=e.theme;return t.green[300]},";pointer-events:none;z-index:",function(e){var t=e.zIndex;return t},";",function(e){var t=e.isVerticalMode,r=e.isTimeline,n=e.left,i=e.height;return t&&` top: `+n+`px; left: `+(r?Sa.top:0)+`px; height: `+Sa.width+`px; width: `+i+`px; `},";"),NC,iq=[0,50,0],aq=function(t){return ix(NC||(NC=Gt([` `,` `])),iq.map(function(r,n){return r+`% { transform: translateX(-`+t.right[n]+`); }`}))},oq=gt("div",{target:"e63elwp1"})("position:absolute;top:0;left:0;bottom:0;width:100%;background:",function(e){var t=e.theme;return t.loader.bg},";display:flex;justify-content:center;align-items:center;z-index:",ni.Loader,";"),sq=gt("div",{target:"e63elwp0"})("width:",function(e){var t=e.width;return t*.42},"px;background:",function(e){var t=e.color;return t},";height:18px;border-radius:45px;margin-right:",function(e){var t=e.marginRight;return t??0},"px;animation-name:",function(e){var t=e.animate;return aq(t)},";animation-duration:",function(e){var t=e.transition;return t.duration},"s;animation-timing-function:",function(e){var t,r=e.transition;return(t=r.ease)!=null?t:"ease-in-out"},";animation-delay:",function(e){var t,r=e.transition;return(t=r.delay)!=null?t:0},"s;animation-iteration-count:infinite;"),RC,LC,BC,Bi={position:"absolute",top:0,width:70,height:20},lq=function(t,r){return t?r?11:20:r?9:16},uq=gt("div",{target:"e4javpd1"})("position:",Bi.position,";top:",function(e){var t=e.top;return t},"px;left:",function(e){var t=e.left;return t},"px;width:",function(e){var t=e.width;return typeof t=="string"?"auto":t+"px"},";height:",Bi.height,"px;background-color:",function(e){var t=e.theme;return t.primary[900]},";z-index:2;"),cq=gt("span",{target:"e4javpd0"})(function(e){var t=e.isVerticalMode,r=e.isBaseTimeFormat,n=e.isRTL,i=e.isNewDay,a=e.theme;return Yt(RC||(RC=Gt([` position: absolute; font-size: 13px; font-weight: 500; color: `,`; `,`; `,`; `,` `,` `])),a.green[200],i&&"color: "+a.teal[100]+"; font-weight: 600",n&&"transform: scale(-1,1)",t&&Yt(LC||(LC=Gt([` top: 0px; left: `,`px; `])),lq(n,r)),!t&&Yt(BC||(BC=Gt([` top: 4px; left: `,`px; `])),n&&r?"-32":"-16"))},";"),dq=GH,fq=XH,hq=Ne.forwardRef(function(e,t){var r,n=e.channels,i=e.programs,a=e.startDate,o=e.endDate,s=e.liveRefreshTime,l=e.scrollY,u=e.dayWidth,c=e.hourWidth,f=e.sidebarWidth,h=e.itemHeight,p=e.days,g=e.numberOfHoursInDay,v=e.numberOfDays,m=e.offsetStartHoursRange,_=e.isVerticalMode,w=_===void 0?!1:_,T=e.isRTL,F=T===void 0?!1:T,O=e.isSidebar,M=O===void 0?!0:O,H=e.isTimeline,S=H===void 0?!0:H,L=e.isLine,U=L===void 0?!0:L,D=e.isToday,b=e.isBaseTimeFormat,C=b===void 0?!1:b,k=e.isCurrentTime,P=k===void 0?!1:k,A=e.onScroll,I=e.isProgramVisible,q=e.isChannelVisible,B=e.isTimelineVisible,K=e.renderProgram,X=e.renderChannel,re=e.renderTimeline,ve=e.renderLine,be=e.renderCurrentTime,Ee=e.showVerticalLines,Ce=e.verticalLinesHalfHourIncrements,se=e.timeZone,ce=e.timeZoneConverter,Fe=n.length,we=Ne.useMemo(function(){return Fe*h},[Fe,h]),$e=AH(o),ft=Ce?2:1,zt=new Array((g+1)*ft).fill(""),pe=function(Oe){var _e=Oe.position,We=I(_e);if(We){var Be=FH(Oe);return K?K({program:Be,isRTL:F,isVerticalMode:w,isBaseTimeFormat:C,liveRefreshTime:s,timeZone:se,timeZoneConverter:ce,hourWidth:c}):Ne.createElement(Aq,{key:Oe.data.id,isRTL:F,isVerticalMode:w,isBaseTimeFormat:C,program:Be,liveRefreshTime:s,timeZone:se,timeZoneConverter:ce})}return null},rt=function(){var Oe={isVerticalMode:w,isSidebar:M,isRTL:F,isTimelineVisible:B,sidebarWidth:f,startDate:a,dayWidth:u,numberOfHoursInDay:g,renderCurrentTime:be},_e={isToday:D,isBaseTimeFormat:C,isCurrentTime:P,offsetStartHoursRange:m,numberOfHoursInDay:g,hourWidth:c/ft,numberOfDays:v,days:p,startDate:a,endDate:o,liveRefreshTime:s,timeZone:se,timeZoneConverter:ce};return re?re(er({},_e,Oe)):Ne.createElement(Zq,Object.assign({},_e,Oe))};return Ne.createElement(dq,{className:"planby-layout",isRTL:F,ref:t,onScroll:A},U&&D&&$e&&Ne.createElement(Xq,{isVerticalMode:w,isTimeline:S,dayWidth:u,hourWidth:c,sidebarWidth:f,startDate:a,endDate:o,height:we,liveRefreshTime:s,renderLine:ve,timeZone:se,timeZoneConverter:ce}),S&&rt(),M&&Ne.createElement(Iq,{isVerticalMode:w,isRTL:F,isTimeline:S,isChannelVisible:q,sidebarWidth:f,contentHeight:we,channels:n,scrollY:l,renderChannel:X,hourWidth:c/ft}),Ne.createElement(fq,{className:"planby-content","data-testid":"content",isVerticalMode:w,sidebarWidth:f,isSidebar:M,isTimeline:S,dayWidth:u,contentHeight:we,hourWidth:c/ft},i.map(function(Ye){return pe(Ye)}),Ee&&Ne.createElement(pq,{minWidth:(t==null||(r=t.current)==null?void 0:r.clientWidth)-c/ft,isVerticalMode:w},zt.map(function(Ye,Oe){return Ne.createElement(gq,{key:Oe,isVerticalMode:w,position:c/ft*Oe})}))))}),pq=gt("div",{target:"e1g7cwmj1"})("position:absolute;top:0;left:0;pointer-events:none;display:flex;flex-direction:",function(e){var t=e.isVerticalMode;return t?"column":"row"},";",function(e){var t=e.isVerticalMode;return t?"width: 100%":"height: 100%"},";",function(e){var t=e.isVerticalMode,r=e.minWidth;return t&&"min-width: "+r+"px;"},";"),gq=gt("div",{target:"e1g7cwmj0"})("position:absolute;width:",function(e){var t=e.isVerticalMode;return t?"100%":"1px"},";background:#f1f1f1;height:",function(e){var t=e.isVerticalMode;return t?"1px":"100%"},";",function(e){var t=e.isVerticalMode,r=e.position;return t?"top: "+r+"px":"left: "+r+"px"},";",function(e){var t=e.isVerticalMode;return!t&&` &:first-of-type { background: transparent; } `},";"),Fa={primary:{600:"#1a202c",900:"#171923"},grey:{300:"#d1d1d1"},white:"#fff",teal:{100:"#5DDADB"},green:{200:"#389493",300:"#2C7A7B"},loader:{teal:"#5DDADB",purple:"#3437A2",pink:"#F78EB6",bg:"#171923db"},scrollbar:{border:"#ffffff",thumb:{bg:"#e1e1e1"}},gradient:{blue:{300:"#002eb3",600:"#002360",900:"#051937"}},text:{grey:{300:"#a0aec0",500:"#718096"}},timeline:{divider:{bg:"#718096"}}};function mq(e){var t=e.isVerticalMode,r=e.isToday,n=e.height,i=e.width,a=e.startDate,o=e.endDate,s=e.hourWidth,l=e.sidebarWidth,u=e.timeZone,c=e.timeZoneConverter,f=sC(),h=Ne.useRef(null),p=Ne.useRef(null),g=Ne.useState(0),v=g[0],m=g[1],_=Ne.useState(0),w=_[0],T=_[1],F=Ne.useState(i),O=F[0],M=F[1],H=Ne.useState(n),S=H[0],L=H[1],U=tC(function(I){m(I.y),T(I.x)},iC,{maxWait:aC}),D=Ne.useCallback(function(I){U({y:I.target.scrollTop,x:I.target.scrollLeft})},[U]),b=Ne.useCallback(function(){if(p!=null&&p.current&&r){var I,q=i??((I=h.current)==null?void 0:I.clientWidth),B=new Date(a),K=xa(wn(B),uu(new Date,u,c),a,o,s),X=K-q/2+l;t?p.current.scrollTop=X+s:p.current.scrollLeft=X}},[t,r,i,s,l,a,o]),C=Ne.useCallback(function(I){if(I===void 0&&(I=s),p!=null&&p.current){var q=p.current.scrollTop+I;p.current.scrollTop=q}},[s]),k=Ne.useCallback(function(I){if(I===void 0&&(I=s),p!=null&&p.current){var q=p.current.scrollLeft+I;p.current.scrollLeft=q}},[s]),P=Ne.useCallback(function(I){if(I===void 0&&(I=s),p!=null&&p.current){var q=p.current.scrollLeft-I;p.current.scrollLeft=q}},[s]),A=tC(function(){if(h!=null&&h.current&&!i){var I=h.current,q=I.clientWidth;M(q)}},iC*4,{maxWait:aC*4});return f(function(){if(h!=null&&h.current){var I=h.current;if(!i){var q=I.clientWidth;M(q)}if(!n){var B=I.clientHeight;L(B)}}p!=null&&p.current&&r&&b()},[n,i,a,r,b]),f(function(){return window.addEventListener("resize",A),function(){window.removeEventListener("resize",A)}},[i]),{containerRef:h,scrollBoxRef:p,scrollX:w,scrollY:v,layoutWidth:O,layoutHeight:S,onScroll:D,onScrollToNow:b,onScrollTop:C,onScrollLeft:P,onScrollRight:k}}var vq=["isToday","currentDate"],bq=["hourWidth","dayWidth"],yq=["containerRef","scrollBoxRef"],_q=ka(cR());function Cq(e){var t=e.isVerticalMode,r=t===void 0?!1:t,n=e.isRTL,i=n===void 0?!1:n,a=e.isBaseTimeFormat,o=a===void 0?!1:a,s=e.isSidebar,l=s===void 0?!0:s,u=e.isTimeline,c=u===void 0?!0:u,f=e.isLine,h=f===void 0?!0:f,p=e.isCurrentTime,g=p===void 0?!1:p,v=e.width,m=e.height,_=e.channels,w=e.epg,T=e.startDate,F=T===void 0?_q:T,O=e.endDate,M=O===void 0?"":O,H=e.liveRefreshTime,S=H===void 0?xH:H,L=e.theme,U=e.globalStyles,D=e.dayWidth,b=D===void 0?_H:D,C=e.sidebarWidth,k=C===void 0?TH:C,P=e.itemHeight,A=P===void 0?B3:P,I=e.itemOverscan,q=I===void 0?kH:I,B=e.timeZone,K=B===void 0?"UTC":B,X=e.timeZoneConverter,re=e.hourWidth,ve=MH(F,M),be=ve.startDate,Ee=ve.endDate,Ce=Ne.useMemo(function(){return PH({startDate:be,endDate:Ee})},[be,Ee]),se=Ce.isToday,ce=Ce.currentDate,Fe=Ri(Ce,vq),we=Ne.useMemo(function(){return OH({dayWidth:b,startDate:be,endDate:Ee})},[b,be,Ee]),$e=we.hourWidth,ft=we.dayWidth,zt=Ri(we,bq),pe=mq({startDate:be,endDate:Ee,sidebarWidth:k,width:v,height:m,hourWidth:re||$e,isToday:se,isVerticalMode:r,timeZone:K,timeZoneConverter:X}),rt=pe.containerRef,Ye=pe.scrollBoxRef,Oe=Ri(pe,yq),_e=Oe.scrollX,We=Oe.scrollY,Be=Oe.layoutWidth,kt=Oe.layoutHeight,Ht=Oe.onScroll,Wt=Oe.onScrollToNow,Me=Oe.onScrollTop,Pr=Oe.onScrollLeft,jr=Oe.onScrollRight,Ur=Ne.useMemo(function(){return LH(_,A)},[_,A]),Dr=ka(be),Re=ka(Ee),Xe=Ne.useMemo(function(){return RH({data:w,channels:Ur,startDate:Dr,endDate:Re,itemHeight:A,hourWidth:re||$e,isVerticalMode:r})},[w,Ur,Dr,Re,A,$e,r,re]),Ct=L||Fa,Pt=Ne.useCallback(function(Kt){return BH({position:Kt,scrollY:We,scrollX:_e,containerHeight:kt,containerWidth:Be,itemOverscan:q,isVerticalMode:r})},[We,_e,kt,Be,q,r]),Vt=Ne.useCallback(function(Kt){return $H({position:Kt,scrollX:_e,scrollY:We,containerHeight:kt,containerWidth:Be,itemOverscan:q,isVerticalMode:r})},[We,_e,kt,Be,q,r]),Ar=Ne.useCallback(function(Kt){return HH({position:Kt,scrollY:We,scrollX:_e,containerHeight:kt,containerWidth:Be,isVerticalMode:r})},[We,_e,kt,Be,r]),on=function(){return{isVerticalMode:r,isRTL:i,isSidebar:l,isLine:h,isTimeline:c,width:v,height:m,sidebarWidth:k,ref:rt,theme:Ct,globalStyles:U}},cr=function(){return er({programs:Xe,channels:Ur,startDate:be,endDate:Ee,liveRefreshTime:S,scrollY:We,onScroll:Ht,isVerticalMode:r,isRTL:i,isBaseTimeFormat:o,isSidebar:l,isTimeline:c,isLine:h,isCurrentTime:g,isProgramVisible:Pt,isChannelVisible:Vt,isTimelineVisible:Ar,dayWidth:ft,hourWidth:re||$e,sidebarWidth:k,itemHeight:A,isToday:se,currentDate:ce,timeZone:K,timeZoneConverter:X},Fe,zt,{ref:Ye})};return{getEpgProps:on,getLayoutProps:cr,onScrollToNow:Wt,onScrollTop:Me,onScrollLeft:Pr,onScrollRight:jr,scrollY:We,scrollX:_e}}function $C(e,t){var r=sC(),n=Ne.useRef(e);r(function(){n.current=e},[e]),Ne.useEffect(function(){if(!(!t&&t!==0)){var i=setInterval(function(){return n.current()},t);return function(){return clearInterval(i)}}},[t])}function HC(e){var t=e.isVerticalMode,r=t===void 0?!1:t,n=e.isRTL,i=n===void 0?!1:n,a=e.isBaseTimeFormat,o=e.program,s=e.liveRefreshTime,l=e.minWidth,u=l===void 0?200:l,c=o.data,f=o.position,h=f.width,p=f.height,g=c.since,v=c.till,m=Ne.useState(function(){return uC(g,v)}),_=m[0],w=m[1],T=SH(f,"egdeEnd"),F=function(U,D){return D===void 0&&(D=Or.HOURS_MIN),nt(new Date(U),D).replace(/\s/g,"")},O=function(){return a?Or.BASE_HOURS_TIME:Or.HOURS_MIN},M=function(U){return i?v:U},H=function(U){return i?g:U};$C(function(){var L=uC(g,v);w(L)},s);var S=r?p>u:h>u;return{isLive:_,isMinWidth:S,isRTL:i,formatTime:F,set12HoursTimeFormat:O,getRTLSinceTime:M,getRTLTillTime:H,styles:{width:h,position:T}}}function wq(e){var t=e.isBaseTimeFormat,r=e.isRTL,n=e.isSidebar,i=e.isVerticalMode,a=e.dayWidth,o=e.hourWidth,s=e.sidebarWidth,l=e.startDate,u=e.endDate,c=e.liveRefreshTime,f=e.days,h=e.numberOfDays,p=e.numberOfHoursInDay,g=e.offsetStartHoursRange,v=e.renderCurrentTime,m=e.timeZone,_=e.timeZoneConverter,w=zH({isBaseTimeFormat:t,days:f,numberOfDays:h,numberOfHoursInDay:p,offsetStartHoursRange:g}),T=oC(4),F=function(S){if(typeof S=="string")return{time:S,isNewDay:!0};var L=new Date,U=nt(L,Or.DATE),D=S<10?"0"+S:S;if(t){var b=new Date(U+"T"+D+":00:00"),C=nt(b,Or.BASE_HOURS_TIME).toLowerCase().replace(/\s/g,"");return{time:C,isNewDay:!1}}return{time:D+":00",isNewDay:!1}},O=function(){return{isBaseTimeFormat:t,isVerticalMode:i,isRTL:r,startDate:l,endDate:u,dayWidth:a,hourWidth:o,sidebarWidth:s,liveRefreshTime:c,renderCurrentTime:v,timeZone:m,timeZoneConverter:_}},M=function(){return{isSidebar:n,isVerticalMode:i,dayWidth:a,sidebarWidth:s}};return{time:w,dividers:T,getTime:F,getTimelineProps:M,getCurrentTimeProps:O}}function qC(e){var t=e.startDate,r=e.endDate,n=e.dayWidth,i=e.hourWidth,a=e.sidebarWidth,o=e.liveRefreshTime,s=e.timeZone,l=e.timeZoneConverter,u=xa(wn(new Date(t)),uu(new Date,s,l),t,r,i)+a,c=Ne.useState(function(){return u}),f=c[0],h=c[1],p=o*1e3,g=f<=n,v=Ne.useMemo(function(){return g?p:null},[g,p]);return $C(function(){var m=i/nC,_=m/wH,w=_*o;h(function(T){return Math.floor(T+w)})},v),Ne.useEffect(function(){var m=new Date(t),_=xa(wn(m),uu(new Date,s,l),t,r,i),w=_+a;h(w)},[t,r,a,i]),{positionX:f}}function Eq(e){var t=e.isVerticalMode,r=e.isBaseTimeFormat,n=e.positionX,i=e.timeZone,a=e.timeZoneConverter,o=e.sidebarWidth,s=function(){var f=uu(new Date,i,a),h=nt(f,Or.HOURS_MIN);if(r){var p=nt(f,Or.BASE_HOURS_TIME).toLowerCase().replace(/\s/g,"");return p}return h},l=function(){var f=t?Bi.width:"auto",h={position:Bi.position,width:f,height:Bi.height};return t?{position:er({top:n-111,left:Bi.top},h)}:{position:er({top:Bi.top,left:n-o},h)}},u=Ne.useMemo(function(){return s()},[n,r]);return{time:u,getCurrentTimeStyles:l}}var Tq=["isVerticalMode","program","onClick"],kq=vC,xq=bC,Sq=yC,Fq=EC,Oq=CC,Pq=wC,Dq=eq;function Aq(e){var t=e.isVerticalMode,r=e.program,n=e.onClick,i=Ri(e,Tq),a=HC(er({isVerticalMode:t,program:r},i)),o=a.isRTL,s=a.isLive,l=a.isMinWidth,u=a.styles,c=a.formatTime,f=a.set12HoursTimeFormat,h=a.getRTLSinceTime,p=a.getRTLTillTime,g=r.data,v=g.image,m=g.title,_=g.since,w=g.till,T=function(){return n?.(g)},F=c(h(_),f()).toLowerCase(),O=c(p(w),f()).toLowerCase();return he(kq,{className:"planby-program","data-testid":"program-item",width:u.width,style:u.position},he(xq,Object.assign({className:"planby-program-content","data-testid":"program-content",width:u.width,isLive:s,isVerticalMode:t,onClick:T},i),he(Sq,{className:"planby-program-flex",isVerticalMode:t},s&&l&&he(Dq,{isVerticalMode:t,src:v,alt:"Preview"}),he(Fq,{className:"planby-program-stack",isRTL:o},he(Oq,{className:"planby-program-title"},m),he(Pq,{className:"planby-program-text","aria-label":"program time"},F," - ",O)))))}var Mq=QH;function Iq(e){var t=e.channels,r=e.scrollY,n=e.sidebarWidth,i=e.contentHeight,a=e.renderChannel,o=e.hourWidth,s=e.isVerticalMode,l=e.isRTL,u=e.isTimeline,c=e.isChannelVisible,f=function(p){var g=VH(p,s),v=c(g.position);return v?a?a({channel:g,isVerticalMode:s,isRTL:l}):he(Bq,{key:p.uuid,channel:g,isVerticalMode:s}):null};return he(Mq,{className:"planby-channels","data-testid":"sidebar",isVerticalMode:s,isRTL:l,isTimeline:u,sidebarWidth:n,contentHeight:i,bottom:r,style:{left:s?o:void 0}},t.map(f))}var Nq=["isVerticalMode","channel","onClick"],Rq=mC,Lq=JH;function Bq(e){var t=e.isVerticalMode,r=e.channel,n=e.onClick,i=Ri(e,Nq),a=r.position,o=r.logo;return he(Rq,Object.assign({className:"planby-channel","data-testid":"sidebar-item",isVerticalMode:t,onClick:function(){return n?.(r)}},a,i),he(Lq,{src:o,alt:"Logo"}))}var $q=uq,Hq=cq;function qq(e){var t=e.isVerticalMode,r=e.isBaseTimeFormat,n=e.isRTL,i=e.startDate,a=e.endDate,o=e.dayWidth,s=e.hourWidth,l=e.sidebarWidth,u=e.liveRefreshTime,c=e.renderCurrentTime,f=e.timeZone,h=e.timeZoneConverter,p=qC({startDate:i,endDate:a,dayWidth:o,hourWidth:s,sidebarWidth:l,liveRefreshTime:u,timeZone:f,timeZoneConverter:h}),g=p.positionX,v=Eq({isVerticalMode:t,isBaseTimeFormat:r,positionX:g,timeZone:f,timeZoneConverter:h,sidebarWidth:l}),m=v.time,_=v.getCurrentTimeStyles,w=_();return c?c({isVerticalMode:t,isBaseTimeFormat:r,isRTL:n,time:m,styles:w}):he($q,Object.assign({className:"planby-current-time"},w.position),he(Hq,{className:"planby-current-content",isVerticalMode:t,isBaseTimeFormat:r,isRTL:n},m))}var jq=MC,Uq=IC,zq=$3,Wq=tq,Vq=rq;function Zq(e){var t=wq(e),r=t.time,n=t.dividers,i=t.getTime,a=t.getTimelineProps,o=t.getCurrentTimeProps,s=e.isToday,l=e.isBaseTimeFormat,u=e.isCurrentTime,c=e.isRTL,f=e.isTimelineVisible,h=e.isVerticalMode,p=e.hourWidth,g=function(_,w){var T=i(_),F=T.isNewDay,O=T.time,M={left:p*w,width:p},H=f(M);return H?he(Uq,Object.assign({className:"planby-timeline-box","data-testid":"timeline-item",key:w,isToday:s,isCurrentTime:u,isVerticalMode:h},M),he(zq,{className:"planby-timeline-time",isNewDay:F,isBaseTimeFormat:l,isRTL:c,isVerticalMode:h},O),he(Wq,{className:"planby-timeline-dividers",isVerticalMode:h},v(F))):null},v=function(_){return n.map(function(w,T){return he(Vq,{key:T,className:"planby-timeline-divider",isVerticalMode:h,isNewDay:_,width:p})})};return he(jq,Object.assign({className:"planby-timeline-wrapper","data-testid":"timeline"},a()),u&&s&&he(qq,Object.assign({},o())),r.map(function(m,_){return g(m,_)}))}var Yq=["isTimeline","isVerticalMode","height","startDate","renderLine"],Gq=Sa,Kq=nq;function Xq(e){var t=e.isTimeline,r=e.isVerticalMode,n=e.height,i=e.startDate,a=e.renderLine,o=Ri(e,Yq),s=qC(er({startDate:i},o)),l=s.positionX,u={height:n,left:l,zIndex:ni.Line},c=WH({isVerticalMode:r,isTimeline:t,lineStyles:Gq,position:u});return a?he(Le,null,a({styles:c,isVerticalMode:r,isTimeline:t})):he(Kq,Object.assign({className:"planby-line",isVerticalMode:r,isTimeline:t},u))}var Qq=oq,Jq=sq,Lo=function(t){var r=t.width,n=t.color,i=t.animate,a=t.marginRight,o=t.transition;return he(Jq,{className:"SHAPE",width:r,color:n,animate:i,transition:o,marginRight:a})};function ej(){return he(Qq,{"aria-label":"loading"},he("div",null,he("div",{style:{display:"flex",justifyContent:"end",marginBottom:16}},he(Lo,{animate:{right:["0px","75px","0px"]},transition:{duration:1},width:217,color:Fa.loader.teal,marginRight:10}),he(Lo,{width:122,color:Fa.loader.purple,animate:{right:["0px","50px","0px"]},transition:{duration:1,delay:.02}})),he("div",{style:{display:"flex",justifyContent:"end",marginBottom:16}},he(Lo,{width:267,color:Fa.loader.pink,animate:{right:["0px","70px","0px"]},transition:{delay:.5,duration:1}})),he("div",{style:{display:"flex",justifyContent:"end"}},he(Lo,{width:217,color:Fa.loader.purple,marginRight:10,animate:{right:["0px","95px","0px"]},transition:{delay:.3,duration:1}}),he(Lo,{width:80,color:Fa.loader.teal,animate:{right:["0px","70px","0px"]},transition:{duration:1,delay:.33}}))))}var tj=["children","width","height","sidebarWidth","theme","globalStyles","isVerticalMode","isRTL","isSidebar","isTimeline","isLoading","loader","sidebarTop","sidebarTopStyles"],rj=ZH,nj=YH,ij=KH,aj=Ne.forwardRef(function(e,t){var r=e.children,n=e.width,i=e.height,a=e.sidebarWidth,o=e.theme,s=e.globalStyles,l=e.isVerticalMode,u=l===void 0?!1:l,c=e.isRTL,f=c===void 0?!1:c,h=e.isSidebar,p=h===void 0?!0:h,g=e.isTimeline,v=g===void 0?!0:g,m=e.isLoading,_=m===void 0?!1:m,w=e.loader,T=e.sidebarTop,F=e.sidebarTopStyles,O=F===void 0?{}:F,M=Ri(e,tj),H=function(){return w??Ne.createElement(ej,null)},S=s??yH,L=er(u?{height:a,width:lu}:{width:a,height:EH},O);return Ne.createElement(cc,{theme:o},Ne.createElement(Op,{styles:S}),Ne.createElement(rj,Object.assign({className:"planby","data-testid":"container",width:n,height:i,ref:t},M),Ne.createElement(nj,null,p&&v&&Ne.createElement(ij,{isRTL:f,left:0,top:0,style:L},T&&Ne.cloneElement(T,{isRTL:f},null)),_&&H(),r)))}),oj=mC,sj=vC,lj=bC,uj=yC,cj=EC,dj=CC,fj=wC,hj=MC,pj=IC,gj=$3;const jC=W.li` display: flex; align-items: center; gap: 8px; `,mj=W(sj)` display: flex; align-items: center; width: ${({width:e})=>e}px; padding: 0; overflow: initial; `,vj=W(lj)` width: ${({width:e})=>e}px; height: ${({isVerticalMode:e})=>e?"100%":"70%"}; padding: ${({paddingVertical:e,paddingHorizontal:t})=>`${e}px ${t}px`}; color: ${({textColor:e})=>e}; background: ${({backgroundColor:e})=>e}; border: 1px solid ${({borderColor:e})=>e}; border-radius: var(--brella-widget-border-radius); transition: none; ${({isVerticalMode:e})=>e&&"margin: 0 auto;"} ${({isVerticalMode:e})=>` border-left-width: ${e?"1px":"4px"}; border-top-width: ${e?"4px":"1px"}; `} ${({sharpEdges:e,isVerticalMode:t})=>e&&` border-width: 0; border-left-width: ${t?"0":"4px"}; border-top-width: ${t?"4px":"0"}; `} &:hover { background: ${({backgroundColor:e})=>e}; } ${({isLive:e,backgroundColor:t})=>e&&` background: ${t}; `} `;W.div` position: absolute; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background: rgba(255, 255, 255, 0.7); `;const UC=W(dj)` color: ${({color:e})=>e}; font-weight: ${({theme:e})=>e.base.fontWeight.bold}; ${({numberOfLines:e})=>e>1&&` white-space: normal; word-break: break-all; display: -webkit-box; -webkit-line-clamp: ${e}; -webkit-box-orient: vertical; `} ${({isVerticalMode:e})=>e&&` white-space: normal; overflow: initial; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; `} `,zC=W(fj)` color: ${({color:e})=>e}; font-size: ${({theme:e})=>e.system.typography.code.sm.fontSize}; margin-bottom: var(--brella-widget-margin-base); font-family: monospace; `,WC=W.img` height: 42px; object-fit: contain; ${({isVerticalMode:e})=>!e&&` margin-top: -6px; `} margin-bottom: var(--brella-widget-margin-quarter-base); `,H3=W.ul` position: relative; padding: 0 0 0 12px; height: fit-content; list-style: none; margin-bottom: 0; margin-top: 0; display: flex; flex-direction: column; gap: ${({gap:e=0,theme:t})=>t.system.spacing[e]}; li { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; font-weight: ${({theme:e})=>e.base.fontWeight.bold}; line-height: 1.5; ${({theme:e,color:t})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.components.scheduleTile.session[e.accentColor].text.speakers:e.components.scheduleTile.session[t].text.speakers}; `:` color: ${e.components.scheduleTile.session[t].text.speakers}; `} } :before { display: block; position: absolute; top: 0; left: 0; width: 2px; content: ''; height: calc(100% - 2px); border-radius: var(--brella-widget-border-radius); ${({theme:e,color:t})=>e.colorTheme?` background: ${mt(e.colorTheme)?e.system.text.secondary:e.accentColor?e.components.scheduleTile.session[e.accentColor].border:e.components.scheduleTile.session[t].border}; `:` background: ${e.components.scheduleTile.session[t].border}; `} } `,bj=64,yj=W.span` letter-spacing: -1px; color: ${({theme:e})=>e.system.text.secondary}; display: flex; justify-content: center; align-items: center; background: ${({theme:e})=>e.system.background.secondary}; ${({size:e,rounded:t,withBorder:r,theme:n})=>` width: ${e}px; height: ${e}px; font-size: ${e*.3}px; font-weight: ${ed("svg",{className:e,width:"400",height:"314",viewBox:"0 0 400 314",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("g",{"clip-path":"url(#clip0_2331_9910)",children:[d("path",{d:"M171.542 126.903C177.632 120.962 179.758 111.17 176.292 105.033C172.826 98.8964 165.079 98.7376 158.989 104.679C152.899 110.62 144.341 126.686 147.807 132.823C151.274 138.96 165.452 132.844 171.542 126.903ZM150.527 130.124C149.229 129.501 148.876 127.542 149.738 125.749C150.599 123.956 152.349 123.008 153.646 123.631C154.943 124.255 155.297 126.213 154.435 128.006C153.574 129.799 151.824 130.747 150.527 130.124Z",fill:"#3F3D56"}),d("path",{d:"M164.017 122.382C163.431 121.846 162.844 121.311 162.258 120.775C161.453 120.13 160.794 119.323 160.323 118.405C159.815 117.124 159.687 115.724 159.955 114.372C160.275 112.412 161.19 110.597 162.576 109.175L162.482 110.54C163.186 109.716 164.015 109.008 164.938 108.44C165.806 107.992 166.762 108.023 167.139 108.821C167.571 109.734 167.16 111.372 167.746 112.104C168.759 113.371 171.399 110.635 172.513 111.76C173.161 112.416 172.854 113.972 172.514 115.282C172.164 116.9 171.61 118.468 170.865 119.947C169.51 122.387 167.034 124.001 165.36 123.342C164.857 123.106 164.402 122.781 164.017 122.382Z",fill:"currentColor"}),d("path",{d:"M158.824 122.71C158.515 121.664 159.149 120.304 159.75 119.159L160.053 118.844C160.678 118.53 161.356 118.335 162.052 118.268C162.376 118.244 162.698 118.331 162.966 118.514C163.234 118.696 163.432 118.965 163.527 119.275C163.705 119.889 163.562 120.766 163.987 121.125C164.809 121.818 166.459 119.67 167.244 120.419C167.684 120.839 167.366 121.922 166.799 122.454C166.264 122.9 165.603 123.169 164.908 123.223C163.901 123.39 162.894 123.558 161.887 123.725C161.298 123.86 160.69 123.891 160.09 123.815C159.797 123.768 159.522 123.64 159.299 123.444C159.075 123.249 158.91 122.995 158.824 122.71Z",fill:"#2F2E41"}),d("path",{d:"M155.502 123.488C155.714 121.942 156.897 119.453 157.952 117.326L158.363 116.678C158.952 115.975 159.63 115.352 160.381 114.825C160.955 114.511 161.353 114.743 161.209 115.77C161.081 116.68 160.551 118.162 160.758 118.545C161.158 119.286 163.595 115.055 163.937 115.902C164.129 116.377 163.35 118.274 162.608 119.395C162.075 120.218 161.393 120.935 160.597 121.509C159.637 122.244 158.677 122.978 157.718 123.713C157.248 124.141 156.699 124.472 156.102 124.689C155.658 124.768 155.373 124.427 155.502 123.488Z",fill:"#FF6584"}),d("path",{d:"M155.835 129.11C155.693 128.416 155.4 127.762 154.977 127.193C154.555 126.625 154.013 126.156 153.389 125.82C152.766 125.484 152.076 125.288 151.369 125.247C150.662 125.206 149.955 125.321 149.297 125.583L138.036 112.56L135.608 121.171L146.674 132.217C147.187 133.294 148.078 134.144 149.176 134.608C150.275 135.071 151.506 135.116 152.635 134.733C153.764 134.35 154.713 133.566 155.303 132.529C155.893 131.493 156.082 130.276 155.835 129.11Z",fill:"#FFB8B8"}),d("path",{d:"M118.453 79.5122L115.466 84.5712C115.466 84.5712 123.344 88.4739 123.497 91.555C123.65 94.636 124.214 93.8547 125.386 94.7005C126.558 95.5463 127.948 97.7372 127.992 100.146C128.037 102.554 146.669 121.215 146.669 121.215L141.595 128.247C139.943 126.71 138.105 125.384 136.125 124.3C133.109 122.718 124.737 119.781 124.128 118.154C123.52 116.526 121.07 115.343 118.726 113.651C116.382 111.96 121.406 110.524 117.499 107.705C113.592 104.885 92.3942 82.6902 88.5962 80.5436C84.7982 78.3969 84.7739 71.844 84.7739 71.844L87.5932 67.9373L118.453 79.5122Z",fill:"#3F3D56"}),d("path",{d:"M288.229 211.62V209.149C288.294 208.419 288.294 207.685 288.229 206.955V4.92639C288.229 3.67267 287.731 2.47029 286.844 1.58378C285.958 0.697258 284.755 0.199219 283.502 0.199219C282.248 0.199219 281.045 0.697258 280.159 1.58378C279.272 2.47029 278.774 3.67267 278.774 4.92639V206.955C278.709 207.685 278.709 208.419 278.774 209.149V211.62L230.919 309.533C232.048 310.661 233.388 311.557 234.862 312.168C236.337 312.779 237.918 313.093 239.514 313.093C241.111 313.093 242.691 312.779 244.166 312.168C245.641 311.557 246.981 310.661 248.11 309.533L278.774 231.73V308.366C278.774 309.62 279.272 310.822 280.159 311.708C281.045 312.595 282.248 313.093 283.502 313.093C284.755 313.093 285.958 312.595 286.844 311.708C287.731 310.822 288.229 309.62 288.229 308.366V231.73L318.893 309.533C320.022 310.661 321.362 311.557 322.837 312.168C324.312 312.779 325.892 313.093 327.489 313.093C329.085 313.093 330.666 312.779 332.141 312.168C333.615 311.557 334.955 310.661 336.084 309.533L288.229 211.62Z",fill:"#E6E6E6"}),d("path",{d:"M52.2793 284.252C47.131 279.166 42.7458 273.362 39.26 267.02C35.7847 260.71 33.2178 253.942 31.6354 246.914C30.031 239.782 29.4997 232.451 30.0588 225.163C31.2183 210.318 36.7035 196.139 45.8359 184.379C46.3936 183.664 46.9646 182.96 47.549 182.266C48.2005 181.49 49.3075 182.607 48.6606 183.378C39.3413 194.552 33.5028 208.214 31.8675 222.672C30.6847 233.72 32.0053 244.893 35.7314 255.361C39.4575 265.83 45.4933 275.324 53.3909 283.141C54.1123 283.852 53.0007 284.963 52.2793 284.252Z",fill:"#E6E6E6"}),d("path",{d:"M45.2021 185.714C45.8386 185.476 46.4618 185.204 47.0691 184.9C47.0998 184.947 47.1298 184.995 47.1605 185.042L45.2021 185.714Z",fill:"#E6E6E6"}),d("path",{d:"M57.3385 171.848C57.0812 173.288 56.6167 174.684 55.9595 175.991C54.1448 179.636 51.2543 182.634 47.6792 184.582C47.4813 184.687 47.2767 184.799 47.0722 184.898C46.8281 184.516 46.5774 184.133 46.3399 183.75C44.7366 181.184 43.3114 178.485 42.6582 175.543C41.8929 172.105 42.3086 168.245 44.5122 165.494C46.7093 162.743 50.9056 161.509 53.9472 163.291C54.8254 163.815 55.5705 164.535 56.1245 165.395C55.821 165.771 55.5175 166.141 55.214 166.517C55.1873 166.551 55.1587 166.584 55.1282 166.616C54.8643 166.946 54.5938 167.269 54.3298 167.599C53.228 168.951 52.1328 170.311 51.0309 171.657C52.5839 171.942 54.1643 172.051 55.7418 171.98C55.8672 171.973 55.9991 171.967 56.1245 171.96C56.5269 171.934 56.936 171.901 57.3385 171.848Z",fill:"#E6E6E6"}),d("path",{d:"M35.0842 198.906L34.6619 204.408L34.5497 205.9C34.431 205.84 34.3056 205.781 34.1869 205.721C30.0829 203.684 26.461 200.795 23.563 197.246C20.6651 193.697 18.5578 189.571 17.3821 185.143C16.989 183.607 16.7133 182.043 16.5574 180.465C18.6951 180.135 20.8394 179.798 22.9771 179.469C21.2464 177.217 19.0785 175.339 16.6036 173.946C17.1679 168.44 19.1577 163.175 22.3767 158.672C22.9309 167.896 32.5902 173.761 36.1267 182.292C37.2116 184.962 37.6813 187.842 37.5008 190.718C37.3203 193.594 36.4943 196.393 35.0842 198.906Z",fill:"#E6E6E6"}),d("path",{d:"M33.2498 247.235C32.7352 247.262 32.2206 247.275 31.7126 247.268C27.3218 247.24 22.983 246.316 18.9622 244.552C14.9414 242.788 11.3233 240.221 8.32973 237.008C5.90646 234.355 3.95804 231.304 2.56979 227.989C2.61598 227.983 2.65557 227.976 2.70176 227.969C4.83946 227.64 6.98376 227.303 9.12146 226.973C6.85108 224.015 3.83355 221.715 0.379293 220.309C-0.0878633 217.328 -0.123408 214.295 0.273748 211.303C5.10339 219.174 16.3923 219.808 23.5246 225.667C26.9261 228.502 29.2449 232.424 30.0895 236.771C30.3 237.845 30.4126 238.936 30.426 240.03C30.4326 240.294 30.4326 240.552 30.426 240.809L30.5843 241.165L33.2498 247.235Z",fill:"#E6E6E6"}),d("path",{d:"M54.4687 256.347C53.1029 258.023 51.7372 259.712 50.3714 261.388C52.0505 261.696 53.7611 261.798 55.465 261.691C53.9519 267.11 51.0472 272.039 47.0395 275.989C46.6634 276.358 46.2741 276.721 45.8783 277.064C45.7991 277.137 45.7133 277.209 45.6342 277.282L45.2779 276.272L45.2713 276.266L43.2523 270.677C40.6908 268.102 38.917 264.85 38.139 261.302V261.289C37.6658 259.212 37.5564 257.069 37.8157 254.955C38.9439 245.79 46.6898 237.55 44.7632 228.517C49.0082 231.955 52.3019 236.423 54.3301 241.495C53.2283 242.848 52.133 244.207 51.0312 245.553C52.5842 245.838 54.1646 245.947 55.7421 245.876C56.2946 248.11 56.5956 250.398 56.6394 252.698C56.646 253.028 56.646 253.351 56.6394 253.681C55.9466 254.539 55.2472 255.39 54.5545 256.248C54.5278 256.282 54.4991 256.316 54.4687 256.347Z",fill:"#E6E6E6"}),d("path",{d:"M322.486 301.872C321.661 294.682 321.881 287.411 323.139 280.284C324.385 273.189 326.626 266.306 329.797 259.838C333.016 253.275 337.196 247.229 342.199 241.899C352.405 231.058 365.565 223.446 380.052 220.005C380.934 219.797 381.821 219.606 382.711 219.431C383.705 219.235 383.867 220.799 382.881 220.994C368.615 223.862 355.504 230.85 345.169 241.092C337.324 248.961 331.351 258.495 327.695 268.988C324.039 279.481 322.792 290.662 324.049 301.702C324.165 302.709 322.602 302.878 322.486 301.872Z",fill:"#E6E6E6"}),d("path",{d:"M378.722 220.648C379.367 220.861 380.023 221.04 380.687 221.183C380.681 221.239 380.674 221.296 380.669 221.352L378.722 220.648Z",fill:"#E6E6E6"}),d("path",{d:"M396.869 217.447C395.765 218.409 394.529 219.205 393.197 219.812C389.5 221.515 385.368 222.04 381.361 221.318C381.141 221.276 380.911 221.235 380.69 221.184C380.74 220.733 380.784 220.277 380.839 219.83C381.198 216.826 381.778 213.83 383.113 211.127C384.671 207.969 387.414 205.221 390.855 204.458C394.291 203.691 398.335 205.359 399.589 208.654C399.944 209.613 400.073 210.641 399.966 211.658C399.494 211.761 399.026 211.859 398.554 211.962C398.511 211.972 398.468 211.98 398.425 211.985C398.013 212.077 397.599 212.159 397.187 212.251C395.481 212.614 393.775 212.987 392.073 213.346C393.104 214.541 394.268 215.616 395.542 216.55C395.644 216.623 395.751 216.701 395.852 216.774C396.183 217.006 396.522 217.236 396.869 217.447Z",fill:"#E6E6E6"}),d("path",{d:"M362.57 224.587L358.793 228.61L357.771 229.702C357.715 229.582 357.655 229.457 357.6 229.336C355.678 225.177 354.666 220.655 354.632 216.074C354.597 211.492 355.541 206.956 357.4 202.768C358.056 201.325 358.821 199.933 359.689 198.606C361.561 199.689 363.443 200.77 365.316 201.853C365.378 199.014 364.866 196.191 363.81 193.555C367.7 189.618 372.55 186.762 377.88 185.27C372.532 192.805 376.384 203.429 373.793 212.294C372.966 215.054 371.527 217.593 369.584 219.721C367.641 221.849 365.244 223.512 362.57 224.587Z",fill:"#E6E6E6"}),d("path",{d:"M330.854 261.1C330.437 260.798 330.027 260.486 329.635 260.162C326.231 257.389 323.429 253.95 321.402 250.055C319.374 246.161 318.163 241.893 317.843 237.514C317.617 233.927 318.011 230.329 319.006 226.876C319.047 226.899 319.081 226.919 319.122 226.943C320.994 228.025 322.876 229.107 324.749 230.19C324.833 226.461 323.923 222.778 322.112 219.518C323.616 216.902 325.49 214.516 327.674 212.434C326.505 221.594 334.905 229.162 336.792 238.197C337.666 242.539 337.015 247.048 334.949 250.965C334.44 251.934 333.844 252.854 333.169 253.716C333.008 253.925 332.847 254.126 332.681 254.322L332.581 254.699L330.854 261.1Z",fill:"#E6E6E6"}),d("path",{d:"M341.68 281.498C339.565 281.948 337.442 282.408 335.328 282.858C336.443 284.151 337.712 285.302 339.107 286.287C334.532 289.562 329.179 291.583 323.581 292.149C323.057 292.201 322.526 292.24 322.002 292.259C321.895 292.266 321.783 292.269 321.676 292.276L322.031 291.266L322.03 291.257L323.958 285.636C323.576 282.024 324.232 278.378 325.849 275.126L325.857 275.115C326.79 273.201 328.048 271.462 329.575 269.977C336.197 263.542 347.397 261.974 351.556 253.728C352.71 259.068 352.477 264.613 350.879 269.837C349.173 270.201 347.467 270.573 345.765 270.932C346.797 272.128 347.96 273.203 349.234 274.136C348.265 276.223 347.065 278.195 345.658 280.015C345.456 280.276 345.254 280.528 345.042 280.781C343.964 281.015 342.886 281.24 341.809 281.474C341.766 281.485 341.723 281.492 341.68 281.498Z",fill:"#E6E6E6"}),d("path",{d:"M371.044 178.256H195.96C193.925 178.254 191.973 177.444 190.534 176.005C189.095 174.566 188.286 172.615 188.283 170.58V48.1693C188.285 46.134 189.095 44.1828 190.534 42.7436C191.973 41.3044 193.925 40.4949 195.96 40.4927H371.044C373.079 40.495 375.031 41.3046 376.47 42.7437C377.909 44.1828 378.718 46.1341 378.72 48.1693V170.58C378.718 172.615 377.909 174.566 376.47 176.005C375.03 177.444 373.079 178.254 371.044 178.256Z",fill:"#F2F2F2"}),d("path",{d:"M309.388 48.1463H257.615C254.332 48.1426 251.185 46.837 248.864 44.516C246.543 42.195 245.238 39.0481 245.234 35.7656V35.5405H321.769V35.7656C321.765 39.0481 320.46 42.195 318.139 44.516C315.818 46.837 312.671 48.1426 309.388 48.1463Z",fill:"#E6E6E6"}),d("path",{d:"M309.613 185.91H257.84C254.557 185.906 251.41 184.6 249.089 182.279C246.768 179.958 245.463 176.811 245.459 173.529V173.304H321.994V173.529C321.99 176.811 320.685 179.958 318.364 182.279C316.043 184.6 312.896 185.906 309.613 185.91Z",fill:"#E6E6E6"}),d("path",{d:"M297.008 154.62C297.008 162.079 291.411 153.72 283.952 153.72C280.37 153.72 276.935 152.297 274.402 149.764C271.869 147.231 270.446 143.796 270.446 140.213C270.446 136.631 271.869 133.196 274.402 130.663C276.935 128.13 280.37 126.707 283.952 126.707C291.411 126.707 297.008 147.161 297.008 154.62Z",fill:"currentColor"}),d("path",{d:"M245.234 87.0892C245.234 90.6713 243.811 94.1066 241.278 96.6396C238.745 99.1725 235.31 100.595 231.728 100.595C224.269 100.595 220.473 115.708 220.473 108.249C220.473 100.79 224.269 73.583 231.728 73.583C235.31 73.583 238.745 75.006 241.278 77.5389C243.811 80.0718 245.234 83.5071 245.234 87.0892Z",fill:"currentColor"}),d("path",{d:"M227.054 72.1988C229.004 71.0617 231.391 71.4527 233.242 72.6047C235.349 73.915 236.514 76.1717 237.027 78.5405C237.542 81.0861 237.534 83.7098 237.002 86.2518C236.499 88.7031 235.213 91.3076 232.604 92.0112C230.864 92.4801 228.921 91.8758 228.287 90.0812C228.043 89.3606 227.988 88.5893 228.129 87.8416C228.27 87.094 228.601 86.3952 229.09 85.8126C230.554 84.1652 233.106 84.0802 235.023 84.9023C237.277 85.8692 238.651 88.0515 239.23 90.3612C239.919 93.1072 239.485 95.9553 238.761 98.6469C237.973 101.572 236.931 104.432 235.993 107.312C234.165 112.927 232.483 118.649 232.045 124.567C231.377 133.608 234.354 144.039 242.616 148.888C247.077 151.506 252.444 151.923 257.437 150.89C262.703 149.8 267.406 147.08 271.49 143.648C273.612 141.833 275.609 139.878 277.467 137.794C278.027 137.119 278.775 136.626 279.616 136.378C280.456 136.129 281.352 136.136 282.189 136.397C286.485 137.763 285.693 144.64 281.443 145.484C279.512 145.867 277.418 144.938 275.988 143.683C274.424 142.255 273.329 140.386 272.848 138.323C271.767 133.987 273.03 129.213 275.594 125.63C278.492 121.582 283.182 119.062 287.823 117.563C293.108 115.856 298.641 115.353 304.137 114.797C309.76 114.227 315.443 113.563 320.753 111.517C325.025 109.857 328.994 107.502 332.498 104.547C339.561 98.6402 344.564 90.6412 346.784 81.7052C347.301 79.5453 347.637 77.3458 347.787 75.1299C347.846 74.2624 346.495 74.266 346.436 75.1299C345.775 84.7898 341.299 93.9786 334.529 100.838C331.152 104.275 327.199 107.092 322.849 109.162C317.608 111.639 311.91 112.612 306.189 113.232C300.347 113.866 294.43 114.239 288.754 115.868C283.736 117.307 278.732 119.748 275.313 123.807C272.299 127.386 270.648 132.296 271.236 136.973C271.783 141.325 274.558 145.805 279.117 146.751C281.256 147.195 283.47 146.63 284.897 144.911C285.689 143.932 286.194 142.754 286.356 141.506C286.518 140.258 286.332 138.99 285.817 137.841C285.161 136.601 284.066 135.65 282.747 135.172C281.427 134.695 279.977 134.725 278.679 135.258C277.729 135.695 276.892 136.342 276.23 137.15C272.333 141.423 267.91 145.411 262.585 147.806C257.619 150.04 251.77 150.88 246.518 149.171C236.575 145.936 232.766 134.567 233.365 125.015C233.758 118.764 235.636 112.725 237.577 106.81C238.569 103.789 239.698 100.776 240.394 97.6696C241.018 94.8882 241.208 91.9413 240.3 89.1981C239.508 86.8038 237.911 84.6719 235.546 83.6686C233.398 82.7572 230.766 82.7786 228.846 84.2159C226.07 86.294 225.816 91.4465 229.245 93.0459C231.52 94.1072 234.26 93.281 235.938 91.5186C237.819 89.5427 238.432 86.758 238.643 84.1226C239.044 79.1427 237.945 73.136 232.88 70.8889C230.794 69.9631 228.385 69.8589 226.373 71.0325C226.224 71.1261 226.118 71.2735 226.077 71.4438C226.035 71.614 226.062 71.7937 226.15 71.945C226.238 72.0963 226.382 72.2074 226.551 72.2547C226.72 72.302 226.9 72.282 227.054 72.1988Z",fill:"#3F3D56"}),d("path",{d:"M348.332 78.5353C348.332 86.4454 360.748 106.615 356.57 112.67C356.053 113.426 355.505 114.162 354.927 114.876C353.059 117.213 350.915 119.315 348.543 121.138C348.143 121.454 347.737 121.755 347.328 122.048C345.872 123.08 344.345 124.008 342.758 124.826C342.47 124.97 342.177 125.114 341.885 125.258C333.863 129.113 324.733 129.998 316.12 127.754C307.507 125.51 299.969 120.282 294.849 113.002C289.728 105.722 287.357 96.8616 288.156 87.997C288.955 79.1324 292.874 70.839 299.214 64.5924C299.547 64.2592 299.889 63.9351 300.241 63.6154C303.724 60.4237 307.779 57.9201 312.194 56.2366C312.198 56.2366 312.198 56.2321 312.203 56.2321C318.823 53.7183 326.016 53.1176 332.962 54.4988H332.971C333.124 54.5303 333.277 54.5618 333.43 54.5978C350.434 58.195 348.332 60.4595 348.332 78.5353Z",fill:"currentColor"}),d("path",{d:"M342.762 124.654C342.768 124.711 342.766 124.769 342.758 124.825C342.47 124.969 342.177 125.114 341.884 125.258C341.754 125.217 341.639 125.137 341.554 125.03C341.47 124.922 341.42 124.791 341.412 124.654C341.356 123.974 341.224 123.302 341.02 122.651C339.264 116.996 333.105 114.106 327.73 113.084C321.152 111.828 314.233 112.35 307.975 109.635C305.409 108.591 303.136 106.938 301.352 104.818C299.486 102.483 298.548 99.5412 298.719 96.5569C299.088 89.5382 304.036 84.0456 305.728 77.4231C306.426 74.6948 306.426 71.8495 305.184 69.2744C304.13 67.0864 302.239 65.164 299.718 64.8938C299.616 64.8864 299.518 64.8552 299.43 64.8028C299.343 64.7505 299.268 64.6783 299.214 64.5922C299.547 64.259 299.889 63.9349 300.24 63.6152C300.697 63.6834 301.145 63.7996 301.577 63.9619C304.045 64.9073 305.76 67.0458 306.723 69.4454C307.835 72.2232 307.732 75.2126 306.957 78.0624C305.152 84.7074 299.849 90.4746 300.056 97.6374C300.236 103.846 305.656 107.718 311.122 109.356C317.884 111.382 325.209 110.423 331.899 112.769C337.162 114.615 342.272 118.743 342.762 124.654Z",fill:"#3F3D56"}),d("path",{d:"M348.543 121.138C348.143 121.454 347.737 121.755 347.328 122.048C347.273 121.989 347.231 121.919 347.206 121.843C347.18 121.767 347.171 121.686 347.179 121.607C347.404 115.783 345.396 110.093 341.565 105.701C339.906 103.772 337.934 102.137 335.73 100.866C333.425 99.5465 330.895 98.8396 328.387 98.0203C325.92 97.2144 323.413 96.2374 321.526 94.3961C319.604 92.5187 318.659 89.9751 318.37 87.3458C317.691 81.115 320.81 75.3884 321.063 69.252C321.175 66.5148 320.572 63.8541 318.875 61.6525C317.407 59.7527 315.241 58.4561 312.788 58.7442C311.977 58.8433 311.937 57.6547 312.639 57.4251C312.688 57.4094 312.737 57.3988 312.788 57.3936C315.642 57.0604 318.231 58.6272 319.928 60.8242C321.904 63.3768 322.589 66.4878 322.391 69.6707C322.004 75.8296 318.762 81.7498 319.816 88.0077C319.996 89.324 320.452 90.5878 321.152 91.717C321.852 92.8462 322.782 93.8157 323.881 94.5627C326.141 96.0529 328.811 96.7237 331.359 97.552C333.901 98.3282 336.304 99.5045 338.477 101.037C340.603 102.593 342.466 104.479 343.996 106.624C347.049 110.839 348.646 115.935 348.543 121.138Z",fill:"#3F3D56"}),d("path",{d:"M356.57 112.67C356.053 113.426 355.505 114.162 354.927 114.876C355.529 111.378 355.396 107.793 354.536 104.35C353.484 100.015 351.357 96.0156 348.35 92.7213C346.843 91.0815 345.108 89.6669 343.199 88.5208C341.016 87.2152 338.63 86.1122 337.085 84.0053C333.736 79.4312 335.996 73.4614 337.076 68.5452C337.644 65.979 337.95 63.2462 336.901 60.7611C336.086 58.8342 334.474 57.0289 332.286 56.8083C331.426 56.7227 331.422 55.3676 332.286 55.4577C332.448 55.4757 332.61 55.4982 332.772 55.5252C335.163 55.9574 337.004 57.7402 338.004 59.9372C339.3 62.805 339.044 65.9025 338.382 68.9053C337.293 73.8441 334.767 80.3856 339.282 84.4195C341.187 86.1213 343.658 87.0622 345.711 88.5704C347.551 89.915 349.199 91.5038 350.61 93.293C354.932 98.7887 357.056 105.695 356.57 112.67Z",fill:"#3F3D56"}),d("path",{d:"M114.877 299.324H122.866L126.668 268.509H114.877V299.324Z",fill:"#FFB6B6"}),d("path",{d:"M110.66 313.166H116.389L117.412 307.757L120.031 313.166H135.227C135.955 313.166 136.665 312.933 137.251 312.502C137.838 312.07 138.271 311.462 138.488 310.767C138.705 310.072 138.694 309.325 138.456 308.637C138.219 307.948 137.767 307.353 137.168 306.939L125.033 298.559V293.09L112.27 293.852L110.66 313.166Z",fill:"#2F2E41"}),d("path",{d:"M52.9365 283.473L59.8085 287.548L78.7969 262.982L68.6555 256.968L52.9365 283.473Z",fill:"#FFB6B6"}),d("path",{d:"M42.249 293.228L47.1769 296.15L50.8157 292.019L50.3093 298.008L63.3794 305.759C64.0058 306.131 64.7347 306.292 65.4595 306.22C66.1843 306.148 66.8672 305.847 67.4083 305.359C67.9495 304.871 68.3206 304.224 68.4675 303.51C68.6145 302.797 68.5295 302.055 68.225 301.393L62.0626 287.995L64.8521 283.292L53.4853 277.436L42.249 293.228Z",fill:"#2F2E41"}),d("path",{d:"M115.741 102.293L122.325 127.042L85.4429 127.528L90.2957 103.748L115.741 102.293Z",fill:"#FFB6B6"}),d("path",{d:"M122.467 126.73L130.3 152.278L133.769 220.6L124.779 285.833H114.831L110.755 221.663L100.73 177.756L106.599 223.679L75.8549 268.628H60.7476L88.5223 219.095L72.3546 167.676C72.3546 167.676 73.976 142.248 84.2295 128.741L86.7253 121.531L122.467 126.73Z",fill:"#2F2E41"}),d("path",{d:"M122.977 79.4982C122.956 79.2757 122.924 79.0427 122.882 78.8204C122.085 73.4801 119.204 68.6732 114.871 65.4517C110.538 62.2302 105.106 60.8565 99.762 61.6313C94.7437 62.3833 90.1721 64.9402 86.9046 68.8225V68.8331C86.7352 69.0343 86.5763 69.2461 86.4175 69.4579C86.1315 69.818 85.8667 70.1993 85.6125 70.5806C83.3168 74.0491 82.1344 78.1357 82.2234 82.2941C82.2234 82.2941 84.151 92.5568 84.5534 95.2786C84.8288 97.0368 85.0407 98.7631 85.1995 100.447C85.2948 101.294 85.369 102.131 85.4325 102.946V102.957C85.7502 106.992 85.8561 110.614 85.9515 113.421C85.9938 114.946 87.0529 119.278 87.1164 119.331C87.1818 119.38 87.2526 119.428 87.3276 119.474C87.8647 119.786 88.4705 119.962 89.0916 119.985C89.7127 120.008 90.3298 119.877 90.8884 119.605L95.6527 117.382C98.8161 115.91 102.333 115.367 105.793 115.816C111.455 116.55 119.702 117.558 120.076 117.253C120.521 116.872 122.67 97.6405 123.232 91.593C123.306 90.7246 123.369 89.8243 123.401 88.8605V88.8499C123.494 85.7265 123.352 82.6004 122.977 79.4982Z",fill:"#3F3D56"}),d("path",{d:"M150.373 82.956C150.159 83.5921 149.809 84.1736 149.346 84.6594C148.883 85.1453 148.319 85.5238 147.694 85.7682C147.069 86.0126 146.398 86.117 145.729 86.0741C145.059 86.0311 144.407 85.8419 143.818 85.5196L131.727 96.4695L130.436 88.0918L142.116 78.9779C142.723 78.0249 143.658 77.3277 144.745 77.0182C145.831 76.7088 146.994 76.8088 148.011 77.2991C149.029 77.7895 149.832 78.6362 150.267 79.6788C150.703 80.7214 150.74 81.8875 150.373 82.956Z",fill:"#FFB8B8"}),d("path",{d:"M105.373 61.7212C105.373 61.7212 117.272 63.9433 110.5 87.0415L113.114 98.4905L125.383 91.4337L126.126 88.4506L136.868 80.9106L141.946 90.0665L135.771 95.9674L133.987 99.651L130.819 100.699L121.006 110.076L116.891 112.59C116.891 112.59 111.659 115.832 107.005 114.076C105.763 113.611 104.601 112.953 103.562 112.128C101.531 110.508 99.7283 108.032 98.5996 104.289C94.4122 90.4025 92.8403 80.692 92.8403 80.692L105.373 61.7212Z",fill:"#3F3D56"}),d("path",{d:"M149.587 94.2083L142.383 67.1087C142.344 66.961 142.362 66.8038 142.436 66.6696C142.509 66.5354 142.631 66.4344 142.776 66.3873C142.922 66.3403 143.08 66.3509 143.218 66.4169C143.355 66.4829 143.463 66.5992 143.517 66.742L153.213 92.0696L149.587 94.2083Z",fill:"#3F3D56"}),d("path",{d:"M155.584 100.352C154.534 100.133 153.513 99.7911 152.543 99.3327C152.051 99.0976 151.575 98.8324 151.109 98.5587C150.943 98.4663 150.778 98.3676 150.616 98.2723C150.228 98.0459 149.841 97.8195 149.45 97.5896C149.119 97.3984 148.786 97.2037 148.459 97.0098C147.975 96.7276 147.454 96.3997 147.314 95.8552C147.271 95.5975 147.286 95.3336 147.358 95.0824C147.429 94.8312 147.556 94.599 147.728 94.4027C148.082 93.9886 148.492 93.6252 148.946 93.3229C149.962 92.576 150.98 91.8302 151.998 91.0856L152.271 90.4885C153.098 90.8379 153.858 91.3293 154.516 91.9404C154.776 92.2046 154.98 92.5187 155.116 92.8639C155.251 93.209 155.316 93.5779 155.305 93.9486C155.295 94.1124 155.268 94.2747 155.224 94.4329C155.028 95.125 154.513 95.714 154.207 96.3779C154.145 96.5169 154.091 96.6595 154.046 96.8051C153.91 97.2327 153.869 97.6852 153.927 98.1304C153.985 98.5756 154.141 99.0024 154.383 99.3804C154.685 99.8098 155.101 100.146 155.584 100.352Z",fill:"#CCCCCC"}),d("path",{d:"M157.09 100.602C156.575 100.64 156.059 100.554 155.584 100.352C156.082 100.461 156.584 100.544 157.09 100.602Z",fill:"#E6E6E6"}),d("path",{d:"M155.584 100.352C154.534 100.133 153.513 99.791 152.543 99.3326C152.051 99.0976 151.575 98.8323 151.109 98.5586C150.943 98.4662 150.778 98.3675 150.616 98.2723C150.228 98.0459 149.841 97.8194 149.45 97.5895C149.587 97.4063 149.733 97.2303 149.888 97.0623C151.331 95.4921 153.302 94.6064 155.305 93.9485C155.295 94.1123 155.268 94.2747 155.224 94.4328C155.028 95.125 154.513 95.7139 154.207 96.3778C154.145 96.5168 154.091 96.6595 154.046 96.805C153.91 97.2326 153.869 97.6851 153.927 98.1303C153.985 98.5755 154.141 99.0023 154.383 99.3804C154.685 99.8098 155.101 100.146 155.584 100.352Z",fill:"currentColor"}),d("path",{d:"M395.58 313.265C395.58 313.335 395.566 313.405 395.539 313.47C395.513 313.535 395.473 313.595 395.423 313.644C395.373 313.694 395.314 313.734 395.249 313.76C395.184 313.787 395.114 313.801 395.044 313.801H6.83506C6.69297 313.801 6.55671 313.744 6.45624 313.644C6.35577 313.543 6.29932 313.407 6.29932 313.265C6.29932 313.123 6.35577 312.987 6.45624 312.886C6.55671 312.786 6.69297 312.729 6.83506 312.729H395.044C395.114 312.729 395.184 312.743 395.249 312.77C395.314 312.796 395.373 312.836 395.423 312.886C395.473 312.935 395.513 312.995 395.539 313.06C395.566 313.125 395.58 313.195 395.58 313.265Z",fill:"#CCCCCC"}),d("path",{d:"M113.701 50.168C117.832 42.6108 115.054 33.1356 107.497 29.0045C99.9399 24.8734 90.4647 27.6507 86.3336 35.2079C82.2024 42.7651 84.9798 52.2403 92.537 56.3714C100.094 60.5025 109.569 57.7252 113.701 50.168Z",fill:"#FFB6B6"}),d("path",{d:"M90.5056 29.964V29.975C90.5071 30.6535 90.4206 31.3293 90.2481 31.9854C90.2207 32.1005 90.1878 32.221 90.1495 32.3361V32.3415C89.782 33.5133 89.1481 34.5841 88.2974 35.4699C87.4468 36.3557 86.4026 37.0324 85.2466 37.4471C85.0768 37.5128 84.9015 37.5676 84.7262 37.6169C84.3569 37.724 83.9795 37.801 83.5977 37.847C83.2548 37.8956 82.9087 37.9194 82.5624 37.9182C82.2916 37.9193 82.021 37.9065 81.7516 37.8799C81.1212 37.816 80.5011 37.6743 79.9055 37.458C79.8122 37.4309 79.7208 37.398 79.6316 37.3594C79.5868 37.3435 79.5429 37.3252 79.5001 37.3047C78.5063 36.8887 77.6074 36.2751 76.858 35.5011C76.1086 34.7271 75.5243 33.8089 75.1406 32.8022C74.7568 31.7955 74.5817 30.7213 74.6258 29.6449C74.6699 28.5684 74.9323 27.5122 75.397 26.5402L75.4025 26.5347C75.7919 25.7193 76.3202 24.9779 76.9638 24.3435C78.399 22.9137 79.0315 19.3305 81.2117 19.3305C81.3159 19.3287 81.4202 19.3324 81.524 19.3415C82.9866 19.3908 85.6903 22.5467 86.8407 23.2917C87.6951 23.8315 88.4358 24.533 89.021 25.357C89.6321 26.2045 90.0679 27.1655 90.3029 28.1836C90.4373 28.7676 90.5053 29.3648 90.5056 29.964Z",fill:"#2F2E41"}),d("path",{d:"M80.8007 27.1982C79.5671 28.6343 77.6357 29.1926 75.8934 29.9399C72.8184 31.2889 70.119 33.3676 68.029 35.9957C65.9391 38.6239 64.5217 41.7221 63.8999 45.0219C63.4182 47.7096 63.4812 50.4919 62.7203 53.1121C61.964 55.7323 60.0911 58.303 57.4034 58.7577C55.5846 59.0683 53.7612 58.366 52.0504 57.6727C51.1095 57.2945 50.1686 56.9148 49.2276 56.5337C50.2091 54.071 51.189 51.6084 52.1675 49.1458C50.595 51.4698 48.7661 53.6098 46.7155 55.5252C43.3434 54.1656 39.9684 52.8059 36.5903 51.4463C44.9011 51.4778 43.483 43.4101 45.3424 35.3154C46.3643 30.8674 55.0668 27.8555 56.7731 23.6235C57.6951 21.3282 59.2554 19.345 61.2693 17.9087C63.2833 16.4724 65.6665 15.6431 68.137 15.519C70.6076 15.3949 73.0619 15.9812 75.2096 17.2084C77.3574 18.4357 79.1085 20.2526 80.2559 22.444C81.9622 23.1238 82.0117 25.7801 80.8007 27.1982Z",fill:"#2F2E41"}),d("path",{d:"M114.132 27.0874C112.611 25.0837 108.778 25.0057 108.009 27.4013L106.392 25.2092C104.295 20.6268 98.7617 21.5592 93.7587 22.1636C88.7556 22.7681 84.3469 26.2937 82.1087 30.8088C79.8705 35.3239 79.6676 40.6862 80.9566 45.5579C81.8239 48.8358 83.4164 52.0341 86.0586 54.1589C88.7008 56.2838 101.122 61.3092 102.156 56.982C100.863 62.6274 103.464 61.7437 107.313 66.0708C109.307 60.0817 110.241 48.7971 112.235 42.808C112.535 41.9065 112.835 41.005 113.135 40.1034C113.768 38.2031 114.402 36.2996 114.859 34.3496C115.433 31.9001 115.654 29.0911 114.132 27.0874Z",fill:"#2F2E41"}),d("path",{d:"M103.881 44.2799L103.215 40.0363C103.668 34.7584 102.928 26.3632 106.392 25.209L108.51 27.3272C107.17 27.774 104.622 35.6665 103.881 44.2799Z",fill:"#FF6584"}),d("path",{d:"M108.821 21.8092C108.821 25.0416 107.713 27.6619 106.345 27.6619C104.978 27.6619 103.869 25.0416 103.869 21.8092C103.869 18.5769 106.345 15.9565 106.345 15.9565C106.345 15.9565 108.821 18.5769 108.821 21.8092Z",fill:"#FF6584"}),d("path",{d:"M110.864 23.2543C109.565 26.2142 107.497 28.1682 106.245 27.6187C104.992 27.0692 105.03 24.2243 106.329 21.2644C107.628 18.3044 110.948 16.8999 110.948 16.8999C110.948 16.8999 112.163 20.2943 110.864 23.2543Z",fill:"#FF6584"})]}),d("defs",{children:d("clipPath",{id:"clip0_2331_9910",children:d("rect",{width:"400",height:"313.602",fill:"white",transform:"translate(0 0.199219)"})})})]}),Cj=({className:e})=>d("svg",{className:e,width:"400",height:"306",viewBox:"0 0 400 306",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("g",{"clip-path":"url(#clip0_2331_9185)",children:[d("path",{d:"M142.295 71.6479C142.129 71.6477 141.969 71.5846 141.848 71.4713C141.727 71.358 141.653 71.203 141.641 71.0373C141.212 65.2046 138.596 59.7491 134.317 55.7625C130.038 51.7759 124.411 49.5523 118.562 49.5365C117.862 49.5365 117.127 49.5721 116.377 49.6423C116.251 49.6541 116.125 49.6295 116.013 49.5714C115.901 49.5134 115.809 49.4244 115.746 49.315C113.059 44.6127 109.048 40.8057 104.211 38.369C99.3747 35.9324 93.9277 34.9741 88.55 35.6137C83.1722 36.2533 78.102 38.4625 73.9719 41.9655C69.8418 45.4686 66.8349 50.1104 65.3263 55.3116C65.2864 55.451 65.2014 55.5732 65.0845 55.6589C64.9676 55.7447 64.8255 55.7891 64.6806 55.7853L64.5061 55.78C64.4153 55.7769 64.3245 55.7737 64.233 55.7737C59.797 55.7876 55.4991 57.3178 52.0525 60.1104C48.6058 62.903 46.2176 66.7901 45.284 71.1268C45.253 71.2742 45.1722 71.4064 45.0552 71.5013C44.9382 71.5961 44.7922 71.6479 44.6416 71.6479H0.656518C0.482692 71.6474 0.316145 71.5781 0.193395 71.455C0.0706442 71.3319 0.00170898 71.1652 0.00170898 70.9914C0.00170898 70.8175 0.0706442 70.6508 0.193395 70.5277C0.316145 70.4046 0.482692 70.3353 0.656518 70.3348H44.1162C45.2102 65.8241 47.7836 61.8098 51.4258 58.9325C55.0679 56.0553 59.5689 54.4809 64.2103 54.4607C65.8627 49.1157 69.0318 44.3657 73.3324 40.7876C77.6331 37.2095 82.8804 34.9574 88.4367 34.3048C93.993 33.6523 99.6193 34.6274 104.632 37.1117C109.645 39.5959 113.828 43.4825 116.674 48.2991C117.32 48.2488 117.953 48.2235 118.562 48.2235C124.743 48.2402 130.689 50.5902 135.211 54.8032C139.733 59.0163 142.497 64.7815 142.951 70.9454C142.957 71.0314 142.946 71.1177 142.919 71.1995C142.891 71.2813 142.848 71.3569 142.792 71.422C142.735 71.4871 142.666 71.5404 142.589 71.5789C142.512 71.6174 142.428 71.6403 142.342 71.6463C142.326 71.6474 142.311 71.6479 142.295 71.6479Z",fill:"#CBCBCB"}),d("path",{d:"M134.484 80.066H26.8099C26.6357 80.066 26.4687 79.9969 26.3456 79.8737C26.2225 79.7506 26.1533 79.5836 26.1533 79.4095C26.1533 79.2353 26.2225 79.0683 26.3456 78.9452C26.4687 78.8221 26.6357 78.7529 26.8099 78.7529H134.484C134.658 78.7529 134.825 78.8221 134.948 78.9452C135.071 79.0683 135.14 79.2353 135.14 79.4095C135.14 79.5836 135.071 79.7506 134.948 79.8737C134.825 79.9969 134.658 80.066 134.484 80.066Z",fill:"#CBCBCB"}),d("path",{d:"M53.0719 89.5861H16.9618C16.8754 89.5863 16.7898 89.5695 16.71 89.5366C16.6301 89.5037 16.5575 89.4554 16.4964 89.3944C16.4352 89.3334 16.3867 89.2609 16.3536 89.1812C16.3205 89.1014 16.3035 89.0159 16.3035 88.9295C16.3035 88.8431 16.3205 88.7576 16.3536 88.6779C16.3867 88.5981 16.4352 88.5256 16.4964 88.4646C16.5575 88.4036 16.6301 88.3553 16.71 88.3224C16.7898 88.2895 16.8754 88.2727 16.9618 88.273H53.0719C53.2457 88.2734 53.4122 88.3428 53.535 88.4659C53.6577 88.5889 53.7267 88.7557 53.7267 88.9295C53.7267 89.1033 53.6577 89.2701 53.535 89.3931C53.4122 89.5162 53.2457 89.5856 53.0719 89.5861Z",fill:"#CBCBCB"}),d("path",{d:"M86.833 217.332C86.833 244.024 58.8495 256.796 58.8495 256.796C58.8495 256.796 30.5789 244.024 30.0049 217.332C29.6675 201.643 42.7263 188.918 58.4189 188.918C62.1503 188.918 65.8452 189.653 69.2925 191.081C72.7399 192.509 75.8722 194.602 78.5107 197.241C81.1492 199.879 83.2422 203.012 84.6701 206.459C86.098 209.906 86.833 213.601 86.833 217.332Z",fill:"#E5E5E5"}),d("path",{d:"M68.3204 258.375H49.3776L47.0813 249.19H70.6162L68.3204 258.375Z",fill:"#CBCBCB"}),d("path",{d:"M67.6746 274.082H50.0234V283.28H67.6746V274.082Z",fill:"white"}),d("path",{d:"M67.8178 283.423H49.8796V273.938H67.8178V283.423ZM50.1667 283.137H67.5308V274.225H50.1667V283.137Z",fill:"#CBCBCB"}),d("path",{d:"M62.4684 259.458H55.232L54.4016 258.153H63.2988L62.4684 259.458Z",fill:"#CBCBCB"}),d("path",{d:"M49.8087 258.375H49.5217V272.439H49.8087V258.375Z",fill:"#CBCBCB"}),d("path",{d:"M68.1774 258.375H67.8904V272.439H68.1774V258.375Z",fill:"#CBCBCB"}),d("path",{d:"M61.7268 249.035L61.5515 248.808C69.843 242.414 79.7268 231.46 79.7268 215.586C79.7334 210.026 78.0984 204.588 75.0267 199.954C71.9551 195.32 67.5835 191.696 62.4604 189.537L62.5722 189.272C67.7474 191.454 72.1632 195.114 75.2661 199.796C78.3689 204.477 80.0205 209.97 80.0138 215.586C80.0138 231.576 70.0692 242.602 61.7268 249.035Z",fill:"#CBCBCB"}),d("path",{d:"M52.5424 249.035L52.3672 248.808C60.6587 242.414 70.5426 231.46 70.5426 215.586C70.5449 210.064 68.9294 204.662 65.8958 200.047C62.8622 195.433 58.5434 191.808 53.4728 189.621L53.5866 189.358C58.7087 191.567 63.0713 195.229 66.1357 199.89C69.2001 204.551 70.8319 210.008 70.8296 215.586C70.8296 231.577 60.885 242.602 52.5424 249.035Z",fill:"#CBCBCB"}),d("path",{d:"M64.2964 249.035C55.9539 242.602 46.0093 231.577 46.0093 215.586C46.007 210.008 47.6389 204.551 50.7033 199.89C53.7677 195.229 58.1304 191.567 63.2525 189.358L63.3663 189.621C58.2957 191.808 53.9768 195.433 50.9431 200.047C47.9095 204.662 46.294 210.064 46.2963 215.586C46.2963 231.46 56.1801 242.414 64.4716 248.808L64.2964 249.035Z",fill:"#CBCBCB"}),d("path",{d:"M55.1121 249.036C46.7696 242.602 36.825 231.577 36.825 215.586C36.8156 209.948 38.4789 204.434 41.6043 199.741C44.7298 195.049 49.1769 191.389 54.3831 189.224L54.4938 189.489C49.3399 191.632 44.9374 195.255 41.8433 199.9C38.7493 204.546 37.1027 210.005 37.112 215.586C37.112 231.46 46.9958 242.414 55.2873 248.808L55.1121 249.036Z",fill:"#CBCBCB"}),d("path",{d:"M58.5619 188.918H58.2749V249.191H58.5619V188.918Z",fill:"#CBCBCB"}),d("path",{d:"M55.1848 271.996L49.9219 277.259L50.1248 277.462L55.3877 272.199L55.1848 271.996Z",fill:"#CBCBCB"}),d("path",{d:"M57.7438 271.909L49.9204 280.137L50.1284 280.335L57.9518 272.107L57.7438 271.909Z",fill:"#CBCBCB"}),d("path",{d:"M69.3258 272.008H47.8V274.591H69.3258V272.008Z",fill:"white"}),d("path",{d:"M69.4688 274.735H47.656V271.865H69.4688V274.735ZM47.943 274.448H69.1818V272.152H47.943V274.448Z",fill:"#CBCBCB"}),d("path",{d:"M140.99 149.687C140.99 167.305 122.519 175.735 122.519 175.735C122.519 175.735 103.86 167.305 103.481 149.687C103.258 139.332 111.877 130.933 122.235 130.933C127.209 130.933 131.98 132.909 135.497 136.426C139.014 139.943 140.99 144.713 140.99 149.687Z",fill:"#E5E5E5"}),d("path",{d:"M128.77 176.777H116.267L114.752 170.715H130.286L128.77 176.777Z",fill:"#CBCBCB"}),d("path",{d:"M128.344 187.144H116.694V193.215H128.344V187.144Z",fill:"white"}),d("path",{d:"M128.439 193.31H116.599V187.049H128.439V193.31ZM116.788 193.121H128.249V187.239H116.788V193.121Z",fill:"#CBCBCB"}),d("path",{d:"M124.907 177.492H120.131L119.583 176.63H125.455L124.907 177.492Z",fill:"#CBCBCB"}),d("path",{d:"M116.552 176.777H116.363V186.06H116.552V176.777Z",fill:"#CBCBCB"}),d("path",{d:"M128.676 176.777H128.486V186.059H128.676V176.777Z",fill:"#CBCBCB"}),d("path",{d:"M124.417 170.612L124.302 170.462C129.774 166.242 136.298 159.012 136.298 148.534C136.302 144.865 135.223 141.275 133.196 138.217C131.168 135.158 128.283 132.766 124.901 131.341L124.975 131.166C128.391 132.606 131.306 135.022 133.354 138.112C135.402 141.202 136.492 144.827 136.487 148.534C136.487 159.089 129.924 166.366 124.417 170.612Z",fill:"#CBCBCB"}),d("path",{d:"M118.356 170.612L118.241 170.462C123.713 166.242 130.237 159.012 130.237 148.534C130.239 144.889 129.173 141.324 127.17 138.278C125.168 135.232 122.317 132.84 118.97 131.396L119.046 131.222C122.426 132.681 125.306 135.097 127.329 138.174C129.351 141.251 130.428 144.852 130.427 148.534C130.427 159.089 123.863 166.366 118.356 170.612Z",fill:"#CBCBCB"}),d("path",{d:"M126.114 170.612C120.608 166.366 114.044 159.089 114.044 148.534C114.042 144.852 115.119 141.251 117.142 138.174C119.165 135.097 122.044 132.681 125.425 131.222L125.5 131.396C122.153 132.84 119.303 135.232 117.3 138.278C115.298 141.324 114.232 144.889 114.233 148.534C114.233 159.012 120.757 166.242 126.23 170.462L126.114 170.612Z",fill:"#CBCBCB"}),d("path",{d:"M120.052 170.612C114.545 166.366 107.981 159.089 107.981 148.534C107.975 144.813 109.073 141.173 111.136 138.076C113.199 134.978 116.134 132.562 119.57 131.134L119.643 131.309C116.242 132.723 113.336 135.114 111.294 138.181C109.251 141.247 108.165 144.85 108.171 148.534C108.171 159.012 114.694 166.242 120.167 170.462L120.052 170.612Z",fill:"#CBCBCB"}),d("path",{d:"M122.33 130.933H122.141V170.715H122.33V130.933Z",fill:"#CBCBCB"}),d("path",{d:"M120.1 185.767L116.626 189.241L116.76 189.375L120.234 185.901L120.1 185.767Z",fill:"#CBCBCB"}),d("path",{d:"M121.789 185.71L116.625 191.141L116.763 191.271L121.926 185.84L121.789 185.71Z",fill:"#CBCBCB"}),d("path",{d:"M129.433 185.775H115.225V187.48H129.433V185.775Z",fill:"white"}),d("path",{d:"M129.529 187.575H115.131V185.68H129.529V187.575ZM115.321 187.385H129.339V185.87H115.321V187.385Z",fill:"#CBCBCB"}),d("path",{d:"M298.004 173.774C298.123 173.774 298.237 173.729 298.324 173.647C298.411 173.566 298.464 173.455 298.473 173.336C298.78 169.155 300.656 165.245 303.723 162.387C306.79 159.53 310.823 157.936 315.015 157.925C315.517 157.925 316.044 157.95 316.582 158.001C316.672 158.009 316.762 157.991 316.842 157.95C316.923 157.908 316.989 157.844 317.034 157.766C318.96 154.395 321.835 151.667 325.302 149.92C328.769 148.173 332.673 147.487 336.528 147.945C340.382 148.403 344.017 149.987 346.977 152.498C349.938 155.009 352.093 158.336 353.174 162.064C353.203 162.164 353.264 162.252 353.348 162.313C353.431 162.375 353.533 162.406 353.637 162.404L353.762 162.4C353.827 162.398 353.892 162.395 353.958 162.395C357.138 162.405 360.218 163.502 362.689 165.504C365.159 167.506 366.871 170.292 367.54 173.4C367.563 173.506 367.62 173.601 367.704 173.669C367.788 173.737 367.893 173.774 368.001 173.774H399.529C399.591 173.774 399.652 173.762 399.709 173.738C399.767 173.715 399.819 173.68 399.862 173.637C399.906 173.593 399.941 173.541 399.965 173.484C399.989 173.426 400.001 173.365 400.001 173.303C400.001 173.241 399.989 173.18 399.965 173.123C399.941 173.066 399.906 173.014 399.862 172.97C399.819 172.926 399.767 172.892 399.709 172.868C399.652 172.844 399.591 172.832 399.529 172.833H368.377C367.593 169.599 365.749 166.722 363.138 164.66C360.527 162.597 357.301 161.469 353.974 161.454C352.79 157.623 350.518 154.218 347.436 151.654C344.353 149.089 340.592 147.475 336.609 147.007C332.626 146.539 328.593 147.238 325 149.019C321.407 150.799 318.409 153.585 316.369 157.038C315.906 157.002 315.452 156.984 315.015 156.984C310.585 156.996 306.323 158.68 303.082 161.7C299.84 164.72 297.859 168.852 297.534 173.27C297.53 173.332 297.537 173.394 297.557 173.452C297.577 173.511 297.608 173.565 297.648 173.612C297.689 173.659 297.738 173.697 297.793 173.724C297.849 173.752 297.909 173.768 297.97 173.773C297.982 173.774 297.993 173.774 298.004 173.774Z",fill:"#CBCBCB"}),d("path",{d:"M303.603 179.807H380.783C380.907 179.807 381.027 179.758 381.115 179.67C381.204 179.581 381.253 179.462 381.253 179.337C381.253 179.212 381.204 179.092 381.115 179.004C381.027 178.916 380.907 178.866 380.783 178.866H303.603C303.479 178.866 303.359 178.916 303.271 179.004C303.182 179.092 303.133 179.212 303.133 179.337C303.133 179.462 303.182 179.581 303.271 179.67C303.359 179.758 303.479 179.807 303.603 179.807Z",fill:"#CBCBCB"}),d("path",{d:"M361.958 186.632H387.841C387.966 186.631 388.085 186.581 388.173 186.493C388.261 186.405 388.311 186.286 388.311 186.161C388.311 186.036 388.261 185.917 388.173 185.829C388.085 185.741 387.966 185.691 387.841 185.69H361.958C361.896 185.69 361.835 185.703 361.778 185.726C361.721 185.75 361.669 185.785 361.625 185.828C361.582 185.872 361.547 185.924 361.523 185.981C361.5 186.038 361.488 186.099 361.488 186.161C361.488 186.223 361.5 186.284 361.523 186.341C361.547 186.398 361.582 186.45 361.625 186.494C361.669 186.538 361.721 186.572 361.778 186.596C361.835 186.619 361.896 186.632 361.958 186.632Z",fill:"#CBCBCB"}),d("path",{d:"M241.686 300.182H240.137L239.4 294.208H241.686V300.182Z",fill:"#9F616A"}),d("path",{d:"M242.081 301.684H237.086V301.621C237.087 301.106 237.292 300.612 237.656 300.247C238.021 299.883 238.515 299.678 239.03 299.677H242.081V301.684Z",fill:"#2F2E41"}),d("path",{d:"M261.662 297.247L260.334 298.045L256.625 293.303L258.585 292.125L261.662 297.247Z",fill:"#9F616A"}),d("path",{d:"M258.493 300.903L258.46 300.849C258.195 300.407 258.116 299.878 258.241 299.378C258.366 298.878 258.684 298.447 259.125 298.181L261.74 296.61L262.774 298.331L258.493 300.903Z",fill:"#2F2E41"}),d("path",{d:"M242.089 298.95L242.062 298.95C241.308 298.947 240.555 298.904 239.807 298.82C239.521 298.792 239.211 298.761 238.838 298.73L238.826 298.728C238.571 298.652 238.564 296.265 238.672 288.094C238.727 283.909 238.79 279.166 238.715 276.145L238.715 276.115L238.737 276.095C240.084 274.914 241.692 274.069 243.429 273.628C245.165 273.187 246.982 273.163 248.729 273.559L248.757 273.564L248.771 273.588C250.293 276.164 252.592 279.875 254.815 283.463C259.918 291.701 261.378 294.124 261.218 294.306L261.199 294.321C260.85 294.495 260.589 294.63 260.366 294.744C259.486 295.2 258.581 295.608 257.656 295.966L257.616 295.983L257.586 295.95C252.408 290.276 248.099 283.938 245.434 278.079C245.122 280.079 244.744 282.691 244.345 285.451C243.196 293.387 242.42 298.612 242.107 298.931L242.089 298.95Z",fill:"#2F2E41"}),d("path",{d:"M243.484 276.755C246.572 276.741 249.639 277.255 252.554 278.274C252.655 273.38 251.015 268.61 247.926 264.814L247.903 264.787L247.915 264.753C248.728 262.403 249.569 259.974 250.32 257.556L250.309 257.516C249.782 255.643 248.651 253.75 246.852 251.729C246.656 251.527 246.392 251.407 246.111 251.393C245.83 251.378 245.555 251.471 245.34 251.653C243.763 253.095 242.535 254.876 241.749 256.862C240.963 258.849 240.639 260.988 240.801 263.118L240.802 263.13L240.799 263.142C239.39 267.916 238.879 270.367 238.427 272.531C238.098 274.109 237.813 275.475 237.241 277.427C239.292 276.981 241.385 276.756 243.484 276.755Z",fill:"#CBCBCB"}),d("path",{opacity:"0.1",d:"M248.03 261.665L243.446 271.644L240.827 268.994L248.03 261.665Z",fill:"black"}),d("path",{d:"M246.069 250.758C247.87 250.758 249.33 249.298 249.33 247.497C249.33 245.696 247.87 244.236 246.069 244.236C244.268 244.236 242.808 245.696 242.808 247.497C242.808 249.298 244.268 250.758 246.069 250.758Z",fill:"#9F616A"}),d("path",{d:"M242.115 245.655H247.294V243.398C246.157 242.946 245.045 242.562 244.373 243.398C243.774 243.398 243.2 243.635 242.777 244.059C242.353 244.482 242.115 245.056 242.115 245.655Z",fill:"#2F2E41"}),d("path",{d:"M247.581 242.999C250.676 242.999 251.543 246.879 251.543 249.068C251.543 250.289 250.991 250.726 250.123 250.874L249.817 249.24L249.099 250.944C248.855 250.945 248.599 250.94 248.334 250.936L248.091 250.435L247.548 250.927C245.375 250.93 243.618 251.247 243.618 249.068C243.618 246.879 244.378 242.999 247.581 242.999Z",fill:"#2F2E41"}),d("path",{d:"M341.088 92.3351C341.088 178.29 250.974 219.419 250.974 219.419C250.974 219.419 159.936 178.29 158.087 92.3351C157.001 41.8126 199.053 0.834961 249.588 0.834961C300.122 0.834961 341.088 41.801 341.088 92.3351Z",fill:"currentColor"}),d("path",{d:"M252.908 299.508H251.008L250.105 292.181H252.908V299.508Z",fill:"#FFB7B7"}),d("path",{d:"M249.65 298.965H253.313V301.271H247.344C247.344 300.968 247.403 300.668 247.519 300.388C247.635 300.109 247.805 299.854 248.019 299.64C248.233 299.426 248.488 299.256 248.768 299.14C249.047 299.024 249.347 298.965 249.65 298.965Z",fill:"#2F2E41"}),d("path",{d:"M260.034 299.508H258.135L257.231 292.181H260.035L260.034 299.508Z",fill:"#FFB7B7"}),d("path",{d:"M256.778 298.965H260.442V301.271H254.472C254.472 300.659 254.715 300.073 255.147 299.64C255.58 299.208 256.167 298.965 256.778 298.965Z",fill:"#2F2E41"}),d("path",{d:"M259.801 277.687C259.597 277.555 259.423 277.38 259.294 277.174C259.164 276.969 259.081 276.737 259.051 276.495C259.02 276.254 259.043 276.009 259.117 275.777C259.192 275.546 259.316 275.333 259.482 275.155L258.231 257.406L261.834 257.755L261.933 275.137C262.214 275.435 262.376 275.826 262.388 276.235C262.401 276.644 262.263 277.044 262 277.359C261.737 277.673 261.368 277.88 260.963 277.94C260.558 278.001 260.145 277.911 259.801 277.687Z",fill:"#FFB7B7"}),d("path",{d:"M252.817 295.817L250.726 295.717C250.547 295.709 250.379 295.632 250.256 295.504C250.132 295.375 250.063 295.204 250.061 295.026L249.916 273.868C249.915 273.768 249.936 273.669 249.977 273.577C250.018 273.485 250.079 273.404 250.155 273.338C250.23 273.272 250.32 273.223 250.416 273.195C250.512 273.166 250.614 273.159 250.713 273.173L259.078 274.388C259.244 274.411 259.395 274.493 259.505 274.619C259.614 274.745 259.675 274.906 259.675 275.073L260.751 294.677C260.752 294.769 260.734 294.86 260.7 294.945C260.665 295.031 260.614 295.108 260.549 295.173C260.484 295.239 260.407 295.29 260.322 295.326C260.237 295.361 260.146 295.379 260.054 295.379H257.8C257.633 295.38 257.472 295.321 257.346 295.213C257.22 295.105 257.136 294.955 257.111 294.791C257.111 294.791 255.408 280.086 255.175 280.094C254.939 280.099 253.542 295.203 253.542 295.203C253.521 295.372 253.439 295.528 253.312 295.641C253.184 295.754 253.02 295.817 252.85 295.818C252.839 295.818 252.828 295.817 252.817 295.817Z",fill:"#2F2E41"}),d("path",{d:"M259.047 263.37C258.963 263.309 258.893 263.23 258.843 263.139C258.794 263.048 258.765 262.947 258.759 262.843L258.495 258.059C258.469 257.585 258.619 257.118 258.917 256.749C259.215 256.379 259.639 256.133 260.107 256.057C260.576 255.981 261.056 256.082 261.455 256.339C261.854 256.597 262.143 256.993 262.267 257.451L263.427 261.728C263.475 261.906 263.451 262.096 263.359 262.257C263.267 262.417 263.115 262.534 262.937 262.583L259.638 263.477C259.538 263.505 259.433 263.509 259.33 263.491C259.228 263.472 259.131 263.431 259.047 263.37Z",fill:"#3F3D56"}),d("path",{d:"M255.966 252.001C258.068 252.001 259.771 250.297 259.771 248.195C259.771 246.094 258.068 244.39 255.966 244.39C253.864 244.39 252.161 246.094 252.161 248.195C252.161 250.297 253.864 252.001 255.966 252.001Z",fill:"#FFB7B7"}),d("path",{d:"M258.659 251.206C258.5 251.377 258.295 251.5 258.068 251.559C257.842 251.618 257.604 251.612 257.381 251.54C257.158 251.468 256.961 251.335 256.811 251.154C256.662 250.974 256.567 250.755 256.538 250.523C256.531 250.443 256.531 250.362 256.54 250.282C256.587 249.824 256.852 249.409 256.788 248.926C256.774 248.806 256.729 248.691 256.658 248.593C256.092 247.835 254.765 248.932 254.231 248.246C253.903 247.825 254.288 247.163 254.037 246.693C253.705 246.073 252.723 246.379 252.107 246.039C251.422 245.662 251.463 244.61 251.914 243.971C252.208 243.593 252.581 243.284 253.008 243.067C253.434 242.85 253.903 242.73 254.381 242.715C255.339 242.692 256.29 242.878 257.169 243.259C258.207 243.596 259.123 244.231 259.803 245.085C260.155 245.645 260.378 246.276 260.456 246.932C260.534 247.589 260.465 248.255 260.254 248.881C260.024 249.65 259.238 250.588 258.659 251.206Z",fill:"#2F2E41"}),d("path",{d:"M259.765 254.543C259.699 254.495 259.631 254.448 259.563 254.403C259.197 254.16 258.802 253.966 258.386 253.826V252.826H255.442V253.753C254.466 254.023 253.591 254.573 252.926 255.335C252.26 256.098 251.833 257.04 251.699 258.043L249.694 272.924C249.681 273.017 249.687 273.112 249.712 273.203C249.737 273.293 249.78 273.378 249.838 273.451C249.895 273.524 249.967 273.585 250.048 273.629C250.13 273.674 250.219 273.702 250.311 273.71C251.716 273.892 253.069 274.356 254.29 275.073C255.177 275.564 256.175 275.819 257.188 275.813C257.993 275.81 258.791 275.668 259.547 275.393C259.675 275.346 259.787 275.262 259.867 275.151C259.948 275.041 259.994 274.909 259.999 274.772C260.071 273.171 260.494 264.927 261.723 259.899C261.962 258.913 261.903 257.878 261.555 256.924C261.206 255.971 260.584 255.142 259.765 254.543Z",fill:"#3F3D56"}),d("path",{d:"M281.474 224.502H220.474L213.08 194.926H288.868L281.474 224.502Z",fill:"#3F3D56"}),d("path",{d:"M279.394 275.081H222.553V304.702H279.394V275.081Z",fill:"white"}),d("path",{d:"M279.857 305.165H222.092V274.619H279.857V305.165ZM223.017 304.241H278.933V275.544H223.017V304.241Z",fill:"#3F3D56"}),d("path",{d:"M262.626 227.989H239.323L236.648 223.787H265.3L262.626 227.989Z",fill:"#3F3D56"}),d("path",{d:"M221.861 224.502H220.936V269.79H221.861V224.502Z",fill:"#3F3D56"}),d("path",{d:"M281.012 224.502H280.088V269.79H281.012V224.502Z",fill:"#3F3D56"}),d("path",{d:"M260.238 194.425L259.673 193.693C286.374 173.103 318.202 137.828 318.202 86.7106C318.224 68.8073 312.958 51.2961 303.067 36.3733C293.175 21.4506 279.098 9.78049 262.6 2.82672L262.96 1.97559C279.625 8.99992 293.846 20.7884 303.838 35.8626C313.829 50.9368 319.148 68.6256 319.126 86.7106C319.126 138.204 287.102 173.708 260.238 194.425Z",fill:"#3F3D56"}),d("path",{d:"M230.663 194.426L230.098 193.694C256.799 173.103 288.628 137.829 288.628 86.7108C288.635 68.9278 283.433 51.5322 273.664 36.6728C263.895 21.8133 249.987 10.141 233.659 3.09745L234.025 2.24902C250.519 9.364 264.568 21.1548 274.436 36.165C284.304 51.1753 289.559 68.7474 289.552 86.7108C289.552 138.204 257.528 173.709 230.663 194.426Z",fill:"#3F3D56"}),d("path",{d:"M268.512 194.425C241.648 173.708 209.624 138.204 209.624 86.7103C209.616 68.7467 214.871 51.1745 224.739 36.1642C234.607 21.1539 248.657 9.36312 265.151 2.24829L265.517 3.09671C249.189 10.1401 235.281 21.8124 225.512 36.672C215.743 51.5315 210.541 68.9272 210.548 86.7103C210.548 137.828 242.376 173.103 269.077 193.693L268.512 194.425Z",fill:"#3F3D56"}),d("path",{d:"M238.937 194.425C212.072 173.708 180.048 138.204 180.048 86.7104C180.018 68.5541 185.374 50.7968 195.439 35.6854C205.504 20.5741 219.824 8.78767 236.59 1.81763L236.946 2.67056C220.349 9.57054 206.172 21.2385 196.208 36.1981C186.245 51.1576 180.943 68.7365 180.972 86.7104C180.972 137.829 212.801 173.103 239.501 193.693L238.937 194.425Z",fill:"#3F3D56"}),d("path",{d:"M250.049 0.834961H249.125V194.926H250.049V0.834961Z",fill:"#3F3D56"}),d("path",{d:"M239.174 268.365L222.227 285.313L222.88 285.966L239.828 269.019L239.174 268.365Z",fill:"#3F3D56"}),d("path",{d:"M247.414 268.084L222.22 294.58L222.89 295.217L248.083 268.72L247.414 268.084Z",fill:"#3F3D56"}),d("path",{d:"M284.709 268.403H215.391V276.722H284.709V268.403Z",fill:"white"}),d("path",{d:"M285.171 277.184H214.928V267.941H285.171V277.184ZM215.852 276.259H284.246V268.865H215.852V276.259Z",fill:"#3F3D56"}),d("path",{d:"M237.81 272.272C237.995 272.259 238.176 272.206 238.338 272.116C238.501 272.026 238.641 271.901 238.75 271.751C238.86 271.601 238.934 271.428 238.97 271.246C239.005 271.063 239 270.876 238.954 270.695L242.731 268.221L240.577 267.29L237.321 269.783C237.023 269.879 236.771 270.081 236.613 270.35C236.454 270.62 236.399 270.938 236.46 271.245C236.52 271.552 236.691 271.826 236.94 272.015C237.189 272.205 237.498 272.296 237.81 272.272Z",fill:"#9F616A"}),d("path",{d:"M241.444 270.49L241.396 270.456C240.497 269.795 239.5 269.11 238.535 268.449L238.477 268.409L238.522 268.356C240.582 265.946 242.644 263.428 244.638 260.993L244.635 260.985L244.653 260.975L244.661 260.965L244.666 260.969L244.678 260.963L244.623 260.967L244.009 256.146C243.704 255.645 243.549 255.067 243.561 254.481C243.572 253.895 243.751 253.324 244.075 252.835C244.448 252.308 245.002 251.937 245.632 251.793C246.262 251.649 246.922 251.743 247.487 252.056C247.766 252.243 247.999 252.491 248.169 252.78C248.339 253.069 248.442 253.394 248.47 253.728C248.51 254.026 248.482 254.329 248.39 254.615C248.297 254.902 248.142 255.163 247.935 255.382C248.147 257.721 248.241 260.07 248.216 262.419L248.216 262.441L248.202 262.459C246.076 265.161 243.741 267.847 241.482 270.446L241.444 270.49Z",fill:"#CBCBCB"}),d("path",{d:"M242.176 255.672C242.195 255.755 242.208 255.84 242.213 255.926L248.869 259.765L250.487 258.834L252.211 261.092L248.75 263.558L241.158 257.568C240.848 257.683 240.511 257.7 240.191 257.619C239.871 257.537 239.583 257.36 239.367 257.111C239.15 256.862 239.014 256.552 238.977 256.224C238.94 255.896 239.004 255.565 239.161 255.274C239.317 254.983 239.558 254.746 239.852 254.596C240.146 254.445 240.479 254.388 240.806 254.431C241.133 254.474 241.44 254.616 241.685 254.838C241.929 255.059 242.101 255.35 242.176 255.672Z",fill:"#FFB7B7"}),d("path",{d:"M249.107 259.439C249.096 259.335 249.108 259.231 249.143 259.133C249.177 259.035 249.234 258.946 249.307 258.872L252.695 255.484C253.03 255.149 253.478 254.949 253.952 254.924C254.426 254.899 254.893 255.051 255.262 255.35C255.631 255.648 255.876 256.073 255.95 256.542C256.025 257.01 255.923 257.49 255.664 257.888L253.252 261.605C253.151 261.76 252.993 261.869 252.812 261.908C252.632 261.946 252.443 261.911 252.288 261.811L249.421 259.95C249.334 259.894 249.26 259.819 249.206 259.73C249.151 259.641 249.118 259.542 249.107 259.439Z",fill:"#3F3D56"}),d("path",{d:"M203.019 226.456C202.9 226.456 202.785 226.41 202.698 226.329C202.611 226.248 202.558 226.137 202.55 226.018C202.242 221.837 200.367 217.927 197.3 215.069C194.233 212.212 190.2 210.618 186.007 210.607C185.506 210.607 184.979 210.632 184.441 210.682C184.351 210.691 184.261 210.673 184.18 210.632C184.1 210.59 184.034 210.526 183.989 210.448C182.063 207.077 179.187 204.348 175.721 202.602C172.254 200.855 168.35 200.168 164.495 200.627C160.64 201.085 157.006 202.669 154.046 205.18C151.085 207.691 148.93 211.018 147.849 214.746C147.82 214.846 147.759 214.934 147.675 214.995C147.591 215.057 147.49 215.088 147.386 215.086L147.261 215.082C147.196 215.08 147.131 215.077 147.065 215.077C143.885 215.087 140.805 216.184 138.334 218.186C135.864 220.188 134.152 222.974 133.482 226.082C133.46 226.188 133.402 226.283 133.318 226.351C133.235 226.419 133.13 226.456 133.022 226.456H101.494C101.432 226.456 101.371 226.444 101.314 226.42C101.256 226.397 101.204 226.362 101.16 226.318C101.116 226.275 101.082 226.223 101.058 226.166C101.034 226.108 101.022 226.047 101.022 225.985C101.022 225.923 101.034 225.862 101.058 225.805C101.082 225.748 101.116 225.696 101.16 225.652C101.204 225.608 101.256 225.574 101.314 225.55C101.371 225.526 101.432 225.514 101.494 225.515H132.645C133.43 222.281 135.274 219.404 137.885 217.342C140.495 215.279 143.722 214.151 147.049 214.136C148.233 210.305 150.505 206.9 153.587 204.335C156.67 201.771 160.431 200.156 164.414 199.689C168.397 199.221 172.429 199.92 176.022 201.701C179.615 203.481 182.614 206.267 184.654 209.72C185.117 209.684 185.571 209.665 186.007 209.665C190.438 209.677 194.7 211.362 197.941 214.382C201.182 217.402 203.164 221.534 203.489 225.952C203.493 226.014 203.485 226.076 203.466 226.134C203.446 226.193 203.415 226.247 203.375 226.294C203.334 226.34 203.285 226.379 203.23 226.406C203.174 226.434 203.114 226.45 203.052 226.455C203.041 226.455 203.03 226.456 203.019 226.456Z",fill:"#CBCBCB"}),d("path",{d:"M197.42 232.49H120.241C120.179 232.49 120.118 232.478 120.06 232.454C120.003 232.431 119.951 232.396 119.907 232.352C119.863 232.309 119.829 232.257 119.805 232.199C119.781 232.142 119.769 232.081 119.769 232.019C119.769 231.957 119.781 231.896 119.805 231.839C119.829 231.781 119.863 231.729 119.907 231.686C119.951 231.642 120.003 231.607 120.06 231.584C120.118 231.56 120.179 231.548 120.241 231.548H197.42C197.545 231.548 197.665 231.598 197.753 231.686C197.841 231.774 197.891 231.894 197.891 232.019C197.891 232.144 197.841 232.263 197.753 232.352C197.665 232.44 197.545 232.49 197.42 232.49Z",fill:"#CBCBCB"}),d("path",{d:"M139.065 239.313H113.182C113.12 239.313 113.059 239.301 113.001 239.278C112.944 239.254 112.892 239.22 112.848 239.176C112.804 239.132 112.769 239.08 112.746 239.023C112.722 238.966 112.71 238.905 112.71 238.843C112.71 238.781 112.722 238.719 112.746 238.662C112.769 238.605 112.804 238.553 112.848 238.509C112.892 238.466 112.944 238.431 113.001 238.407C113.059 238.384 113.12 238.372 113.182 238.372H139.065C139.127 238.372 139.188 238.384 139.246 238.407C139.303 238.431 139.355 238.466 139.399 238.509C139.443 238.553 139.477 238.605 139.501 238.662C139.525 238.719 139.537 238.781 139.537 238.843C139.537 238.905 139.525 238.966 139.501 239.023C139.477 239.08 139.443 239.132 139.399 239.176C139.355 239.22 139.303 239.254 139.246 239.278C139.188 239.301 139.127 239.313 139.065 239.313Z",fill:"#CBCBCB"})]}),d("defs",{children:d("clipPath",{id:"clip0_2331_9185",children:d("rect",{width:"400",height:"304.33",fill:"white",transform:"translate(0 0.834961)"})})})]}),wj=({className:e})=>d("svg",{className:e,width:"400",height:"314",viewBox:"0 0 400 314",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("g",{"clip-path":"url(#clip0_257_7550)",children:[d("path",{d:"M171.542 126.903C177.632 120.962 179.759 111.17 176.292 105.033C172.826 98.8964 165.079 98.7376 158.989 104.679C152.899 110.62 144.341 126.686 147.807 132.823C151.274 138.96 165.453 132.844 171.542 126.903ZM150.527 130.124C149.23 129.501 148.876 127.542 149.738 125.749C150.6 123.956 152.349 123.008 153.647 123.631C154.944 124.255 155.297 126.213 154.435 128.006C153.574 129.799 151.824 130.747 150.527 130.124Z",fill:"#79769E"}),d("path",{d:"M164.017 122.382C163.431 121.846 162.844 121.311 162.258 120.775C161.453 120.13 160.794 119.323 160.324 118.405C159.815 117.124 159.687 115.724 159.955 114.372C160.275 112.412 161.19 110.597 162.576 109.175L162.482 110.54C163.186 109.716 164.015 109.008 164.938 108.44C165.807 107.992 166.762 108.023 167.139 108.821C167.572 109.734 167.16 111.372 167.746 112.104C168.759 113.371 171.399 110.635 172.513 111.76C173.162 112.416 172.854 113.972 172.514 115.282C172.164 116.9 171.61 118.468 170.865 119.947C169.51 122.387 167.034 124.001 165.36 123.342C164.858 123.106 164.403 122.781 164.017 122.382Z",fill:"currentColor"}),d("path",{d:"M158.824 122.71C158.516 121.665 159.149 120.304 159.75 119.159L160.054 118.844C160.678 118.53 161.356 118.335 162.052 118.269C162.376 118.244 162.698 118.331 162.966 118.514C163.234 118.697 163.432 118.965 163.527 119.275C163.705 119.889 163.562 120.766 163.987 121.125C164.809 121.819 166.459 119.67 167.244 120.419C167.684 120.839 167.366 121.922 166.799 122.455C166.264 122.9 165.603 123.169 164.908 123.223C163.901 123.39 162.894 123.558 161.887 123.725C161.298 123.861 160.69 123.891 160.09 123.816C159.797 123.769 159.523 123.64 159.299 123.445C159.075 123.249 158.91 122.995 158.824 122.71Z",fill:"#3C3B4F"}),d("path",{d:"M155.502 123.488C155.715 121.942 156.897 119.453 157.953 117.325L158.364 116.677C158.953 115.975 159.631 115.352 160.381 114.825C160.955 114.511 161.353 114.743 161.209 115.77C161.081 116.68 160.551 118.162 160.758 118.545C161.158 119.286 163.596 115.055 163.938 115.902C164.129 116.377 163.351 118.273 162.609 119.394C162.075 120.218 161.393 120.935 160.597 121.508C159.637 122.243 158.678 122.978 157.718 123.713C157.248 124.14 156.699 124.472 156.102 124.689C155.658 124.768 155.373 124.427 155.502 123.488Z",fill:"#FF6584"}),d("path",{d:"M155.835 129.11C155.692 128.416 155.4 127.762 154.977 127.193C154.555 126.625 154.013 126.156 153.389 125.82C152.766 125.483 152.076 125.288 151.369 125.247C150.662 125.206 149.955 125.321 149.297 125.583L138.036 112.56L135.608 121.171L146.674 132.217C147.187 133.293 148.078 134.144 149.176 134.607C150.275 135.071 151.505 135.116 152.635 134.732C153.764 134.349 154.713 133.565 155.303 132.529C155.893 131.493 156.082 130.276 155.835 129.11Z",fill:"#FFB8B8"}),d("path",{d:"M118.453 79.512L115.466 84.571C115.466 84.571 123.344 88.4736 123.497 91.5547C123.65 94.6358 124.214 93.8545 125.386 94.7002C126.558 95.546 127.948 97.737 127.992 100.145C128.037 102.554 146.669 121.215 146.669 121.215L141.595 128.247C139.943 126.709 138.105 125.384 136.125 124.3C133.109 122.717 124.737 119.78 124.128 118.153C123.52 116.526 121.07 115.343 118.726 113.651C116.382 111.96 121.406 110.524 117.499 107.704C113.592 104.885 92.3942 82.69 88.5962 80.5433C84.7982 78.3966 84.7739 71.8438 84.7739 71.8438L87.5932 67.937L118.453 79.512Z",fill:"#79769E"}),d("path",{d:"M288.229 211.62V209.149C288.295 208.419 288.295 207.685 288.229 206.955V4.92639C288.229 3.67267 287.731 2.47029 286.844 1.58378C285.958 0.697258 284.755 0.199219 283.502 0.199219C282.248 0.199219 281.046 0.697258 280.159 1.58378C279.273 2.47029 278.775 3.67267 278.775 4.92639V206.955C278.709 207.685 278.709 208.419 278.775 209.149V211.62L230.919 309.533C232.048 310.661 233.388 311.557 234.863 312.168C236.338 312.779 237.918 313.093 239.514 313.093C241.111 313.093 242.691 312.779 244.166 312.168C245.641 311.557 246.981 310.661 248.11 309.533L278.775 231.73V308.366C278.775 309.62 279.273 310.822 280.159 311.708C281.046 312.595 282.248 313.093 283.502 313.093C284.755 313.093 285.958 312.595 286.844 311.708C287.731 310.822 288.229 309.62 288.229 308.366V231.73L318.894 309.533C320.022 310.661 321.363 311.557 322.837 312.168C324.312 312.779 325.893 313.093 327.489 313.093C329.085 313.093 330.666 312.779 332.141 312.168C333.616 311.557 334.956 310.661 336.084 309.533L288.229 211.62Z",fill:"#313131"}),d("path",{d:"M52.2793 284.252C47.131 279.166 42.7458 273.362 39.26 267.02C35.7847 260.71 33.2178 253.941 31.6354 246.914C30.031 239.782 29.4997 232.451 30.0588 225.162C31.2183 210.318 36.7035 196.139 45.8359 184.379C46.3936 183.664 46.9646 182.959 47.549 182.266C48.2005 181.49 49.3075 182.607 48.6606 183.377C39.3413 194.552 33.5028 208.213 31.8675 222.672C30.6847 233.72 32.0053 244.893 35.7314 255.361C39.4575 265.829 45.4933 275.324 53.3909 283.14C54.1123 283.852 53.0007 284.963 52.2793 284.252Z",fill:"#313131"}),d("path",{d:"M45.2024 185.714C45.8388 185.476 46.462 185.205 47.0694 184.9C47.1 184.947 47.13 184.995 47.1608 185.043L45.2024 185.714Z",fill:"#313131"}),d("path",{d:"M57.3387 171.848C57.0814 173.288 56.617 174.684 55.9598 175.991C54.1451 179.636 51.2546 182.634 47.6794 184.582C47.4815 184.687 47.277 184.799 47.0724 184.898C46.8283 184.516 46.5776 184.133 46.3401 183.75C44.7368 181.184 43.3117 178.485 42.6585 175.543C41.8931 172.105 42.3088 168.245 44.5125 165.494C46.7096 162.743 50.9058 161.509 53.9474 163.291C54.8256 163.815 55.5708 164.535 56.1247 165.395C55.8212 165.771 55.5177 166.141 55.2142 166.517C55.1875 166.551 55.1589 166.584 55.1285 166.616C54.8645 166.946 54.594 167.269 54.3301 167.599C53.2283 168.951 52.133 170.311 51.0312 171.657C52.5842 171.942 54.1646 172.051 55.742 171.98C55.8674 171.973 55.9994 171.967 56.1247 171.96C56.5272 171.934 56.9363 171.901 57.3387 171.848Z",fill:"#313131"}),d("path",{d:"M35.0842 198.906L34.6619 204.408L34.5497 205.899C34.431 205.84 34.3056 205.781 34.1869 205.721C30.0829 203.684 26.461 200.795 23.563 197.246C20.6651 193.697 18.5578 189.571 17.3821 185.142C16.989 183.606 16.7133 182.043 16.5574 180.465C18.6951 180.135 20.8394 179.798 22.9771 179.468C21.2464 177.217 19.0785 175.338 16.6036 173.946C17.1679 168.439 19.1577 163.175 22.3767 158.672C22.9309 167.896 32.5902 173.761 36.1267 182.292C37.2116 184.962 37.6813 187.842 37.5008 190.718C37.3203 193.594 36.4943 196.392 35.0842 198.906Z",fill:"#313131"}),d("path",{d:"M33.2499 247.235C32.7353 247.262 32.2207 247.275 31.7127 247.268C27.3219 247.24 22.9831 246.316 18.9623 244.552C14.9415 242.788 11.3234 240.221 8.32986 237.008C5.90658 234.355 3.95816 231.304 2.56991 227.989C2.61611 227.983 2.65569 227.976 2.70188 227.969C4.83958 227.64 6.98389 227.303 9.12159 226.973C6.8512 224.015 3.83367 221.715 0.379415 220.309C-0.0877412 217.328 -0.123286 214.295 0.27387 211.303C5.10351 219.174 16.3924 219.808 23.5247 225.667C26.9262 228.502 29.245 232.424 30.0896 236.771C30.3001 237.845 30.4128 238.936 30.4261 240.03C30.4327 240.294 30.4327 240.552 30.4261 240.809L30.5844 241.165L33.2499 247.235Z",fill:"#313131"}),d("path",{d:"M54.4687 256.347C53.1029 258.023 51.7372 259.712 50.3714 261.388C52.0505 261.696 53.7611 261.798 55.465 261.691C53.9519 267.11 51.0472 272.039 47.0395 275.989C46.6634 276.358 46.2741 276.721 45.8783 277.064C45.7991 277.137 45.7133 277.209 45.6342 277.282L45.2779 276.272L45.2713 276.266L43.2523 270.677C40.6908 268.102 38.917 264.85 38.139 261.302V261.289C37.6658 259.212 37.5564 257.069 37.8157 254.955C38.9439 245.79 46.6898 237.55 44.7632 228.517C49.0082 231.955 52.3019 236.423 54.3301 241.495C53.2283 242.848 52.133 244.207 51.0312 245.553C52.5842 245.838 54.1646 245.947 55.7421 245.876C56.2946 248.11 56.5956 250.398 56.6394 252.698C56.646 253.028 56.646 253.351 56.6394 253.681C55.9466 254.539 55.2472 255.39 54.5545 256.248C54.5278 256.282 54.4991 256.316 54.4687 256.347Z",fill:"#313131"}),d("path",{d:"M322.486 301.872C321.661 294.682 321.881 287.411 323.139 280.284C324.385 273.189 326.626 266.306 329.797 259.838C333.016 253.275 337.196 247.229 342.199 241.899C352.405 231.058 365.565 223.446 380.052 220.005C380.935 219.797 381.821 219.605 382.711 219.431C383.705 219.235 383.868 220.799 382.881 220.994C368.616 223.862 355.505 230.849 345.17 241.092C337.324 248.96 331.352 258.495 327.695 268.988C324.039 279.48 322.793 290.662 324.049 301.702C324.165 302.709 322.602 302.878 322.486 301.872Z",fill:"#313131"}),d("path",{d:"M378.722 220.648C379.367 220.861 380.023 221.04 380.687 221.183C380.681 221.239 380.674 221.296 380.669 221.352L378.722 220.648Z",fill:"#313131"}),d("path",{d:"M396.869 217.448C395.766 218.409 394.529 219.206 393.198 219.813C389.5 221.515 385.368 222.041 381.362 221.318C381.141 221.276 380.911 221.235 380.69 221.184C380.74 220.733 380.784 220.278 380.839 219.831C381.198 216.826 381.778 213.83 383.113 211.127C384.671 207.969 387.414 205.222 390.855 204.458C394.292 203.691 398.335 205.359 399.589 208.654C399.944 209.613 400.074 210.641 399.966 211.658C399.494 211.761 399.026 211.859 398.554 211.962C398.512 211.972 398.469 211.98 398.425 211.985C398.013 212.077 397.599 212.159 397.187 212.251C395.481 212.615 393.775 212.987 392.073 213.346C393.105 214.542 394.268 215.617 395.542 216.55C395.644 216.623 395.751 216.701 395.852 216.774C396.183 217.006 396.522 217.237 396.869 217.448Z",fill:"#313131"}),d("path",{d:"M362.57 224.587L358.793 228.61L357.771 229.702C357.715 229.582 357.655 229.457 357.6 229.336C355.678 225.177 354.666 220.655 354.632 216.074C354.597 211.492 355.541 206.956 357.4 202.768C358.056 201.325 358.821 199.933 359.689 198.606C361.561 199.689 363.443 200.77 365.316 201.853C365.378 199.014 364.866 196.191 363.81 193.555C367.7 189.618 372.55 186.762 377.88 185.27C372.532 192.805 376.384 203.429 373.793 212.294C372.966 215.054 371.527 217.593 369.584 219.721C367.641 221.849 365.244 223.512 362.57 224.587Z",fill:"#313131"}),d("path",{d:"M330.854 261.1C330.436 260.798 330.027 260.486 329.635 260.162C326.231 257.389 323.429 253.95 321.401 250.055C319.374 246.161 318.163 241.893 317.843 237.514C317.617 233.927 318.011 230.329 319.006 226.876C319.046 226.899 319.081 226.919 319.122 226.943C320.994 228.025 322.876 229.107 324.749 230.19C324.833 226.461 323.923 222.778 322.112 219.518C323.616 216.902 325.489 214.516 327.674 212.434C326.505 221.594 334.905 229.162 336.791 238.197C337.665 242.539 337.015 247.048 334.949 250.965C334.44 251.934 333.844 252.854 333.168 253.716C333.008 253.925 332.847 254.126 332.681 254.322L332.581 254.699L330.854 261.1Z",fill:"#313131"}),d("path",{d:"M341.679 281.497C339.565 281.948 337.442 282.408 335.328 282.858C336.443 284.151 337.712 285.302 339.107 286.287C334.532 289.562 329.179 291.582 323.581 292.148C323.056 292.201 322.526 292.24 322.002 292.259C321.895 292.266 321.783 292.269 321.676 292.276L322.031 291.266L322.029 291.256L323.958 285.636C323.576 282.024 324.232 278.378 325.849 275.126L325.857 275.115C326.79 273.2 328.048 271.462 329.574 269.977C336.197 263.542 347.397 261.974 351.556 253.728C352.71 259.067 352.477 264.613 350.879 269.837C349.172 270.2 347.467 270.573 345.765 270.932C346.796 272.127 347.96 273.202 349.234 274.136C348.264 276.223 347.065 278.194 345.658 280.014C345.456 280.276 345.253 280.528 345.041 280.781C343.964 281.015 342.886 281.24 341.808 281.474C341.766 281.484 341.723 281.492 341.679 281.497Z",fill:"#313131"}),d("path",{d:"M371.044 178.256H195.96C193.924 178.254 191.973 177.444 190.534 176.005C189.095 174.566 188.285 172.615 188.283 170.58V48.1693C188.285 46.134 189.095 44.1828 190.534 42.7436C191.973 41.3044 193.924 40.4949 195.96 40.4927H371.044C373.079 40.495 375.03 41.3046 376.469 42.7437C377.908 44.1828 378.718 46.1341 378.72 48.1693V170.58C378.718 172.615 377.908 174.566 376.469 176.005C375.03 177.444 373.079 178.254 371.044 178.256Z",fill:"#212121"}),d("path",{d:"M309.389 48.1463H257.615C254.332 48.1426 251.185 46.837 248.864 44.516C246.543 42.195 245.238 39.0481 245.234 35.7656V35.5405H321.769V35.7656C321.766 39.0481 320.46 42.195 318.139 44.516C315.818 46.837 312.671 48.1426 309.389 48.1463Z",fill:"#313131"}),d("path",{d:"M309.614 185.91H257.84C254.558 185.906 251.411 184.6 249.09 182.279C246.769 179.958 245.463 176.811 245.459 173.529V173.304H321.994V173.529C321.991 176.811 320.685 179.958 318.364 182.279C316.043 184.6 312.896 185.906 309.614 185.91Z",fill:"#313131"}),d("path",{d:"M297.008 154.62C297.008 162.08 291.411 153.72 283.952 153.72C280.37 153.72 276.934 152.297 274.402 149.764C271.869 147.231 270.446 143.796 270.446 140.214C270.446 136.632 271.869 133.196 274.402 130.663C276.934 128.13 280.37 126.708 283.952 126.708C291.411 126.708 297.008 147.161 297.008 154.62Z",fill:"currentColor"}),d("path",{d:"M245.234 87.0892C245.234 90.6713 243.811 94.1066 241.278 96.6396C238.745 99.1725 235.31 100.595 231.728 100.595C224.269 100.595 220.473 115.708 220.473 108.249C220.473 100.79 224.269 73.583 231.728 73.583C235.31 73.583 238.745 75.006 241.278 77.5389C243.811 80.0718 245.234 83.5071 245.234 87.0892Z",fill:"currentColor"}),d("path",{d:"M227.054 72.1988C229.004 71.0617 231.391 71.4527 233.242 72.6047C235.349 73.915 236.514 76.1717 237.027 78.5405C237.542 81.0861 237.534 83.7098 237.002 86.2518C236.499 88.7031 235.213 91.3076 232.604 92.0112C230.864 92.4801 228.921 91.8758 228.287 90.0812C228.043 89.3606 227.988 88.5893 228.129 87.8416C228.27 87.094 228.601 86.3952 229.09 85.8126C230.554 84.1652 233.106 84.0802 235.023 84.9023C237.277 85.8692 238.651 88.0515 239.23 90.3612C239.919 93.1072 239.485 95.9553 238.761 98.6469C237.973 101.572 236.931 104.432 235.993 107.312C234.165 112.927 232.483 118.649 232.045 124.567C231.377 133.608 234.354 144.039 242.616 148.888C247.077 151.506 252.444 151.923 257.437 150.89C262.703 149.8 267.406 147.08 271.49 143.648C273.612 141.833 275.609 139.878 277.467 137.794C278.027 137.119 278.775 136.626 279.616 136.378C280.456 136.129 281.352 136.136 282.189 136.397C286.485 137.763 285.693 144.64 281.443 145.484C279.512 145.867 277.418 144.938 275.988 143.683C274.424 142.255 273.329 140.386 272.848 138.323C271.767 133.987 273.03 129.213 275.594 125.63C278.492 121.582 283.182 119.062 287.823 117.563C293.108 115.856 298.641 115.353 304.137 114.797C309.76 114.227 315.443 113.563 320.753 111.517C325.025 109.857 328.994 107.502 332.498 104.547C339.561 98.6402 344.564 90.6412 346.784 81.7052C347.301 79.5453 347.637 77.3458 347.787 75.1299C347.846 74.2624 346.495 74.266 346.436 75.1299C345.775 84.7898 341.299 93.9786 334.529 100.838C331.152 104.275 327.199 107.092 322.849 109.162C317.608 111.639 311.91 112.612 306.189 113.232C300.347 113.866 294.43 114.239 288.754 115.868C283.736 117.307 278.732 119.748 275.313 123.807C272.299 127.386 270.648 132.296 271.236 136.973C271.783 141.325 274.558 145.805 279.117 146.751C281.256 147.195 283.47 146.63 284.897 144.911C285.689 143.932 286.194 142.754 286.356 141.506C286.518 140.258 286.332 138.99 285.817 137.841C285.161 136.601 284.066 135.65 282.747 135.172C281.427 134.695 279.977 134.725 278.679 135.258C277.729 135.695 276.892 136.342 276.23 137.15C272.333 141.423 267.91 145.411 262.585 147.806C257.619 150.04 251.77 150.88 246.518 149.171C236.575 145.936 232.766 134.567 233.365 125.015C233.758 118.764 235.636 112.725 237.577 106.81C238.569 103.789 239.698 100.776 240.394 97.6696C241.018 94.8882 241.208 91.9413 240.3 89.1981C239.508 86.8038 237.911 84.6719 235.546 83.6686C233.398 82.7572 230.766 82.7786 228.846 84.2159C226.07 86.294 225.816 91.4465 229.245 93.0459C231.52 94.1072 234.26 93.281 235.938 91.5186C237.819 89.5427 238.432 86.758 238.643 84.1226C239.044 79.1427 237.945 73.136 232.88 70.8889C230.794 69.9631 228.385 69.8589 226.373 71.0325C226.224 71.1261 226.118 71.2735 226.077 71.4438C226.035 71.614 226.062 71.7937 226.15 71.945C226.238 72.0963 226.382 72.2074 226.551 72.2547C226.72 72.302 226.9 72.282 227.054 72.1988Z",fill:"#79769E"}),d("path",{d:"M348.331 78.5353C348.331 86.4454 360.748 106.615 356.57 112.67C356.052 113.426 355.505 114.162 354.927 114.876C353.059 117.213 350.915 119.315 348.543 121.138C348.142 121.454 347.737 121.755 347.328 122.048C345.872 123.08 344.345 124.008 342.758 124.826C342.47 124.97 342.177 125.114 341.884 125.258C333.862 129.113 324.733 129.998 316.12 127.754C307.507 125.51 299.969 120.282 294.849 113.002C289.728 105.722 287.356 96.8616 288.156 87.997C288.955 79.1324 292.874 70.839 299.214 64.5924C299.547 64.2592 299.889 63.9351 300.24 63.6154C303.723 60.4237 307.779 57.9201 312.193 56.2366C312.198 56.2366 312.198 56.2321 312.202 56.2321C318.822 53.7183 326.016 53.1176 332.961 54.4988H332.97C333.123 54.5303 333.277 54.5618 333.43 54.5978C350.434 58.195 348.331 60.4595 348.331 78.5353Z",fill:"currentColor"}),d("path",{d:"M342.762 124.654C342.768 124.711 342.766 124.769 342.758 124.825C342.47 124.969 342.177 125.114 341.885 125.258C341.754 125.217 341.639 125.137 341.554 125.03C341.47 124.922 341.42 124.791 341.412 124.654C341.356 123.974 341.224 123.302 341.02 122.651C339.264 116.996 333.105 114.106 327.73 113.084C321.152 111.828 314.233 112.35 307.975 109.635C305.409 108.591 303.136 106.938 301.352 104.818C299.486 102.483 298.548 99.5412 298.719 96.5569C299.088 89.5382 304.036 84.0456 305.728 77.4231C306.426 74.6948 306.426 71.8495 305.184 69.2744C304.13 67.0864 302.239 65.164 299.718 64.8938C299.616 64.8864 299.518 64.8552 299.43 64.8028C299.343 64.7505 299.269 64.6783 299.214 64.5922C299.547 64.259 299.889 63.9349 300.24 63.6152C300.697 63.6834 301.145 63.7996 301.578 63.9619C304.045 64.9073 305.76 67.0458 306.723 69.4454C307.835 72.2232 307.732 75.2126 306.957 78.0624C305.152 84.7074 299.849 90.4746 300.056 97.6374C300.236 103.846 305.656 107.718 311.122 109.356C317.884 111.382 325.209 110.423 331.899 112.769C337.162 114.615 342.272 118.743 342.762 124.654Z",fill:"#79769E"}),d("path",{d:"M348.543 121.138C348.142 121.453 347.737 121.755 347.327 122.048C347.273 121.989 347.231 121.919 347.205 121.843C347.18 121.767 347.171 121.686 347.179 121.606C347.404 115.783 345.396 110.093 341.565 105.701C339.906 103.772 337.933 102.137 335.73 100.865C333.425 99.5462 330.895 98.8394 328.387 98.02C325.92 97.2141 323.412 96.2372 321.526 94.3958C319.604 92.5185 318.658 89.9748 318.37 87.3456C317.69 81.1147 320.81 75.3881 321.062 69.2518C321.175 66.5145 320.572 63.8538 318.874 61.6523C317.407 59.7524 315.241 58.4558 312.788 58.744C311.977 58.843 311.937 57.6545 312.639 57.4249C312.687 57.4092 312.737 57.3986 312.788 57.3933C315.642 57.0602 318.231 58.6269 319.928 60.8239C321.904 63.3766 322.589 66.4875 322.39 69.6705C322.003 75.8293 318.762 81.7495 319.815 88.0074C319.996 89.3238 320.451 90.5875 321.152 91.7167C321.852 92.8459 322.782 93.8154 323.881 94.5624C326.141 96.0526 328.81 96.7234 331.359 97.5518C333.901 98.328 336.304 99.5043 338.476 101.036C340.602 102.593 342.466 104.479 343.996 106.623C347.049 110.839 348.645 115.934 348.543 121.138Z",fill:"#79769E"}),d("path",{d:"M356.57 112.67C356.052 113.426 355.505 114.161 354.927 114.876C355.529 111.378 355.396 107.793 354.535 104.35C353.484 100.015 351.357 96.0154 348.349 92.721C346.843 91.0813 345.108 89.6667 343.199 88.5206C341.016 87.215 338.629 86.112 337.085 84.005C333.736 79.4309 335.996 73.4612 337.076 68.5449C337.643 65.9787 337.95 63.246 336.901 60.7609C336.086 58.834 334.474 57.0286 332.286 56.808C331.426 56.7225 331.422 55.3674 332.286 55.4574C332.448 55.4754 332.61 55.4979 332.772 55.5249C335.163 55.9571 337.004 57.74 338.004 59.937C339.3 62.8048 339.044 65.9022 338.382 68.9051C337.292 73.8439 334.767 80.3854 339.282 84.4192C341.187 86.121 343.658 87.0619 345.711 88.5701C347.551 89.9148 349.199 91.5036 350.609 93.2928C354.932 98.7885 357.056 105.695 356.57 112.67Z",fill:"#79769E"}),d("path",{d:"M114.877 299.324H122.866L126.668 268.509H114.877V299.324Z",fill:"#FFB6B6"}),d("path",{d:"M110.66 313.166H116.39L117.412 307.757L120.032 313.166H135.227C135.956 313.166 136.665 312.933 137.252 312.502C137.838 312.07 138.272 311.462 138.488 310.767C138.705 310.072 138.694 309.325 138.456 308.637C138.219 307.948 137.768 307.353 137.168 306.939L125.033 298.559V293.09L112.27 293.852L110.66 313.166Z",fill:"#3C3B4F"}),d("path",{d:"M52.9366 283.473L59.8086 287.548L78.797 262.982L68.6556 256.968L52.9366 283.473Z",fill:"#FFB6B6"}),d("path",{d:"M42.249 293.228L47.1769 296.151L50.8157 292.02L50.3093 298.008L63.3794 305.759C64.0058 306.131 64.7347 306.293 65.4595 306.221C66.1843 306.149 66.8672 305.847 67.4083 305.359C67.9495 304.872 68.3206 304.224 68.4675 303.511C68.6145 302.797 68.5295 302.055 68.225 301.394L62.0626 287.995L64.8521 283.292L53.4853 277.437L42.249 293.228Z",fill:"#3C3B4F"}),d("path",{d:"M115.741 102.292L122.325 127.042L85.443 127.527L90.2958 103.748L115.741 102.292Z",fill:"#FFB6B6"}),d("path",{d:"M122.467 126.729L130.3 152.278L133.769 220.6L124.779 285.833H114.831L110.755 221.663L100.73 177.756L106.599 223.678L75.8549 268.628H60.7476L88.5223 219.095L72.3546 167.676C72.3546 167.676 73.976 142.248 84.2295 128.741L86.7253 121.53L122.467 126.729Z",fill:"#3C3B4F"}),d("path",{d:"M122.977 79.4982C122.956 79.2757 122.925 79.0427 122.882 78.8204C122.085 73.4801 119.205 68.6732 114.872 65.4517C110.538 62.2302 105.106 60.8565 99.7621 61.6313C94.7438 62.3833 90.1722 64.9402 86.9047 68.8225V68.8331C86.7353 69.0343 86.5764 69.2461 86.4176 69.4579C86.1316 69.818 85.8668 70.1993 85.6127 70.5806C83.3169 74.0491 82.1346 78.1357 82.2235 82.2941C82.2235 82.2941 84.1511 92.5568 84.5536 95.2786C84.8289 97.0368 85.0408 98.7631 85.1996 100.447C85.295 101.294 85.3691 102.131 85.4326 102.946V102.957C85.7504 106.992 85.8562 110.614 85.9516 113.421C85.9939 114.946 87.053 119.278 87.1166 119.331C87.1819 119.38 87.2527 119.428 87.3277 119.474C87.8648 119.786 88.4707 119.962 89.0917 119.985C89.7128 120.008 90.3299 119.877 90.8886 119.605L95.6529 117.382C98.8163 115.91 102.333 115.367 105.793 115.816C111.455 116.55 119.703 117.558 120.077 117.253C120.521 116.872 122.67 97.6405 123.232 91.593C123.306 90.7246 123.369 89.8243 123.401 88.8605V88.8499C123.494 85.7265 123.352 82.6004 122.977 79.4982Z",fill:"#79769E"}),d("path",{d:"M150.373 82.956C150.159 83.5921 149.809 84.1736 149.346 84.6594C148.883 85.1453 148.319 85.5238 147.694 85.7682C147.069 86.0126 146.398 86.117 145.729 86.0741C145.059 86.0311 144.407 85.8419 143.818 85.5196L131.727 96.4695L130.436 88.0918L142.116 78.9779C142.723 78.0249 143.658 77.3277 144.745 77.0182C145.831 76.7088 146.994 76.8088 148.011 77.2991C149.029 77.7895 149.832 78.6362 150.267 79.6788C150.703 80.7214 150.74 81.8875 150.373 82.956Z",fill:"#FFB8B8"}),d("path",{d:"M105.372 61.7212C105.372 61.7212 117.272 63.9433 110.499 87.0415L113.114 98.4905L125.383 91.4337L126.126 88.4506L136.867 80.9106L141.946 90.0665L135.771 95.9674L133.987 99.651L130.819 100.699L121.006 110.076L116.891 112.59C116.891 112.59 111.659 115.832 107.005 114.076C105.762 113.611 104.601 112.953 103.562 112.128C101.531 110.508 99.7281 108.032 98.5993 104.289C94.412 90.4025 92.8401 80.692 92.8401 80.692L105.372 61.7212Z",fill:"#79769E"}),d("path",{d:"M149.587 94.2083L142.383 67.1087C142.344 66.961 142.362 66.8038 142.436 66.6696C142.509 66.5354 142.631 66.4344 142.776 66.3873C142.922 66.3403 143.08 66.3509 143.218 66.4169C143.355 66.4829 143.463 66.5992 143.517 66.742L153.213 92.0696L149.587 94.2083Z",fill:"#79769E"}),d("path",{d:"M155.584 100.352C154.534 100.133 153.513 99.7909 152.543 99.3325C152.051 99.0974 151.575 98.8321 151.109 98.5585C150.943 98.4661 150.778 98.3673 150.616 98.2721C150.228 98.0457 149.841 97.8193 149.45 97.5893C149.119 97.3982 148.786 97.2035 148.459 97.0095C147.975 96.7274 147.454 96.3994 147.314 95.855C147.271 95.5973 147.286 95.3333 147.358 95.0822C147.429 94.831 147.556 94.5988 147.728 94.4024C148.082 93.9883 148.492 93.625 148.946 93.3226C149.962 92.5757 150.98 91.83 151.998 91.0854L152.271 90.4883C153.098 90.8377 153.858 91.329 154.516 91.9402C154.776 92.2044 154.98 92.5185 155.116 92.8636C155.251 93.2087 155.316 93.5777 155.305 93.9483C155.295 94.1121 155.268 94.2745 155.224 94.4326C155.028 95.1248 154.513 95.7138 154.207 96.3776C154.145 96.5166 154.091 96.6593 154.046 96.8048C153.91 97.2324 153.869 97.685 153.927 98.1301C153.985 98.5753 154.141 99.0021 154.383 99.3802C154.685 99.8096 155.101 100.146 155.584 100.352Z",fill:"#222222"}),d("path",{d:"M157.09 100.602C156.575 100.64 156.059 100.554 155.584 100.352C156.082 100.461 156.584 100.544 157.09 100.602Z",fill:"#313131"}),d("path",{d:"M155.584 100.352C154.534 100.133 153.513 99.7908 152.543 99.3324C152.051 99.0973 151.575 98.8321 151.109 98.5584C150.943 98.466 150.778 98.3672 150.616 98.272C150.228 98.0456 149.841 97.8192 149.45 97.5893C149.587 97.406 149.733 97.23 149.888 97.062C151.331 95.4919 153.302 94.6061 155.305 93.9482C155.295 94.1121 155.268 94.2744 155.224 94.4325C155.028 95.1247 154.513 95.7137 154.207 96.3775C154.145 96.5166 154.091 96.6592 154.046 96.8047C153.91 97.2324 153.869 97.6849 153.927 98.1301C153.985 98.5753 154.141 99.0021 154.383 99.3801C154.685 99.8095 155.101 100.146 155.584 100.352Z",fill:"currentColor"}),d("path",{d:"M395.58 313.265C395.58 313.336 395.566 313.405 395.539 313.471C395.513 313.536 395.473 313.595 395.423 313.645C395.373 313.694 395.314 313.734 395.249 313.761C395.184 313.787 395.114 313.801 395.044 313.801H6.83506C6.69297 313.801 6.55671 313.745 6.45624 313.644C6.35577 313.544 6.29932 313.407 6.29932 313.265C6.29932 313.123 6.35577 312.987 6.45624 312.886C6.55671 312.786 6.69297 312.729 6.83506 312.729H395.044C395.114 312.729 395.184 312.743 395.249 312.77C395.314 312.797 395.373 312.836 395.423 312.886C395.473 312.936 395.513 312.995 395.539 313.06C395.566 313.125 395.58 313.195 395.58 313.265Z",fill:"#222222"}),d("path",{d:"M113.7 50.1678C117.831 42.6106 115.054 33.1353 107.497 29.0042C99.9397 24.8731 90.4644 27.6505 86.3333 35.2076C82.2022 42.7648 84.9796 52.24 92.5367 56.3712C100.094 60.5023 109.569 57.7249 113.7 50.1678Z",fill:"#FFB6B6"}),d("path",{d:"M90.5057 29.964V29.975C90.5072 30.6535 90.4207 31.3293 90.2482 31.9854C90.2208 32.1005 90.1879 32.221 90.1496 32.3361V32.3415C89.7821 33.5133 89.1482 34.5841 88.2976 35.4699C87.4469 36.3557 86.4027 37.0324 85.2468 37.4471C85.0769 37.5128 84.9016 37.5676 84.7263 37.6169C84.357 37.724 83.9796 37.801 83.5978 37.847C83.2549 37.8956 82.9089 37.9194 82.5625 37.9182C82.2918 37.9193 82.0211 37.9065 81.7517 37.8799C81.1213 37.816 80.5012 37.6743 79.9056 37.458C79.8123 37.4309 79.7209 37.398 79.6317 37.3594C79.5869 37.3435 79.543 37.3252 79.5002 37.3047C78.5064 36.8887 77.6075 36.2751 76.8581 35.5011C76.1087 34.7271 75.5244 33.8089 75.1407 32.8022C74.757 31.7955 74.5818 30.7213 74.6259 29.6449C74.67 28.5684 74.9324 27.5122 75.3971 26.5402L75.4026 26.5347C75.7921 25.7193 76.3204 24.9779 76.9639 24.3435C78.3992 22.9137 79.0316 19.3305 81.2119 19.3305C81.3161 19.3287 81.4203 19.3324 81.5241 19.3415C82.9867 19.3908 85.6905 22.5467 86.8408 23.2917C87.6952 23.8315 88.4359 24.533 89.0211 25.357C89.6322 26.2045 90.068 27.1655 90.303 28.1836C90.4374 28.7676 90.5054 29.3648 90.5057 29.964Z",fill:"#3C3B4F"}),d("path",{d:"M80.8005 27.1979C79.567 28.6341 77.6356 29.1924 75.8933 29.9397C72.8183 31.2887 70.1188 33.3674 68.0289 35.9955C65.9389 38.6236 64.5216 41.7219 63.8998 45.0216C63.418 47.7094 63.4811 50.4916 62.7202 53.1119C61.9639 55.7321 60.091 58.3027 57.4033 58.7574C55.5844 59.0681 53.7611 58.3658 52.0503 57.6724C51.1094 57.2943 50.1685 56.9146 49.2275 56.5334C50.209 54.0708 51.1889 51.6082 52.1674 49.1455C50.5948 51.4696 48.766 53.6095 46.7154 55.525C43.3433 54.1653 39.9683 52.8057 36.5902 51.4461C44.901 51.4776 43.4829 43.4099 45.3422 35.3152C46.3642 30.8671 55.0667 27.8552 56.773 23.6233C57.695 21.3279 59.2553 19.3447 61.2692 17.9084C63.2831 16.4721 65.6664 15.6428 68.1369 15.5187C70.6074 15.3947 73.0618 15.9809 75.2095 17.2082C77.3572 18.4354 79.1084 20.2523 80.2558 22.4438C81.9621 23.1236 82.0116 25.7798 80.8005 27.1979Z",fill:"#3C3B4F"}),d("path",{d:"M114.132 27.0872C112.611 25.0834 108.778 25.0055 108.009 27.401L106.392 25.2089C104.295 20.6266 98.7617 21.559 93.7587 22.1634C88.7556 22.7678 84.3469 26.2934 82.1087 30.8085C79.8705 35.3237 79.6676 40.6859 80.9566 45.5577C81.8239 48.8355 83.4164 52.0338 86.0586 54.1587C88.7008 56.2836 101.122 61.309 102.156 56.9818C100.863 62.6271 103.464 61.7434 107.313 66.0705C109.307 60.0814 110.241 48.7969 112.235 42.8078C112.535 41.9063 112.835 41.0047 113.135 40.1032C113.768 38.2029 114.402 36.2994 114.859 34.3494C115.433 31.8998 115.654 29.0909 114.132 27.0872Z",fill:"#3C3B4F"}),d("path",{d:"M103.881 44.2799L103.215 40.0363C103.668 34.7584 102.928 26.3632 106.392 25.209L108.51 27.3272C107.17 27.774 104.622 35.6665 103.881 44.2799Z",fill:"#FF6584"}),d("path",{d:"M108.821 21.8092C108.821 25.0416 107.713 27.6619 106.345 27.6619C104.978 27.6619 103.869 25.0416 103.869 21.8092C103.869 18.5769 106.345 15.9565 106.345 15.9565C106.345 15.9565 108.821 18.5769 108.821 21.8092Z",fill:"#FF6584"}),d("path",{d:"M110.864 23.2543C109.565 26.2142 107.497 28.1682 106.245 27.6187C104.992 27.0692 105.03 24.2243 106.329 21.2644C107.628 18.3044 110.948 16.8999 110.948 16.8999C110.948 16.8999 112.163 20.2943 110.864 23.2543Z",fill:"#FF6584"})]}),d("defs",{children:d("clipPath",{id:"clip0_257_7550",children:d("rect",{width:"400",height:"313.602",fill:"white",transform:"translate(0 0.199219)"})})})]}),Ej=({className:e})=>d("svg",{className:e,width:"400",height:"306",viewBox:"0 0 400 306",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("g",{"clip-path":"url(#clip0_257_7281)",children:[d("path",{d:"M142.295 71.6479C142.129 71.6477 141.969 71.5846 141.848 71.4713C141.727 71.358 141.653 71.203 141.641 71.0373C141.212 65.2046 138.596 59.7491 134.317 55.7625C130.038 51.7759 124.411 49.5523 118.562 49.5365C117.862 49.5365 117.127 49.5721 116.377 49.6423C116.251 49.6541 116.125 49.6295 116.013 49.5714C115.901 49.5134 115.809 49.4244 115.746 49.315C113.059 44.6127 109.048 40.8057 104.211 38.369C99.3747 35.9324 93.9277 34.9741 88.55 35.6137C83.1722 36.2533 78.102 38.4625 73.9719 41.9655C69.8418 45.4686 66.8349 50.1104 65.3263 55.3116C65.2864 55.451 65.2014 55.5732 65.0845 55.6589C64.9676 55.7447 64.8255 55.7891 64.6806 55.7853L64.5061 55.78C64.4153 55.7769 64.3245 55.7737 64.233 55.7737C59.797 55.7876 55.4991 57.3178 52.0525 60.1104C48.6058 62.903 46.2176 66.7901 45.284 71.1268C45.253 71.2742 45.1722 71.4064 45.0552 71.5013C44.9382 71.5961 44.7922 71.6479 44.6416 71.6479H0.656518C0.482692 71.6474 0.316145 71.5781 0.193395 71.455C0.0706442 71.3319 0.00170898 71.1652 0.00170898 70.9914C0.00170898 70.8175 0.0706442 70.6508 0.193395 70.5277C0.316145 70.4046 0.482692 70.3353 0.656518 70.3348H44.1162C45.2102 65.8241 47.7836 61.8098 51.4258 58.9325C55.0679 56.0553 59.5689 54.4809 64.2103 54.4607C65.8627 49.1157 69.0318 44.3657 73.3324 40.7876C77.6331 37.2095 82.8804 34.9574 88.4367 34.3048C93.993 33.6523 99.6193 34.6274 104.632 37.1117C109.645 39.5959 113.828 43.4825 116.674 48.2991C117.32 48.2488 117.953 48.2235 118.562 48.2235C124.743 48.2402 130.689 50.5902 135.211 54.8032C139.733 59.0163 142.497 64.7815 142.951 70.9454C142.957 71.0314 142.946 71.1177 142.919 71.1995C142.891 71.2813 142.848 71.3569 142.792 71.422C142.735 71.4871 142.666 71.5404 142.589 71.5789C142.512 71.6174 142.428 71.6403 142.342 71.6463C142.326 71.6474 142.311 71.6479 142.295 71.6479Z",fill:"#393939"}),d("path",{d:"M134.484 80.066H26.8099C26.6357 80.066 26.4687 79.9969 26.3456 79.8737C26.2225 79.7506 26.1533 79.5836 26.1533 79.4095C26.1533 79.2353 26.2225 79.0683 26.3456 78.9452C26.4687 78.8221 26.6357 78.7529 26.8099 78.7529H134.484C134.658 78.7529 134.825 78.8221 134.948 78.9452C135.071 79.0683 135.14 79.2353 135.14 79.4095C135.14 79.5836 135.071 79.7506 134.948 79.8737C134.825 79.9969 134.658 80.066 134.484 80.066Z",fill:"#393939"}),d("path",{d:"M53.0717 89.5861H16.9616C16.8753 89.5863 16.7897 89.5695 16.7099 89.5366C16.63 89.5037 16.5574 89.4554 16.4963 89.3944C16.4351 89.3334 16.3866 89.2609 16.3535 89.1812C16.3204 89.1014 16.3033 89.0159 16.3033 88.9295C16.3033 88.8431 16.3204 88.7576 16.3535 88.6779C16.3866 88.5981 16.4351 88.5256 16.4963 88.4646C16.5574 88.4036 16.63 88.3553 16.7099 88.3224C16.7897 88.2895 16.8753 88.2727 16.9616 88.273H53.0717C53.2456 88.2734 53.4121 88.3428 53.5349 88.4659C53.6576 88.5889 53.7266 88.7557 53.7266 88.9295C53.7266 89.1033 53.6576 89.2701 53.5349 89.3931C53.4121 89.5162 53.2456 89.5856 53.0717 89.5861Z",fill:"#393939"}),d("path",{d:"M86.833 217.332C86.833 244.024 58.8495 256.796 58.8495 256.796C58.8495 256.796 30.5789 244.024 30.0049 217.332C29.6675 201.643 42.7263 188.918 58.4189 188.918C62.1503 188.918 65.8452 189.653 69.2925 191.081C72.7399 192.509 75.8722 194.602 78.5107 197.241C81.1492 199.879 83.2422 203.012 84.6701 206.459C86.098 209.906 86.833 213.601 86.833 217.332Z",fill:"#212121"}),d("path",{d:"M68.3204 258.375H49.3776L47.0813 249.19H70.6162L68.3204 258.375Z",fill:"#393939"}),d("path",{d:"M67.6746 274.082H50.0234V283.28H67.6746V274.082Z",fill:"#131315"}),d("path",{d:"M67.8178 283.423H49.8796V273.938H67.8178V283.423ZM50.1667 283.137H67.5308V274.225H50.1667V283.137Z",fill:"#393939"}),d("path",{d:"M62.4684 259.458H55.232L54.4016 258.153H63.2988L62.4684 259.458Z",fill:"#393939"}),d("path",{d:"M49.8086 258.375H49.5216V272.439H49.8086V258.375Z",fill:"#393939"}),d("path",{d:"M68.1773 258.375H67.8903V272.439H68.1773V258.375Z",fill:"#393939"}),d("path",{d:"M61.7268 249.035L61.5515 248.808C69.843 242.414 79.7268 231.46 79.7268 215.586C79.7334 210.026 78.0984 204.588 75.0267 199.954C71.9551 195.32 67.5835 191.696 62.4604 189.537L62.5722 189.272C67.7474 191.454 72.1632 195.114 75.2661 199.796C78.3689 204.477 80.0205 209.97 80.0138 215.586C80.0138 231.576 70.0692 242.602 61.7268 249.035Z",fill:"#393939"}),d("path",{d:"M52.5424 249.035L52.3672 248.808C60.6587 242.414 70.5426 231.46 70.5426 215.586C70.5449 210.064 68.9294 204.662 65.8958 200.047C62.8622 195.433 58.5434 191.808 53.4728 189.621L53.5866 189.358C58.7087 191.567 63.0713 195.229 66.1357 199.89C69.2001 204.551 70.8319 210.008 70.8296 215.586C70.8296 231.577 60.885 242.602 52.5424 249.035Z",fill:"#393939"}),d("path",{d:"M64.2965 249.035C55.954 242.602 46.0094 231.577 46.0094 215.586C46.0071 210.008 47.639 204.551 50.7034 199.89C53.7678 195.229 58.1305 191.567 63.2527 189.358L63.3664 189.621C58.2958 191.808 53.9769 195.433 50.9432 200.047C47.9096 204.662 46.2942 210.064 46.2964 215.586C46.2964 231.46 56.1802 242.414 64.4717 248.808L64.2965 249.035Z",fill:"#393939"}),d("path",{d:"M55.1121 249.036C46.7696 242.602 36.825 231.577 36.825 215.586C36.8156 209.948 38.4789 204.434 41.6043 199.741C44.7298 195.049 49.1769 191.389 54.3831 189.224L54.4938 189.489C49.3399 191.632 44.9374 195.255 41.8433 199.9C38.7493 204.546 37.1027 210.005 37.112 215.586C37.112 231.46 46.9958 242.414 55.2873 248.808L55.1121 249.036Z",fill:"#393939"}),d("path",{d:"M58.562 188.918H58.275V249.191H58.562V188.918Z",fill:"#393939"}),d("path",{d:"M55.1848 271.996L49.9219 277.259L50.1248 277.462L55.3877 272.199L55.1848 271.996Z",fill:"#393939"}),d("path",{d:"M57.7438 271.909L49.9204 280.137L50.1284 280.335L57.9518 272.107L57.7438 271.909Z",fill:"#393939"}),d("path",{d:"M69.3258 272.008H47.8V274.591H69.3258V272.008Z",fill:"#131315"}),d("path",{d:"M69.4689 274.735H47.6561V271.865H69.4689V274.735ZM47.9431 274.448H69.1819V272.152H47.9431V274.448Z",fill:"#393939"}),d("path",{d:"M140.99 149.687C140.99 167.305 122.519 175.735 122.519 175.735C122.519 175.735 103.86 167.305 103.481 149.687C103.258 139.332 111.877 130.933 122.235 130.933C127.209 130.933 131.98 132.909 135.497 136.426C139.014 139.943 140.99 144.713 140.99 149.687Z",fill:"#212121"}),d("path",{d:"M128.77 176.777H116.267L114.752 170.715H130.286L128.77 176.777Z",fill:"#393939"}),d("path",{d:"M128.344 187.144H116.693V193.215H128.344V187.144Z",fill:"#131315"}),d("path",{d:"M128.439 193.31H116.599V187.049H128.439V193.31ZM116.788 193.121H128.249V187.239H116.788V193.121Z",fill:"#393939"}),d("path",{d:"M124.907 177.492H120.131L119.583 176.63H125.455L124.907 177.492Z",fill:"#393939"}),d("path",{d:"M116.552 176.777H116.363V186.06H116.552V176.777Z",fill:"#393939"}),d("path",{d:"M128.676 176.777H128.486V186.059H128.676V176.777Z",fill:"#393939"}),d("path",{d:"M124.417 170.612L124.302 170.462C129.774 166.242 136.298 159.012 136.298 148.534C136.302 144.865 135.223 141.275 133.196 138.217C131.168 135.158 128.283 132.766 124.901 131.341L124.975 131.166C128.391 132.606 131.306 135.022 133.354 138.112C135.402 141.202 136.492 144.827 136.487 148.534C136.487 159.089 129.924 166.366 124.417 170.612Z",fill:"#393939"}),d("path",{d:"M118.356 170.612L118.241 170.462C123.713 166.242 130.237 159.012 130.237 148.534C130.239 144.889 129.172 141.324 127.17 138.278C125.168 135.232 122.317 132.84 118.97 131.396L119.045 131.222C122.426 132.681 125.306 135.097 127.328 138.174C129.351 141.251 130.428 144.852 130.427 148.534C130.427 159.089 123.863 166.366 118.356 170.612Z",fill:"#393939"}),d("path",{d:"M126.114 170.612C120.608 166.366 114.044 159.089 114.044 148.534C114.042 144.852 115.119 141.251 117.142 138.174C119.165 135.097 122.044 132.681 125.425 131.222L125.5 131.396C122.153 132.84 119.303 135.232 117.3 138.278C115.298 141.324 114.232 144.889 114.233 148.534C114.233 159.012 120.757 166.242 126.23 170.462L126.114 170.612Z",fill:"#393939"}),d("path",{d:"M120.052 170.612C114.545 166.366 107.981 159.089 107.981 148.534C107.975 144.813 109.073 141.173 111.136 138.076C113.199 134.978 116.134 132.562 119.57 131.134L119.643 131.309C116.242 132.723 113.336 135.114 111.294 138.181C109.251 141.247 108.165 144.85 108.171 148.534C108.171 159.012 114.695 166.242 120.167 170.462L120.052 170.612Z",fill:"#393939"}),d("path",{d:"M122.33 130.933H122.141V170.715H122.33V130.933Z",fill:"#393939"}),d("path",{d:"M120.1 185.767L116.626 189.241L116.76 189.375L120.234 185.901L120.1 185.767Z",fill:"#393939"}),d("path",{d:"M121.789 185.71L116.625 191.141L116.763 191.271L121.926 185.84L121.789 185.71Z",fill:"#393939"}),d("path",{d:"M129.433 185.775H115.225V187.48H129.433V185.775Z",fill:"#131315"}),d("path",{d:"M129.529 187.575H115.131V185.68H129.529V187.575ZM115.321 187.385H129.339V185.87H115.321V187.385Z",fill:"#393939"}),d("path",{d:"M298.004 173.774C298.123 173.774 298.238 173.729 298.325 173.647C298.412 173.566 298.465 173.455 298.473 173.336C298.781 169.155 300.656 165.245 303.723 162.387C306.79 159.53 310.823 157.936 315.015 157.925C315.517 157.925 316.044 157.95 316.582 158.001C316.672 158.009 316.762 157.991 316.843 157.95C316.923 157.908 316.989 157.844 317.034 157.766C318.96 154.395 321.835 151.667 325.302 149.92C328.769 148.173 332.673 147.487 336.528 147.945C340.383 148.403 344.017 149.987 346.977 152.498C349.938 155.009 352.093 158.336 353.174 162.064C353.203 162.164 353.264 162.252 353.348 162.313C353.431 162.375 353.533 162.406 353.637 162.404L353.762 162.4C353.827 162.398 353.892 162.395 353.958 162.395C357.138 162.405 360.218 163.502 362.689 165.504C365.159 167.506 366.871 170.292 367.54 173.4C367.563 173.506 367.621 173.601 367.704 173.669C367.788 173.737 367.893 173.774 368.001 173.774H399.529C399.591 173.774 399.652 173.762 399.709 173.738C399.767 173.715 399.819 173.68 399.863 173.637C399.906 173.593 399.941 173.541 399.965 173.484C399.989 173.426 400.001 173.365 400.001 173.303C400.001 173.241 399.989 173.18 399.965 173.123C399.941 173.066 399.906 173.014 399.863 172.97C399.819 172.926 399.767 172.892 399.709 172.868C399.652 172.844 399.591 172.832 399.529 172.833H368.378C367.593 169.599 365.749 166.722 363.138 164.66C360.527 162.597 357.301 161.469 353.974 161.454C352.79 157.623 350.518 154.218 347.436 151.654C344.353 149.089 340.592 147.475 336.609 147.007C332.626 146.539 328.594 147.238 325.001 149.019C321.408 150.799 318.409 153.585 316.369 157.038C315.906 157.002 315.452 156.984 315.015 156.984C310.585 156.996 306.323 158.68 303.082 161.7C299.84 164.72 297.859 168.852 297.534 173.27C297.53 173.332 297.538 173.394 297.557 173.452C297.577 173.511 297.608 173.565 297.648 173.612C297.689 173.659 297.738 173.697 297.793 173.724C297.849 173.752 297.909 173.768 297.971 173.773C297.982 173.774 297.993 173.774 298.004 173.774Z",fill:"#393939"}),d("path",{d:"M303.603 179.807H380.783C380.907 179.807 381.027 179.758 381.115 179.67C381.204 179.581 381.253 179.462 381.253 179.337C381.253 179.212 381.204 179.092 381.115 179.004C381.027 178.916 380.907 178.866 380.783 178.866H303.603C303.479 178.866 303.359 178.916 303.271 179.004C303.182 179.092 303.133 179.212 303.133 179.337C303.133 179.462 303.182 179.581 303.271 179.67C303.359 179.758 303.479 179.807 303.603 179.807Z",fill:"#393939"}),d("path",{d:"M361.958 186.632H387.841C387.966 186.631 388.085 186.581 388.173 186.493C388.261 186.405 388.311 186.286 388.311 186.161C388.311 186.036 388.261 185.917 388.173 185.829C388.085 185.741 387.966 185.691 387.841 185.69H361.958C361.896 185.69 361.835 185.703 361.778 185.726C361.721 185.75 361.669 185.785 361.625 185.828C361.582 185.872 361.547 185.924 361.523 185.981C361.5 186.038 361.488 186.099 361.488 186.161C361.488 186.223 361.5 186.284 361.523 186.341C361.547 186.398 361.582 186.45 361.625 186.494C361.669 186.538 361.721 186.572 361.778 186.596C361.835 186.619 361.896 186.632 361.958 186.632Z",fill:"#393939"}),d("path",{d:"M241.687 300.182H240.137L239.4 294.208H241.687V300.182Z",fill:"#9F616A"}),d("path",{d:"M242.081 301.684H237.086V301.621C237.087 301.106 237.292 300.612 237.656 300.247C238.021 299.883 238.515 299.678 239.03 299.677H242.081V301.684Z",fill:"#2F2E41"}),d("path",{d:"M261.662 297.247L260.334 298.045L256.625 293.303L258.585 292.125L261.662 297.247Z",fill:"#9F616A"}),d("path",{d:"M258.493 300.903L258.46 300.849C258.195 300.407 258.116 299.878 258.241 299.378C258.366 298.878 258.684 298.447 259.125 298.181L261.74 296.61L262.774 298.331L258.493 300.903Z",fill:"#2F2E41"}),d("path",{d:"M242.089 298.95L242.062 298.95C241.308 298.947 240.555 298.904 239.807 298.82C239.521 298.792 239.211 298.761 238.838 298.73L238.826 298.728C238.571 298.652 238.564 296.265 238.672 288.094C238.727 283.909 238.79 279.166 238.715 276.145L238.715 276.115L238.737 276.095C240.084 274.914 241.692 274.069 243.429 273.628C245.165 273.187 246.982 273.163 248.729 273.559L248.757 273.564L248.771 273.588C250.293 276.164 252.592 279.875 254.815 283.463C259.918 291.701 261.378 294.124 261.218 294.306L261.199 294.321C260.85 294.495 260.589 294.63 260.366 294.744C259.486 295.2 258.581 295.608 257.656 295.966L257.616 295.983L257.586 295.95C252.408 290.276 248.099 283.938 245.434 278.079C245.122 280.079 244.744 282.691 244.345 285.451C243.196 293.387 242.42 298.612 242.107 298.931L242.089 298.95Z",fill:"#2F2E41"}),d("path",{d:"M243.484 276.755C246.572 276.741 249.639 277.255 252.554 278.274C252.655 273.38 251.015 268.61 247.926 264.814L247.903 264.787L247.915 264.753C248.728 262.403 249.569 259.974 250.32 257.556L250.309 257.516C249.782 255.643 248.651 253.75 246.852 251.729C246.656 251.527 246.391 251.407 246.111 251.393C245.83 251.378 245.554 251.471 245.34 251.653C243.763 253.095 242.535 254.876 241.749 256.862C240.963 258.849 240.639 260.988 240.801 263.118L240.802 263.13L240.799 263.142C239.39 267.916 238.878 270.367 238.427 272.531C238.098 274.109 237.813 275.475 237.241 277.427C239.292 276.981 241.385 276.756 243.484 276.755Z",fill:"#393939"}),d("path",{opacity:"0.1",d:"M248.03 261.665L243.446 271.644L240.827 268.994L248.03 261.665Z",fill:"black"}),d("path",{d:"M246.069 250.758C247.87 250.758 249.33 249.298 249.33 247.497C249.33 245.696 247.87 244.236 246.069 244.236C244.268 244.236 242.808 245.696 242.808 247.497C242.808 249.298 244.268 250.758 246.069 250.758Z",fill:"#9F616A"}),d("path",{d:"M242.116 245.655H247.294V243.398C246.157 242.946 245.045 242.562 244.373 243.398C243.774 243.398 243.2 243.635 242.777 244.059C242.353 244.482 242.116 245.056 242.116 245.655Z",fill:"#2F2E41"}),d("path",{d:"M247.581 242.999C250.676 242.999 251.543 246.879 251.543 249.068C251.543 250.289 250.991 250.726 250.123 250.874L249.817 249.24L249.099 250.944C248.855 250.945 248.599 250.94 248.334 250.936L248.091 250.435L247.548 250.927C245.375 250.93 243.619 251.247 243.619 249.068C243.619 246.879 244.378 242.999 247.581 242.999Z",fill:"#2F2E41"}),d("path",{d:"M341.088 92.3351C341.088 178.29 250.974 219.419 250.974 219.419C250.974 219.419 159.936 178.29 158.088 92.3351C157.001 41.8126 199.054 0.834961 249.588 0.834961C300.122 0.834961 341.088 41.801 341.088 92.3351Z",fill:"currentColor"}),d("path",{d:"M252.908 299.508H251.008L250.105 292.181H252.908V299.508Z",fill:"#FFB7B7"}),d("path",{d:"M249.65 298.965H253.313V301.271H247.344C247.344 300.968 247.403 300.668 247.519 300.388C247.635 300.109 247.805 299.854 248.019 299.64C248.233 299.426 248.488 299.256 248.768 299.14C249.047 299.024 249.347 298.965 249.65 298.965Z",fill:"#2F2E41"}),d("path",{d:"M260.034 299.508H258.135L257.231 292.181H260.035L260.034 299.508Z",fill:"#FFB7B7"}),d("path",{d:"M256.778 298.965H260.442V301.271H254.472C254.472 300.659 254.715 300.073 255.147 299.64C255.58 299.208 256.167 298.965 256.778 298.965Z",fill:"#2F2E41"}),d("path",{d:"M259.801 277.687C259.597 277.555 259.423 277.38 259.294 277.174C259.164 276.969 259.081 276.737 259.051 276.495C259.02 276.254 259.043 276.009 259.117 275.777C259.192 275.546 259.316 275.333 259.482 275.155L258.231 257.406L261.834 257.755L261.933 275.137C262.214 275.435 262.376 275.826 262.388 276.235C262.401 276.644 262.263 277.044 262 277.359C261.737 277.673 261.368 277.88 260.963 277.94C260.558 278.001 260.145 277.911 259.801 277.687Z",fill:"#FFB7B7"}),d("path",{d:"M252.817 295.817L250.726 295.717C250.548 295.709 250.379 295.632 250.256 295.504C250.132 295.375 250.063 295.204 250.062 295.026L249.916 273.868C249.915 273.768 249.936 273.669 249.977 273.577C250.019 273.485 250.079 273.404 250.155 273.338C250.231 273.272 250.32 273.223 250.416 273.195C250.512 273.166 250.614 273.159 250.713 273.173L259.078 274.388C259.244 274.411 259.395 274.493 259.505 274.619C259.614 274.745 259.675 274.906 259.676 275.073L260.751 294.677C260.752 294.769 260.735 294.86 260.7 294.945C260.665 295.031 260.614 295.108 260.549 295.173C260.484 295.239 260.407 295.29 260.322 295.326C260.237 295.361 260.146 295.379 260.054 295.379H257.8C257.634 295.38 257.473 295.321 257.346 295.213C257.22 295.105 257.136 294.955 257.111 294.791C257.111 294.791 255.408 280.086 255.175 280.094C254.94 280.099 253.542 295.203 253.542 295.203C253.521 295.372 253.44 295.528 253.312 295.641C253.185 295.754 253.02 295.817 252.85 295.818C252.839 295.818 252.828 295.817 252.817 295.817Z",fill:"#2F2E41"}),d("path",{d:"M259.047 263.37C258.963 263.309 258.893 263.23 258.843 263.139C258.794 263.048 258.765 262.947 258.759 262.843L258.495 258.059C258.469 257.585 258.619 257.118 258.917 256.749C259.215 256.379 259.639 256.133 260.107 256.057C260.576 255.981 261.056 256.082 261.455 256.339C261.854 256.597 262.143 256.993 262.267 257.451L263.427 261.728C263.475 261.906 263.451 262.096 263.359 262.257C263.267 262.417 263.115 262.534 262.937 262.583L259.638 263.477C259.538 263.505 259.433 263.509 259.33 263.491C259.228 263.472 259.131 263.431 259.047 263.37Z",fill:"#68667E"}),d("path",{d:"M255.966 252.001C258.068 252.001 259.771 250.297 259.771 248.195C259.771 246.094 258.068 244.39 255.966 244.39C253.864 244.39 252.161 246.094 252.161 248.195C252.161 250.297 253.864 252.001 255.966 252.001Z",fill:"#FFB7B7"}),d("path",{d:"M258.659 251.206C258.5 251.377 258.295 251.5 258.068 251.559C257.842 251.618 257.604 251.612 257.381 251.54C257.158 251.468 256.961 251.335 256.811 251.154C256.662 250.974 256.567 250.755 256.538 250.523C256.531 250.443 256.531 250.362 256.54 250.282C256.587 249.824 256.852 249.409 256.788 248.926C256.774 248.806 256.729 248.691 256.658 248.593C256.092 247.835 254.765 248.932 254.231 248.246C253.903 247.825 254.288 247.163 254.037 246.693C253.705 246.073 252.723 246.379 252.107 246.039C251.422 245.662 251.463 244.61 251.914 243.971C252.208 243.593 252.581 243.284 253.008 243.067C253.434 242.85 253.903 242.73 254.381 242.715C255.339 242.692 256.29 242.878 257.169 243.259C258.207 243.596 259.123 244.231 259.803 245.085C260.155 245.645 260.378 246.276 260.456 246.932C260.534 247.589 260.465 248.255 260.254 248.881C260.024 249.65 259.238 250.588 258.659 251.206Z",fill:"#2F2E41"}),d("path",{d:"M259.765 254.543C259.699 254.495 259.631 254.448 259.563 254.403C259.197 254.16 258.802 253.966 258.386 253.826V252.826H255.442V253.753C254.466 254.023 253.591 254.573 252.926 255.335C252.26 256.098 251.833 257.04 251.699 258.043L249.694 272.924C249.681 273.017 249.687 273.112 249.712 273.203C249.737 273.293 249.78 273.378 249.838 273.451C249.895 273.524 249.967 273.585 250.048 273.629C250.13 273.674 250.219 273.702 250.311 273.71C251.716 273.892 253.069 274.356 254.29 275.073C255.177 275.564 256.175 275.819 257.188 275.813C257.993 275.81 258.791 275.668 259.547 275.393C259.675 275.346 259.787 275.262 259.867 275.151C259.948 275.041 259.994 274.909 259.999 274.772C260.071 273.171 260.494 264.927 261.723 259.899C261.962 258.913 261.903 257.878 261.555 256.924C261.206 255.971 260.584 255.142 259.765 254.543Z",fill:"#68667E"}),d("path",{d:"M281.474 224.502H220.474L213.08 194.926H288.868L281.474 224.502Z",fill:"#68667E"}),d("path",{d:"M279.394 275.081H222.553V304.702H279.394V275.081Z",fill:"#131315"}),d("path",{d:"M279.857 305.165H222.092V274.619H279.857V305.165ZM223.016 304.241H278.933V275.544H223.016V304.241Z",fill:"#68667E"}),d("path",{d:"M262.626 227.989H239.323L236.648 223.787H265.3L262.626 227.989Z",fill:"#68667E"}),d("path",{d:"M221.86 224.502H220.936V269.79H221.86V224.502Z",fill:"#68667E"}),d("path",{d:"M281.012 224.502H280.088V269.79H281.012V224.502Z",fill:"#68667E"}),d("path",{d:"M260.238 194.425L259.673 193.693C286.374 173.103 318.202 137.828 318.202 86.7106C318.224 68.8073 312.958 51.2961 303.067 36.3733C293.175 21.4506 279.098 9.78049 262.6 2.82672L262.96 1.97559C279.626 8.99992 293.846 20.7884 303.838 35.8626C313.829 50.9368 319.148 68.6256 319.127 86.7106C319.127 138.204 287.103 173.708 260.238 194.425Z",fill:"#68667E"}),d("path",{d:"M230.663 194.426L230.098 193.694C256.799 173.103 288.628 137.829 288.628 86.7108C288.635 68.9278 283.433 51.5322 273.664 36.6728C263.895 21.8133 249.987 10.141 233.659 3.09745L234.025 2.24902C250.519 9.364 264.568 21.1548 274.436 36.165C284.304 51.1753 289.559 68.7474 289.552 86.7108C289.552 138.204 257.528 173.709 230.663 194.426Z",fill:"#68667E"}),d("path",{d:"M268.512 194.425C241.647 173.708 209.623 138.204 209.623 86.7103C209.616 68.7467 214.871 51.1745 224.739 36.1642C234.607 21.1539 248.656 9.36312 265.151 2.24829L265.517 3.09671C249.189 10.1401 235.281 21.8124 225.512 36.672C215.743 51.5315 210.54 68.9272 210.548 86.7103C210.548 137.828 242.376 173.103 269.077 193.693L268.512 194.425Z",fill:"#68667E"}),d("path",{d:"M238.937 194.425C212.072 173.708 180.048 138.204 180.048 86.7104C180.018 68.5541 185.374 50.7968 195.439 35.6854C205.504 20.5741 219.824 8.78767 236.59 1.81763L236.946 2.67056C220.349 9.57054 206.172 21.2385 196.208 36.1981C186.245 51.1576 180.943 68.7365 180.972 86.7104C180.972 137.829 212.801 173.103 239.501 193.693L238.937 194.425Z",fill:"#68667E"}),d("path",{d:"M250.049 0.834961H249.125V194.926H250.049V0.834961Z",fill:"#68667E"}),d("path",{d:"M239.174 268.365L222.227 285.313L222.88 285.966L239.828 269.019L239.174 268.365Z",fill:"#68667E"}),d("path",{d:"M247.414 268.084L222.22 294.58L222.89 295.217L248.083 268.72L247.414 268.084Z",fill:"#68667E"}),d("path",{d:"M284.709 268.403H215.391V276.722H284.709V268.403Z",fill:"#131315"}),d("path",{d:"M285.171 277.184H214.928V267.941H285.171V277.184ZM215.852 276.259H284.246V268.865H215.852V276.259Z",fill:"#68667E"}),d("path",{d:"M237.81 272.272C237.995 272.259 238.176 272.206 238.338 272.116C238.501 272.026 238.641 271.901 238.75 271.751C238.86 271.601 238.934 271.428 238.97 271.246C239.005 271.063 239 270.876 238.954 270.695L242.731 268.221L240.577 267.29L237.321 269.783C237.023 269.879 236.771 270.081 236.613 270.35C236.454 270.62 236.399 270.938 236.46 271.245C236.52 271.552 236.691 271.826 236.94 272.015C237.189 272.205 237.498 272.296 237.81 272.272Z",fill:"#9F616A"}),d("path",{d:"M241.444 270.49L241.396 270.456C240.497 269.795 239.5 269.11 238.535 268.449L238.477 268.409L238.522 268.356C240.582 265.946 242.644 263.428 244.638 260.993L244.635 260.985L244.653 260.975L244.661 260.965L244.666 260.969L244.678 260.963L244.623 260.967L244.009 256.146C243.704 255.645 243.549 255.067 243.561 254.481C243.572 253.895 243.751 253.324 244.075 252.835C244.448 252.308 245.002 251.937 245.632 251.793C246.262 251.649 246.922 251.743 247.487 252.056C247.766 252.243 247.999 252.491 248.169 252.78C248.339 253.069 248.442 253.394 248.47 253.728C248.51 254.026 248.482 254.329 248.39 254.615C248.297 254.902 248.142 255.163 247.935 255.382C248.147 257.721 248.241 260.07 248.216 262.419L248.216 262.441L248.202 262.459C246.076 265.161 243.741 267.847 241.482 270.446L241.444 270.49Z",fill:"#393939"}),d("path",{d:"M242.176 255.672C242.195 255.755 242.208 255.84 242.213 255.926L248.869 259.765L250.487 258.834L252.211 261.092L248.75 263.558L241.158 257.568C240.848 257.683 240.511 257.7 240.191 257.619C239.871 257.537 239.583 257.36 239.367 257.111C239.15 256.862 239.014 256.552 238.977 256.224C238.94 255.896 239.004 255.565 239.161 255.274C239.317 254.983 239.558 254.746 239.852 254.596C240.146 254.445 240.479 254.388 240.806 254.431C241.133 254.474 241.44 254.616 241.685 254.838C241.929 255.059 242.101 255.35 242.176 255.672Z",fill:"#FFB7B7"}),d("path",{d:"M249.107 259.439C249.096 259.335 249.108 259.231 249.143 259.133C249.178 259.035 249.234 258.946 249.307 258.872L252.695 255.484C253.03 255.149 253.478 254.949 253.952 254.924C254.426 254.899 254.893 255.051 255.262 255.35C255.631 255.648 255.876 256.073 255.95 256.542C256.025 257.01 255.923 257.49 255.665 257.888L253.252 261.605C253.152 261.76 252.993 261.869 252.813 261.908C252.632 261.946 252.443 261.911 252.288 261.811L249.421 259.95C249.334 259.894 249.26 259.819 249.206 259.73C249.152 259.641 249.118 259.542 249.107 259.439Z",fill:"#68667E"}),d("path",{d:"M203.019 226.456C202.9 226.456 202.785 226.41 202.698 226.329C202.611 226.248 202.558 226.137 202.55 226.018C202.242 221.837 200.367 217.927 197.3 215.069C194.233 212.212 190.199 210.618 186.007 210.607C185.506 210.607 184.979 210.632 184.441 210.682C184.351 210.691 184.26 210.673 184.18 210.632C184.1 210.59 184.033 210.526 183.989 210.448C182.063 207.077 179.187 204.348 175.721 202.602C172.254 200.855 168.35 200.168 164.495 200.627C160.64 201.085 157.006 202.669 154.045 205.18C151.085 207.691 148.93 211.018 147.848 214.746C147.82 214.846 147.759 214.934 147.675 214.995C147.591 215.057 147.489 215.088 147.386 215.086L147.26 215.082C147.195 215.08 147.13 215.077 147.065 215.077C143.885 215.087 140.804 216.184 138.334 218.186C135.863 220.188 134.152 222.974 133.482 226.082C133.46 226.188 133.402 226.283 133.318 226.351C133.235 226.419 133.13 226.456 133.022 226.456H101.494C101.432 226.456 101.371 226.444 101.313 226.42C101.256 226.397 101.204 226.362 101.16 226.318C101.116 226.275 101.082 226.223 101.058 226.166C101.034 226.108 101.022 226.047 101.022 225.985C101.022 225.923 101.034 225.862 101.058 225.805C101.082 225.748 101.116 225.696 101.16 225.652C101.204 225.608 101.256 225.574 101.313 225.55C101.371 225.526 101.432 225.514 101.494 225.515H132.645C133.429 222.281 135.274 219.404 137.885 217.342C140.495 215.279 143.722 214.151 147.049 214.136C148.233 210.305 150.504 206.9 153.587 204.335C156.67 201.771 160.431 200.156 164.414 199.689C168.396 199.221 172.429 199.92 176.022 201.701C179.615 203.481 182.614 206.267 184.654 209.72C185.117 209.684 185.571 209.665 186.007 209.665C190.437 209.677 194.7 211.362 197.941 214.382C201.182 217.402 203.164 221.534 203.489 225.952C203.493 226.014 203.485 226.076 203.466 226.134C203.446 226.193 203.415 226.247 203.375 226.294C203.334 226.34 203.285 226.379 203.229 226.406C203.174 226.434 203.114 226.45 203.052 226.455C203.041 226.455 203.03 226.456 203.019 226.456Z",fill:"#393939"}),d("path",{d:"M197.42 232.49H120.241C120.179 232.49 120.118 232.478 120.06 232.454C120.003 232.431 119.951 232.396 119.907 232.352C119.863 232.309 119.829 232.257 119.805 232.199C119.781 232.142 119.769 232.081 119.769 232.019C119.769 231.957 119.781 231.896 119.805 231.839C119.829 231.781 119.863 231.729 119.907 231.686C119.951 231.642 120.003 231.607 120.06 231.584C120.118 231.56 120.179 231.548 120.241 231.548H197.42C197.545 231.548 197.665 231.598 197.753 231.686C197.841 231.774 197.891 231.894 197.891 232.019C197.891 232.144 197.841 232.263 197.753 232.352C197.665 232.44 197.545 232.49 197.42 232.49Z",fill:"#393939"}),d("path",{d:"M139.065 239.313H113.182C113.12 239.313 113.059 239.301 113.001 239.278C112.944 239.254 112.892 239.22 112.848 239.176C112.804 239.132 112.769 239.08 112.746 239.023C112.722 238.966 112.71 238.905 112.71 238.843C112.71 238.781 112.722 238.719 112.746 238.662C112.769 238.605 112.804 238.553 112.848 238.509C112.892 238.466 112.944 238.431 113.001 238.407C113.059 238.384 113.12 238.372 113.182 238.372H139.065C139.127 238.372 139.188 238.384 139.246 238.407C139.303 238.431 139.355 238.466 139.399 238.509C139.443 238.553 139.477 238.605 139.501 238.662C139.525 238.719 139.537 238.781 139.537 238.843C139.537 238.905 139.525 238.966 139.501 239.023C139.477 239.08 139.443 239.132 139.399 239.176C139.355 239.22 139.303 239.254 139.246 239.278C139.188 239.301 139.127 239.313 139.065 239.313Z",fill:"#393939"})]}),d("defs",{children:d("clipPath",{id:"clip0_257_7281",children:d("rect",{width:"400",height:"304.33",fill:"white",transform:"translate(0 0.834961)"})})})]});function j3({src:e,size:t=48,firstName:r,lastName:n,...i}){return e?d(Tj,{src:mr(e,t,t),alt:`Avatar for ${r} ${n}`,size:t,...i}):d(kj,{firstName:r,lastName:n,rounded:!0,size:t,...i})}const Tj=W.img(({size:e})=>` border-radius: 50%; width: ${e}px; height: ${e}px; `),kj=W(q3)` border-radius: 50%; background: #ddd; color: #333; `;function VC({speakers:e,title:t}){const[r,n]=ue(null);return e?.length?d(Le,{children:[d(xj,{children:[t&&d(Sj,{className:"brella-schedule-speakers-list-title",children:[t," ","(",e.length,")"]}),K$(e).map(i=>d(ZC,{className:"brella-schedule-speaker",onClick:()=>n(i),children:[d(j3,{firstName:i.firstName,lastName:i.lastName,className:i.photoUrl?"brella-schedule-speaker-avatar":"brella-schedule-speaker-initials",src:i.photoUrl,size:64,alt:`${nr(i)} picture`}),d(YC,{className:"brella-schedule-speakers-name-title",children:[d(GC,{className:"brella-schedule-speaker-role",children:i.role}),d(KC,{className:"brella-schedule-speaker-name",children:nr(i)}),d(XC,{className:"brella-schedule-speaker-title",children:`${[i.jobTitle,i.companyName].filter(Boolean).join(", ")}`})]})]},i.id))]}),d(Ta,{onClose:()=>n(null),visible:r,title:"Speaker details",className:"brella-schedule-speaker-details",children:d(Le,{children:[d(ZC,{className:"brella-schedule-speaker",children:[r?.photoUrl?d(Fj,{className:"brella-schedule-speaker-picture",src:mr(r?.photoUrl,64,64),alt:`${r&&nr(r)} picture`}):d(Oj,{className:"brella-schedule-speaker-initials",firstName:r?.firstName,lastName:r?.lastName,rounded:!0,size:64}),d(YC,{className:"brella-schedule-speakers-name-title",children:[d(GC,{className:"brella-schedule-speaker-role",children:r?.role}),d(KC,{className:"brella-schedule-speaker-name",children:r&&nr(r)}),d(XC,{className:"brella-schedule-speaker-title",children:`${[r?.jobTitle,r?.companyName].filter(Boolean).join(", ")}`})]})]}),d(eC,{content:r?.bio})]})})]}):null}const xj=W.div` display: grid; gap: var(--brella-widget-margin-base); `,Sj=W.div` color: ${({theme:e})=>e.system.text.primary}; font-size: 14px; font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; `,ZC=W.button` display: flex; align-items: center; gap: var(--brella-widget-margin-base); cursor: pointer; appearance: none; border: 0; background: ${({theme:e})=>e.system.background.primary}; text-align: left; padding-left: 0; padding-right: 0; `,Fj=W.img` object-fit: cover; border-radius: calc(var(--brella-widget-margin-base) * 2); `,YC=W.div` display: grid; align-items: center; justify-content: center; `,GC=W.span` color: ${({theme:e})=>e.system.text.secondary}; font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; font-size: 10px; text-transform: uppercase; `,KC=W.span` color: ${({theme:e})=>e.system.text.primary}; font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; font-size: 14px; margin: var(--brella-widget-margin-quarter-base) 0; `,XC=W.span` color: ${({theme:e})=>e.system.text.secondary}; font-size: 12px; `,Oj=W(q3)` height: 64px; width: 64px; `;function QC({sponsor:e,session:t}){return e?d(Pj,{className:"brella-schedule-sponsor",children:[e?.logoUrl&&d(Ij,{className:"brella-schedule-sponsor-logo",children:d("img",{src:mr(e?.logoUrl),alt:`${e?.name} logo`})}),d(Dj,{children:[d(Aj,{className:"brella-schedule-sponsor-name",children:e?.name}),d(Mj,{className:"brella-schedule-sponsor-category",children:`${t?"Session":"Track"} Sponsor`})]})]}):null}const Pj=W.div` display: flex; flex-direction: row; align-items: center; width: 100%; overflow: hidden; margin: var(--brella-widget-margin-half-base) auto 0; padding: var(--brella-widget-padding-base) var(--brella-widget-padding-three-quarters-base); gap: var(--brella-widget-margin-base); background: ${({theme:e})=>e.system.background.secondary}; border: 1px solid ${({theme:e})=>e.system.separator[100]}; border-radius: var(--brella-widget-border-radius-small); } `,Dj=W.p` margin: 0 var(--brella-widget-margin-three-quarters-base) 0 0; text-align: left; font-style: normal; font-weight: 400; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; `,Aj=W.strong` font-weight: 600; font-size: 14px; line-height: 22px; color: ${({theme:e})=>e.system.text.primary}; `,Mj=W.span` display: block; font-size: 12px; line-height: 20px; color: ${({theme:e})=>e.system.text.secondary}; `,Ij=W.div` width: 40px; height: 40px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%;color: ${({theme:e})=>e.system.text.secondary}; } `;function Nj({className:e}){return d("svg",{width:"13",height:"15",viewBox:"0 0 13 15",className:e,xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M4.15625 2.5H8.09375V1.40625C8.09375 1.05078 8.36719 0.75 8.75 0.75C9.10547 0.75 9.40625 1.05078 9.40625 1.40625V2.5H10.5C11.457 2.5 12.25 3.29297 12.25 4.25V13C12.25 13.9844 11.457 14.75 10.5 14.75H1.75C0.765625 14.75 0 13.9844 0 13V4.25C0 3.29297 0.765625 2.5 1.75 2.5H2.84375V1.40625C2.84375 1.05078 3.11719 0.75 3.5 0.75C3.85547 0.75 4.15625 1.05078 4.15625 1.40625V2.5ZM1.3125 13C1.3125 13.2461 1.50391 13.4375 1.75 13.4375H10.5C10.7188 13.4375 10.9375 13.2461 10.9375 13V6H1.3125V13Z",fill:"currentColor"})})}function Rj({className:e}){return d("svg",{width:"11",height:"15",viewBox:"0 0 11 15",className:e,xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M7.4375 6C7.4375 7.23047 6.45312 8.1875 5.25 8.1875C4.01953 8.1875 3.0625 7.23047 3.0625 6C3.0625 4.79688 4.01953 3.8125 5.25 3.8125C6.45312 3.8125 7.4375 4.79688 7.4375 6ZM5.25 5.125C4.75781 5.125 4.375 5.53516 4.375 6C4.375 6.49219 4.75781 6.875 5.25 6.875C5.71484 6.875 6.125 6.49219 6.125 6C6.125 5.53516 5.71484 5.125 5.25 5.125ZM10.5 6C10.5 8.40625 7.30078 12.6445 5.87891 14.4219C5.55078 14.832 4.92188 14.832 4.59375 14.4219C3.17188 12.6445 0 8.40625 0 6C0 3.10156 2.32422 0.75 5.25 0.75C8.14844 0.75 10.5 3.10156 10.5 6ZM5.25 2.0625C3.0625 2.0625 1.3125 3.83984 1.3125 6C1.3125 6.35547 1.42188 6.875 1.72266 7.58594C1.99609 8.24219 2.40625 9.00781 2.87109 9.77344C3.66406 11.0312 4.56641 12.2344 5.25 13.1094C5.90625 12.2344 6.80859 11.0312 7.60156 9.77344C8.06641 9.00781 8.47656 8.24219 8.75 7.58594C9.05078 6.875 9.1875 6.35547 9.1875 6C9.1875 3.83984 7.41016 2.0625 5.25 2.0625Z",fill:"currentColor"})})}function fu({className:e,style:t}){return d("svg",{width:"15",height:"13",viewBox:"0 0 15 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,style:t,children:d("path",{d:"M13.75 0.84375C14.165 0.84375 14.5312 1.20996 14.5312 1.625V4.75C14.5312 5.18945 14.165 5.53125 13.75 5.53125H8.28125C7.8418 5.53125 7.5 5.18945 7.5 4.75V0.84375C7.5 0.428711 7.8418 0.0625 8.28125 0.0625H10.2344L11.0156 0.84375H13.75ZM13.75 7.875C14.165 7.875 14.5312 8.24121 14.5312 8.65625V11.7812C14.5312 12.2207 14.165 12.5625 13.75 12.5625H8.28125C7.8418 12.5625 7.5 12.2207 7.5 11.7812V7.875C7.5 7.45996 7.8418 7.09375 8.28125 7.09375H10.2344L11.0156 7.875H13.75ZM2.03125 0.453125V2.40625H6.71875V3.96875H2.03125V9.4375H6.71875V11H1.25C0.810547 11 0.46875 10.6582 0.46875 10.2188V0.453125C0.46875 0.257812 0.639648 0.0625 0.859375 0.0625H1.64062C1.83594 0.0625 2.03125 0.257812 2.03125 0.453125Z",fill:"currentColor"})})}function Lj({session:e,color:t,timeZone:r,eventSlug:n,openSession:i}){const[a,o]=ue(null),{widgetOptions:s}=ir(),l=aa(s?.timeFormat);if(Ie(()=>{rr.getTimeslot({publicCode:n,timeslotId:e.id}).then(({data:_})=>{o(_)})},[e.id,n]),!e.startTime)return null;const{startTime:u,endTime:c,location:f}=e,h=u?pr(new Date(u),r):null,p=c?pr(new Date(c),r):null,g=h&&$n(h,"MMM d"),v=h&&$n(h,l||""),m=p&&$n(p,l||"");return d(Bj,{className:"brella-schedule-time-and-place",children:[d(U3,{className:"brella-schedule-time",children:[d($j,{color:t}),`${g}, ${v} - ${m}`]}),f&&d(U3,{className:"brella-schedule-location",children:[d(Hj,{color:t}),`${f}`]}),a?.parentTimeslot&&d(U3,{className:"brella-schedule-parent-timeslot",children:[d(qj,{color:t}),"Part of: ",d(jj,{onClick:()=>i(a.parentTimeslot),children:`${a.parentTimeslot.title}`})]})]})}const Bj=W.article` display: grid; gap: var(--brella-widget-margin-quarter-base); `,U3=W.article` display: flex; align-items: center; gap: var(--brella-widget-margin-half-base); `,$j=W(Nj)` margin-top: -1px; width: 20px; ${({theme:e,color:t})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor][700]:e.system.color[t][700]}; `:` color: ${e.system.color[t][700]}; `} `,Hj=W(Rj)` width: 20px; ${({theme:e,color:t})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor][700]:e.system.color[t][700]}; `:` color: ${e.system.color[t][700]}; `} `,qj=W(fu)` width: 20px; ${({theme:e,color:t})=>e.colorTheme?` color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor][700]:e.system.color[t][700]}; `:` color: ${e.system.color[t][700]}; `} `,jj=W.span` text-decoration: underline; cursor: pointer; color: inherit; `;function Uj({session:e,eventSlug:t}){const[r,n]=ue([]);return Ie(()=>{rr.getSessionSponsors({eventSlug:t,timeSlotId:e.id}).then(({data:i})=>{n(i)})},[]),r.length?d(zj,{className:"brella-schedule-session-sponsors",children:[d(Wj,{className:"brella-schedule-session-sponsors-title",children:[e.sessionSponsorsSectionTitle," ","(",r.length,")"]}),d(Vj,{className:"brella-schedule-session-sponsors-list",children:r.map(({label:i,sponsor:a})=>d(Zj,{className:"brella-schedule-session-sponsor",children:[d(Yj,{className:"brella-schedule-session-sponsor-logo-container",children:[a.logoUrl&&d(Gj,{src:a.logoUrl}),!a.logoUrl&&d(eU,{})]}),d(Xj,{className:"brella-schedule-session-sponsor-content",children:[d(Jj,{className:"brella-schedule-session-sponsor-label",children:i}),d(Kj,{className:"brella-schedule-session-sponsor-name",children:a.name}),d(Qj,{className:"brella-schedule-session-sponsor-description",children:a.subtitle})]})]},a.id))})]}):null}const zj=W.div` display: flex; flex-direction: column; gap: var(--brella-widget-margin-base); `,Wj=W.div` color: ${({theme:e})=>e.system.text.primary}; font-size: 14px; font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; `,Vj=W.div` display: flex; flex-direction: column; gap: var(--brella-widget-margin-base); `,Zj=W.div` background-color: ${({theme:e})=>e.system.elevation.primary}; padding: ${({theme:e})=>e.system.spacing[400]}; border-radius: 8px; display: flex; flex-direction: row; gap: ${({theme:e})=>e.system.spacing[300]}; border: 1px solid ${({theme:e})=>e.system.separator[50]}; `,Yj=W.div` width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 8px; overflow: hidden; flex-shrink: 0; `,Gj=W.img` width: 64px; height: 64px; object-fit: contain; border-radius: 8px; overflow: hidden; `,Kj=W.div` font-size: 14px; font-weight: 600; `,Xj=W.div` display: flex; flex-direction: column; gap: 4px; justify-content: center; `,Qj=W.div` font-size: 12px; color: ${({theme:e})=>e.system.text.secondary}; `,Jj=W.div` color: ${({theme:e})=>e.system.text.secondary}; font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; font-size: 10px; text-transform: uppercase; `,eU=W.div` width: 64px; height: 64px; background-color: ${({theme:e})=>e.system.background.secondary}; `;function tU({session:e,eventSlug:t,timeZone:r,openSession:n}){const{widgetOptions:i}=ir();aa(i?.timeFormat);const{filters:a}=ir(),[o,s]=ue(null),[l,u]=ue(null),c=iU(a),f=Nn(()=>c?K_(a,{}):void 0,[c,a]);if(Ie(()=>{rr.getTimeslot({options:{params:f?{child_filters:f}:void 0},publicCode:t,timeslotId:e.id}).then(({data:g,meta:v})=>{u(v),s(g)})},[e.id,t,f]),!o)return null;const h=l?.matching_child_timeslot_ids,p=nU(o.childTimeslots,h);return d(Le,{children:[d(aU,{className:"brella-schedule-child-sessions-title",children:[o.childSessionsSectionTitle," ","(",o.childTimeslots.length,")"]}),d(oU,{className:"brella-schedule-child-sessions-list",children:p.map(g=>d(rU,{childSession:g,timeZone:r,isMatching:h?.includes(g.id),openSession:n},g.id))})]})}function rU({childSession:e,timeZone:t,isMatching:r,openSession:n}){const{startTime:i,color:a}=e,{widgetOptions:o}=ir(),s=aa(o?.timeFormat),l=i?pr(new Date(i),t):null,u=l&&$n(l,"MMM do"),c=l&&$n(l,s),f=Bn(a);return d(sU,{className:`brella-schedule-child-session ${r?"brella-schedule-child-session-matching":""}`,isHighlighted:r,onClick:()=>n(e),children:[d(lU,{className:"brella-schedule-child-session-track",color:f}),d(uU,{children:[d(cU,{className:"brella-schedule-child-session-title",children:e.title}),d(dU,{className:"brella-schedule-child-session-time",children:[`${u} at ${c}`," ",e.location&&"•"," ",e.location]})]})]})}function nU(e,t){return t?e.sort((r,n)=>{const i=t.indexOf(r.id),a=t.indexOf(n.id);return i!==-1&&a!==-1?i-a:i!==-1&&a===-1?-1:i===-1&&a!==-1?1:0}):e}function iU(e){return e.selectedDate!==""||e.selectedLocations.length>0||e.selectedSessionTypes.length>0||e.selectedSlotTypes.length>0||e.selectedSpeakers.length>0||e.selectedTags.length>0||e.selectedTracks.length>0}const aU=W.div` color: ${({theme:e})=>e.system.text.primary}; font-size: 14px; font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; `,oU=W.div` display: flex; flex-direction: column; gap: var(--brella-widget-margin-half-base); `,sU=W.div` background-color: ${({theme:e})=>e.system.background.secondary}; padding: ${({theme:e})=>e.system.spacing[200]}; border-radius: 8px; display: flex; flex-direction: row; gap: ${({theme:e})=>e.system.spacing[300]}; cursor: pointer; ${({isHighlighted:e,theme:t})=>e&&` background-color: ${t.system.primary[50]}; `} `,lU=W.div` width: 2px; height: 100%; background-color: ${({color:e,theme:t})=>t.colorTheme?mt(t.colorTheme)?t.system.separator[50]:t.accentColor?t.components.scheduleTile.session[t.accentColor].border:t.components.scheduleTile.session[e].border:t.components.scheduleTile.session[e].border}; `,uU=W.div` display: flex; flex-direction: column; gap: ${({theme:e})=>e.system.spacing[200]}; `,cU=W.div` font-weight: ${({theme:e})=>e.system.typography.subhead.sm.fontWeight}; font-size: ${({theme:e})=>e.system.typography.subhead.sm.fontSize}; line-height: ${({theme:e})=>e.system.typography.subhead.sm.lineHeight}; `,dU=W.div` font-weight: ${({theme:e})=>e.system.typography.body.short.sm.fontWeight}; font-size: ${({theme:e})=>e.system.typography.body.short.sm.fontSize}; line-height: ${({theme:e})=>e.system.typography.body.short.sm.lineHeight}; `,fU=()=>d("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M6.5 0.125C10.0801 0.125 13 3.04492 13 6.625C13 10.2305 10.0801 13.125 6.5 13.125C2.89453 13.125 0 10.2305 0 6.625C0 3.04492 2.89453 0.125 6.5 0.125ZM6.5 11.9062C6.67773 11.9062 7.16016 11.7285 7.69336 10.6875C7.92188 10.2305 8.09961 9.69727 8.25195 9.0625H4.72266C4.875 9.69727 5.05273 10.2305 5.28125 10.6875C5.81445 11.7285 6.29688 11.9062 6.5 11.9062ZM4.51953 7.84375H8.45508C8.50586 7.46289 8.53125 7.05664 8.53125 6.625C8.53125 6.21875 8.50586 5.8125 8.45508 5.40625H4.51953C4.46875 5.8125 4.46875 6.21875 4.46875 6.625C4.46875 7.05664 4.46875 7.46289 4.51953 7.84375ZM8.25195 4.1875C8.09961 3.57812 7.92188 3.04492 7.69336 2.58789C7.16016 1.54688 6.67773 1.34375 6.5 1.34375C6.29688 1.34375 5.81445 1.54688 5.28125 2.58789C5.05273 3.04492 4.875 3.57812 4.72266 4.1875H8.25195ZM9.67383 5.40625C9.72461 5.8125 9.75 6.21875 9.75 6.625C9.75 7.05664 9.72461 7.46289 9.67383 7.84375H11.6289C11.7305 7.46289 11.7812 7.05664 11.7812 6.625C11.7812 6.21875 11.7305 5.8125 11.6289 5.40625H9.67383ZM8.68359 1.82617C9.03906 2.48633 9.31836 3.29883 9.49609 4.1875H11.1719C10.6387 3.14648 9.75 2.30859 8.68359 1.82617ZM4.29102 1.82617C3.22461 2.30859 2.33594 3.14648 1.80273 4.1875H3.47852C3.65625 3.29883 3.93555 2.48633 4.29102 1.82617ZM1.21875 6.625C1.21875 7.05664 1.24414 7.46289 1.3457 7.84375H3.30078C3.25 7.46289 3.25 7.05664 3.25 6.625C3.25 6.21875 3.25 5.8125 3.30078 5.40625H1.3457C1.24414 5.8125 1.21875 6.21875 1.21875 6.625ZM11.1719 9.0625H9.49609C9.31836 9.97656 9.03906 10.7891 8.68359 11.4492C9.75 10.9668 10.6387 10.1289 11.1719 9.0625ZM3.47852 9.0625H1.80273C2.33594 10.1289 3.22461 10.9668 4.29102 11.4492C3.93555 10.7891 3.65625 9.97656 3.47852 9.0625Z",fill:"#009358"})}),hU=()=>d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"16",height:"16",rx:"8",fill:"#337FFF"}),d("path",{d:"M9.95748 8.52081L10.1855 7.07238H8.78117V6.13089C8.78117 5.73484 8.97722 5.34784 9.60413 5.34784H10.2516V4.11441C9.87453 4.05428 9.49356 4.02176 9.11172 4.01709C7.95592 4.01709 7.20135 4.71188 7.20135 5.96795V7.07238H5.92017V8.52081H7.20135V12.0242H8.78117V8.52081H9.95748Z",fill:"white"})]}),pU=()=>d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"16",height:"16",rx:"8",fill:"#006699"}),d("path",{d:"M6.15956 11.2421V6.92009H4.72425V11.2421H6.15971H6.15956ZM5.44221 6.33008C5.94262 6.33008 6.25417 5.9982 6.25417 5.58344C6.2448 5.15923 5.94262 4.83661 5.45172 4.83661C4.96048 4.83661 4.63965 5.15923 4.63965 5.5834C4.63965 5.99816 4.95108 6.33005 5.4328 6.33005H5.44209L5.44221 6.33008ZM6.95403 11.2421H8.38922V8.82877C8.38922 8.69977 8.39859 8.57043 8.43651 8.47829C8.54022 8.2201 8.77638 7.95283 9.17297 7.95283C9.6922 7.95283 9.90003 8.34914 9.90003 8.93021V11.2421H11.3352V8.76401C11.3352 7.43651 10.6272 6.81876 9.68291 6.81876C8.90871 6.81876 8.56869 7.25186 8.37978 7.54684H8.38934V6.92024H6.9541C6.97283 7.3257 6.95399 11.2423 6.95399 11.2423L6.95403 11.2421Z",fill:"white"})]}),gU=()=>d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"16",height:"16",rx:"8",fill:"#33CCFF"}),d("path",{d:"M11.971 5.46693C11.7069 5.58072 11.4291 5.65996 11.1447 5.70269C11.2777 5.67988 11.4733 5.44031 11.5512 5.34334C11.6695 5.19707 11.7597 5.0301 11.8172 4.85089C11.8172 4.83758 11.8305 4.81857 11.8172 4.80906C11.8105 4.8054 11.803 4.80348 11.7953 4.80348C11.7877 4.80348 11.7802 4.8054 11.7735 4.80906C11.4646 4.97646 11.1359 5.10423 10.7952 5.18933C10.7833 5.19296 10.7706 5.19329 10.7586 5.19027C10.7465 5.18726 10.7355 5.18102 10.7268 5.17222C10.7003 5.14061 10.6717 5.11076 10.6413 5.08286C10.5023 4.95821 10.3446 4.8562 10.174 4.78054C9.94365 4.68597 9.69487 4.64501 9.44641 4.66076C9.20533 4.676 8.96996 4.74072 8.75494 4.85089C8.5432 4.96705 8.35711 5.12485 8.20784 5.31482C8.05084 5.51034 7.93748 5.73725 7.87541 5.98029C7.82422 6.21146 7.81841 6.45039 7.85831 6.68378C7.85831 6.72371 7.85831 6.72941 7.82412 6.72371C6.46967 6.52407 5.35837 6.04303 4.45034 5.01061C4.41045 4.96497 4.38955 4.96497 4.35726 5.01061C3.96213 5.61143 4.154 6.5621 4.64791 7.03173C4.71439 7.09447 4.78278 7.15531 4.85497 7.21235C4.62851 7.19626 4.40759 7.13484 4.20529 7.03173C4.16729 7.00701 4.1464 7.02032 4.1445 7.06595C4.13911 7.12921 4.13911 7.19282 4.1445 7.25608C4.18414 7.55927 4.30351 7.84648 4.49042 8.08834C4.67734 8.33021 4.92507 8.51805 5.2083 8.63265C5.27735 8.66225 5.34929 8.68455 5.42296 8.6992C5.21332 8.74051 4.99831 8.74693 4.78658 8.71821C4.74099 8.7087 4.72389 8.73342 4.74099 8.77715C5.02024 9.53769 5.62622 9.76965 6.07074 9.89894C6.13153 9.90845 6.19232 9.90845 6.26071 9.92366C6.26071 9.92366 6.26071 9.92366 6.24931 9.93507C6.11823 10.1746 5.58823 10.3362 5.34508 10.4199C4.90126 10.5795 4.42806 10.6405 3.95833 10.5986C3.88425 10.5872 3.86715 10.5891 3.84815 10.5986C3.82916 10.6081 3.84815 10.6291 3.86905 10.6481C3.96403 10.7108 4.05901 10.766 4.1578 10.8192C4.45187 10.9797 4.76277 11.1073 5.08482 11.1995C6.75271 11.6596 8.62957 11.3211 9.88143 10.0758C10.8655 9.09848 11.2112 7.75043 11.2112 6.40048C11.2112 6.34915 11.2739 6.31873 11.31 6.29211C11.5589 6.09796 11.7784 5.86868 11.9615 5.61143C11.9933 5.57308 12.0095 5.52426 12.0071 5.47453C12.0071 5.44601 12.0071 5.45172 11.971 5.46693Z",fill:"white"})]}),mU=()=>d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"16",height:"16",rx:"8",fill:"url(#paint0_linear_639_9009)"}),d("path",{d:"M6.66848 8.02046C6.66848 7.28346 7.26561 6.68584 8.0024 6.68584C8.73919 6.68584 9.33664 7.28346 9.33664 8.02046C9.33664 8.75747 8.73919 9.35509 8.0024 9.35509C7.26561 9.35509 6.66848 8.75747 6.66848 8.02046ZM5.94722 8.02046C5.94722 9.15587 6.86732 10.0762 8.0024 10.0762C9.13748 10.0762 10.0576 9.15587 10.0576 8.02046C10.0576 6.88505 9.13748 5.96468 8.0024 5.96468C6.86732 5.96468 5.94722 6.88505 5.94722 8.02046ZM9.65866 5.88317C9.65862 5.97819 9.68675 6.07109 9.73949 6.15012C9.79224 6.22914 9.86722 6.29075 9.95497 6.32715C10.0427 6.36354 10.1393 6.3731 10.2325 6.3546C10.3256 6.3361 10.4112 6.29038 10.4784 6.22321C10.5456 6.15605 10.5914 6.07047 10.61 5.97728C10.6285 5.88409 10.6191 5.78749 10.5827 5.69969C10.5464 5.61189 10.4849 5.53683 10.4059 5.48401C10.327 5.43119 10.2341 5.40298 10.1391 5.40294H10.1389C10.0116 5.403 9.88952 5.45361 9.79946 5.54365C9.70941 5.63369 9.65877 5.75581 9.65866 5.88317ZM6.38543 11.2793C5.99521 11.2615 5.78312 11.1965 5.64217 11.1415C5.4553 11.0688 5.32198 10.9821 5.1818 10.8421C5.04162 10.702 4.95484 10.5688 4.88242 10.3819C4.82747 10.241 4.76247 10.0287 4.74473 9.63841C4.72533 9.2164 4.72146 9.08964 4.72146 8.02049C4.72146 6.95135 4.72565 6.82494 4.74473 6.40258C4.76251 6.01225 4.82798 5.80044 4.88242 5.6591C4.95516 5.47218 5.04181 5.33882 5.1818 5.1986C5.32178 5.05838 5.45498 4.97158 5.64217 4.89913C5.78305 4.84417 5.99521 4.77915 6.38543 4.76141C6.80732 4.742 6.93405 4.73812 8.0024 4.73812C9.07075 4.73812 9.19761 4.74232 9.61985 4.76141C10.0101 4.77918 10.2218 4.84468 10.3631 4.89913C10.55 4.97158 10.6833 5.05857 10.8235 5.1986C10.9637 5.33862 11.0501 5.47218 11.1229 5.6591C11.1778 5.80003 11.2428 6.01225 11.2605 6.40258C11.2799 6.82494 11.2838 6.95135 11.2838 8.02049C11.2838 9.08964 11.2799 9.21605 11.2605 9.63841C11.2428 10.0287 11.1775 10.2409 11.1229 10.3819C11.0501 10.5688 10.9635 10.7022 10.8235 10.8421C10.6835 10.982 10.55 11.0688 10.3631 11.1415C10.2222 11.1965 10.0101 11.2615 9.61985 11.2793C9.19797 11.2987 9.07123 11.3025 8.0024 11.3025C6.93357 11.3025 6.80719 11.2987 6.38543 11.2793ZM6.35229 4.04115C5.92621 4.06056 5.63506 4.12814 5.3808 4.22711C5.11747 4.32931 4.89455 4.46643 4.67179 4.6889C4.44904 4.91137 4.31232 5.1347 4.21014 5.3981C4.1112 5.6526 4.04364 5.94367 4.02424 6.36988C4.00451 6.79675 4 6.93322 4 8.02046C4 9.1077 4.00451 9.24417 4.02424 9.67105C4.04364 10.0973 4.1112 10.3883 4.21014 10.6428C4.31232 10.9061 4.44907 11.1297 4.67179 11.352C4.89452 11.5744 5.11747 11.7113 5.3808 11.8138C5.63554 11.9128 5.92621 11.9804 6.35229 11.9998C6.77927 12.0192 6.91548 12.024 8.0024 12.024C9.08932 12.024 9.22576 12.0195 9.65251 11.9998C10.0786 11.9804 10.3696 11.9128 10.624 11.8138C10.8872 11.7113 11.1102 11.5745 11.333 11.352C11.5558 11.1296 11.6922 10.9061 11.7947 10.6428C11.8936 10.3883 11.9615 10.0973 11.9806 9.67105C12 9.24385 12.0045 9.1077 12.0045 8.02046C12.0045 6.93322 12 6.79675 11.9806 6.36988C11.9612 5.94364 11.8936 5.65244 11.7947 5.3981C11.6922 5.13486 11.5554 4.91172 11.333 4.6889C11.1106 4.46607 10.8872 4.32931 10.6243 4.22711C10.3696 4.12814 10.0786 4.06024 9.65283 4.04115C9.22608 4.02174 9.08964 4.01691 8.00272 4.01691C6.9158 4.01691 6.77927 4.02142 6.35229 4.04115Z",fill:"white"}),d("defs",{children:d("linearGradient",{id:"paint0_linear_639_9009",x1:"15.6925",y1:"16",x2:"-0.30752",y2:"-4.30675e-07",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#FBE18A"}),d("stop",{offset:"0.21","stop-color":"#FCBB45"}),d("stop",{offset:"0.38","stop-color":"#F75274"}),d("stop",{offset:"0.52","stop-color":"#D53692"}),d("stop",{offset:"0.74","stop-color":"#8F39CE"}),d("stop",{offset:"1","stop-color":"#5B4FE9"})]})})]}),vU=()=>d("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M7.8125 6.78125C7.47852 6.78125 7.17031 6.89844 6.92891 7.09414L4.50078 5.3375C4.54144 5.11434 4.54144 4.88566 4.50078 4.6625L6.92891 2.90586C7.17031 3.10156 7.47852 3.21875 7.8125 3.21875C8.58828 3.21875 9.21875 2.58828 9.21875 1.8125C9.21875 1.03672 8.58828 0.40625 7.8125 0.40625C7.03672 0.40625 6.40625 1.03672 6.40625 1.8125C6.40625 1.94844 6.425 2.07852 6.46133 2.20273L4.15508 3.87266C3.81289 3.41914 3.26914 3.125 2.65625 3.125C1.62031 3.125 0.78125 3.96406 0.78125 5C0.78125 6.03594 1.62031 6.875 2.65625 6.875C3.26914 6.875 3.81289 6.58086 4.15508 6.12734L6.46133 7.79727C6.425 7.92148 6.40625 8.05273 6.40625 8.1875C6.40625 8.96328 7.03672 9.59375 7.8125 9.59375C8.58828 9.59375 9.21875 8.96328 9.21875 8.1875C9.21875 7.41172 8.58828 6.78125 7.8125 6.78125ZM7.8125 1.20312C8.14883 1.20312 8.42188 1.47617 8.42188 1.8125C8.42188 2.14883 8.14883 2.42188 7.8125 2.42188C7.47617 2.42188 7.20312 2.14883 7.20312 1.8125C7.20312 1.47617 7.47617 1.20312 7.8125 1.20312ZM2.65625 6.03125C2.08789 6.03125 1.625 5.56836 1.625 5C1.625 4.43164 2.08789 3.96875 2.65625 3.96875C3.22461 3.96875 3.6875 4.43164 3.6875 5C3.6875 5.56836 3.22461 6.03125 2.65625 6.03125ZM7.8125 8.79688C7.47617 8.79688 7.20312 8.52383 7.20312 8.1875C7.20312 7.85117 7.47617 7.57812 7.8125 7.57812C8.14883 7.57812 8.42188 7.85117 8.42188 8.1875C8.42188 8.52383 8.14883 8.79688 7.8125 8.79688Z",fill:"#262626"})});function JC({urlParams:e={}}){const[t,r]=ue(!1);return navigator.clipboard?d(Le,{children:[d(bU,{tabIndex:"0",role:"button",onKeyDown:n=>["Enter"," "].includes(n.key)&&n.target.click(),onClick:()=>{const n=new URL(window.location.href);for(const[i,a]of Object.entries(e))n.searchParams.set(i,a);navigator.clipboard&&navigator.clipboard.writeText(n.href).then(()=>{r(!0)})},children:[d(vU,{}),"Share"]}),t&&d(nu,{type:Pi.success,message:"Link copied to clipboard!",closeModal:()=>r(!1)})]}):null}const bU=W.a` border-radius: var(--brella-widget-border-radius); background: #F8F8F8; padding: var(--brella-widget-padding-half-base); align-items: center; display: inline-flex; gap: var(--brella-widget-margin-half-base); color: inherit; text-decoration: none; cursor: pointer; `;function yU({data:e,openSession:t}){const{schedule:r,joinCode:n}=ir();if(!e)return null;const{title:i,subtitle:a,sponsor:o,speakerAssignments:s,track:l,color:u}=e,c=Bn(u),f=l?.name;return d("div",{style:{alignItems:"flex-start",display:"flex",height:"100%"},children:d(_U,{children:[d("header",{style:{alignItems:"center",display:"flex",justifyContent:"space-between"},children:f?d(CU,{className:"brella-schedule-session-track",color:c,children:f}):null}),d("div",{children:[d(wU,{style:{margin:0},className:"brella-schedule-session-title",children:i}),a&&d(EU,{className:"brella-schedule-session-subtitle",children:a})]}),d("div",{children:d(JC,{urlParams:{date:r?.selectedDate,showSession:e.id}})}),d(Lj,{session:e,color:c,timeZone:r?.eventTimeZone,eventSlug:n,openSession:t}),!!e.tags?.length&&d(TU,{className:"brella-schedule-session-tags",children:d(S3,{moveType:"freeScroll",bound:!0,align:"prev",children:e.tags?.map(h=>d(kU,{className:"brella-schedule-session-tags-tag",children:d("span",{className:"brella-schedule-session-tags-tag-name",children:h.name})},h.id))})}),d(QC,{sponsor:o,session:e}),d(eC,{content:e.content}),d(Uj,{session:e,eventSlug:n}),d(VC,{title:"Speakers",speakers:s?.map(({speaker:h,position:p,role:g})=>({...h,position:p,role:g,speaker:h}))}),e.childTimeslotsCount>0&&d(tU,{session:e,eventSlug:n,timeZone:r?.eventTimeZone,openSession:t})]})})}const _U=W.div` display: grid; gap: var(--brella-widget-margin-three-quarters-base); width: 100%; `,CU=W.article` width: fit-content; border-radius: var(--brella-widget-border-radius); padding: var(--brella-widget-padding-base) var(--brella-widget-padding-double-base); font-weight: ${({theme:e})=>e.base.fontWeight.semibold}; ${({theme:e,color:t})=>e.colorTheme?` background: ${mt(e.colorTheme)?e.system.background.tertiary:e.accentColor?e.system.color[e.accentColor].colorContainer[50].background:e.system.color[t].colorContainer[50].background}; color: ${mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor].colorContainer[50].color:e.system.color[t].colorContainer[50].color}; `:` background: ${e.system.color[t].colorContainer[50].background}; color: ${e.system.color[t].colorContainer[50].color}; `} `,wU=W.div` color: ${({theme:e})=>e.system.text.primary}; font-weight: ${({theme:e})=>e.base.fontWeight.bold}; font-size: 21px; `,EU=W.div` margin-bottom: 0; color: ${({theme:e})=>e.system.text.secondary}; font-weight: normal; font-size: 16px; margin-top: ${({theme:e})=>e.system.spacing[400]}; `,TU=W.div` cursor: grab; overflow: hidden; `,kU=W.article` width: fit-content; margin-right: var(--brella-widget-margin-half-base); background: ${({theme:e})=>e.system.background.tertiary}; border-radius: var(--brella-widget-border-radius-small); padding: var(--brella-widget-padding-half-base) var(--brella-widget-padding-base) `;function xU({data:e}){const{name:t,sponsors:r,highlightedSpeakers:n,showHighlightedSpeakers:i,description:a}=e;return d(FU,{children:[d(SU,{className:"brella-schedule-track-name",children:d("span",{children:t})}),d(QC,{sponsor:r?.[0]}),d("p",{className:"brella-schedule-track-description",children:a}),i&&d(VC,{speakers:n?.map(o=>({...o,speaker:o})),title:"Highlighted speakers"})]})}const SU=W.div` color: ${({theme:e})=>e.system.text.primary}; font-weight: ${({theme:e})=>e.base.fontWeight.bold}; font-size: 21px; `,FU=W.div` display: grid; gap: var(--brella-widget-margin-base); `;function z3({toggleModal:e,modal:t}){const r=OU[t.type];function n(){e(null)}function i(a){e(null),setTimeout(()=>{e("session",a)},0)}return d(Ta,{title:PU[t.type],visible:!!r,onClose:n,className:"brella-schedule-modal",children:[r&&d(r,{openSession:i,sessionId:t.data?.id,trackId:t.data?.id,data:t.data}),t.type==="filters"&&d(tH,{toggleModal:e})]})}const OU={filters:fH,session:yU,track:xU},PU={filters:"Filters",session:"Session Details",track:"Track Details"},ew=W.button` position: relative; box-sizing: border-box; display: flex; flex-direction: row; align-items: flex-start; padding: var(--brella-widget-margin-half-base) var(--brella-widget-margin-base); gap: var(--brella-widget-margin-half-base); cursor: pointer; background: ${({theme:e})=>e.system.background.primary}; border: 1px solid ${({theme:e})=>e.system.separator[100]}; border-radius: var(--brella-widget-border-radius-small); flex: none; order: 1; flex-grow: 0; color: ${({theme:e})=>e.system.text.primary}; svg { color: var(--brella-color-primary-600); } `;function Bo(e,t=!0,r=!0,n){const[i,a]=ue(!1),o=Br(()=>{if(!r)return!1;const{current:s}=e;if(!s)return!1;const l=t?s.scrollWidth>s.clientWidth:s.scrollHeight>s.clientHeight;a(l),n&&n(l)},[n,t,e,r]);return Kn(()=>{r&&o()},[o,r]),Ie(()=>(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[o]),i}function tw({isRTL:e,inActionBar:t,hideDateText:r,collapseSidebar:n}){const{schedule:i}=ir(),a=i?.selectedDate,o=i?.eventTimeZone;if(!a)return null;const[s,l,u]=a.split("-").map(_=>parseInt(_,10)),c=pr(new Date,o),f=new Date(s,l-1,u),h=kh(c,f),p=kh(Ch(c,1),f),g=nt(f,n?"d MMM":"d MMMM"),m=!r&&`${h?"Today, ":p?"Tomorrow, ":""}${g}`;return d(DU,{dateTime:a,isRTL:e,inActionBar:t,className:"brella-schedule-date",children:m})}const DU=W.time` width: 100%; height: 100%; display: flex; align-items: center; background: ${({theme:e,inActionBar:t})=>t?"transparent":e.system.background.secondary}; border-bottom: 1px solid ${({theme:e,inActionBar:t})=>t?"transparent":e.system.background.tertiary}; padding-left: ${({inActionBar:e})=>e?0:"var(--brella-widget-margin-base)"}; padding-right: var(--brella-widget-margin-base); font-weight: ${({theme:e})=>e.system.typography.heading.bold.sm.fontWeight}; ${({isRTL:e})=>e&&"transform: scale(-1,1)"}; `;function AU(){const e=bt(null),{schedule:t,filters:r,setScheduleFilters:n,widgetOptions:{simplifiedLayoutOptions:{showAllTab:i}={}}}=ir(),{dates:a,selectedDate:o}=t,s=a.length===1;function l(p){if(typeof p=="string"){n({selectedDate:p});return}n({selectedDate:p.target.value})}const u=Bo(e);function c(p,g){const[v,m,_]=p.split("-").map(w=>parseInt(w,10));return nt(new Date(v,m-1,_),`d MMM${g?"M":""}`)}if(!a.length)return null;const h=Hb({end:new Date(MT(a)),start:new Date(Q5(a))}).length!==a.length;return s?d(tw,{inActionBar:!0}):d(Le,{children:[d(L3,{className:"brella-schedule-date-selector",defaultValue:r.selectedDate||o,onChange:p=>l(p),options:a.map((p,g)=>({label:h?c(p,!0):`Day ${g+1} - ${c(p,!0)}`,value:p})),wrapperStyles:{display:u?"inline-flex":"none",flexShrink:0}}),d(MU,{hasOverflow:u,ref:e,className:"brella-schedule-tracks-day-buttons",children:[i&&d(rw,{className:"brella-schedule-tracks-day-button",children:[d("input",{type:"radio",value:"all",name:"selectedDate",onChange:l,defaultChecked:o===""}),"All"]}),a.map((p,g)=>d(rw,{className:"brella-schedule-tracks-day-button",children:[d("input",{type:"radio",value:p,name:"selectedDate",onChange:l,defaultChecked:o===p}),h?c(p):d(Le,{children:[d(IU,{children:c(p)}),`Day ${g+1}`]})]},p))]})]})}const MU=W.div` display: flex; position: relative; visibility: ${({hasOverflow:e})=>e?"hidden":"visible"}; gap: var(--brella-widget-margin-half-base); overflow: hidden; `,IU=W.span` position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: none; align-items: center; justify-content: center; background: ${({theme:e})=>e.system.background.primary}; border-radius: var(--brella-widget-border-radius-small); `,rw=W.label` position: relative; cursor: pointer; border-radius: var(--brella-widget-border-radius-small); padding: var(--brella-widget-padding-half-base) var(--brella-widget-padding-base); border: 1px solid transparent; flex-shrink: 0; color: ${({theme:e})=>e.system.text.primary}; :hover span { display: flex; } :has(input:checked) { border-color: var(--brella-color-primary-600); color: var(--brella-color-primary-600); font-weight: bold; } input { line-height: 0; appearance: none; position: absolute; margin: 0; height: 0; width: 0; } `;function NU({layout:e,hideFiltersButton:t,hideDateButtons:r}){const{schedule:n,filters:i}=ir(),[a,o]=ue({data:null,type:null});function s(c,f=null){o({data:f,type:c})}const l=XT(c=>Array.isArray(c),i),u=Object.values(l).reduce((c,f)=>c+(f.length?1:0),0);return n?d(Le,{children:[d(RU,{sticky:e==="simplified",className:"brella-schedule-tracks-action-bar",children:[!r&&d(AU,{}),!t&&d("section",{className:"brella-schedule-tracks-action-bar-buttons",children:d(ew,{className:"brella-schedule-filters-button",onClick:()=>s("filters",{title:"Filters"}),children:[u>0&&d(LU,{className:"brella-schedule-filters-badge",children:u}),d(Q$,{}),"Filters"]})})]}),d(z3,{modal:a,toggleModal:s})]}):null}const RU=W.header` display: flex; align-items: center; justify-content: space-between; padding: var(--brella-widget-padding-base); position: ${({sticky:e})=>e?"sticky":"relative"}; top: 0; background: ${({theme:e})=>e.system.background.primary}; z-index: 999; section { display: flex; align-items: center; gap: var(--brella-widget-margin-base); flex-shrink: 0; } `,LU=W.div` position: absolute; top: -4px; right: -6px; display: flex; align-items: center; justify-content: center; background: var(--brella-color-primary-600); color: var(--brella-color-white); border-radius: 50%; width: 16px; height: 16px; font-size: 12px; font-weight: bold; line-height: 1; flex-shrink: 0; margin-left: var(--brella-widget-margin-half-base); font-family: monospace; `;function BU(){return d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M14.6875 9.19629C15.0938 9.32129 15.3125 9.72754 15.1875 10.1338C14.3125 13.1025 11.5625 15.165 8.46875 15.165C6 15.165 3.71875 13.8213 2.46875 11.7275V14.915C2.46875 15.3525 2.15625 15.665 1.71875 15.665C1.3125 15.665 0.96875 15.3525 0.96875 14.915V9.91504C0.96875 9.50879 1.3125 9.16504 1.71875 9.16504H6.71875C7.15625 9.16504 7.46875 9.50879 7.46875 9.91504C7.46875 10.3525 7.125 10.665 6.71875 10.665H3.5625C4.5 12.4775 6.375 13.665 8.46875 13.665C10.9062 13.665 13.0938 12.04 13.75 9.69629C13.875 9.29004 14.2812 9.07129 14.6875 9.19629ZM15.25 0.665039C15.6562 0.665039 16 1.00879 16 1.41504V6.41504C16 6.85254 15.6562 7.16504 15.25 7.16504H10.25C9.8125 7.16504 9.5 6.85254 9.5 6.41504C9.5 6.00879 9.8125 5.66504 10.25 5.66504H13.375C12.4375 3.88379 10.5625 2.66504 8.5 2.66504C6.0625 2.66504 3.875 4.32129 3.1875 6.63379C3.09375 7.04004 2.6875 7.25879 2.28125 7.13379C1.875 7.04004 1.65625 6.60254 1.75 6.22754C2.625 3.25879 5.40625 1.16504 8.5 1.16504C10.9688 1.16504 13.25 2.54004 14.5 4.63379V1.41504C14.5 1.00879 14.8125 0.665039 15.25 0.665039Z",fill:"currentColor"})})}function nw({day:e,selectedDate:t,darkMode:r}){const{resetScheduleFilters:n}=ir();return e?d(iw,{className:"brella-schedule-empty-today",children:[d(aw,{children:d(r?wj:_j,{className:"brella-schedule-empty-graphic"})}),d("div",{children:[d(ow,{className:"brella-schedule-empty-title",children:"An empty canvas is full."}),d($U,{className:"brella-schedule-empty-quote",children:"- Robert Rauschenberg"})]}),d("p",{className:"brella-schedule-empty-description",children:`Today (${nt(new Date(t??new Date),"d MMMM")}) does not have any content or networking sessions to display. Select another date to view upcoming sessions, or take this opportunity to explore the event and enjoy the experience!`})]}):d(iw,{className:"brella-schedule-empty-results",children:[d(aw,{children:d(r?Ej:Cj,{className:"brella-schedule-empty-graphic"})}),d(ow,{className:"brella-schedule-empty-title",children:"Hmm.. nothing found"}),d("p",{className:"brella-schedule-empty-description",children:"This maybe a result of the selected date, applied filters or an error. To resolve the problem, click the button below to refresh the page or try changing the event dates. If the issue continues, contact support for help."}),d(HU,{onClick:n,className:"brella-schedule-empty-button",children:[d(BU,{}),"Clear filters and reload"]})]})}const iw=W.div` display: grid; gap: var(--brella-widget-margin-base); margin: 0 auto; margin-top: 64px; max-width: 440px; width: 80%; align-items: center; text-align: center; color: ${({theme:e})=>e.system.text.primary}; `,aw=W.div` ${({theme:e})=>` color: ${mt(e.colorTheme)?e.system.background.secondary:e.accentColor?e.system.color[e.accentColor].button.primary.background:"var(--brella-color-primary-600)"}; `} `,ow=W.p` font-weight: 600; font-size: 20px; margin-bottom: 0; `,$U=W.span` display: block; font-weight: ${({theme:e})=>e.system.typography.body.short.sm.fontWeight}; font-size: ${({theme:e})=>e.system.typography.body.short.xs.fontSize}; margin-top: var(--brella-widget-margin-half-base); `,HU=W.button` position: relative; box-sizing: border-box; display: flex; flex-direction: row; align-items: flex-start; padding: var(--brella-widget-margin-half-base) var(--brella-widget-margin-base); gap: var(--brella-widget-margin-half-base); cursor: pointer; background: ${({theme:e})=>e.system.background.primary}; border: 1px solid ${({theme:e})=>e.system.separator[100]}; border-radius: var(--brella-widget-border-radius-small); flex: none; order: 1; flex-grow: 0; margin: 0 auto; color: ${({theme:e})=>e.system.text.primary}; svg { color: ${({theme:e})=>e.system.text.primary}; } `;function qU({track:e,dayWidth:t,sidebarWidth:r,isVerticalMode:n,onMoreInfoClick:i,collapseSidebar:a}){const{position:o,name:s,description:l,color:u}=e;return d(jU,{isVerticalMode:n,top:o.top,height:o.height,className:"brella-schedule-track",children:[d(UU,{isVerticalMode:n,color:u,collapseSidebar:a,sidebarWidth:r,children:[d(VU,{className:"brella-schedule-track-name",children:s}),l&&!n&&d("p",{className:"brella-schedule-track-description",children:l}),!a&&d(WU,{className:"brella-schedule-track-more-info",isVerticalMode:n,color:u,type:"link",onClick:()=>i(e.id,"track"),children:"More info"})]}),!n&&d(zU,{width:t,left:r,className:"brella-schedule-track-bottom-border"})]},e.id)}const jU=W(oj)` z-index: 20; padding: 0 var(--brella-widget-margin-base); background: ${({isVerticalMode:e,theme:t})=>e?"transparent":t.system.background.primary}; ${({isVerticalMode:e,theme:t})=>!e&&` border-right: 1px solid ${t.system.separator[50]}; `} `,UU=W.div` display: flex; width: 100%; flex-direction: ${({isVerticalMode:e})=>e?"row":"column"}; align-items: ${({isVerticalMode:e})=>e?"center":"flex-start"}; justify-content: ${({isVerticalMode:e})=>e?"space-between":"flex-start"}; gap: ${({isVerticalMode:e})=>e?"var(--brella-widget-margin-half-base)":"0"}; max-height: 100%; ${({isVerticalMode:e,theme:t,color:r})=>e&&` margin-top: calc(var(--brella-widget-margin-base) * -1); background: ${t.system.background.primary}; border-bottom: 1px solid ${t.system.separator[50]}; border-right: 1px solid ${t.system.separator[50]}; border-left: 1px solid ${t.system.separator[50]}; border-radius: 0 0 var(--brella-widget-border-radius) var(--brella-widget-border-radius); padding: var(--brella-widget-margin-half-base) var(--brella-widget-margin-base); height: 42px; max-width: 360px; border-color: ${t.colorTheme?mt(t.colorTheme)?t.system.separator[50]:t.accentColor?t.components.scheduleTile.session[t.accentColor].border:t.components.scheduleTile.session[r].border:t.components.scheduleTile.session[r].border}; `} h3 { margin-top: 0; font-size: ${({theme:e,isVerticalMode:t})=>t?e.system.typography.body.short.sm.fontSize:e.system.typography.body.short.lg.fontSize}; font-weight: ${({theme:e})=>e.system.typography.heading.bold.sm.fontWeight}; margin-bottom: ${({isVerticalMode:e})=>e?"0":"var(--brella-widget-margin-half-base)"}; white-space: ${({isVerticalMode:e})=>e?"nowrap":"normal"}; text-overflow: ellipsis; overflow: ${({isVerticalMode:e})=>e?"hidden":"unset"}; ${({collapseSidebar:e,isVerticalMode:t})=>e&&!t&&` writing-mode: vertical-lr; text-orientation: sideways-right; margin: 0; height: 120px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: center; `} ${({isVerticalMode:e,collapseSidebar:t})=>!e&&!t&&` display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; `} color: ${({theme:e,color:t,isVerticalMode:r})=>r?e.colorTheme?mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.system.color[e.accentColor][900]:e.system.color[t][900]:e.system.color[t][900]:e.system.text.primary}; } p { display: ${({collapseSidebar:e})=>e?"none":"-webkit-box"}; -webkit-box-orient: vertical; overflow: hidden; line-clamp: 2; -webkit-line-clamp: 2; margin-top: 0; color: ${({theme:e})=>e.system.text.primary}; } `,zU=W.div` height: 1px; background: linear-gradient(to right, ${({theme:e})=>e.system.background.primary}, ${({theme:e})=>e.system.background.tertiary} 120px); position: absolute; left: 0; bottom: 0; z-index: 0; width: ${({width:e,left:t})=>e+t}px; `,WU=W.button` appearance: none; border: 0; background: transparent; padding: 0; height: fit-content; font-weight: 400; cursor: pointer; ${({theme:e,isVerticalMode:t,color:r})=>{if(!e.colorTheme)return` color: var(--brella-color-primary-600); ${t&&` color: ${e.system.color[r].link.onPrimary}; :hover, :focus, :active { color: ${e.system.color[r].link.onPrimary}; } `} `;const n=mt(e.colorTheme)?e.system.text.secondary:e.accentColor?e.system.color[e.accentColor].link.onPrimary:e.system.color[r].link.onPrimary;return` color: ${n}; ${t&&` color: ${n}; :hover, :focus, :active { color: ${n}; } `} `}} `,VU=W.div` font-weight: ${({theme:e})=>e.base.fontWeight.bold}; font-size: 16px; margin-bottom: ${({theme:e})=>e.system.spacing[200]}; `;function ZU(e){const{isSidebar:t,dayWidth:r,hourWidth:n,sidebarWidth:i,startDate:a,endDate:o,isVerticalMode:s,isToday:l}=e,{widgetOptions:u}=ir(),c=aa(u?.timeFormat),f=bt({}),h=SI({end:Nb(o,1),start:a},{step:30}),p=Br((_,w)=>{f.current[_.getTime()]=w?.clientWidth},[]),g=Br((_,w)=>{const T=_.getTime(),F=f.current?.[T];return F?w===0&&!s?n/2-F:(n/2-F)*w:0},[n,s]),v=(_,w)=>{const T={left:n/2*w,width:n/2};return d(GU,{className:"brella-schedule-timeline-box",isToday:l,isVerticalMode:s,ref:F=>p(_,F),...T,children:d(gj,{className:"brella-schedule-timeline-time",isVerticalMode:s,style:{left:s?0:g(_,w),position:"relative",top:s?0:void 0},children:nt(_,c)})},_.toUTCString())},m=l?n*1.5:n/2;return d(YU,{className:"brella-schedule-timeline",dayWidth:s?r:r+m,sidebarWidth:i,isSidebar:t,hourWidth:n,isVerticalMode:s,isToday:l,children:h.map((_,w)=>v(_,w))})}const YU=W(hj)` width: ${({dayWidth:e,isVerticalMode:t,hourWidth:r})=>t?r/2:e}px; background: ${({theme:e})=>e.system.background.secondary}; z-index: 20; ${({isVerticalMode:e,sidebarWidth:t,isToday:r})=>!e&&r&&`margin-left: ${t}px;`} `,GU=W(pj)` background: ${({theme:e})=>e.system.background.secondary}; border-bottom: 1px solid ${({isVerticalMode:e,theme:t})=>e?"transparent":t.system.background.tertiary}; ${({isVerticalMode:e})=>e&&"width: 120px;"} ${({isVerticalMode:e})=>e&&"text-align: center;"} ${({isVerticalMode:e,theme:t})=>e&&` &:first-of-type:before { position: absolute; bottom: 100%; left: 0; width: 100%; height: 100%; background: ${t.system.background.secondary}; content: ''; } `} `;function KU(e){const{speakerAssignments:t,trackColorKey:r,isVerticalMode:n,position:i,setShowMoreDetails:a,sharpEdges:o,isLastTrack:s}=e,[l,u]=ue(!1),c={bottom:l&&!n?23:void 0,left:n?21:0,top:n?0:l?void 0:23},f=bt(null),[h,p]=ue(t?Vr("speaker",t):[]),g=Br(_=>{if(_){const w=f.current.scrollHeight-f.current.clientHeight,T=Math.round(w/Ob);p(F=>zu(T,F))}},[]);Bo(f,!n,!0,g);const v=vs(),m=sw(v,r);return Ie(()=>{const _=document.querySelector(".planby-content");if(!_)return;const w=s&&_.clientHeight>f.current?.clientHeight;u(w)},[s,n]),d(QU,{className:"brella-schedule-more-details-box",ref:f,cutOffSpeakers:h?.lengtha(!0),onMouseLeave:()=>a(!1),sharpEdges:o,...m,children:d(XU,{...e,...m,speakers:h})})}function XU(e){const{title:t,sinceTime:r,tillTime:n,speakerAssignments:i,trackColorKey:a,sponsor:o,shouldShowSponsorLogo:s,isVerticalMode:l,speakers:u,openSession:c,textColor:f,borderColor:h,timeColor:p,childTimeslotsCount:g}=e;return d(Le,{children:[d("header",{children:[d(JU,{color:f,className:"brella-schedule-more-details-title",children:[g>0&&d(fu,{className:"brella-schedule-more-details-child-timeslots-count-icon",style:{marginRight:"4px"}}),t]}),d(zC,{color:p,className:"brella-schedule-more-details-time",children:[r," ","-"," ",n]}),s&&d(WC,{className:"brella-schedule-more-details-sponsor",isVerticalMode:l,src:mr(o.logoUrl)})]}),d(H3,{color:a,className:"brella-schedule-more-details-speakers",gap:100,children:[u.map(v=>d(jC,{className:"brella-schedule-more-details-speaker",children:[d(j3,{firstName:v.firstName,lastName:v.lastName,src:v.photoUrl,className:"brella-schedule-session-card-full-speaker-image",size:24}),nr(v)]},v.id)),u?.lengthe?"361px":"261px"}; min-height: 152px; padding: 10px 20px; background: ${({backgroundColor:e})=>e}; border: 2px solid ${({borderColor:e})=>e}; border-radius: var(--brella-widget-border-radius); display: flex; flex-direction: column; justify-content: space-between; box-shadow: ${({theme:e})=>e.system.shadows.shadow.xl}; font-size: 11px; max-height: ${({cutOffSpeakers:e})=>e?"360px":"320px"}; ${({isVerticalMode:e})=>` border-left-width: ${e?"2px":"4px"}; border-top-width: ${e?"4px":"2px"}; margin: ${e?"0 -2px":"-1px 0"}; `} ${({sharpEdges:e,isVerticalMode:t})=>e&&` border-width: 0; border-left-width: ${t?"0":"4px"}; border-top-width: ${t?"4px":"0"}; margin: ${t?"0 -1px":"0"}; `} // This is here to allow mouse leave event to work properly when // mouse is leaving the box from the top. Otherwise it might stay open // since it hits & triggers mouse enter event on the slot block. :before { position: absolute; top: -8px; left: -2px; width: calc(100% + 4px); height: 8px; display: block; content: ''; } `,JU=W(UC)` white-space: normal; overflow: initial; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; `,ez=W.button` width: 100%; color: ${({textColor:e})=>e}; height: auto !important; padding: var(--brella-widget-padding-half-base) !important; border-radius: var(--brella-widget-border-radius-small); margin-top: var(--brella-widget-margin-base); border: 1px solid ${({borderColor:e})=>e}; appearance: none; cursor: pointer; background: transparent; flex-shrink: 0; `;function tz({program:e,onClick:t,isVerticalMode:r,sharpEdges:n,isLastTrack:i,...a}){const{styles:o,formatTime:s,isLive:l,set12HoursTimeFormat:u}=HC({program:e,...a}),[c,f]=ue(!1),h=bt(null),p=bt(null),g=vs(),{widgetOptions:v}=ir(),m=v?.timeFormat==="24h"?Db:u(),{data:_}=e,{title:w,since:T,till:F,speakerAssignments:O,sponsor:M,showSponsorLogoInSchedule:H=!0,color:S,childTimeslotsCount:L}=_,[U,D]=ue(Vr("speaker",O)),b=Bn(S),C=s(T,m),k=s(F,m);function P(){t(_.id,"session")}const A=Br(we=>{if(we){const $e=h.current.scrollHeight-h.current.clientHeight,ft=Math.round($e/Ob);D(zt=>zu(ft,zt))}},[]),{position:I}=o;let q=1;r||(I.width<=50?q=5:I.width<=100?q=4:I.width<=150?q=3:I.width<=200&&(q=2));const B=Bo(h,!r,r,A),K=Bo(p,!r&&q===1,!r),X=B||K,re=!!M&&H,ve={childTimeslotsCount:L,isLastTrack:i,isVerticalMode:r,openSession:P,position:I,setShowMoreDetails:f,sharpEdges:n,shouldShowSponsorLogo:re,sinceTime:C,speakerAssignments:O,sponsor:M,tillTime:k,title:w,trackColorKey:b},{backgroundColor:be,textColor:Ee,borderColor:Ce,timeColor:se}=sw(g,b),ce=r?20:I.width>=48?Math.min(20,I.width/12):4,Fe=r?I.height>35?Math.min(10,I.height/12):0:10;return d(Le,{children:[d(mj,{className:"brella-schedule-session-tile",width:o.width,style:{height:I.height,left:I.left,top:I.top,width:I.width},onClick:P,children:d(vj,{className:"brella-schedule-session-tile-content",width:r?o.width*.9:o.width,isLive:l,color:b,type:"session",sharpEdges:n,isVerticalMode:r,backgroundColor:be,textColor:Ee,borderColor:Ce,onMouseEnter:X&&!c?()=>f(!0):void 0,onMouseLeave:X&&c?()=>f(!1):void 0,paddingVertical:Fe,paddingHorizontal:ce,children:d(uj,{isVerticalMode:r,children:d(cj,{ref:h,children:[d(UC,{ref:p,color:Ee,isVerticalMode:r,numberOfLines:q,className:"brella-schedule-session-tile-title",children:[L>0&&d(fu,{className:"brella-schedule-session-tile-child-timeslots-count-icon",style:{marginRight:"4px"}}),w]}),d(zC,{color:se,className:"brella-schedule-session-tile-time",children:[C," ","-"," ",k]}),re&&d(WC,{className:"brella-schedule-session-tile-sponsor",isVerticalMode:r,src:mr(M.logoUrl)}),(!re||r)&&d(H3,{color:b,className:"brella-schedule-session-tile-speakers-list",gap:100,children:U.map(we=>d(jC,{className:"brella-schedule-session-tile-speaker",children:[d(j3,{firstName:we.firstName,lastName:we.lastName,src:we.photoUrl,size:24,className:"brella-schedule-session-card-full-speaker-image"}),nr(we)]},we.id))})]})})})}),c&&Xn(d(KU,{...ve}),document.querySelector(".planby-content"))]})}function sw(e,t){return e.colorTheme?{backgroundColor:mt(e.colorTheme)?e.system.background.secondary:e.accentColor?e.components.scheduleTile.session[e.accentColor].background:e.components.scheduleTile.session[t].background,borderColor:mt(e.colorTheme)?e.system.background.tertiary:e.accentColor?e.components.scheduleTile.session[e.accentColor].border:e.components.scheduleTile.session[t].border,textColor:mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.components.scheduleTile.session[e.accentColor].text.title:e.components.scheduleTile.session[t].text.title,timeColor:mt(e.colorTheme)?e.system.text.primary:e.accentColor?e.components.scheduleTile.session[e.accentColor].text.time:e.components.scheduleTile.session[t].text.time}:{backgroundColor:e.components.scheduleTile.session[t].background,borderColor:e.components.scheduleTile.session[t].border,textColor:e.components.scheduleTile.session[t].text.title,timeColor:e.components.scheduleTile.session[t].text.time}}function rz({className:e}){return d("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:d("path",{d:"M4.5 3.54688C4.98242 3.54688 5.39062 3.95508 5.39062 4.4375V6.2002L7.20898 1.72852L2.7373 3.54688H4.5ZM3.60938 4.4375H1.23438C0.9375 4.4375 0.696289 4.25195 0.640625 3.97363C0.584961 3.69531 0.733398 3.41699 0.993164 3.30566L7.52441 0.633789C7.74707 0.541016 8.00684 0.59668 8.17383 0.763672C8.34082 0.930664 8.39648 1.19043 8.30371 1.41309L5.63184 7.94434C5.52051 8.2041 5.24219 8.35254 4.96387 8.29688C4.68555 8.24121 4.5 8 4.5 7.70312V5.32812V4.4375H3.60938Z",fill:"currentColor"})})}function nz({className:e}){return d("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:d("path",{d:"M8.85938 5.4375C8.85938 4.06445 8.11719 2.80273 6.92969 2.09766C5.72363 1.41113 4.25781 1.41113 3.07031 2.09766C1.86426 2.80273 1.14062 4.06445 1.14062 5.4375C1.14062 6.8291 1.86426 8.09082 3.07031 8.7959C4.25781 9.48242 5.72363 9.48242 6.92969 8.7959C8.11719 8.09082 8.85938 6.8291 8.85938 5.4375ZM0.25 5.4375C0.25 3.74902 1.14062 2.19043 2.625 1.33691C4.09082 0.483398 5.89062 0.483398 7.375 1.33691C8.84082 2.19043 9.75 3.74902 9.75 5.4375C9.75 7.14453 8.84082 8.70312 7.375 9.55664C5.89062 10.4102 4.09082 10.4102 2.625 9.55664C1.14062 8.70312 0.25 7.14453 0.25 5.4375ZM4.55469 2.91406C4.55469 2.67285 4.74023 2.46875 5 2.46875C5.24121 2.46875 5.44531 2.67285 5.44531 2.91406V5.21484L7.02246 6.25391C7.22656 6.40234 7.28223 6.68066 7.15234 6.88477C7.00391 7.08887 6.72559 7.14453 6.52148 6.99609L4.74023 5.80859C4.62891 5.73438 4.55469 5.58594 4.55469 5.4375V2.91406Z",fill:"currentColor"})})}function iz({session:e,onClick:t}){const{content:r={},speakerAssignments:n=[],startTime:i,endTime:a,color:o,location:s,sponsor:l,subtitle:u,tags:c,title:f,track:h,childTimeslotsCount:p,childSessionsSectionTitle:g}=e??{},{widgetOptions:{simplifiedLayoutOptions:{showFullSpeakerInfo:v}={}}}=ir(),m=bt(null),_=bt(!1),w=bt(0),T=oz(r??{}),[F,O]=ue(f4(hu,Vr("speaker",n))),M=bt(F.length),H=M.current-F.length,S=n.length-F.length*hu,L=vs();Bo(m,!0,!0,b=>{if(!_.current&&b&&(_.current=!0,w.current=m.current?.scrollWidth||0,O(C=>zu(1,C)),setTimeout(()=>{_.current=!1},0)),!b&&m.current?.scrollWidth>=w.current){if(M.current===F.length)return;w.current=m.current?.scrollWidth||0,O(f4(hu,Vr("speaker",n)))}});const U=FN({end:new Date(a),start:new Date(i)}),D=Bn(L.accentColor||o);return d(sz,{color:D,onClick:t,className:"brella-schedule-session-card",children:d(fz,{className:"brella-schedule-session-card-content",children:[d(hz,{className:"brella-schedule-session-card-content-top-area",children:d(pz,{className:"brella-schedule-session-card-content-sponsor-and-details",children:[l?.logoUrl&&d("img",{className:"brella-schedule-session-card-sponsor-logo",src:mr(l.logoUrl,40,40)}),d(gz,{className:"brella-schedule-session-card-content-details",children:[d(uw,{className:"brella-schedule-session-card-content-detail-text brella-schedule-session-card-duration",children:[d(nz,{}),d("span",{children:[!!U.hours&&`${U.hours} ${U.hours===1?"HR":"HRS"} `,!!U.minutes&&`${U.minutes} MINS`]})]}),s&&d(uw,{className:"brella-schedule-session-card-content-detail-text brella-schedule-session-card-location",children:[d(rz,{}),d("span",{children:s})]})]})]})}),d(dw,{children:[d(mz,{color:D,className:"brella-schedule-session-card-content-track",children:h.name}),d(vz,{className:"brella-schedule-session-card-content-title",children:f}),u&&d(bz,{className:"brella-schedule-session-card-content-subtitle",children:u}),p>0&&d(yz,{className:"brella-schedule-session-card-content-child-timeslots-count",children:[d(fu,{}),`Includes ${p} ${g??"session times"}`]}),T&&d(_z,{className:"brella-schedule-session-card-content-description",children:T})]}),d(dw,{children:[!!c.length&&d(Cz,{className:"brella-schedule-session-card-content-tag-list",children:c.map(b=>d(wz,{size:"sm",id:b.id,className:"brella-schedule-session-card-content-tag",children:d(Ez,{className:"brella-schedule-session-card-content-tag-name",children:b.name})},b.id))}),!!F.length&&d(Tz,{ref:m,className:"brella-schedule-session-card-content-speakers-list",children:F.map((b,C)=>d(H3,{color:D,gap:v?200:0,children:b.map((k,P)=>az({sessionId:e.id,speaker:k},H>0,C===F.length-1,P===hu-1,S+1,v))},`${e.id}-speakers-${C}`))})]})]})})}function az(e,t,r,n,i,a){const{speaker:o}=e;return t&&r&&n?d("li",{children:d(cw,{className:"brella-schedule-session-card-content-speaker-name",children:["+",i," ","more"]})},`${e.sessionId}-more-speakers`):a?d("li",{children:d(lz,{children:[d(cz,{children:o.photoUrl?d(dz,{className:"brella-schedule-session-card-full-speaker-image",src:mr(o.photoUrl,48,48),alt:`${nr(o)} picture`}):d(q3,{firstName:o.firstName,lastName:o.lastName,rounded:!0,size:48})}),d(uz,{children:[d(lw,{bold:!0,className:"brella-schedule-session-card-full-speaker-name",children:nr(o)}),d(lw,{className:"brella-schedule-session-card-full-speaker-company",children:bh([o.jobTitle,o.companyName],", ")})]})]})},`${e.sessionId}-${e.speaker.id}`):d("li",{children:d(cw,{className:"brella-schedule-session-card-content-speaker-name",children:nr(e.speaker)})},`${e.sessionId}-${e.speaker.id}`)}function oz(e,t){if(!e)return null;const r=typeof e=="string"?JSON.parse(e):e;return r.blocks?r.blocks.map(i=>i?.text).filter(Boolean).join(" ").replace(/(?:\r\n|\r|\n)/g," ").replace(/\s\s+/g," "):null}const hu=5,sz=W.article(({theme:e,color:t})=>` background: ${e.system.elevation.secondary}; box-shadow: ${e.system.shadows.shadow.card}; border-radius: 0 0 ${e.base.rounded.lg} ${e.base.rounded.lg}; border-top: 2px solid ${mt(e.colorTheme)?e.system.text.primary:e.components.scheduleTile.session[t].border}; cursor: pointer; .brella-schedule-session-card-sponsor-logo { width: 40px; height: 40px; border-radius: ${e.base.rounded.md}; } .brella-schedule-session-card-content { padding: var(--brella-widget-padding-base); display: grid; gap: var(--brella-widget-margin-base); } .brella-schedule-session-card-content-top-area { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--brella-widget-margin-quarter-base) * 3); } .brella-schedule-session-card-content-sponsor-and-details { display: flex; align-items: center; gap: calc(var(--brella-widget-margin-quarter-base) * 3); } .brella-schedule-session-card-content-details { ${an(e.system.typography.overline.semibold)} display: grid; gap: var(--brella-widget-margin-half-base); overflow: hidden; color: ${e.system.text.primary}; } .brella-schedule-session-card-content-detail-text { display: grid; grid-template-columns: 20px 1fr; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; > span { text-overflow: ellipsis; overflow: hidden; } > svg { width: 12px; height: 12px; margin-top: 1px; color: ${mt(e.colorTheme)?e.system.text.secondary:e.components.scheduleTile.session[t].border}; } } .brella-schedule-session-card-content-track { ${an(e.system.typography.overline.semibold)} color: ${mt(e.colorTheme)?e.system.text.secondary:e.components.scheduleTile.session[t].text.title}; } .brella-schedule-session-card-content-title { ${an(e.system.typography.subhead.md)} color: ${e.system.text.primary}; margin: 0; } .brella-schedule-session-card-content-subtitle { ${an(e.system.typography.body.long.sm)} color: ${e.system.text.primary}; margin: 0; } .brella-schedule-session-card-content-description { ${an(e.system.typography.body.long.xs)} color: ${e.system.text.secondary}; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; } .brella-schedule-session-card-content-child-timeslots-count { ${an(e.system.typography.body.short.sm)} display: flex; align-items: center; gap: var(--brella-widget-margin-half-base); color: ${e.system.text.primary}; } .brella-schedule-session-card-content-child-timeslots-count svg { width: 15px; height: 13px; margin-top: 1px; color: ${mt(e.colorTheme)?e.system.text.secondary:e.components.scheduleTile.session[t].border}; } .brella-schedule-session-card-content-tag-list { display: flex; gap: var(--brella-widget-margin-half-base); align-items: center; flex-wrap: wrap; margin: 0; padding: 0; } .brella-schedule-session-card-content-tag { ${an(e.system.typography.body.short.xs)} display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; width: fit-content; height: fit-content; padding: 6px var(--brella-widget-margin-half-base); border-radius: ${e.base.rounded.base}; background-color: ${e.system.gray[4]}; color: ${e.system.text.primary}; flex-shrink: 0; } .brella-schedule-session-card-content-tag-name { ${an(e.system.typography.overline.semibold)} } .brella-schedule-session-card-content-speakers-list { display: flex; align-items: flex-start; gap: var(--brella-widget-margin-three-quarters-base); overflow: hidden; white-space: nowrap; li { white-space: nowrap; } } .brella-schedule-session-card-content-speaker-name { ${an(e.system.typography.caption.md)} color: ${e.system.text.secondary}; } `),lz=W.div(({theme:e})=>` display: flex; gap: ${e.system.spacing[400]}; `),lw=W.div(({theme:e,bold:t})=>` ${an(e.system.typography.caption.md)} font-weight: ${t?e.base.fontWeight.semibold:e.base.fontWeight.regular}; color: ${t?e.system.text.primary:e.system.text.secondary}; white-space: normal; `),uz=W.div` display: flex; flex-direction: column; justify-content: center; `,cz=W.div(({theme:e})=>` border-radius: ${e.base.rounded.md}; overflow: hidden; width: 48px; height: 48px; flex-shrink: 0; `),dz=W.img` object-fit: cover; border-radius: calc(var(--brella-widget-margin-base) * 2); `,fz=W.div``,hz=W.section``,pz=W.section``,gz=W.div``,uw=W.span``,mz=W.span``,vz=W.h3``,bz=W.h4``,yz=W.span``,_z=W.p``,Cz=W.ul``,wz=W.li``,Ez=W.span``,Tz=W.section``,cw=W.span``,dw=W.section` display: grid; gap: var(--brella-widget-margin-base); `;function kz({onCardClick:e,fixedHeight:t}){const[r,n]=ue(150),{schedule:i,widgetOptions:a}=ir(),{simplifiedLayoutOptions:{showAllTab:o}={}}=a,s=i?.eventTimeZone,l=aa(a?.timeFormat),u=i?.timeslotsForDate?.length||0,c=i?.timeslotsForDate.slice(0,r),f=Mz(c,s),h=Iz(f),p=o||h.length>1;return d(xz,{fixedHeight:t,children:[h.map(({date:g,data:v},m)=>d("div",{children:[p&&d(Pz,{className:"brella-schedule-day",children:g}),v.map(_=>_.data.length===0?null:d("div",{id:_.startTime.getTime().toString(),children:[d(Fz,{className:"brella-schedule-time-header",children:d(Dz,{className:"brella-schedule-time-header-time",children:[d(Oz,{className:"brella-schedule-time-header-line"}),nt(_.startTime,l)]})}),d(Sz,{className:"brella-schedule-session-cards-group",children:_.data.map(w=>d(iz,{session:w,onClick:()=>e(w)},w.id))})]},_.date))]},m)),u>r&&d(Az,{children:d(ew,{onClick:()=>n(r+150),className:"brella-schedule-load-more-button",children:`Load more (${u-r} remaining)`})})]})}const xz=W.div(({theme:e,fixedHeight:t})=>` display: grid; gap: 32px; max-width: 600px; width: 100%; margin: 0 auto; .brella-schedule-time-header { display: flex; justify-content: space-between; align-items: center; position: sticky; top: ${t?"-24px":"calc(var(--brella-widget-margin-double-base) * 2)"}; padding: var(--brella-widget-padding-half-base) 0; z-index: 5; background: ${e.system.background.secondary}; } .brella-schedule-session-cards-group { display: grid; gap: 16px; } .brella-schedule-time-header-time { ${an(e.system.typography.caption.lg)} display: flex; align-items: center; gap: var(--brella-widget-margin-half-base); margin-bottom: 0; color: ${e.system.text.secondary}; } .brella-schedule-time-header-line { background-color: ${e.system.separator[100]}; height: 1px; width: calc(var(--brella-widget-margin-quarter-base) * 3); } `),Sz=W.div``,Fz=W.header``,Oz=W.div``,Pz=W.h2``,Dz=W.h3``,Az=W.div` display: flex; justify-content: center; margin-top: var(--brella-widget-margin-base); `;function Mz(e,t,r="EEE dd MMM HH:mm"){const n=(s,l,u)=>s.filter(c=>{const f=pr(new Date(c.startTime),u);return nt(f,r)===l}),i=e.map(s=>{const l=pr(new Date(s.startTime),t);return{date:nt(l,r),startTime:l}}),a=Wu(Mn("date"));return Jr(a,is(pu),Qr(s=>({...s,data:n(e,s.date,t).sort(pu)})),gn(s=>s.data.length>0))(i)}function pu(e,t){return new Date(e.startTime).getTime()-new Date(t.startTime).getTime()}function Iz(e){const t="EEEE, MMMM do",r=e.map(i=>{const a=new Date(i.startTime);return{date:nt(a,t),startTime:a}}),n=Wu(Mn("date"));return Jr(n,is(pu),Qr(i=>({...i,data:e.filter(a=>{const o=new Date(a.startTime);return nt(o,t)===i.date}).sort(pu)})),gn(i=>i.data.length>0))(r)}function Nz({tracks:e,sessions:t,fixedHeight:r,isVerticalMode:n,accentColor:i,colorTheme:a,sharpEdges:o,darkMode:s,layout:l,trackSize:u}){const{schedule:c}=ir(),[f,h]=ue({data:null,type:null}),p=Nn(()=>e,[e]),g=Nn(()=>t,[t]),v=vs(),m=e[e.length-1],[_,w]=ue(!1),T=c?.eventTimeZone,F=pr(new Date(c?.firstTimeslotStartTime??c?.selectedDate??new Date),T),O=pr(new Date(c?.lastTimeslotEndTime??c?.selectedDate??new Date),T),M=F&&O?Al(O,F):0,H=O&&Nb(O,1),S=n?Pb.vertical:Pb.horizontal,L=S*(M+1),U=nt(F,"yyyy-MM-dd'T'HH:mm:ss"),D=H&&nt(H,"yyyy-MM-dd'T'HH:mm:ss"),b=c?.dates.length===1,C=n?yh.vertical:_?yh.horizontal/5:yh.horizontal,k=u||(n?Ab.vertical:Ab.horizontal),P=r?void 0:n?L+320:k*e.length+72,A=Br(()=>{w(window.innerWidth<=768)},[]),{params:I,remove:q}=Y_();Ie(()=>{const re=t.find(ve=>ve.id===I.showSession);re&&(h({data:re,type:"session"}),document.getElementById("brella-widget")?.scrollIntoView({behavior:"smooth"}),q("showSession"))},[t]),Ie(()=>(A(),window.addEventListener("resize",A),()=>{window.removeEventListener("resize",A)}),[A]);const{getEpgProps:B,getLayoutProps:K}=Cq({channels:p,dayWidth:t.length?L:0,endDate:D,epg:g,globalStyles:fw(v,{accentColor:i,colorTheme:a,sharpEdges:o}),height:P,hourWidth:S,isBaseTimeFormat:!0,isCurrentTime:!1,isLine:!1,isSidebar:!0,isTimeline:!0,isVerticalMode:n||l==="linear",itemHeight:k,sidebarWidth:C,startDate:U,theme:Rz(v,s),timeZone:T,timeZoneConverter:pr});function X(re,ve=null){h({data:ve,type:re})}return l==="simplified"?d(Le,{children:[d(Op,{styles:fw(v,{accentColor:i,colorTheme:a,sharpEdges:o})}),d(Lz,{fixedHeight:r,children:[d(kz,{fixedHeight:r,onCardClick:re=>X("session",re)}),d(z3,{modal:f,toggleModal:X})]})]}):d(Le,{children:[d(aj,{...B(),sidebarTopStyles:n?{display:"none"}:{},sidebarTop:n?void 0:d(tw,{hideDateText:b,collapseSidebar:_}),children:d(hq,{...K(),showVerticalLines:!0,verticalLinesHalfHourIncrements:!0,renderTimeline:re=>d(ZU,{...re,hourWidth:S,startDate:F,endDate:O}),renderChannel:({isVerticalMode:re,channel:ve})=>d(qU,{onMoreInfoClick:()=>X("track",ve),isVerticalMode:re,track:ve,dayWidth:L,sidebarWidth:C,collapseSidebar:_}),renderProgram:({program:re,...ve})=>d(tz,{program:re,onClick:()=>X("session",re.data),sharpEdges:o,isLastTrack:m?.id===re.data.track.id&&e.length>1,...ve},re.data.id)})},e),d(z3,{modal:f,toggleModal:X})]})}const fw=(e,{sharpEdges:t,accentColor:r,colorTheme:n})=>` :root { --brella-widget-modal-background: ${e.system.background.primary}; --brella-widget-modal-header-background: ${e.system.background.secondary}; --brella-widget-text-color: ${e.system.text.primary}; ${r&&` --brella-color-primary-600: ${e.system.color[r][600]}; `} ${mt(n)&&` --brella-color-primary-600: ${e.system.text.primary}; `} ${t&&` --brella-widget-border-radius: 0; --brella-widget-border-radius-small: 0; `} } .planby { font-family: 'IBM Plex Sans', sans-serif; } [data-testid="container"] > div { border-radius: 0; border-top: 1px solid #f1f1f1; } [data-testid="sidebar"]{ z-index: 15 !important; } .planby { padding: 0 !important; } .planby-layout, .planby-channels, .planby-content, .brella-schedule-date { background: transparent !important; z-index: 1 !important; } `;function Rz(e,t){return{gradient:{blue:{300:"#002eb3",600:"#002360",900:"#051937"}},green:{300:"#2C7A7B"},grey:{300:"#d1d1d1"},loader:{bg:"#171923db",pink:"#F78EB6",purple:"#3437A2",teal:"#5DDADB"},primary:{600:"#1a202c",900:e.system.background.primary},scrollbar:{border:e.system.background.primary,thumb:{bg:t?e.system.gray[1]:e.system.background.tertiary}},teal:{100:"#5DDADB"},text:{grey:{300:"#2626262",500:"#718096"}},timeline:{divider:{bg:"#718096"}},white:t?e.system.gray[1]:e.system.background.tertiary}}const Lz=W.div(({theme:e,fixedHeight:t})=>` position: relative; background: ${e.system.background.secondary}; width: 100%; height: calc(100% - 80px); padding: ${e.system.spacing[500]} ${e.system.spacing[500]} ${e.system.spacing[1500]}; ${t?"overflow-y: auto;":""} `);function Bz({sharpEdges:e,verticalMode:t,colorTheme:r,accentColor:n,fixedHeight:i,darkMode:a,layout:o,trackSize:s,simplifiedLayoutOptions:l,hideFiltersButton:u,hideDateButtons:c}){const{schedule:f,loadingSchedule:h,error:p}=ir(),g=f?.eventTimeZone,{tracks:v,sessions:m}=X$(f,g),_=f?.dates.some(O=>O===f?.selectedDate);if(p)return d("div",{className:"brella-widget-root",children:d("p",{children:`Error: ${p}`})});const w=f?.selectedDate===""&&l?.showAllTab&&f?.dates.length>1,T=!v.length&&!h;return d($z,{sharpEdges:e,colorTheme:r,accentColor:n,className:"brella-widget-schedule-tracks",children:d("div",{style:{height:"100%",width:"100%"},children:[d(NU,{layout:o,hideFiltersButton:u,hideDateButtons:c}),h?d(ia,{}):!_&&!h&&!w?d(nw,{day:!0,darkMode:a}):T?d(nw,{darkMode:a}):d(Nz,{tracks:v,sessions:m,isVerticalMode:t||o==="linear",fixedHeight:i,sharpEdges:e,colorTheme:r,accentColor:n,darkMode:a,layout:o,trackSize:s})]})})}const $z=W.div(({theme:e,sharpEdges:t,accentColor:r,colorTheme:n})=>` width: 100%; height: 100%; ${t&&` --brella-widget-border-radius: 0; --brella-widget-border-radius-small: 0; `} ${r&&` --brella-color-primary-600: ${e.system.color[r][600]}; `} ${mt(n)&&` --brella-color-primary-600: ${e.system.text.primary}; `} background: ${e.system.background.primary}; [data-testid="container"] > div { border-radius: 0; border-top: 1px solid ${e.system.background.tertiary}; } /* TODO: Fix this coloring to happen inside Planby isnstead */ .planby-content > div:last-of-type > div { background: ${e.system.background.tertiary} !important; } `),Hz=(e,t)=>{const[r,n]=ue([]),[i,a]=ue({}),[o,s]=ue(!1),[l,u]=ue({isError:!1,message:""}),c=Br(async()=>{s(!0),rr.getSponsors({eventSlug:e,queryParams:t}).then(f=>{if(!f.ok)return u({isError:!0,message:"Join code is invalid."});n(f.data),a(f.meta||{})}).finally(()=>s(!1))},[e,JSON.stringify(t||{})]);return Ie(()=>{c()},[c]),{error:l,isLoading:o,meta:i,sponsors:r}},qz=e=>Nn(()=>{if(zi(e)||en(e))return[];const r=Jr(Vr("category"),ts),n=Qr(i=>{const a=Jr(gn(KT(["category","id"],i.id)))(e);return Qo("sponsors",a,i)});return Jr(r,n)(e)},[e]),$o={large:{defaultMaxItems:9,descriptionLines:1,grid:"--brella-widget-min-large-sponsor-card-width",headerSize:"20px",imageSize:135},medium:{defaultMaxItems:12,descriptionLines:1,grid:"--brella-widget-min-medium-sponsor-card-width",headerSize:"18px",imageSize:100},small:{defaultMaxItems:15,descriptionLines:1,grid:"--brella-widget-min-small-sponsor-card-width",headerSize:"16px",imageSize:75}};function jz({sponsorCategory:e,setSelectedSponsor:t,showAllSponsors:r,showCoverImageInListView:n,sponsorLogoSize:i,showCountInCategory:a}){const[o,s]=ue(r?e.sponsors.length:$o[e.level].defaultMaxItems),l=e.sponsors.slice(0,o),u=n&&e.level==="large",c=i&&i[e.level]||$o[e.level].imageSize;return d(Uz,{className:"brella-widget-sponsor-category",children:[d(zz,{className:"brella-widget-sponsor-category-header",children:[`${e.name}`,a&&d("span",{className:"brella-widget-sponsor-category-header-count",children:` (${e.sponsors.length})`})]}),d(Wz,{className:"brella-widget-sponsor-category-grid",cardSize:$o[e.level].grid,children:l.map(f=>d(Yz,{showCoverImage:u,onClick:()=>t(f),className:"brella-widget-sponsor-category-sponsor-card",children:[u&&d(Vz,{className:"brella-widget-sponsor-cover-image-container",children:f?.coverImageUrl&&d(Gz,{className:"brella-widget-sponsor-category-sponsor-cover-image",src:mr(f.coverImageUrl,330,110)})}),d(Zz,{className:"brella-widget-sponsor-content",showCoverImage:u,children:[d("div",{children:[d(Kz,{className:"brella-widget-sponsor-category-sponsor-logo-and-name",logoWidth:c,logoHeight:c,showCoverImage:u,children:d(Qz,{showCoverImage:u,className:"brella-widget-sponsor-category-sponsor-logo-container",logoWidth:c,logoHeight:c,children:f.logoUrl&&d(Jz,{className:"brella-widget-sponsor-category-sponsor-logo",src:mr(f.logoUrl,270,270)})})}),d(Xz,{className:"brella-widget-sponsor-category-sponsor-name",showCoverImage:u,size:$o[e.level].headerSize,children:f.name}),f.subtitle&&d(eW,{className:"brella-widget-sponsor-category-sponsor-subtitle",maxLines:$o[e.level].descriptionLines,children:f.subtitle})]}),d(tW,{className:"brella-widget-sponsor-category-sponsor-learn-more-link",children:["Learn More ",d(Ea,{})]})]})]},f.id))}),os(e.sponsors.length),children:"Show all"})]})}const Uz=W.div` display: grid; gap: var(--brella-widget-margin-base); `,zz=W.h2` font-size: 16px; line-height: 24px; font-weight: 600; `,Wz=W.div` display: grid; gap: var(--brella-widget-padding-base); grid-template-columns:${({cardSize:e})=>`repeat(auto-fill, minmax(var(${e}), 1fr))`}; `,Vz=W.div` border-radius: var(--brella-widget-border-radius) var(--brella-widget-border-radius) 0px 0px; overflow: hidden; border: var(--brella-widget-sponsor-border); aspect-ratio: 3 / 1; `,Zz=W.div` padding-top: ${({showCoverImage:e})=>e?"0px":"var(--brella-widget-padding-three-quarters-base)"}; padding-left: var(--brella-widget-padding-three-quarters-base); padding-right: var(--brella-widget-padding-three-quarters-base); padding-bottom: var(--brella-widget-padding-three-quarters-base); display: grid; overflow-wrap: anywhere; `,Yz=W.div` border: var(--brella-widget-sponsor-border); border-radius: var(--brella-widget-border-radius); cursor: pointer; display: flex; flex-direction: column; `,Gz=W.img` object-fit: cover; width: 100%; aspect-ratio: 3 / 1; `,Kz=W.div` width: ${({logoWidth:e})=>e}px; height: ${({logoHeight:e})=>e}px; margin-top: ${({showCoverImage:e,logoHeight:t})=>e?`-${t/2}px`:"0px"}; `,Xz=W.h3` font-size: ${({size:e})=>e||"20px"}; line-height: 28px; font-weight: 600; margin: 0px; margin-top: var(--brella-widget-padding-three-quarters-base); `,Qz=W.div` border: var(--brella-widget-sponsor-border); border-radius: var(--brella-widget-border-radius); width: ${({logoWidth:e})=>e}px; height: ${({logoHeight:e})=>e}px; position: ${({showCoverImage:e})=>e?"absolute":"unset"}; background-color: var(--brella-widget-sponsor-image-background-color); `,Jz=W.img` border-radius: inherit; object-fit: cover; max-width: 100%; max-height: 100%; `,eW=W.span` overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: ${({maxLines:e})=>e}; -webkit-box-orient: vertical; font-size: 16px; line-height: 24px; color: #8C8C8C; margin-top: var(--brella-widget-padding-half-base); `,tW=W.span` font-weight: 600; color: var(--brella-color-primary-600); margin-top: var(--brella-widget-padding-three-quarters-base); display: flex; gap: var(--brella-widget-margin-half-base); align-items: center; align-self: flex-end; `,rW=W.span` color: var(--brella-color-primary-600); cursor: pointer; border: var(--brella-widget-sponsor-border); border-radius: var(--brella-widget-border-radius); padding: var(--brella-widget-padding-half-base) var(--brella-widget-padding-base); font-weight: 600; font-size: 14px; line-height: 22px; width: auto; margin: auto; white-space: nowrap; `;function nW(e){return!e||e.blocks.length===0||e.blocks.length===1&&e.blocks[0].text===""?null:{__html:Dl(e)}}const hw=()=>d("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("rect",{width:"32",height:"32",rx:"16",fill:"black","fill-opacity":"0.6"}),d("path",{d:"M10.6094 9.26263C10.4329 9.0922 10.1966 8.9979 9.95131 9.00004C9.70602 9.00217 9.47139 9.10056 9.29793 9.27402C9.12448 9.44749 9.02609 9.68214 9.02396 9.92745C9.02183 10.1728 9.11613 10.4091 9.28654 10.5855L14.6891 15.9885L9.2856 21.3915C9.19625 21.4778 9.12498 21.581 9.07595 21.6952C9.02692 21.8093 9.00111 21.9321 9.00004 22.0563C8.99896 22.1805 9.02263 22.3037 9.06966 22.4187C9.1167 22.5337 9.18617 22.6381 9.27401 22.726C9.36184 22.8138 9.4663 22.8833 9.58127 22.9303C9.69624 22.9774 9.81943 23.001 9.94365 23C10.0679 22.9989 10.1906 22.9731 10.3048 22.924C10.4189 22.875 10.5221 22.8037 10.6084 22.7144L16.012 17.3114L21.4146 22.7144C21.591 22.8848 21.8273 22.9791 22.0726 22.977C22.3179 22.9748 22.5525 22.8764 22.726 22.703C22.8994 22.5295 22.9978 22.2949 23 22.0496C23.0021 21.8043 22.9078 21.5679 22.7374 21.3915L17.3348 15.9885L22.7374 10.5855C22.9078 10.4091 23.0021 10.1728 23 9.92745C22.9978 9.68214 22.8994 9.44749 22.726 9.27402C22.5525 9.10056 22.3179 9.00217 22.0726 9.00004C21.8273 8.9979 21.591 9.0922 21.4146 9.26263L16.012 14.6656L10.6094 9.26169V9.26263Z",fill:"white"})]});function iW({items:e,stretchContent:t=!1}){const[r,n]=ue(e?.[0].id),i=e.find(o=>o.id===r),a=t?"flex":"block";return d(aW,{className:"brella-tabs",children:[d(oW,{className:"brella-tabs-header",children:e.map((o,s)=>d(sW,{active:i.key===o.key,className:`brella-tab ${i.key===o.key?"brella-tab-active":""}`,onClick:()=>n(o.key),children:o.label},s))}),d(lW,{className:"brella-tabs-content",children:e.map(o=>d(uW,{className:`brella-tab-content-item ${i.key===o.key?"brella-tab-content-item-active":""}`,style:{display:i.key===o.key?a:"none"},children:o.children},o.id))})]})}const aW=W.div` display: flex; flex-direction: column; overflow: hidden; `,oW=W.div` display: flex; gap: 16px; padding: 16px 24px 0 24px; white-space: nowrap; overflow-x: auto; `,sW=W.div(({active:e})=>` cursor: pointer; padding-block: 8px; transition: all .2s; border-bottom: 2px solid transparent; font-size: 16px; color: var(--brella-widget-text-color); ${e&&` color: var(--brella-color-primary-600); border-color: var(--brella-color-primary-600); `} `),lW=W.div` display: flex; flex: 1; `,uW=W.div` width: 100%; `;function cW({children:e}){const[t,r]=ue(0),n=bt(),i=e?e.length:0;return d(dW,{children:[d(S3,{ref:n,viewportTag:"div",align:{camera:"0%",panel:"0%"},inputType:[],onWillChange:a=>{r(a.index)},children:e}),i>1&&d(Le,{children:[d(fW,{disabled:t===0,onClick:()=>n.current.prev(),className:"brella-carousel-prev brella-carousel-controls",children:d(Ea,{style:{rotate:"180deg"}})}),d(hW,{disabled:t>=i-1,onClick:()=>n.current.next(),className:"brella-carousel-next brella-carousel-controls",children:d(Ea,{})}),d(pW,{className:"brella-carousel-dots brella-carousel-controls",children:Array.from({length:i},(a,o)=>d(gW,{onClick:()=>n.current.moveTo(o),active:t===o},o))})]})]})}const dW=W.div` position: relative; .brella-carousel-controls { opacity: 0.3; transition: opacity 0.3s ease; } &:hover { .brella-carousel-controls { opacity: 1; } } `,pw=W.div(({disabled:e})=>` position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; cursor: pointer; width: 24px; height: 24px; justify-content: center; align-items: center; border-radius: 100%; background: var(--brella-color-white); display: ${e?"none":"flex"}; // Make the clickable area larger &:after { content: ''; display: block; padding: 50px 25px; position: absolute; } `),fW=W(pw)` left: 10px; `,hW=W(pw)` right: 10px; `,pW=W.div` display: flex; justify-content: center; gap: 8px; z-index: 1; position: absolute; bottom: 12px; width: 100%; `,gW=W.div(({active:e})=>` width: 14px; height: 14px; border-radius: 50%; background: ${e?"var(--brella-color-white);":"transparent"}; border: 1px solid var(--brella-color-white); display: inline-block; cursor: pointer; transition: background 0.3s ease; `);function mW({sponsor:e,event:t}){if(!t||!e?.sessionSponsors?.length)return null;const r=e.boothTabs?.find(n=>n.key==="sessions")?.title||"Related events";return d(bW,{className:"brella-sponsor-sessions-container",children:[d(yW,{className:"brella-sponsor-sessions-title",children:r}),e.sessionSponsors.map(n=>d(vW,{sponsorSession:n,sponsor:e,event:t},n.id))]})}function vW({sponsorSession:e,sponsor:t,event:r}){const{timeslot:n,label:i}=e,{startTime:a,endTime:o}=n,{timeZone:s}=r,l="hh:mm aa",u=a?pr(new Date(a),s):null,c=o?pr(new Date(o),s):null,f=u&&nt(u,"MMM d"),h=u&&nt(u,l),p=c&&nt(c,l),g=Bn(n.color);return d(_W,{className:"brella-sponsor-session-container",children:[d(CW,{className:"brella-sponsor-session-timeslot-title",children:n.title}),d(wW,{className:"brella-sponsor-session-content",children:[d(EW,{className:"brella-sponsor-session-time",children:`${f}, ${h} - ${p}`}),d(TW,{className:"brella-sponsor-session-location",children:n.location})]}),n.track&&d(FW,{className:"brella-sponsor-session-track",children:[d(OW,{children:d(PW,{color:g})}),n.track?.name]}),d(kW,{className:"brella-sponsor-session-sponsored-by",children:[d(xW,{children:[d("span",{className:"brella-sponsor-session-label-text",children:[i?.length?i:"Presented by",": "]}),d("span",{className:"brella-sponsor-session-sponsor-name",children:t.name})]}),d(SW,{className:"brella-sponsor-session-sponsor-logo",src:mr(t.logoUrl,24,24,"contain")})]})]})}const bW=W.div` display: flex; flex-direction: column; gap: var(--brella-widget-margin-base); margin-top: var(--brella-widget-margin-base); `,yW=W.div` font-size: 14px; color: #202022; font-weight: 600; `,_W=W.div` display: flex; flex-direction: column; gap: 12px; border: 1px solid #F1F1F1; padding: 12px; border-radius: 8px; `,CW=W.div` font-size: 14px; color: #202022; font-weight: 600; `,wW=W.div` display: flex; flex-direction: column; gap: 4px; `,EW=W.div` font-size: 14px; color: #202022; `,TW=W.div` font-size: 14px; color: #202022; `,kW=W.div` display: flex; flex-direction: row; gap: 12px; justify-content: space-between; align-items: flex-end; `,xW=W.div` font-size: 12px; color: #6B6B71; `,SW=W.img` width: 24px; height: 24px; object-fit: contain; border-radius: 4px; `,FW=W.div` display: flex; flex-direction: row; gap: 8px; align-items: center; font-size: 14px; color: #202022; `,OW=W.div` display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #F8F8F8; border-radius: 4px; `,PW=W.div(({color:e,theme:t})=>` width: 12px; height: 12px; border-radius: 2px; background: ${t.system.color[e][500]}; `);function DW({visible:e,sponsor:t,onClose:r,showSidebar:n,showCarousel:i,showShareButton:a,event:o}){const[s,l]=ue(null),{isMobile:u}=D3();if(!t)return null;const c=t.category.level==="large",f=rT(fT(zi),[a,t.website,t.twitter,t.facebook,t.linkedin,t.instagram]),h=t.deckMedia?.sort((_,w)=>_.position-w.position)||[],p=i&&h.length>0,g=t.tabs?.sort((_,w)=>_.position-w.position)||[],v=n&&g.length>0,m=()=>d(UW,{className:"brella-sponsor-modal-social-media-container",children:[a&&d(JC,{urlParams:{showCompany:t.id}}),t.website&&d(Ho,{className:"brella-sponsor-modal-social-media-website",href:t.website,target:"_blank",children:[d(fU,{}),"Website"]}),t.facebook&&d(Ho,{className:"brella-sponsor-modal-social-media-facebook",href:t.facebook,target:"_blank",children:[d(hU,{}),"Facebook"]}),t.linkedin&&d(Ho,{className:"brella-sponsor-modal-social-media-linkedin",href:t.linkedin,target:"_blank",children:[d(pU,{}),"LinkedIn"]}),t.twitter&&d(Ho,{className:"brella-sponsor-modal-social-media-twitter",href:`https://twitter.com/${t.twitter.replace(/^@/,"")}`,target:"_blank",children:[d(gU,{}),"Twitter"]}),t.instagram&&d(Ho,{className:"brella-sponsor-modal-social-media-instagram",href:`https://instagram.com/${t.instagram.replace(/^@/,"")}`,target:"_blank",children:[d(mU,{}),"Instagram"]})]});return s?d(Ta,{visible:e,onClose:r,className:"brella-sponsor-modal",width:v?"1366px":void 0,closable:!1,children:d(gw,{className:`brella-sponsor-modal-wrapper ${v?"brella-sponsor-modal-wrapper-with-sidebar":""}`,children:[d(VW,{onClick:()=>l(null),className:"brella-modal-close-button",children:[d(Ea,{style:{rotate:"180deg"}}),"Back"]}),d("iframe",{src:s.url,title:s.title,style:{border:"none",flex:1,width:"100%"}}),d(mw,{onClick:r,className:"brella-modal-close-button","data-testid":"modal-close-button",children:c&&t.coverImageUrl?d(hw,{}):d(N3,{})})]})}):d(Ta,{visible:e,onClose:r,className:"brella-sponsor-modal",width:v?"1366px":void 0,closable:!1,children:d(gw,{className:`brella-sponsor-modal-wrapper ${v?"brella-sponsor-modal-wrapper-with-sidebar":""}`,children:[d(AW,{className:"brella-sponsor-modal-content",children:[d(mw,{onClick:r,className:"brella-modal-close-button","data-testid":"modal-close-button",children:c&&t.coverImageUrl?d(hw,{}):d(N3,{})}),c&&d(RW,{className:"brella-sponsor-modal-cover-image-container",children:t.coverImageUrl&&d(LW,{className:"brella-sponsor-modal-cover-image",src:mr(t.coverImageUrl,660,220)})}),d(HW,{className:"brella-sponsor-modal-content",hasCoverImage:c&&t.coverImageUrl,children:[d(IW,{className:"brella-widget-sponsor-category-sponsor-logo-and-name",showCoverImage:c,children:d(qW,{showCoverImage:c,className:"brella-widget-sponsor-category-sponsor-logo-container",children:t.logoUrl&&d(NW,{className:"brella-sponsor-modal-logo",src:mr(t.logoUrl,135,135)})})}),d(BW,{className:"brella-sponsor-modal-name",showCoverImage:c,children:t.name}),t.subtitle&&d($W,{className:"brella-sponsor-modal-subtitle",children:t.subtitle}),f&&d(gu,{className:"brella-sponsor-modal-company-details",children:m()}),v&&u&&d(gu,{className:"brella-sponsor-modal-company-details",children:d(WW,{className:"brella-sponsor-modal-mobile-tabs",children:[d(vw,{active:!0,className:"brella-sponsor-modal-mobile-tab",onClick:()=>l(null),children:"Information"}),g.map(_=>d(vw,{className:"brella-sponsor-modal-mobile-tab",onClick:()=>l(_),children:_.title},_.id))]})}),p&&d(gu,{children:d(cW,{children:h.map(_=>d(zW,{className:"brella-carousel-slide",children:[_.bodyType==="iframe"&&d("iframe",{src:_.url,title:_.title}),_.bodyType==="image"&&d("img",{src:mr(_.url,660,371),alt:_.title})]},_.id))})}),t.content&&d(gu,{className:"brella-sponsor-modal-company-details",children:d(jW,{className:"brella-sponsor-modal-company-description",dangerouslySetInnerHTML:nW(t.content)})}),d(mW,{sponsor:t,event:o})]})]}),v&&!u&&d(MW,{className:"brella-sponsor-modal-sidebar",children:d(iW,{stretchContent:!0,items:g.map(_=>({children:d("iframe",{src:_.url,title:_.title,style:{border:"none",flex:1,width:"100%"}}),id:_.id,key:_.id,label:_.title}))})})]})})}const gw=W.div` display: flex; max-width: 100%; &.brella-sponsor-modal-wrapper-with-sidebar { min-height: 90vh; } `,AW=W.div` position: relative; flex: 1; `,MW=W.div` flex: 1; display: flex; overflow: auto; > div { flex: 1; } `,IW=W.div` display: flex; gap: var(--brella-widget-margin-base); align-items: center; margin-top: ${({hasCoverImage:e})=>e?"-50px":"0px"}; `,NW=W.img` border-radius: inherit; object-fit: cover; max-width: 100%; max-height: 100%; `,RW=W.div` overflow: hidden; border-bottom: var(--brella-widget-sponsor-border); aspect-ratio: 3 / 1; `,LW=W.img` object-fit: cover; width: 100%; aspect-ratio: 3 / 1; `,BW=W.h3` font-size: 24px; line-height: 1; font-weight: 600; margin: 0px; padding-top: ${({showCoverImage:e})=>e?"45px":"0px"}; margin-top: var(--brella-widget-padding-three-quarters-base); `,$W=W.p` color: #8C8C8C; font-size: 16px; font-weight: 400; line-height: 24px; margin-top: var(--brella-widget-padding-half-base); margin-bottom: 0px; `,HW=W.div` padding-top: ${({showCoverImage:e})=>e?"0px":"var(--brella-widget-padding-three-quarters-base)"}; padding-left: var(--brella-widget-padding-three-quarters-base); padding-right: var(--brella-widget-padding-three-quarters-base); padding-bottom: var(--brella-widget-padding-three-quarters-base); display: grid; `,qW=W.div` border: var(--brella-widget-sponsor-border); border-radius: var(--brella-widget-border-radius); width: 135px; height: 135px; margin-top: ${({showCoverImage:e})=>e?"-45px":"0px"}; position: ${({showCoverImage:e})=>e?"absolute":"unset"}; background-color: var(--brella-widget-sponsor-image-background-color); `,gu=W.div` padding-top: var(--brella-widget-padding-three-quarters-base); min-width: 0; // Fix flex-box overflow issues `,jW=W.div` font-size: 16px; line-height: 24px; font-weight: 400; & p:first-child { margin-top: 0px; } span { font-size: 16px; line-height: 24px; font-weight: 400; } img { max-width: 100%; } `,Ho=W.a` border-radius: var(--brella-widget-border-radius); background: #F8F8F8; padding: var(--brella-widget-padding-half-base); align-items: center; display: flex; gap: var(--brella-widget-margin-half-base); color: inherit; text-decoration: none; cursor: pointer; `,UW=W.div` display: flex; gap: var(--brella-widget-margin-base); flex-wrap: wrap; padding-top: var(--brella-widget-padding-half-base); `,zW=W.div` aspect-ratio: 16 / 9; width: 100%; img { height: 100%; width: 100%; object-fit: cover; pointer-events: none; } iframe { width: 100%; height: 100%; border: none; } `,mw=W.div` position: absolute; top: var(--brella-widget-padding-half-base); right: var(--brella-widget-padding-half-base); cursor: pointer; `,WW=W.div` display: flex; gap: var(--brella-widget-margin-base); white-space: nowrap; overflow: auto; `,vw=W.div` font-size: 16px; color: var(--brella-widget-text-color); padding: var(--brella-widget-padding-half-base) 0; cursor: pointer; ${({active:e})=>e&&` color: var(--brella-color-primary-600); border-bottom: 2px solid var(--brella-color-primary-600); `} `,VW=W.div` position: absolute; top: var(--brella-widget-padding-half-base); left: var(--brella-widget-padding-half-base); cursor: pointer; margin: 12px; color: var(--brella-color-white); background-color: rgba(0, 0, 0, 0.6); height: 32px; width: fit-content; display: flex; align-items: center; justify-content: center; border-radius: var(--brella-widget-border-radius); gap: 12px; `;function ZW({message:e}){return d("div",{children:d(YW,{children:e})})}const YW=W.h2` text-align: center; font-size: 16px; line-height: 24px; `;function GW({filters:e,setFilters:t,meta:r}){const[n,i]=ue(!1),[a,o]=ue(e),s=Object.values(e).flat().length,l=c=>{i(!1),o(c),t(c)},u=()=>{i(!1),o(e)};return d(KW,{className:"brella-widget-sponsor-filters",children:[d(XW,{onClick:()=>i(!0),className:"brella-widget-sponsors-filter-button",children:["Filters",s>0&&d(QW,{children:s})]}),d(Ta,{visible:n,onClose:u,title:"Filters",children:[r.custom_field_definitions.map(({key:c,title:f})=>d(JW,{className:`brella-widget-sponsors-filter brella-widget-sponsors-filter-${c}`,children:[d(eV,{className:"brella-widget-sponsors-filter-label",children:f}),d(L3,{multiple:!0,defaultValue:a[c]||"",placeholderValue:"Choose",onChange:h=>{const p=Array.from(h.target.selectedOptions,g=>g.value);o({...a,[c]:p})},style:{width:200},options:r.custom_field_filter_options[c].map(h=>({label:h,value:h})),icon:d(J_,{}),className:`brella-widget-sponsors-filter-${c}`})]},c)),d(tV,{className:"brella-widget-sponsors-filter-footer",children:[d(W3,{className:"brella-widget-sponsors-filter-clear",onClick:()=>l({}),children:"Clear filters"}),d(rV,{className:"brella-widget-sponsors-filter-apply",onClick:()=>l(a),children:"Apply"})]})]})]})}const KW=W.div` position: relative; `,W3=W.button` appearance: none; background-color: transparent; color: var(--brella-widget-text-color); border: var(--brella-widget-border); border-radius: var(--brella-widget-border-radius-small); padding: var(--brella-widget-margin-half-base) var(--brella-widget-margin-base); cursor: pointer; `,XW=W(W3)` position: absolute; top: var(--brella-widget-margin-half-base); right: 0; `,QW=W.span` position: absolute; top: -4px; right: -6px; background: var(--brella-color-primary-600); color: white; font-size: 10px; width: var(--brella-widget-margin-base); height: var(--brella-widget-margin-base); border-radius: 50%; display: flex; justify-content: center; align-items: center; `,JW=W.div` display: flex; flex-direction: column; gap: var(--brella-widget-margin-quarter-base); margin-bottom: var(--brella-widget-margin-base); `,eV=W.div` font-size: 16px; line-height: 24px; color: var(--brella-widget-text-color); `,tV=W.div` display: flex; margin-top: var(--brella-widget-margin-double-base); justify-content: space-between; `,rV=W(W3)` background: var(--brella-color-primary-600); border-color: var(--brella-color-primary-600); color: white; `;function nV({joinCode:e,showAllSponsors:t=!1,showCoverImageInListView:r=!1,showSelectedCategories:n=[],sponsorLogoSize:i=null,showSidebar:a=!1,showCarousel:o=!1,showShareButton:s=!1,paginationSize:l}){const[u,c]=ue(1),[f,h]=ue({}),p=bt(),{sponsors:g,meta:v,isLoading:m,error:_}=Hz(e,{category_id:n,custom_fields:f,page:{number:u,size:l}}),[w,T]=ue(null),[F,O]=ue({isError:!1,message:""}),[M,H]=ue(!0),[S,L]=ue(null),U=v?.custom_field_definitions?.length>0;function D(C){c(1),h(C)}Ie(()=>{const k=new URLSearchParams(window.location.search).get("showCompany"),P=g.find(({id:A})=>A===k);if(P){const I=p.current?.getBoundingClientRect()?.top+window.pageYOffset;window.scrollTo({behavior:"smooth",top:I}),setTimeout(()=>{L(P)},500)}},[g]),Ie(()=>{rr.getPublicEvent({publicCode:e}).then(C=>{if(!C.ok)return O({isError:!0,message:"Join code is invalid."});const{usesSponsors:k}=C.data;if(T(C.data),!k)return O({isError:!0,message:"Please turn on the “Sponsors” feature in your Admin Panel to use this widget"})}).finally(()=>H(!1))},[e]);const b=qz(g);return M?d(ia,{}):F.isError||_.isError?d(ZW,{message:_.message||F.message}):d(Le,{children:[U&&d(GW,{filters:f,setFilters:D,meta:v}),m&&d(ia,{}),!m&&d(iV,{className:"brella-widget-sponsor-list",ref:p,children:b.map(C=>d(jz,{sponsorCategory:C,setSelectedSponsor:L,showAllSponsors:t||!!l,showCoverImageInListView:r,showSelectedCategories:n,sponsorLogoSize:i,showCountInCategory:!l},C.id))}),l&&d(j_,{current:v?.current_page,total:v?.total_count,pageSize:l,onChange:c}),d(DW,{sponsor:S,visible:!!S,onClose:()=>L(null),showSidebar:a,showCarousel:o,showShareButton:s,event:w},S?.id)]})}const iV=W.div` display: grid; gap: var(--brella-widget-margin-double-base); `;ME(e=>{const t=$E(JSON.stringify(e)),r={widgetType:c4("schedule",["widgetType"],e).toLowerCase()};if(xr(["useService"],e)&&rr.addBrellaUseServiceHeader({service:xr(["useService"],e)}),r.widgetType==="ticketing")return xr(["organizationSlug"],e)&&rr.addOrganizationSlugHeader({orgSlug:xr(["organizationSlug"],e)}),d(aA,{children:d(cy,{...e,widgetId:t,children:d("div",{className:"brella-widget-root","data-testid":"brella-ticketing-root",children:d(E$,{...e})})})});if(r.widgetType==="speakers")return d(k$,{...e,children:d("div",{className:"brella-widget-root","data-testid":"brella-speakers-root",children:d(q$,{...e})})});if(r.widgetType==="sponsors"){const n=Ec(e.darkMode?"dark":"light"),{accentColor:i,colorTheme:a}=e,o=i?Bn(i):null;return d(cc,{theme:{...n,accentColor:o,colorTheme:a},children:d("div",{className:"brella-widget-root",children:d(nV,{...e})})})}if(r.widgetType==="schedule-tracks"){const n=Ec(e.darkMode?"dark":"light"),{accentColor:i,colorTheme:a}=e,o=i?Bn(i):null;return d(cc,{theme:{...n,accentColor:o,colorTheme:a},children:d(Y$,{...e,children:d("div",{style:{backgroundColor:n.system.background.primary,height:"100%",width:"100%"},className:"brella-widget-root","data-testid":"brella-schedule-tracks-root",children:d(Bz,{...e,accentColor:o})})})})}return d("div",{className:"brella-widget-root","data-testid":"brella-schedule-root",children:d(KM,{...e})})}).render({clean:!0,selector:"#brella-widget"})}));