@openfin/web-notifications 2.13.0-alpha-4323 → 2.13.0-alpha-4355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/index.js +3 -3
- package/package.json +1 -1
package/dist/web/index.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
&:hover {
|
|
12
12
|
color: ${({theme:e})=>e.palette.linkHover};
|
|
13
13
|
}
|
|
14
|
-
`},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.13.0-alpha-4323"},t.getTemplateAPIVersion=function(){return"2"}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===C||e.$$typeof===v)},t.typeOf=w},3081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const r=n(96540);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,r.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,n;const r=null===(n=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.querySelector("input, textarea, button");r&&r.focus()}),500)}),[e,t])}},3083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=r(n(96540)),i=n(61225),a=n(89183),s=n(47250);t.RootThemeProvider=(0,i.connect)((e=>{var t,n;return{themes:null===(t=e.theme)||void 0===t?void 0:t.themes,scheme:null===(n=e.theme)||void 0===n?void 0:n.scheme}}))((({themes:e,scheme:t,children:n})=>o.default.createElement(a.DefaultThemeProvider,{themes:e,scheme:null!=t?t:s.ColorScheme.dark},n)))},3089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredPromise=class{constructor(){const e=new Promise(((e,t)=>{this._resolve=e,this._reject=t}));this._promise=e}get promise(){return this._promise}get resolve(){return this._resolve}get reject(){return this._reject}}},3313:(e,t,n)=>{"use strict";t.startOfTomorrow=function(e){const t=(0,o.constructNow)(e?.in),n=t.getFullYear(),i=t.getMonth(),a=t.getDate(),s=(0,r.constructFrom)(e?.in,0);return s.setFullYear(n,i,a+1),s.setHours(0,0,0,0),s};var r=n(92956),o=n(2700)},3565:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=i(n(96540)),s=n(63087);t.FormikProxyProvider=e=>{const[t,n]=(0,a.useState)(null),r={formikProps:t,setFormikProps:n};return a.default.createElement(s.FormikProxyContext.Provider,{value:r},e.children)}},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t){return Reflect.getMetadata(t,e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3694:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.templateCustomFormSchema=t.templateMarkDownFormSchema=t.checkboxGroupFieldSchema=t.radioGroupFieldSchema=t.timeFieldSchema=t.dateFieldSchema=t.booleanFieldSchema=t.numberFieldSchema=t.stringFieldSchema=t.baseFieldSchema=void 0;const a=i(n(20627)),s=n(93955),l=n(65356);function c(e,t){return e.some((e=>{try{return e.validateSync(t)}catch(e){return!1}}))}t.baseFieldSchema=a.object({type:a.mixed().oneOf(Object.values(s.FieldType)).required(),key:a.string().required(),value:a.object(),validation:a.object(),label:a.string(),helperText:a.string()}).required(),t.stringFieldSchema=t.baseFieldSchema.clone().shape({value:a.string(),type:a.mixed().required().equals([s.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([s.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([s.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.BooleanWidgetSchemaMap),e)}).required()}),t.dateFieldSchema=t.baseFieldSchema.clone().shape({value:a.object().optional().shape({date:a.number().test("Invalid date",(e=>!e||e>=1&&e<=31)),month:a.number().test("Invalid month",(e=>!e||e>0&&e<=12)),year:a.number().test("Invalid year",(e=>!e||e>0))}),type:a.mixed().required().equals([s.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([s.FieldType.time]),value:a.object().shape({hour:a.number().nullable(!0).test("Invalid hour","Hour must be between 0 and 23",(e=>!e||e>=0&&e<=23)),minute:a.number().nullable(!0).test("Invalid minute","Minute must be between 0 and 59",(e=>!e||e>=0&&e<=59))}).optional(),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([s.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([s.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.CheckboxGroupWidgetSchemaMap),e)})});const u={string:t.stringFieldSchema,number:t.numberFieldSchema,boolean:t.booleanFieldSchema,date:t.dateFieldSchema,time:t.timeFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema},d=Object.assign(Object.assign({},u),{date:t.dateFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema}),f=e=>a.array().of(a.mixed().test({name:"Field check",message:"Invalid field ${path}",test:t=>{const n=[],r=e.some((e=>{try{return e.validateSync(t)}catch(e){return n.push(e),!1}}));if(!r)throw new Error(n.map((e=>e.message)).join(".\n"));return r}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),h=e=>a.lazy((t=>t&&t.hasOwnProperty.call(t,"fields")?a.object().shape({formSettings:a.object().optional().shape({displayFieldRequirementStatus:a.boolean().optional()}),fields:e.required()}):e.nullable().optional().default(null)));t.templateMarkDownFormSchema=h(f(Object.values(u))),t.templateCustomFormSchema=h(f(Object.values(d)))},3724:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(72914),o=n(7181),i=n(18483),a=n(2371),s=n(1249);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:o.formatLong,formatRelative:i.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},3767:(e,t,n)=>{"use strict";t.previousSaturday=function(e,t){return(0,r.previousDay)(e,6,t)};var r=n(58092)},3769:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncInit=void 0;const i=n(52650),a=n(95785);let s=class{constructor(){this._initialized=new a.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};s=r([(0,i.injectable)(),o("design:paramtypes",[])],s),t.AsyncInit=s},3871:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.calendarType,n=e.formatShortWeekday,r=void 0===n?c.formatShortWeekday:n,f=e.formatWeekday,h=void 0===f?c.formatWeekday:f,p=e.locale,m=e.onMouseLeave,g=new Date,v=(0,a.getMonthStart)(g),y=(0,a.getYear)(v),b=(0,a.getMonth)(v),C=[],w=1;w<=7;w+=1){var _=new Date(y,b,w-(0,l.getDayOfWeek)(v,t)),x=h(p,_);C.push((0,o.jsx)("div",{className:(0,i.default)(d,(0,l.isCurrentDayOfWeek)(_)&&"".concat(d,"--current"),(0,l.isWeekend)(_,t)&&"".concat(d,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":x,title:x,children:r(p,_).replace(".","")})},w))}return(0,o.jsx)(s.default,{className:u,count:7,onFocus:m,onMouseOver:m,children:C})};var o=n(74848),i=r(n(71508)),a=n(51229),s=r(n(77707)),l=n(26335),c=n(23340),u="react-calendar__month-view__weekdays",d="".concat(u,"__weekday")},4035:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;const s=a(n(19466)),l=(0,n(8701).injectBase)(s.MULTI_INJECT_TAG);t.multiInject=l},4045:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const s=a(n(19466));t.Metadata=class{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===s.NAMED_TAG?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}},4081:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocale=t.getUserLocales=void 0;var o=r(n(60119));function i(e){return"string"==typeof e}function a(e,t,n){return n.indexOf(e)===t}function s(e){return-1===e.indexOf(",")?e:e.split(",")}function l(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var t=e.split(".")[0];return l(void 0===t?"":t)}if(-1!==e.indexOf("@")){var n=e.split("@")[0];return l(void 0===n?"":n)}if(-1===e.indexOf("-")||(r=e).toLowerCase()!==r)return e;var r,o=e.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}t.getUserLocales=(0,o.default)((function(e){var t=void 0===e?{}:e,n=t.useFallbackLocale,r=void 0===n||n,o=t.fallbackLocale,c=void 0===o?"en-US":o,u=[];if("undefined"!=typeof navigator){for(var d=[],f=0,h=navigator.languages||[];f<h.length;f++){var p=h[f];d=d.concat(s(p))}var m=navigator.language,g=m?s(m):m;u=u.concat(d,g)}return r&&u.push(c),u.filter(i).map(l).filter(a)}),{cacheKey:JSON.stringify}),t.getUserLocale=(0,o.default)((function(e){return(0,t.getUserLocales)(e)[0]||null}),{cacheKey:JSON.stringify}),t.default=t.getUserLocale},4124:(e,t,n)=>{var r=n(45539)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},4138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const r=n(5299);class o extends r.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,n;const r=null!==(n=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==n?n:[],o=Object.assign({},...(this.errors||[]).map((e=>({[e.fieldKey]:e.error}))));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{forms:[...r.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4146:(e,t,n)=>{"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},4248:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCard=void 0;const o=n(61225),i=r(n(96540)),a=n(87451),s=n(37676),l=n(42551),c=n(26012),u=n(38320),d=n(16415);t.NotificationCard=(0,o.connect)(((e,t)=>{var n;const{activeForms:r}=e,o=t.notification,i=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=r&&r.focusedFormNotificationId==(null==i?void 0:i.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(n=null==i?void 0:i.modifiers)||void 0===n?void 0:n.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var n,r,o,i,l,c,d,f,h,p;return{remove:null!==(n=t.remove)&&void 0!==n?n:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(r=t.minimize)&&void 0!==r?r:t=>e(new s.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(i=t.clickButtonAction)&&void 0!==i?i:async(t,n)=>e(new a.ClickButton(t,n)),clickFragment:null!==(l=t.clickFragment)&&void 0!==l?l:(t,n,r)=>e(new a.ClickFragment(t,n,r)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,n,r)=>e(new s.SubmitNotificationForm(t,n,r)),showReminderModal:null!==(d=t.showReminderModal)&&void 0!==d?d:async t=>e(new a.ShowModal(t)),setReminder:null!==(f=t.setReminder)&&void 0!==f?f:async t=>e(new u.SetReminderThroughUI(t)),cancelReminder:null!==(h=t.cancelReminder)&&void 0!==h?h:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(p=t.raiseAnalyticsEvent)&&void 0!==p?p:async(t,n)=>e(new a.RaiseAnalyticsEvent(t,n))}}))((e=>i.default.createElement(d.WebModalContextProvider,null,i.default.createElement(l.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4251:(e,t,n)=>{"use strict";t.nextFriday=function(e,t){return(0,r.nextDay)(e,5,t)};var r=n(70064)},4382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const r=n(33713),o=n(62391),i=n(71351),a=n(13786),s=n(59594),l=n(26906),c=n(60714),u=n(95718),d=n(96318);t.WidgetComponentMap={[r.WidgetType.Number]:o.NumberWidgetComponent,[r.WidgetType.Toggle]:a.ToggleWidgetComponent,[r.WidgetType.Checkbox]:i.CheckboxWidgetComponent,[r.WidgetType.Date]:s.DateWidgetComponent,[r.WidgetType.CheckboxGroup]:l.CheckboxGroupWidgetComponent,[r.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[r.WidgetType.Dropdown]:u.DropdownWidgetComponent,[r.WidgetType.Text]:o.TextWidgetComponent,[r.WidgetType.Time]:d.TimeWidgetComponent}},4395:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){const a=(0,r.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e,n?.in),c=l.getDay(),u=7-s,d=t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7;return(0,o.addDays)(l,d,n)};var r=n(96755),o=n(77591),i=n(34446)},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},4638:(e,t,n)=>{"use strict";t.secondsToMinutes=function(e){const t=e/r.secondsInMinute;return Math.trunc(t)};var r=n(78052)},4650:(e,t,n)=>{"use strict";t.endOfISOWeek=function(e,t){return(0,r.endOfWeek)(e,{...t,weekStartsOn:1})};var r=n(61587)},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4875:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t,n){const[o,i]=(0,r.normalizeDates)(n?.in,e,t);return o.getFullYear()-i.getFullYear()};var r=n(8256)},4879:(e,t,n)=>{"use strict";t.isEqual=function(e,t){return+(0,r.toDate)(e)==+(0,r.toDate)(t)};var r=n(34446)},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},5046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const r=n(96540);t.useValidation=(e,t)=>{const[n,o]=(0,r.useState)(""),[i,a]=(0,r.useState)(!0),[s,l]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const t=e(s);o(t),a(!t)}),[s,e]),{value:s,message:n,isValid:i,updateValue:l}}},5154:(e,t,n)=>{"use strict";t.setSeconds=function(e,t,n){const o=(0,r.toDate)(e,n?.in);return o.setSeconds(t),o};var r=n(34446)},5206:(e,t,n)=>{"use strict";t.formatDistanceStrict=function(e,t,n){const u=(0,o.getDefaultOptions)(),d=n?.locale??u.locale??r.defaultLocale,f=(0,l.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f}),[p,m]=(0,s.normalizeDates)(n?.in,...f>0?[t,e]:[e,t]),g=(0,i.getRoundingMethod)(n?.roundingMethod??"round"),v=m.getTime()-p.getTime(),y=v/c.millisecondsInMinute,b=(v-((0,a.getTimezoneOffsetInMilliseconds)(m)-(0,a.getTimezoneOffsetInMilliseconds)(p)))/c.millisecondsInMinute,C=n?.unit;let w;if(w=C||(y<1?"second":y<60?"minute":y<c.minutesInDay?"hour":b<c.minutesInMonth?"day":b<c.minutesInYear?"month":"year"),"second"===w){const e=g(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===w){const e=g(y);return d.formatDistance("xMinutes",e,h)}if("hour"===w){const e=g(y/60);return d.formatDistance("xHours",e,h)}if("day"===w){const e=g(b/c.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===w){const e=g(b/c.minutesInMonth);return 12===e&&"month"!==C?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=g(b/c.minutesInYear);return d.formatDistance("xYears",e,h)}};var r=n(89577),o=n(96755),i=n(1331),a=n(16339),s=n(8256),l=n(86789),c=n(78052)},5265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=void 0;const r=n(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return r.stringifyServiceIdentifier}});const o=n(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return o.LazyServiceIdentifier}})},5299:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(76709),t),o(n(50492),t),o(n(23297),t),o(n(22022),t),o(n(44186),t)},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},5456:(e,t,n)=>{"use strict";t.eachWeekendOfMonth=function(e,t){const n=(0,i.startOfMonth)(e,t),a=(0,o.endOfMonth)(e,t);return(0,r.eachWeekendOfInterval)({start:n,end:a},t)};var r=n(39305),o=n(51291),i=n(67710)},5513:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(97861);t.Parser=class{run(e,t,n,o){const i=this.parse(e,t,n,o);return i?{setter:new r.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}},5556:(e,t,n)=>{e.exports=n(2694)()},5626:(e,t,n)=>{"use strict";t.isSameISOWeek=function(e,t,n){return(0,r.isSameWeek)(e,t,{...n,weekStartsOn:1})};var r=n(30659)},5778:(e,t)=>{"use strict";const n={};function r(e,t){"string"!=typeof t&&(t=r.defaultChars);const o=function(e){let t=n[e];if(t)return t;t=n[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let n=0,r=e.length;n<r;n+=3){const i=parseInt(e.slice(n+1,n+3),16);if(i<128)t+=o[i];else{if(192==(224&i)&&n+3<r){const r=parseInt(e.slice(n+4,n+6),16);if(128==(192&r)){const e=i<<6&1984|63&r;t+=e<128?"��":String.fromCharCode(e),n+=3;continue}}if(224==(240&i)&&n+6<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16);if(128==(192&r)&&128==(192&o)){const e=i<<12&61440|r<<6&4032|63&o;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240==(248&i)&&n+9<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16),a=parseInt(e.slice(n+10,n+12),16);if(128==(192&r)&&128==(192&o)&&128==(192&a)){let e=i<<18&1835008|r<<12&258048|o<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="";const o={};function i(e,t,n){"string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=o[e];if(t)return t;t=o[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let a="";for(let t=0,o=e.length;t<o;t++){const i=e.charCodeAt(t);if(n&&37===i&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(i<128)a+=r[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+="%EF%BF%BD"}else a+=encodeURIComponent(e[t])}return a}function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){let n,r,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=c.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=s.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&g[a]||(i=i.substr(2),this.slashes=!0)),!g[a]&&(o||a&&!v[a])){let e,t,n=-1;for(let e=0;e<h.length;e++)r=i.indexOf(h[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?i.lastIndexOf("@"):i.lastIndexOf("@",n),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),n=-1;for(let e=0;e<f.length;e++)r=i.indexOf(f[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=i.length),":"===i[n-1]&&n--;const o=i.slice(0,n);i=i.slice(n),this.parseHost(o),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(p)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(p)){const r=e.slice(0,t),o=e.slice(t+1),a=n.match(m);a&&(r.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");-1!==l&&(this.hash=i.substr(l),i=i.slice(0,l));const u=i.indexOf("?");return-1!==u&&(this.search=i.substr(u),i=i.slice(0,u)),i&&(this.pathname=i),v[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){let t=l.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.decode=r,t.encode=i,t.format=function(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t},t.parse=function(e,t){if(e&&e instanceof a)return e;const n=new a;return n.parse(e,t),n}},5800:(e,t,n)=>{"use strict";t.isToday=function(e,t){return(0,i.isSameDay)((0,r.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var r=n(92956),o=n(2700),i=n(99691)},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),s=n(28303),l=n(72552),c=n(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=f||s&&C(new s)!=h)&&(C=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case g:return u;case v:return d;case y:return f;case b:return h}return t}),e.exports=C},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,o="",i=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(n){for(var r,o=0,i="";r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=o(/[&<>'"]/g,n),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const r=n(96540),o=n(61225);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,r.useRef)(null);return(0,r.useCallback)((n=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(n)}),500)}),[e])}},6289:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleActivationStore=void 0;const r=n(93382);class o{_map=new Map;remove(e){const t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)}addActivation(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)}clone(){const e=new o;return this._map.forEach(((t,n)=>{e._map.set(n,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})})),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new r.Lookup,onDeactivations:new r.Lookup}}}t.ModuleActivationStore=o},6345:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsPanel=void 0;const s=n(47250),l=i(n(96540)),c=n(61225),u=a(n(35830)),d=n(64800),f=n(87451),h=n(72471),p=n(54896),m=n(66764),g=n(36834),v=n(68318),y=n(78904),b=n(43264),C=n(40660),w=n(29136),_=n(47586),x=n(80925),O=(0,u.default)(s.Box)`
|
|
14
|
+
`},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.13.0-alpha-4355"},t.getTemplateAPIVersion=function(){return"2"}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===C||e.$$typeof===v)},t.typeOf=w},3081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const r=n(96540);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,r.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,n;const r=null===(n=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.querySelector("input, textarea, button");r&&r.focus()}),500)}),[e,t])}},3083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=r(n(96540)),i=n(61225),a=n(89183),s=n(47250);t.RootThemeProvider=(0,i.connect)((e=>{var t,n;return{themes:null===(t=e.theme)||void 0===t?void 0:t.themes,scheme:null===(n=e.theme)||void 0===n?void 0:n.scheme}}))((({themes:e,scheme:t,children:n})=>o.default.createElement(a.DefaultThemeProvider,{themes:e,scheme:null!=t?t:s.ColorScheme.dark},n)))},3089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredPromise=class{constructor(){const e=new Promise(((e,t)=>{this._resolve=e,this._reject=t}));this._promise=e}get promise(){return this._promise}get resolve(){return this._resolve}get reject(){return this._reject}}},3313:(e,t,n)=>{"use strict";t.startOfTomorrow=function(e){const t=(0,o.constructNow)(e?.in),n=t.getFullYear(),i=t.getMonth(),a=t.getDate(),s=(0,r.constructFrom)(e?.in,0);return s.setFullYear(n,i,a+1),s.setHours(0,0,0,0),s};var r=n(92956),o=n(2700)},3565:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=i(n(96540)),s=n(63087);t.FormikProxyProvider=e=>{const[t,n]=(0,a.useState)(null),r={formikProps:t,setFormikProps:n};return a.default.createElement(s.FormikProxyContext.Provider,{value:r},e.children)}},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t){return Reflect.getMetadata(t,e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3694:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.templateCustomFormSchema=t.templateMarkDownFormSchema=t.checkboxGroupFieldSchema=t.radioGroupFieldSchema=t.timeFieldSchema=t.dateFieldSchema=t.booleanFieldSchema=t.numberFieldSchema=t.stringFieldSchema=t.baseFieldSchema=void 0;const a=i(n(20627)),s=n(93955),l=n(65356);function c(e,t){return e.some((e=>{try{return e.validateSync(t)}catch(e){return!1}}))}t.baseFieldSchema=a.object({type:a.mixed().oneOf(Object.values(s.FieldType)).required(),key:a.string().required(),value:a.object(),validation:a.object(),label:a.string(),helperText:a.string()}).required(),t.stringFieldSchema=t.baseFieldSchema.clone().shape({value:a.string(),type:a.mixed().required().equals([s.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([s.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([s.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.BooleanWidgetSchemaMap),e)}).required()}),t.dateFieldSchema=t.baseFieldSchema.clone().shape({value:a.object().optional().shape({date:a.number().test("Invalid date",(e=>!e||e>=1&&e<=31)),month:a.number().test("Invalid month",(e=>!e||e>0&&e<=12)),year:a.number().test("Invalid year",(e=>!e||e>0))}),type:a.mixed().required().equals([s.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([s.FieldType.time]),value:a.object().shape({hour:a.number().nullable(!0).test("Invalid hour","Hour must be between 0 and 23",(e=>!e||e>=0&&e<=23)),minute:a.number().nullable(!0).test("Invalid minute","Minute must be between 0 and 59",(e=>!e||e>=0&&e<=59))}).optional(),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([s.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([s.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.CheckboxGroupWidgetSchemaMap),e)})});const u={string:t.stringFieldSchema,number:t.numberFieldSchema,boolean:t.booleanFieldSchema,date:t.dateFieldSchema,time:t.timeFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema},d=Object.assign(Object.assign({},u),{date:t.dateFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema}),f=e=>a.array().of(a.mixed().test({name:"Field check",message:"Invalid field ${path}",test:t=>{const n=[],r=e.some((e=>{try{return e.validateSync(t)}catch(e){return n.push(e),!1}}));if(!r)throw new Error(n.map((e=>e.message)).join(".\n"));return r}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),h=e=>a.lazy((t=>t&&t.hasOwnProperty.call(t,"fields")?a.object().shape({formSettings:a.object().optional().shape({displayFieldRequirementStatus:a.boolean().optional()}),fields:e.required()}):e.nullable().optional().default(null)));t.templateMarkDownFormSchema=h(f(Object.values(u))),t.templateCustomFormSchema=h(f(Object.values(d)))},3724:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(72914),o=n(7181),i=n(18483),a=n(2371),s=n(1249);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:o.formatLong,formatRelative:i.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},3767:(e,t,n)=>{"use strict";t.previousSaturday=function(e,t){return(0,r.previousDay)(e,6,t)};var r=n(58092)},3769:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncInit=void 0;const i=n(52650),a=n(95785);let s=class{constructor(){this._initialized=new a.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};s=r([(0,i.injectable)(),o("design:paramtypes",[])],s),t.AsyncInit=s},3871:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.calendarType,n=e.formatShortWeekday,r=void 0===n?c.formatShortWeekday:n,f=e.formatWeekday,h=void 0===f?c.formatWeekday:f,p=e.locale,m=e.onMouseLeave,g=new Date,v=(0,a.getMonthStart)(g),y=(0,a.getYear)(v),b=(0,a.getMonth)(v),C=[],w=1;w<=7;w+=1){var _=new Date(y,b,w-(0,l.getDayOfWeek)(v,t)),x=h(p,_);C.push((0,o.jsx)("div",{className:(0,i.default)(d,(0,l.isCurrentDayOfWeek)(_)&&"".concat(d,"--current"),(0,l.isWeekend)(_,t)&&"".concat(d,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":x,title:x,children:r(p,_).replace(".","")})},w))}return(0,o.jsx)(s.default,{className:u,count:7,onFocus:m,onMouseOver:m,children:C})};var o=n(74848),i=r(n(71508)),a=n(51229),s=r(n(77707)),l=n(26335),c=n(23340),u="react-calendar__month-view__weekdays",d="".concat(u,"__weekday")},4035:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;const s=a(n(19466)),l=(0,n(8701).injectBase)(s.MULTI_INJECT_TAG);t.multiInject=l},4045:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const s=a(n(19466));t.Metadata=class{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===s.NAMED_TAG?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}},4081:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocale=t.getUserLocales=void 0;var o=r(n(60119));function i(e){return"string"==typeof e}function a(e,t,n){return n.indexOf(e)===t}function s(e){return-1===e.indexOf(",")?e:e.split(",")}function l(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var t=e.split(".")[0];return l(void 0===t?"":t)}if(-1!==e.indexOf("@")){var n=e.split("@")[0];return l(void 0===n?"":n)}if(-1===e.indexOf("-")||(r=e).toLowerCase()!==r)return e;var r,o=e.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}t.getUserLocales=(0,o.default)((function(e){var t=void 0===e?{}:e,n=t.useFallbackLocale,r=void 0===n||n,o=t.fallbackLocale,c=void 0===o?"en-US":o,u=[];if("undefined"!=typeof navigator){for(var d=[],f=0,h=navigator.languages||[];f<h.length;f++){var p=h[f];d=d.concat(s(p))}var m=navigator.language,g=m?s(m):m;u=u.concat(d,g)}return r&&u.push(c),u.filter(i).map(l).filter(a)}),{cacheKey:JSON.stringify}),t.getUserLocale=(0,o.default)((function(e){return(0,t.getUserLocales)(e)[0]||null}),{cacheKey:JSON.stringify}),t.default=t.getUserLocale},4124:(e,t,n)=>{var r=n(45539)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},4138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const r=n(5299);class o extends r.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,n;const r=null!==(n=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==n?n:[],o=Object.assign({},...(this.errors||[]).map((e=>({[e.fieldKey]:e.error}))));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{forms:[...r.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4146:(e,t,n)=>{"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},4248:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCard=void 0;const o=n(61225),i=r(n(96540)),a=n(87451),s=n(37676),l=n(42551),c=n(26012),u=n(38320),d=n(16415);t.NotificationCard=(0,o.connect)(((e,t)=>{var n;const{activeForms:r}=e,o=t.notification,i=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=r&&r.focusedFormNotificationId==(null==i?void 0:i.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(n=null==i?void 0:i.modifiers)||void 0===n?void 0:n.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var n,r,o,i,l,c,d,f,h,p;return{remove:null!==(n=t.remove)&&void 0!==n?n:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(r=t.minimize)&&void 0!==r?r:t=>e(new s.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(i=t.clickButtonAction)&&void 0!==i?i:async(t,n)=>e(new a.ClickButton(t,n)),clickFragment:null!==(l=t.clickFragment)&&void 0!==l?l:(t,n,r)=>e(new a.ClickFragment(t,n,r)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,n,r)=>e(new s.SubmitNotificationForm(t,n,r)),showReminderModal:null!==(d=t.showReminderModal)&&void 0!==d?d:async t=>e(new a.ShowModal(t)),setReminder:null!==(f=t.setReminder)&&void 0!==f?f:async t=>e(new u.SetReminderThroughUI(t)),cancelReminder:null!==(h=t.cancelReminder)&&void 0!==h?h:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(p=t.raiseAnalyticsEvent)&&void 0!==p?p:async(t,n)=>e(new a.RaiseAnalyticsEvent(t,n))}}))((e=>i.default.createElement(d.WebModalContextProvider,null,i.default.createElement(l.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4251:(e,t,n)=>{"use strict";t.nextFriday=function(e,t){return(0,r.nextDay)(e,5,t)};var r=n(70064)},4382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const r=n(33713),o=n(62391),i=n(71351),a=n(13786),s=n(59594),l=n(26906),c=n(60714),u=n(95718),d=n(96318);t.WidgetComponentMap={[r.WidgetType.Number]:o.NumberWidgetComponent,[r.WidgetType.Toggle]:a.ToggleWidgetComponent,[r.WidgetType.Checkbox]:i.CheckboxWidgetComponent,[r.WidgetType.Date]:s.DateWidgetComponent,[r.WidgetType.CheckboxGroup]:l.CheckboxGroupWidgetComponent,[r.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[r.WidgetType.Dropdown]:u.DropdownWidgetComponent,[r.WidgetType.Text]:o.TextWidgetComponent,[r.WidgetType.Time]:d.TimeWidgetComponent}},4395:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){const a=(0,r.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e,n?.in),c=l.getDay(),u=7-s,d=t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7;return(0,o.addDays)(l,d,n)};var r=n(96755),o=n(77591),i=n(34446)},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},4638:(e,t,n)=>{"use strict";t.secondsToMinutes=function(e){const t=e/r.secondsInMinute;return Math.trunc(t)};var r=n(78052)},4650:(e,t,n)=>{"use strict";t.endOfISOWeek=function(e,t){return(0,r.endOfWeek)(e,{...t,weekStartsOn:1})};var r=n(61587)},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4875:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t,n){const[o,i]=(0,r.normalizeDates)(n?.in,e,t);return o.getFullYear()-i.getFullYear()};var r=n(8256)},4879:(e,t,n)=>{"use strict";t.isEqual=function(e,t){return+(0,r.toDate)(e)==+(0,r.toDate)(t)};var r=n(34446)},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},5046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const r=n(96540);t.useValidation=(e,t)=>{const[n,o]=(0,r.useState)(""),[i,a]=(0,r.useState)(!0),[s,l]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const t=e(s);o(t),a(!t)}),[s,e]),{value:s,message:n,isValid:i,updateValue:l}}},5154:(e,t,n)=>{"use strict";t.setSeconds=function(e,t,n){const o=(0,r.toDate)(e,n?.in);return o.setSeconds(t),o};var r=n(34446)},5206:(e,t,n)=>{"use strict";t.formatDistanceStrict=function(e,t,n){const u=(0,o.getDefaultOptions)(),d=n?.locale??u.locale??r.defaultLocale,f=(0,l.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f}),[p,m]=(0,s.normalizeDates)(n?.in,...f>0?[t,e]:[e,t]),g=(0,i.getRoundingMethod)(n?.roundingMethod??"round"),v=m.getTime()-p.getTime(),y=v/c.millisecondsInMinute,b=(v-((0,a.getTimezoneOffsetInMilliseconds)(m)-(0,a.getTimezoneOffsetInMilliseconds)(p)))/c.millisecondsInMinute,C=n?.unit;let w;if(w=C||(y<1?"second":y<60?"minute":y<c.minutesInDay?"hour":b<c.minutesInMonth?"day":b<c.minutesInYear?"month":"year"),"second"===w){const e=g(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===w){const e=g(y);return d.formatDistance("xMinutes",e,h)}if("hour"===w){const e=g(y/60);return d.formatDistance("xHours",e,h)}if("day"===w){const e=g(b/c.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===w){const e=g(b/c.minutesInMonth);return 12===e&&"month"!==C?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=g(b/c.minutesInYear);return d.formatDistance("xYears",e,h)}};var r=n(89577),o=n(96755),i=n(1331),a=n(16339),s=n(8256),l=n(86789),c=n(78052)},5265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=void 0;const r=n(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return r.stringifyServiceIdentifier}});const o=n(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return o.LazyServiceIdentifier}})},5299:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(76709),t),o(n(50492),t),o(n(23297),t),o(n(22022),t),o(n(44186),t)},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},5456:(e,t,n)=>{"use strict";t.eachWeekendOfMonth=function(e,t){const n=(0,i.startOfMonth)(e,t),a=(0,o.endOfMonth)(e,t);return(0,r.eachWeekendOfInterval)({start:n,end:a},t)};var r=n(39305),o=n(51291),i=n(67710)},5513:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(97861);t.Parser=class{run(e,t,n,o){const i=this.parse(e,t,n,o);return i?{setter:new r.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}},5556:(e,t,n)=>{e.exports=n(2694)()},5626:(e,t,n)=>{"use strict";t.isSameISOWeek=function(e,t,n){return(0,r.isSameWeek)(e,t,{...n,weekStartsOn:1})};var r=n(30659)},5778:(e,t)=>{"use strict";const n={};function r(e,t){"string"!=typeof t&&(t=r.defaultChars);const o=function(e){let t=n[e];if(t)return t;t=n[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let n=0,r=e.length;n<r;n+=3){const i=parseInt(e.slice(n+1,n+3),16);if(i<128)t+=o[i];else{if(192==(224&i)&&n+3<r){const r=parseInt(e.slice(n+4,n+6),16);if(128==(192&r)){const e=i<<6&1984|63&r;t+=e<128?"��":String.fromCharCode(e),n+=3;continue}}if(224==(240&i)&&n+6<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16);if(128==(192&r)&&128==(192&o)){const e=i<<12&61440|r<<6&4032|63&o;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240==(248&i)&&n+9<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16),a=parseInt(e.slice(n+10,n+12),16);if(128==(192&r)&&128==(192&o)&&128==(192&a)){let e=i<<18&1835008|r<<12&258048|o<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="";const o={};function i(e,t,n){"string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=o[e];if(t)return t;t=o[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let a="";for(let t=0,o=e.length;t<o;t++){const i=e.charCodeAt(t);if(n&&37===i&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(i<128)a+=r[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+="%EF%BF%BD"}else a+=encodeURIComponent(e[t])}return a}function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){let n,r,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=c.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=s.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&g[a]||(i=i.substr(2),this.slashes=!0)),!g[a]&&(o||a&&!v[a])){let e,t,n=-1;for(let e=0;e<h.length;e++)r=i.indexOf(h[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?i.lastIndexOf("@"):i.lastIndexOf("@",n),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),n=-1;for(let e=0;e<f.length;e++)r=i.indexOf(f[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=i.length),":"===i[n-1]&&n--;const o=i.slice(0,n);i=i.slice(n),this.parseHost(o),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(p)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(p)){const r=e.slice(0,t),o=e.slice(t+1),a=n.match(m);a&&(r.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");-1!==l&&(this.hash=i.substr(l),i=i.slice(0,l));const u=i.indexOf("?");return-1!==u&&(this.search=i.substr(u),i=i.slice(0,u)),i&&(this.pathname=i),v[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){let t=l.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.decode=r,t.encode=i,t.format=function(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t},t.parse=function(e,t){if(e&&e instanceof a)return e;const n=new a;return n.parse(e,t),n}},5800:(e,t,n)=>{"use strict";t.isToday=function(e,t){return(0,i.isSameDay)((0,r.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var r=n(92956),o=n(2700),i=n(99691)},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),s=n(28303),l=n(72552),c=n(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=f||s&&C(new s)!=h)&&(C=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case g:return u;case v:return d;case y:return f;case b:return h}return t}),e.exports=C},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,o="",i=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(n){for(var r,o=0,i="";r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=o(/[&<>'"]/g,n),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const r=n(96540),o=n(61225);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,r.useRef)(null);return(0,r.useCallback)((n=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(n)}),500)}),[e])}},6289:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleActivationStore=void 0;const r=n(93382);class o{_map=new Map;remove(e){const t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)}addActivation(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)}clone(){const e=new o;return this._map.forEach(((t,n)=>{e._map.set(n,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})})),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new r.Lookup,onDeactivations:new r.Lookup}}}t.ModuleActivationStore=o},6345:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsPanel=void 0;const s=n(47250),l=i(n(96540)),c=n(61225),u=a(n(35830)),d=n(64800),f=n(87451),h=n(72471),p=n(54896),m=n(66764),g=n(36834),v=n(68318),y=n(78904),b=n(43264),C=n(40660),w=n(29136),_=n(47586),x=n(80925),O=(0,u.default)(s.Box)`
|
|
15
15
|
background: ${({theme:e})=>e.palette.background2};
|
|
16
16
|
border: 1px solid ${({theme:e})=>e.palette.background4};
|
|
17
17
|
height: 100%;
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
`},21315:(e,t,n)=>{"use strict";t.setWeek=function(e,t,n){const i=(0,o.toDate)(e,n?.in),a=(0,r.getWeek)(i,n)-t;return i.setDate(i.getDate()-7*a),(0,o.toDate)(i,n?.in)};var r=n(29639),o=n(34446)},21440:(e,t,n)=>{"use strict";t.previousThursday=function(e,t){return(0,r.previousDay)(e,4,t)};var r=n(58092)},21479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const r=n(37763);class o{id;serviceIdentifier;parentContext;parentRequest;bindings;childRequests;target;requestScope;constructor(e,t,n,o,i){this.id=(0,r.id)(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=i,this.childRequests=[],this.bindings=Array.isArray(o)?o:[o],this.requestScope=null===n?new Map:null}addChildRequest(e,t,n){const r=new o(e,this.parentContext,this,t,n);return this.childRequests.push(r),r}}t.Request=o},21497:(e,t,n)=>{"use strict";t.YearParser=void 0;var r=n(5513),o=n(93771);class i extends r.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,o.mapValue)((0,o.parseNDigits)(4,e),r);case"yo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=(0,o.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}}t.YearParser=i},21549:(e,t,n)=>{var r=n(22032),o=n(63862),i=n(66721),a=n(12749),s=n(35749);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},21773:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InversifyCoreError=t.isAppErrorSymbol=void 0,t.isAppErrorSymbol=Symbol.for("@inversifyjs/core/InversifyCoreError");class n extends Error{[t.isAppErrorSymbol];kind;constructor(e,n,r){super(n,r),this[t.isAppErrorSymbol]=!0,this.kind=e}static is(e){return"object"==typeof e&&null!==e&&!0===e[t.isAppErrorSymbol]}static isErrorOfKind(e,t){return n.is(e)&&e.kind===t}}t.InversifyCoreError=n},21986:(e,t,n)=>{var r=n(51873),o=n(37828),i=n(75288),a=n(25911),s=n(20317),l=n(84247),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=l),e.size!=t.size&&!p)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var g=a(h(e),h(t),r,c,d,f);return f.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},21992:(e,t,n)=>{"use strict";t.isSameYear=function(e,t,n){const[o,i]=(0,r.normalizeDates)(n?.in,e,t);return o.getFullYear()===i.getFullYear()};var r=n(8256)},22022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},22032:(e,t,n)=>{var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},22056:(e,t,n)=>{"use strict";t.isSaturday=function(e,t){return 6===(0,r.toDate)(e,t?.in).getDay()};var r=n(34446)},22225:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+i+s+n+r+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+o+"]",p="(?:"+c+"|"+u+")",m="(?:"+h+"|"+u+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",C=b+y+"(?:\\u200d(?:"+["[^"+t+"]",d,f].join("|")+")"+b+y+")*",w="(?:"+[l,d,f].join("|")+")"+C,_=RegExp([h+"?"+c+"+"+g+"(?="+[a,h,"$"].join("|")+")",m+"+"+v+"(?="+[a,h+p,"$"].join("|")+")",h+"?"+p+"+"+g,h+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,w].join("|"),"g");e.exports=function(e){return e.match(_)||[]}},22517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},22551:(e,t,n)=>{"use strict";var r=n(96540),o=n(69982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),_=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),S=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=A&&e[A]||e["@@iterator"])?e:null}var R,F=Object.assign;function N(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var H=!1;function V(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?N(e):""}function B(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("SuspenseList");case 0:case 2:case 15:return V(e.type,!1);case 11:return V(e.type.render,!1);case 1:return V(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case _:return"Portal";case E:return"Profiler";case O:return"StrictMode";case k:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case M:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return $(e(t))}catch(e){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Q(e,t);var n=z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+z(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:z(n)}}function ie(e,t){var n=z(t.value),r=z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,xe=null,Oe=null;function Ee(e){if(e=Co(e)){if("function"!=typeof _e)throw Error(i(280));var t=e.stateNode;t&&(t=_o(t),_e(e.stateNode,e.type,t))}}function Me(e){xe?Oe?Oe.push(e):Oe=[e]:xe=e}function Se(){if(xe){var e=xe,t=Oe;if(Oe=xe=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function je(e,t){return e(t)}function ke(){}var Pe=!1;function Te(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return je(e,t,n)}finally{Pe=!1,(null!==xe||null!==Oe)&&(ke(),Se())}}function De(e,t){var n=e.stateNode;if(null===n)return null;var r=_o(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(u)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(ue){Le=!1}function Ie(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Re=!1,Fe=null,Ne=!1,He=null,Ve={onError:function(e){Re=!0,Fe=e}};function Be(e,t,n,r,o,i,a,s,l){Re=!1,Fe=null,Ie.apply(Ve,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function ze(e){if($e(e)!==e)throw Error(i(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ze(o),e;if(a===r)return ze(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,qe=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Qe=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!=(i&=a)&&(r=dt(i))}else 0!=(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function Ct(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,_t,xt,Ot,Et,Mt=!1,St=[],jt=null,kt=null,Pt=null,Tt=new Map,Dt=new Map,Lt=[],At="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Rt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=Co(t))&&_t(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=bo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void Et(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Co(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ce=r,n.target.dispatchEvent(r),Ce=null,t.shift()}return!0}function Ht(e,t,n){Nt(e)&&n.delete(t)}function Vt(){Mt=!1,null!==jt&&Nt(jt)&&(jt=null),null!==kt&&Nt(kt)&&(kt=null),null!==Pt&&Nt(Pt)&&(Pt=null),Tt.forEach(Ht),Dt.forEach(Ht)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Mt||(Mt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Vt)))}function $t(e){function t(t){return Bt(t,e)}if(0<St.length){Bt(St[0],e);for(var n=1;n<St.length;n++){var r=St[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==jt&&Bt(jt,e),null!==kt&&Bt(kt,e),null!==Pt&&Bt(Pt,e),Tt.forEach(t),Dt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Lt.shift()}var Zt=C.ReactCurrentBatchConfig,zt=!0;function Ut(e,t,n,r){var o=bt,i=Zt.transition;Zt.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=o,Zt.transition=i}}function Wt(e,t,n,r){var o=bt,i=Zt.transition;Zt.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=o,Zt.transition=i}}function Gt(e,t,n,r){if(zt){var o=qt(e,t,n,r);if(null===o)zr(e,t,r,Yt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return jt=Rt(jt,e,t,n,r,o),!0;case"dragenter":return kt=Rt(kt,e,t,n,r,o),!0;case"mouseover":return Pt=Rt(Pt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Tt.set(i,Rt(Tt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Dt.set(i,Rt(Dt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<At.indexOf(e)){for(;null!==o;){var i=Co(o);if(null!==i&&wt(i),null===(i=qt(e,t,n,r))&&zr(e,t,r,Yt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else zr(e,t,r,null,n)}}var Yt=null;function qt(e,t,n,r){if(Yt=null,null!==(e=bo(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=F({},cn,{view:0,detail:0}),fn=on(dn),hn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),mn=on(F({},hn,{dataTransfer:0})),gn=on(F({},dn,{relatedTarget:0})),vn=on(F({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),Cn=on(F({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function En(){return On}var Mn=F({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sn=on(Mn),jn=on(F({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kn=on(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Pn=on(F({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=F({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=on(Tn),Ln=[9,13,27,32],An=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var Rn=u&&"TextEvent"in window&&!In,Fn=u&&(!An||In&&8<In&&11>=In),Nn=String.fromCharCode(32),Hn=!1;function Vn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1,Zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Un(e,t,n,r){Me(r),0<(t=Wr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function Yn(e){Nr(e,0)}function qn(e){if(G(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Qn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Qn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&qn(Gn)){var t=[];Un(t,Gn,e,we(e)),Te(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Gn)}function ir(e,t){if("click"===e)return qn(t)}function ar(e,t){if("input"===e||"change"===e)return qn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function Cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||(r="selectionStart"in(r=gr)&&hr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Wr(vr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Or={};function Er(e){if(xr[e])return xr[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Or)return xr[e]=n[t];return e}u&&(Or=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Mr=Er("animationend"),Sr=Er("animationiteration"),jr=Er("animationstart"),kr=Er("transitionend"),Pr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Pr.set(e,t),l(t,[e])}for(var Lr=0;Lr<Tr.length;Lr++){var Ar=Tr[Lr];Dr(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}Dr(Mr,"onAnimationEnd"),Dr(Sr,"onAnimationIteration"),Dr(jr,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(kr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(Be.apply(this,arguments),Re){if(!Re)throw Error(i(198));var u=Fe;Re=!1,Fe=null,Ne||(Ne=!0,He=u)}}(r,t,void 0,e),e.currentTarget=null}function Nr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Fr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Fr(o,s,c),i=l}}}if(Ne)throw e=He,Ne=!1,He=null,e}function Hr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Zr(t,e,2,!1),n.add(r))}function Vr(e,t,n){var r=0;t&&(r|=4),Zr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Br]){e[Br]=!0,a.forEach((function(t){"selectionchange"!==t&&(Rr.has(t)||Vr(t,!1,e),Vr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Vr("selectionchange",!1,t))}}function Zr(e,t,n,r){switch(Kt(t)){case 1:var o=Ut;break;case 4:o=Wt;break;default:o=Gt}n=o.bind(null,t,n,e),o=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function zr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Te((function(){var r=i,o=we(n),a=[];e:{var s=Pr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Sn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=kn;break;case Mr:case Sr:case jr:l=vn;break;case kr:l=Pn;break;case"scroll":l=fn;break;case"wheel":l=Dn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jn}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&null!=(m=De(p,f))&&u.push(Ur(p,m,h))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ce||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=jn,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:wo(l),h=null==c?s:wo(c),(s=new u(m,p+"leave",l,n,o)).target=d,s.relatedTarget=h,m=null,bo(o)===r&&((u=new u(f,p+"enter",c,n,o)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,p=0,h=u=l;h;h=Gr(h))p++;for(h=0,m=f;m;m=Gr(m))h++;for(;0<p-h;)u=Gr(u),p--;for(;0<h-p;)f=Gr(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break e;u=Gr(u),f=Gr(f)}u=null}else u=null;null!==l&&Yr(a,s,l,u,!1),null!==c&&null!==d&&Yr(a,d,c,u,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(zn(s))if(Qn)g=ar;else{g=or;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?Un(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?wo(r):window,e){case"focusin":(zn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,Cr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":Cr(a,n,o)}var y;if(An)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else $n?Vn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&($n||"onCompositionStart"!==b?"onCompositionEnd"===b&&$n&&(y=en()):(Xt="value"in(Qt=o)?Qt.value:Qt.textContent,$n=!0)),0<(v=Wr(r,b)).length&&(b=new Cn(b,e,null,n,o),a.push({event:b,listeners:v}),(y||null!==(y=Bn(n)))&&(b.data=y))),(y=Rn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Hn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Hn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!An&&Vn(e,t)?(e=en(),Jt=Xt=Qt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(o=new Cn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y)}Nr(a,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=De(e,n))&&r.unshift(Ur(e,i,o)),null!=(i=De(e,t))&&r.push(Ur(e,i,o))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=De(n,i))&&a.unshift(Ur(n,l,s)):o||null!=(l=De(n,i))&&a.push(Ur(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var qr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(qr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),ho="__reactFiber$"+fo,po="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,vo="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[ho])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function Co(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function _o(e){return e[po]||null}var xo=[],Oo=-1;function Eo(e){return{current:e}}function Mo(e){0>Oo||(e.current=xo[Oo],xo[Oo]=null,Oo--)}function So(e,t){Oo++,xo[Oo]=e.current,e.current=t}var jo={},ko=Eo(jo),Po=Eo(!1),To=jo;function Do(e,t){var n=e.type.contextTypes;if(!n)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!=e.childContextTypes}function Ao(){Mo(Po),Mo(ko)}function Io(e,t,n){if(ko.current!==jo)throw Error(i(168));So(ko,t),So(Po,n)}function Ro(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,Z(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,To=ko.current,So(ko,e),So(Po,Po.current),!0}function No(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ro(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Mo(Po),Mo(ko),So(ko,e)):Mo(Po),So(Po,n)}var Ho=null,Vo=!1,Bo=!1;function $o(e){null===Ho?Ho=[e]:Ho.push(e)}function Zo(){if(!Bo&&null!==Ho){Bo=!0;var e=0,t=bt;try{var n=Ho;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ho=null,Vo=!1}catch(t){throw null!==Ho&&(Ho=Ho.slice(e+1)),Ge(Je,Zo),t}finally{bt=t,Bo=!1}}return null}var zo=[],Uo=0,Wo=null,Go=0,Yo=[],qo=0,Ko=null,Qo=1,Xo="";function Jo(e,t){zo[Uo++]=Go,zo[Uo++]=Wo,Wo=e,Go=t}function ei(e,t,n){Yo[qo++]=Qo,Yo[qo++]=Xo,Yo[qo++]=Ko,Ko=e;var r=Qo;e=Xo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Xo=i+e}else Qo=1<<i|n<<o|r,Xo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Wo;)Wo=zo[--Uo],zo[Uo]=null,Go=zo[--Uo],zo[Uo]=null;for(;e===Ko;)Ko=Yo[--qo],Yo[qo]=null,Xo=Yo[--qo],Yo[qo]=null,Qo=Yo[--qo],Yo[qo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Tc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Qo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Tc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return!(!(1&e.mode)||128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=oi;e;)e=co(e.nextSibling)}function pi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=C.ReactCurrentBatchConfig;function vi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function Ci(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Lc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===D&&bi(i)===t.type)?((r=o(t,n.props)).ref=vi(e,t,n),r.return=e,r):((r=Ac(n.type,n.key,n.props,null,e.mode,r)).ref=vi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ac(t.type,t.key,t.props,null,e.mode,n)).ref=vi(e,null,t),n.return=e,n;case _:return(t=Nc(t,e.mode,n)).return=e,t;case D:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Ic(t,e.mode,n,null)).return=e,t;yi(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case _:return n.key===o?u(e,t,n,r):null;case D:return h(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);yi(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case D:return p(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);yi(t,r)}return null}function m(o,i,s,l){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(o,d),ii&&Jo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,m),c}for(d=r(o,d);m<s.length;m++)null!==(g=p(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}function g(o,s,l,c){var u=I(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(o,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),ii&&Jo(o,g),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(o,y.value,c))&&(s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,g),u}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=p(m,o,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),u}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===x){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&bi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=vi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===x?((i=Ic(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Ac(a.type,a.key,a.props,null,r.mode,l)).ref=vi(r,i,a),l.return=r,r=l)}return s(r);case _:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Nc(a,r.mode,l)).return=r,r=i}return s(r);case D:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(I(a))return g(r,i,a,l);yi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Fc(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var wi=Ci(!0),_i=Ci(!1),xi=Eo(null),Oi=null,Ei=null,Mi=null;function Si(){Mi=Ei=Oi=null}function ji(e){var t=xi.current;Mo(xi),e._currentValue=t}function ki(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pi(e,t){Oi=e,Mi=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ti(e){var t=e._currentValue;if(Mi!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===Oi)throw Error(i(308));Ei=e,Oi.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Di=null;function Li(e){null===Di?Di=[e]:Di.push(e)}function Ai(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Li(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ii(e,r)}function Ii(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ri=!1;function Fi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ni(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Hi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&jl){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ii(e,n)}return null===(o=r.interleaved)?(t.next=t,Li(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ii(e,n)}function Bi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function $i(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Zi(e,t,n,r){var o=e.updateQueue;Ri=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(f=t,h=n,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(h,d,f):p))break e;d=F({},d,f);break e;case 2:Ri=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Rl|=a,e.lanes=a,e.memoizedState=d}}function zi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Ui={},Wi=Eo(Ui),Gi=Eo(Ui),Yi=Eo(Ui);function qi(e){if(e===Ui)throw Error(i(174));return e}function Ki(e,t){switch(So(Yi,t),So(Gi,e),So(Wi,Ui),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Mo(Wi),So(Wi,t)}function Qi(){Mo(Wi),Mo(Gi),Mo(Yi)}function Xi(e){qi(Yi.current);var t=qi(Wi.current),n=le(t,e.type);t!==n&&(So(Gi,e),So(Wi,n))}function Ji(e){Gi.current===e&&(Mo(Wi),Mo(Gi))}var ea=Eo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=C.ReactCurrentDispatcher,ia=C.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,fa=0,ha=0;function pa(){throw Error(i(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Ja:es,e=n(r,o),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(i(301));a+=1,ca=la=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(da)}if(oa.current=Xa,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(i(300));return e}function va(){var e=0!==fa;return fa=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function Ca(e,t){return"function"==typeof t?t(e):t}function wa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=la,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,sa.lanes|=d,Rl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Rl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _a(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function xa(){}function Oa(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,Ra(Sa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ta(9,Ma.bind(null,n,r,o,t),void 0,null),null===kl)throw Error(i(349));30&aa||Ea(n,t,o)}return o}function Ea(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ma(e,t,n,r){t.value=n,t.getSnapshot=r,ja(t)&&ka(e)}function Sa(e,t,n){return n((function(){ja(t)&&ka(e)}))}function ja(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function ka(e){var t=Ii(e,1);null!==t&&nc(t,e,1,-1)}function Pa(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Da(){return ba().memoizedState}function La(e,t,n,r){var o=ya();sa.flags|=e,o.memoizedState=Ta(1|t,n,void 0,void 0===r?null:r)}function Aa(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==r&&ma(r,a.deps))return void(o.memoizedState=Ta(t,n,i,r))}sa.flags|=e,o.memoizedState=Ta(1|t,n,i,r)}function Ia(e,t){return La(8390656,8,e,t)}function Ra(e,t){return Aa(2048,8,e,t)}function Fa(e,t){return Aa(4,2,e,t)}function Na(e,t){return Aa(4,4,e,t)}function Ha(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Va(e,t,n){return n=null!=n?n.concat([e]):null,Aa(4,4,Ha.bind(null,t,e),n)}function Ba(){}function $a(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function za(e,t,n){return 21&aa?(sr(n,t)||(n=mt(),sa.lanes|=n,Rl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Ua(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function Wa(){return ba().memoizedState}function Ga(e,t,n){var r=tc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qa(e)?Ka(t,n):null!==(n=Ai(e,t,n,r))&&(nc(n,e,r,ec()),Qa(n,t,r))}function Ya(e,t,n){var r=tc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qa(e))Ka(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Li(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ai(e,t,o,r))&&(nc(n,e,r,o=ec()),Qa(n,t,r))}}function qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ka(e,t){da=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qa(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Xa={readContext:Ti,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Ja={readContext:Ti,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Ti,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,La(4194308,4,Ha.bind(null,t,e),n)},useLayoutEffect:function(e,t){return La(4194308,4,e,t)},useInsertionEffect:function(e,t){return La(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Pa,useDebugValue:Ba,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Pa(!1),t=e[0];return e=Ua.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=ya();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===kl)throw Error(i(349));30&aa||Ea(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ia(Sa.bind(null,r,a,e),[e]),r.flags|=2048,Ta(9,Ma.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=kl.identifierPrefix;if(ii){var n=Xo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ti,useCallback:$a,useContext:Ti,useEffect:Ra,useImperativeHandle:Va,useInsertionEffect:Fa,useLayoutEffect:Na,useMemo:Za,useReducer:wa,useRef:Da,useState:function(){return wa(Ca)},useDebugValue:Ba,useDeferredValue:function(e){return za(ba(),la.memoizedState,e)},useTransition:function(){return[wa(Ca)[0],ba().memoizedState]},useMutableSource:xa,useSyncExternalStore:Oa,useId:Wa,unstable_isNewReconciler:!1},ts={readContext:Ti,useCallback:$a,useContext:Ti,useEffect:Ra,useImperativeHandle:Va,useInsertionEffect:Fa,useLayoutEffect:Na,useMemo:Za,useReducer:_a,useRef:Da,useState:function(){return _a(Ca)},useDebugValue:Ba,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:za(t,la.memoizedState,e)},useTransition:function(){return[_a(Ca)[0],ba().memoizedState]},useMutableSource:xa,useSyncExternalStore:Oa,useId:Wa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Hi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Vi(e,i,o))&&(nc(t,e,o,r),Bi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Hi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Vi(e,i,o))&&(nc(t,e,o,r),Bi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),o=Hi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Vi(e,o,r))&&(nc(t,e,r,n),Bi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(o,i))}function as(e,t,n){var r=!1,o=jo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ti(i):(o=Lo(t)?To:ko.current,i=(r=null!=(r=t.contextTypes))?Do(e,o):jo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Fi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ti(i):(i=Lo(t)?To:ko.current,o.context=Do(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Zi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fs="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Hi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zl||(zl=!0,Ul=r),ds(0,t)},n}function ps(e,t,n){(n=Hi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Ec.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Hi(-1,1)).tag=2,Vi(n,t,1))),n.lanes|=1),e)}var ys=C.ReactCurrentOwner,bs=!1;function Cs(e,t,n,r){t.child=null===e?_i(t,null,n,r):wi(t,e.child,n,r)}function ws(e,t,n,r,o){n=n.render;var i=t.ref;return Pi(t,o),r=ga(e,t,n,r,i,o),n=va(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,Cs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,zs(e,t,o))}function _s(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Dc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ac(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,xs(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return zs(e,t,o)}return t.flags|=1,(e=Lc(i,r)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,zs(e,t,o);131072&e.flags&&(bs=!0)}}return Ms(e,t,n,r,o)}function Os(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,So(Ll,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,So(Ll,Dl),Dl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},So(Ll,Dl),Dl|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,So(Ll,Dl),Dl|=r;return Cs(e,t,o,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,o){var i=Lo(n)?To:ko.current;return i=Do(t,i),Pi(t,o),n=ga(e,t,n,r,i,o),r=va(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,Cs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,zs(e,t,o))}function Ss(e,t,n,r,o){if(Lo(n)){var i=!0;Fo(t)}else i=!1;if(Pi(t,o),null===t.stateNode)Zs(e,t),as(t,n,r),ls(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Ti(c):Do(t,c=Lo(n)?To:ko.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),Ri=!1;var f=t.memoizedState;a.state=f,Zi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Po.current||Ri?("function"==typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=Ri||is(t,n,s,r,f,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ni(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l="object"==typeof(l=n.contextType)&&null!==l?Ti(l):Do(t,l=Lo(n)?To:ko.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&ss(t,a,r,l),Ri=!1,f=t.memoizedState,a.state=f,Zi(t,r,a,o);var p=t.memoizedState;s!==d||f!==p||Po.current||Ri?("function"==typeof h&&(rs(t,n,h,r),p=t.memoizedState),(c=Ri||is(t,n,c,r,f,p,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return js(e,t,n,r,i,o)}function js(e,t,n,r,o,i){Es(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&No(t,n,!1),zs(e,t,i);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,s,i)):Cs(e,t,s,i),t.memoizedState=r.state,o&&No(t,n,!0),t.child}function ks(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),Ki(e,t.containerInfo)}function Ps(e,t,n,r,o){return pi(),mi(o),t.flags|=256,Cs(e,t,n,r),t.child}var Ts,Ds,Ls,As,Is={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),So(ea,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Rc(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Ic(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Is,e):Ns(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Hs(e,t,s,r=us(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Rc({mode:"visible",children:r.children},o,0,null),(a=Ic(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&wi(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=Is,a);if(!(1&t.mode))return Hs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Hs(e,t,s,r=us(a=Error(i(419)),r,void 0))}if(l=!!(s&e.childLanes),bs||l){if(null!==(r=kl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|s)?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ii(e,o),nc(r,e,o,-1))}return mc(),Hs(e,t,s,r=us(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Sc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Yo[qo++]=Qo,Yo[qo++]=Xo,Yo[qo++]=Ko,Qo=e.id,Xo=e.overflow,Ko=t),(t=Ns(t,r.children)).flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===a?(o=Lc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==r?s=Lc(r,s):(s=Ic(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Rs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,o}return e=(s=e.child).sibling,o=Lc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ns(e,t){return(t=Rc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Hs(e,t,n,r){return null!==r&&mi(r),wi(t,e.child,null,n),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ki(e.return,t,n)}function Bs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function $s(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Cs(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vs(e,n,t);else if(19===e.tag)Vs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(So(ea,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bs(t,!0,n,null,i);break;case"together":Bs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Zs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rl|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Lc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Us(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return Lo(t.type)&&Ao(),Ws(t),null;case 3:return r=t.stateNode,Qi(),Mo(Po),Mo(ko),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ds(e,t),Ws(t),null;case 5:Ji(t);var o=qi(Yi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ls(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ws(t),null}if(e=qi(Wi.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[ho]=t,r[po]=a,e=!!(1&t.mode),n){case"dialog":Hr("cancel",r),Hr("close",r);break;case"iframe":case"object":case"embed":Hr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Hr(Ir[o],r);break;case"source":Hr("error",r);break;case"img":case"image":case"link":Hr("error",r),Hr("load",r);break;case"details":Hr("toggle",r);break;case"input":K(r,a),Hr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Hr("invalid",r);break;case"textarea":oe(r,a),Hr("invalid",r)}for(var l in ye(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Hr("scroll",r)}switch(n){case"input":W(r),J(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ho]=t,e[po]=r,Ts(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Hr("cancel",e),Hr("close",e),o=r;break;case"iframe":case"object":case"embed":Hr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Hr(Ir[o],e);o=r;break;case"source":Hr("error",e),o=r;break;case"img":case"image":case"link":Hr("error",e),Hr("load",e),o=r;break;case"details":Hr("toggle",e),o=r;break;case"input":K(e,r),o=q(e,r),Hr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),Hr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Hr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ge(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Hr("scroll",e):null!=u&&b(e,a,u,l))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ws(t),null;case 6:if(e&&null!=t.stateNode)As(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=qi(Yi.current),qi(Wi.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return Ws(t),null;case 13:if(Mo(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))hi(),pi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[ho]=t}else pi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Al&&(Al=3):mc())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return Qi(),Ds(e,t),null===e&&$r(t.stateNode.containerInfo),Ws(t),null;case 10:return ji(t.type._context),Ws(t),null;case 19:if(Mo(ea),null===(a=t.memoizedState))return Ws(t),null;if(r=!!(128&t.flags),null===(l=a.rendering))if(r)Us(a,!1);else{if(0!==Al||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Us(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return So(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>$l&&(t.flags|=128,r=!0,Us(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Us(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ws(t),null}else 2*Qe()-a.renderingStartTime>$l&&1073741824!==n&&(t.flags|=128,r=!0,Us(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=ea.current,So(ea,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Dl)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ys(e,t){switch(ni(t),t.tag){case 1:return Lo(t.type)&&Ao(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qi(),Mo(Po),Mo(ko),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(Mo(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Mo(ea),null;case 4:return Qi(),null;case 10:return ji(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ts=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ds=function(){},Ls=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,qi(Wi.current);var i,a=null;switch(n){case"input":o=q(e,o),r=q(e,r),a=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Hr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},As=function(e,t,n,r){n!==r&&(t.flags|=4)};var qs=!1,Ks=!1,Qs="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Oc(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Oc(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[ho],delete t[po],delete t[go],delete t[vo],delete t[yo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ks||Js(n,t);case 6:var r=ul,o=dl;ul=null,fl(e,t,n),dl=o,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),$t(e)):lo(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Ks&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&el(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Ks&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Oc(n,t,e)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,fl(e,t,n),Ks=r):fl(e,t,n);break;default:fl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qs),t.forEach((function(t){var r=jc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));hl(a,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Oc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Oc(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Oc(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Oc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(o,a),be(l,s);var u=be(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(l){case"input":X(o,a);break;case"textarea":ie(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(o,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(t){Oc(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Oc(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(t){Oc(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Bl=Qe())),4&r&&pl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(u=Ks)||d,ml(t,e),Ks=u):ml(t,e),vl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Xs=e,d=e.child;null!==d;){for(f=Xs=d;null!==Xs;){switch(p=(h=Xs).child,h.tag){case 0:case 11:case 14:case 15:nl(4,h,h.return);break;case 1:Js(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Oc(r,n,e)}}break;case 5:Js(h,h.return);break;case 22:if(null!==h.memoizedState){wl(f);continue}}null!==p?(p.return=h,Xs=p):wl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Oc(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){Oc(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),vl(e),4&r&&pl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(t){Oc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Xs=e,bl(e,t,n)}function bl(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var o=Xs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||qs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ks;s=qs;var c=Ks;if(qs=a,(Ks=l)&&!c)for(Xs=o;null!==Xs;)l=(a=Xs).child,22===a.tag&&null!==a.memoizedState?_l(o):null!==l?(l.return=a,Xs=l):_l(o);for(;null!==i;)Xs=i,bl(i,t,n),i=i.sibling;Xs=o,qs=s,Ks=c}Cl(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Xs=i):Cl(e)}}function Cl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ks||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&zi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(i(163))}Ks||512&t.flags&&ol(t)}catch(e){Oc(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function wl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function _l(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Oc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Oc(t,o,e)}}var i=t.return;try{ol(t)}catch(e){Oc(t,i,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){Oc(t,a,e)}}}catch(e){Oc(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var xl,Ol=Math.ceil,El=C.ReactCurrentDispatcher,Ml=C.ReactCurrentOwner,Sl=C.ReactCurrentBatchConfig,jl=0,kl=null,Pl=null,Tl=0,Dl=0,Ll=Eo(0),Al=0,Il=null,Rl=0,Fl=0,Nl=0,Hl=null,Vl=null,Bl=0,$l=1/0,Zl=null,zl=!1,Ul=null,Wl=null,Gl=!1,Yl=null,ql=0,Kl=0,Ql=null,Xl=-1,Jl=0;function ec(){return 6&jl?Qe():-1!==Xl?Xl:Xl=Qe()}function tc(e){return 1&e.mode?2&jl&&0!==Tl?Tl&-Tl:null!==gi.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type):1}function nc(e,t,n,r){if(50<Kl)throw Kl=0,Ql=null,Error(i(185));vt(e,n,r),2&jl&&e===kl||(e===kl&&(!(2&jl)&&(Fl|=n),4===Al&&sc(e,Tl)),rc(e,r),1===n&&0===jl&&!(1&t.mode)&&($l=Qe()+500,Vo&&Zo()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?s&n&&!(s&r)||(o[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===kl?Tl:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Vo=!0,$o(e)}(lc.bind(null,e)):$o(lc.bind(null,e)),ao((function(){!(6&jl)&&Zo()})),n=null;else{switch(Ct(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=kc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Xl=-1,Jl=0,6&jl)throw Error(i(327));var n=e.callbackNode;if(_c()&&e.callbackNode!==n)return null;var r=ft(e,e===kl?Tl:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gc(e,r);else{t=r;var o=jl;jl|=2;var a=pc();for(kl===e&&Tl===t||(Zl=null,$l=Qe()+500,fc(e,t));;)try{yc();break}catch(t){hc(e,t)}Si(),El.current=a,jl=o,null!==Pl?t=0:(kl=null,Tl=0,t=Al)}if(0!==t){if(2===t&&0!==(o=pt(e))&&(r=o,t=ic(e,o)),1===t)throw n=Il,fc(e,0),sc(e,r),rc(e,Qe()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gc(e,r),2===t&&(a=pt(e),0!==a&&(r=a,t=ic(e,a))),1!==t)))throw n=Il,fc(e,0),sc(e,r),rc(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wc(e,Vl,Zl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Bl+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wc.bind(null,e,Vl,Zl),t);break}wc(e,Vl,Zl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ol(r/1960))-r)){e.timeoutHandle=ro(wc.bind(null,e,Vl,Zl),r);break}wc(e,Vl,Zl);break;default:throw Error(i(329))}}}return rc(e,Qe()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=Hl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Vl,Vl=n,null!==t&&ac(t)),e}function ac(e){null===Vl?Vl=e:Vl.push.apply(Vl,e)}function sc(e,t){for(t&=~Nl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&jl)throw Error(i(327));_c();var t=ft(e,0);if(!(1&t))return rc(e,Qe()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Il,fc(e,0),sc(e,t),rc(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Vl,Zl),rc(e,Qe()),null}function cc(e,t){var n=jl;jl|=1;try{return e(t)}finally{0===(jl=n)&&($l=Qe()+500,Vo&&Zo())}}function uc(e){null!==Yl&&0===Yl.tag&&!(6&jl)&&_c();var t=jl;jl|=1;var n=Sl.transition,r=bt;try{if(Sl.transition=null,bt=1,e)return e()}finally{bt=r,Sl.transition=n,!(6&(jl=t))&&Zo()}}function dc(){Dl=Ll.current,Mo(Ll)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ao();break;case 3:Qi(),Mo(Po),Mo(ko),ra();break;case 5:Ji(r);break;case 4:Qi();break;case 13:case 19:Mo(ea);break;case 10:ji(r.type._context);break;case 22:case 23:dc()}n=n.return}if(kl=e,Pl=e=Lc(e.current,null),Tl=Dl=t,Al=0,Il=null,Nl=Fl=Rl=0,Vl=Hl=null,null!==Di){for(t=0;t<Di.length;t++)if(null!==(r=(n=Di[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Di=null}return e}function hc(e,t){for(;;){var n=Pl;try{if(Si(),oa.current=Xa,ua){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,fa=0,Ml.current=null,null===n||null===n.return){Al=1,Il=t,Pl=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Tl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,vs(p,s,l,0,t),1&p.mode&&ms(a,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ms(a,u,t),mc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mi(cs(c,l));break e}}a=c=cs(c,l),4!==Al&&(Al=2),null===Hl?Hl=[a]:Hl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,$i(a,hs(0,c,t));break e;case 1:l=c;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Wl&&Wl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,$i(a,ps(a,l,t));break e}}a=a.return}while(null!==a)}Cc(n)}catch(e){t=e,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function pc(){var e=El.current;return El.current=Xa,null===e?Xa:e}function mc(){0!==Al&&3!==Al&&2!==Al||(Al=4),null===kl||!(268435455&Rl)&&!(268435455&Fl)||sc(kl,Tl)}function gc(e,t){var n=jl;jl|=2;var r=pc();for(kl===e&&Tl===t||(Zl=null,fc(e,t));;)try{vc();break}catch(t){hc(e,t)}if(Si(),jl=n,El.current=r,null!==Pl)throw Error(i(261));return kl=null,Tl=0,Al}function vc(){for(;null!==Pl;)bc(Pl)}function yc(){for(;null!==Pl&&!qe();)bc(Pl)}function bc(e){var t=xl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?Cc(e):Pl=t,Ml.current=null}function Cc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ys(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Al=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gs(n,t,Dl)))return void(Pl=n);if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Al&&(Al=5)}function wc(e,t,n){var r=bt,o=Sl.transition;try{Sl.transition=null,bt=1,function(e,t,n,r){do{_c()}while(null!==Yl);if(6&jl)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===kl&&(Pl=kl=null,Tl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gl||(Gl=!0,kc(tt,(function(){return _c(),null}))),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=Sl.transition,Sl.transition=null;var s=bt;bt=1;var l=jl;jl|=4,Ml.current=null,function(e,t){if(eo=zt,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===o&&(l=s),h===a&&++d===r&&(c=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},zt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=t.stateNode.containerInfo;1===C.nodeType?C.textContent="":9===C.nodeType&&C.documentElement&&C.removeChild(C.documentElement);break;default:throw Error(i(163))}}catch(e){Oc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),gl(n,e),pr(to),zt=!!eo,to=eo=null,e.current=n,yl(n,e,o),Ke(),jl=l,bt=s,Sl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Yl=e,ql=o),0===(a=e.pendingLanes)&&(Wl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(zl)throw zl=!1,e=Ul,Ul=null,e;!!(1&ql)&&0!==e.tag&&_c(),1&(a=e.pendingLanes)?e===Ql?Kl++:(Kl=0,Ql=e):Kl=0,Zo()}(e,t,n,r)}finally{Sl.transition=o,bt=r}return null}function _c(){if(null!==Yl){var e=Ct(ql),t=Sl.transition,n=bt;try{if(Sl.transition=null,bt=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,ql=0,6&jl)throw Error(i(331));var o=jl;for(jl|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;if(16&Xs.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Xs=f;else for(;null!==Xs;){var h=(d=Xs).sibling,p=d.return;if(il(d),d===u){Xs=null;break}if(null!==h){h.return=p,Xs=h;break}Xs=p}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Xs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(2048&(a=Xs).flags)switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Xs=y;break e}Xs=a.return}}var b=e.current;for(Xs=b;null!==Xs;){var C=(s=Xs).child;if(2064&s.subtreeFlags&&null!==C)C.return=s,Xs=C;else e:for(s=b;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Oc(l,l.return,e)}if(l===s){Xs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Xs=w;break e}Xs=l.return}}if(jl=o,Zo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Sl.transition=t}}return!1}function xc(e,t,n){e=Vi(e,t=hs(0,t=cs(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Oc(e,t,n){if(3===e.tag)xc(e,e,n);else for(;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wl||!Wl.has(r))){t=Vi(t,e=ps(t,e=cs(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function Ec(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,kl===e&&(Tl&n)===n&&(4===Al||3===Al&&(130023424&Tl)===Tl&&500>Qe()-Bl?fc(e,0):Nl|=n),rc(e,t)}function Mc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=ec();null!==(e=Ii(e,t))&&(vt(e,t,n),rc(e,n))}function Sc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Mc(e,n)}function jc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Mc(e,n)}function kc(e,t){return Ge(e,t)}function Pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tc(e,t,n,r){return new Pc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lc(e,t){var n=e.alternate;return null===n?((n=Tc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ac(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Ic(n.children,o,a,t);case O:s=8,o|=8;break;case E:return(e=Tc(12,n,t,2|o)).elementType=E,e.lanes=a,e;case k:return(e=Tc(13,n,t,o)).elementType=k,e.lanes=a,e;case P:return(e=Tc(19,n,t,o)).elementType=P,e.lanes=a,e;case L:return Rc(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case M:s=10;break e;case S:s=9;break e;case j:s=11;break e;case T:s=14;break e;case D:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Tc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ic(e,t,n,r){return(e=Tc(7,e,r,t)).lanes=n,e}function Rc(e,t,n,r){return(e=Tc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Tc(6,e,null,t)).lanes=n,e}function Nc(e,t,n){return(t=Tc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vc(e,t,n,r,o,i,a,s,l){return e=new Hc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Tc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fi(i),e}function Bc(e){if(!e)return jo;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Lo(n))return Ro(e,n,t)}return t}function $c(e,t,n,r,o,i,a,s,l){return(e=Vc(n,r,!0,e,0,i,0,s,l)).context=Bc(null),n=e.current,(i=Hi(r=ec(),o=tc(n))).callback=null!=t?t:null,Vi(n,i,o),e.current.lanes=o,vt(e,o,r),rc(e,r),e}function Zc(e,t,n,r){var o=t.current,i=ec(),a=tc(o);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Hi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Vi(o,t,a))&&(nc(e,o,a,i),Bi(e,o,a)),a}function zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){Uc(e,t),(e=e.alternate)&&Uc(e,t)}xl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)bs=!0;else{if(!(e.lanes&n||128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:ks(t),pi();break;case 5:Xi(t);break;case 1:Lo(t.type)&&Fo(t);break;case 4:Ki(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;So(xi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(So(ea,1&ea.current),t.flags|=128,null):n&t.child.childLanes?Fs(e,t,n):(So(ea,1&ea.current),null!==(e=zs(e,t,n))?e.sibling:null);So(ea,1&ea.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return $s(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),So(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Os(e,t,n)}return zs(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,ii&&1048576&t.flags&&ei(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var o=Do(t,ko.current);Pi(t,n),o=ga(null,t,r,e,o,n);var a=va();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(a=!0,Fo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Fi(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,r,e,n),t=js(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),Cs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===T)return 14}return 2}(r),e=ns(r,e),o){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=_s(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ms(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(ks(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ni(e,t),Zi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Ps(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=_i(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){t=zs(e,t,n);break e}Cs(e,t,r,n)}t=t.child}return t;case 5:return Xi(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Es(e,t),Cs(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Fs(e,t,n);case 4:return Ki(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wi(t,null,r,n):Cs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ws(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return Cs(e,t,t.pendingProps,n),t.child;case 8:case 12:return Cs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,So(xi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Po.current){t=zs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Hi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),ki(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),ki(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Cs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Pi(t,n),r=r(o=Ti(o)),t.flags|=1,Cs(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),_s(e,t,r,o=ns(r.type,o),n);case 15:return xs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Zs(e,t),t.tag=1,Lo(r)?(e=!0,Fo(t)):e=!1,Pi(t,n),as(t,r,o),ls(t,r,o,n),js(null,t,r,!0,e,n);case 19:return $s(e,t,n);case 22:return Os(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function qc(e){this._internalRoot=e}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Jc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=zc(a);s.call(e)}}Zc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=zc(a);i.call(e)}}var a=$c(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=a,e[mo]=a.current,$r(8===e.nodeType?e.parentNode:e),uc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=zc(l);s.call(e)}}var l=Vc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[mo]=l.current,$r(8===e.nodeType?e.parentNode:e),uc((function(){Zc(t,l,n,r)})),l}(n,t,e,o,r);return zc(a)}qc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Zc(e,t,null,null)},qc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Zc(null,e,null,null)})),t[mo]=null}},qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ot();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Ft(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),rc(t,Qe()),!(6&jl)&&($l=Qe()+500,Zo()))}break;case 13:uc((function(){var t=Ii(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),Wc(e,1)}},_t=function(e){if(13===e.tag){var t=Ii(e,134217728);null!==t&&nc(t,e,134217728,ec()),Wc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),n=Ii(e,t);null!==n&&nc(n,e,t,ec()),Wc(e,t)}},Ot=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},_e=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=_o(r);if(!o)throw Error(i(90));G(r),X(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},je=cc,ke=uc;var eu={usingClientEntryPoint:!1,Events:[Co,wo,_o,Me,Se,cc]},tu={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{ot=ru.inject(nu),it=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Kc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Vc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,$r(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=Ue(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Kc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=$c(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,$r(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new qc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},22671:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateReflectMetadata=function(e,t,n,o){const i=o((0,r.getReflectMetadata)(e,t)??n);Reflect.defineMetadata(t,i,e)};const r=n(3654)},22777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3089);async function o(e,t){let n=0;for(const r of e)await t(r,n,e),n++}async function i(e,t){await Promise.all(e.map(t))}function a(e,t,n){const o=new r.DeferredPromise,i=e.add(((...e)=>{t(...e)&&(i.remove(),o.resolve())}));return n&&n.catch((e=>{i.remove(),o.reject(e)})),s(o.promise)}function s(e){return e.catch((()=>{})),e}t.serialForEach=o,t.serialMap=async function(e,t){const n=[];return await o(e,(async(e,r,o)=>{n.push(await t(e,r,o))})),n},t.serialFilter=async function(e,t){const n=[];return await o(e,(async(e,r,o)=>{await t(e,r,o)&&n.push(e)})),n},t.parallelForEach=i,t.parallelMap=async function(e,t){const n=[];return await i(e,(async(e,r,o)=>{n[r]=await t(e,r,o)})),n},t.parallelFilter=async function(e,t){const n=[];return await i(e,(async(e,r,o)=>{n[r]=await t(e,r,o)})),e.filter(((e,t)=>n[t]))},t.withStrictTimeout=function(e,t,n){const r=new Promise(((t,r)=>setTimeout((()=>r(new Error(n))),e)));return s(Promise.race([r,t]))},t.withTimeout=function(e,t){const n=new Promise((t=>setTimeout((()=>t([!0,void 0])),e))),r=t.then((e=>[!1,e]));return Promise.race([n,r])},t.untilTrue=function(e,t,n){return t()?Promise.resolve():a(e,t,n)},t.untilSignal=a,t.allowReject=s},22867:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMarkdownTextContent=t.renderMarkdown=void 0;const o=(0,r(n(50383)).default)("zero",{breaks:!0});function i(e){return o.render(e)}o.enable("hr"),o.enable("paragraph"),o.enable("newline"),o.enable("heading"),o.enable("lheading"),o.enable("list"),o.enable("blockquote"),o.enable("emphasis"),o.enable("image"),t.renderMarkdown=i,t.getMarkdownTextContent=function(e){const t=i(e),n=document.createElement("span");n.innerHTML=t;const r=n.textContent||"";return n.remove(),r}},23108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tagged=function(e,t){return(0,o.createTaggedDecorator)(new r.Metadata(e,t))};const r=n(4045),o=n(33353)},23166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeRefs=void 0,t.mergeRefs=function(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!==e&&(e.current=t)}))}}},23297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorHandler=void 0;const r=n(50492);class o{constructor(e){e instanceof r.BatchError?(this.errors=[],e.errors.forEach((e=>{e instanceof Error?this.errors.push(e):this.errors.push(new Error(e))}))):e instanceof Error?this.errors=[e]:this.errors=[],this.handledErrors=[],this.unhandledErrors=this.errors.slice()}static for(e){return new o(e)}processError(e,t){return this.handleErrorsOfType(e).forEach(t.bind(this)),this}processErrors(e,t){const n=this.handleErrorsOfType(e);return n.length>0&&t.call(this,n),this}processRemaining(e){return this.unhandledErrors.length>0&&e(this.unhandledErrors),this}throwRemaining(){const e=this.unhandledErrors;if(e.length>1)throw new r.BatchError(e);if(1===e.length)throw e[0];return this}log(){function e(e){var t;if(e instanceof r.BatchError)new o(e).log();else{if(console.groupCollapsed(`${e.name}: ${e.message}`),console.log(null===(t=null==e?void 0:e.stack)||void 0===t?void 0:t.replace(/^[^\n]*\n/,"")),e instanceof r.CustomError&&e.metadata){const{metadata:t}=e;console.groupCollapsed("Additional Metadata...");for(const e in t)console.group(e),console.log(t[e]),console.groupEnd();console.groupEnd()}console.groupEnd()}}return this.errors.length>1?(console.groupCollapsed(`%cError (${this.errors.length})`,"border: 1px solid #FFD6D6; background: #FFF0F0; color: blue; width: 100%;"),this.errors.forEach(e),console.groupEnd()):e(this.errors[0]),this}handleErrorsOfType(e){return this.unhandledErrors.slice().filter((t=>{const n=t instanceof e;if(n&&!this.handledErrors.includes(t)){const e=this.unhandledErrors.indexOf(t);e>=0&&this.unhandledErrors.splice(e,1),this.handledErrors.push(t)}return n}))}}t.ErrorHandler=o},23340:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.formatYear=t.formatWeekday=t.formatShortWeekday=t.formatMonthYear=t.formatMonth=t.formatLongDate=t.formatDay=t.formatDate=void 0;var o=r(n(4081)),i=new Map;function a(e){return function(t,n){return function(e){return function(t,n){var r=t||(0,o.default)();i.has(r)||i.set(r,new Map);var a=i.get(r);return a.has(e)||a.set(e,new Intl.DateTimeFormat(r||void 0,e).format),a.get(e)(n)}}(e)(t,function(e){var t=new Date(e);return new Date(t.setHours(12))}(n))}}t.formatDate=a({day:"numeric",month:"numeric",year:"numeric"}),t.formatDay=a({day:"numeric"}),t.formatLongDate=a({day:"numeric",month:"long",year:"numeric"}),t.formatMonth=a({month:"long"}),t.formatMonthYear=a({month:"long",year:"numeric"}),t.formatShortWeekday=a({weekday:"short"}),t.formatWeekday=a({weekday:"long"}),t.formatYear=a({year:"numeric"})},23354:(e,t,n)=>{"use strict";t.setISOWeek=function(e,t,n){const i=(0,o.toDate)(e,n?.in),a=(0,r.getISOWeek)(i,n)-t;return i.setDate(i.getDate()-7*a),i};var r=n(18926),o=n(34446)},23359:(e,t,n)=>{"use strict";t.setDayOfYear=function(e,t,n){const o=(0,r.toDate)(e,n?.in);return o.setMonth(0),o.setDate(t),o};var r=n(34446)},23498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPropertyMetadataFromLegacyMetadata=function(e,t,n){try{return(0,i.getClassElementMetadataFromLegacyMetadata)(n)}catch(n){throw r.InversifyCoreError.isErrorOfKind(n,o.InversifyCoreErrorKind.missingInjectionDecorator)?new r.InversifyCoreError(o.InversifyCoreErrorKind.missingInjectionDecorator,`Expected a single @inject, @multiInject or @unmanaged decorator at type "${e.name}" at property "${t.toString()}"`,{cause:n}):n}};const r=n(21773),o=n(94931),i=n(44063)},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},23947:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74848),o=n(96540),i=n(94037),a=n(39034);function s(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=s(o);const c=o.createContext({});function u(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const d=e=>Array.isArray(e);function f(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function h(e){return"string"==typeof e||Array.isArray(e)}function p(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function m(e,t,n,r){if("function"==typeof t){const[o,i]=p(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=p(r);t=t(void 0!==n?n:e.custom,o,i)}return t}function g(e,t,n){const r=e.getProps();return m(r,t,void 0!==n?n:r.custom,e)}const v=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],y=["initial",...v],b={skipAnimations:!1,useManualTiming:!1},C=["read","resolveKeyframes","update","preRender","render","postRender"];function w(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=C.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:(e,o=!1,a=!1)=>{const s=a&&r?t:n;return o&&i.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{a=e,r?o=!0:(r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,o&&(o=!1,l.process(e)))}};return l}(i),e)),{}),{read:s,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:f}=a,h=()=>{const i=b.useManualTiming?o.timestamp:performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,s.process(o),l.process(o),c.process(o),u.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(h))};return{schedule:C.reduce(((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(h)),s.schedule(t,i,a)),t}),{}),cancel:e=>{for(let t=0;t<C.length;t++)a[C[t]].cancel(e)},state:o,steps:a}}const{schedule:_,cancel:x,state:O,steps:E}=w("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.noop,!0),M=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],S=new Set(M),j=new Set(["width","height","top","left","right","bottom",...M]);let k;function P(){k=void 0}const T={now:()=>(void 0===k&&T.set(O.isProcessing||b.useManualTiming?O.timestamp:performance.now()),k),set:e=>{k=e,queueMicrotask(P)}};function D(e,t){-1===e.indexOf(t)&&e.push(t)}function L(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class A{constructor(){this.subscriptions=[]}add(e){return D(this.subscriptions,e),()=>L(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function I(e,t){return t?e*(1e3/t):0}new Set;const R={current:void 0};class F{constructor(e,t={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=T.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=T.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new A);const n=this.events[e].add(t);return"change"===e?()=>{n(),_.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return R.current&&R.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=T.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return I(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function N(e,t){return new F(e,t)}function H(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,N(n))}function V(e,t){const n=g(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)H(e,t,(a=i[t],d(a)?a[a.length-1]||0:a));var a}const B=e=>Boolean(e&&e.getVelocity);function $(e,t){const n=e.getValue("willChange");if(r=n,Boolean(B(r)&&r.add))return n.add(t);var r}const Z=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),z="framerAppearId",U="data-"+Z(z);function W(e){return e.props[U]}const G={current:!1},Y=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function q(e,t,n,r){if(e===t&&n===r)return i.noop;return o=>0===o||1===o?o:Y(function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Y(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(o,0,1,e,n),t,r)}const K=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Q=e=>t=>1-e(1-t),X=q(.33,1.53,.69,.99),J=Q(X),ee=K(J),te=e=>(e*=2)<1?.5*J(e):.5*(2-Math.pow(2,-10*(e-1))),ne=e=>1-Math.sin(Math.acos(e)),re=Q(ne),oe=K(ne),ie=e=>/^0[^.\s]+$/u.test(e),ae=(e,t,n)=>n>t?t:n<e?e:n,se={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},le={...se,transform:e=>ae(0,1,e)},ce={...se,default:1},ue=e=>Math.round(1e5*e)/1e5,de=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,fe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,he=(e,t)=>n=>Boolean("string"==typeof n&&fe.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),pe=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[o,i,a,s]=r.match(de);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},me={...se,transform:e=>Math.round((e=>ae(0,255,e))(e))},ge={test:he("rgb","red"),parse:pe("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+me.transform(e)+", "+me.transform(t)+", "+me.transform(n)+", "+ue(le.transform(r))+")"},ve={test:he("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:ge.transform},ye=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),be=ye("deg"),Ce=ye("%"),we=ye("px"),_e=ye("vh"),xe=ye("vw"),Oe={...Ce,parse:e=>Ce.parse(e)/100,transform:e=>Ce.transform(100*e)},Ee={test:he("hsl","hue"),parse:pe("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ce.transform(ue(t))+", "+Ce.transform(ue(n))+", "+ue(le.transform(r))+")"},Me={test:e=>ge.test(e)||ve.test(e)||Ee.test(e),parse:e=>ge.test(e)?ge.parse(e):Ee.test(e)?Ee.parse(e):ve.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ge.transform(e):Ee.transform(e)},Se=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,je="number",ke="color",Pe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Te(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(Pe,(e=>(Me.test(e)?(r.color.push(i),o.push(ke),n.push(Me.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(je),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:a,indexes:r,types:o}}function De(e){return Te(e).values}function Le(e){const{split:t,types:n}=Te(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){const t=n[i];o+=t===je?ue(e[i]):t===ke?Me.transform(e[i]):e[i]}return o}}const Ae=e=>"number"==typeof e?0:e,Ie={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(de))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Se))||void 0===n?void 0:n.length)||0)>0},parse:De,createTransformer:Le,getAnimatableNone:function(e){const t=De(e);return Le(e)(t.map(Ae))}},Re=new Set(["brightness","contrast","saturate","opacity"]);function Fe(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(de)||[];if(!r)return e;const o=n.replace(r,"");let i=Re.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Ne=/\b([a-z-]*)\(.*?\)/gu,He={...Ie,getAnimatableNone:e=>{const t=e.match(Ne);return t?t.map(Fe).join(" "):e}},Ve={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,radius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,backgroundPositionX:we,backgroundPositionY:we},Be={rotate:be,rotateX:be,rotateY:be,rotateZ:be,scale:ce,scaleX:ce,scaleY:ce,scaleZ:ce,skew:be,skewX:be,skewY:be,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:le,originX:Oe,originY:Oe,originZ:we},$e={...se,transform:Math.round},Ze={...Ve,...Be,zIndex:$e,size:we,fillOpacity:le,strokeOpacity:le,numOctaves:$e},ze={...Ze,color:Me,backgroundColor:Me,outlineColor:Me,fill:Me,stroke:Me,borderColor:Me,borderTopColor:Me,borderRightColor:Me,borderBottomColor:Me,borderLeftColor:Me,filter:He,WebkitFilter:He},Ue=e=>ze[e];function We(e,t){let n=Ue(e);return n!==He&&(n=Ie),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ge=new Set(["auto","none","0"]),Ye=e=>e===se||e===we,qe=(e,t)=>parseFloat(e.split(", ")[t]),Ke=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return qe(o[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?qe(t[1],e):0}},Qe=new Set(["x","y","z"]),Xe=M.filter((e=>!Qe.has(e))),Je={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ke(4,13),y:Ke(5,14)};Je.translateX=Je.x,Je.translateY=Je.y;const et=new Set;let tt=!1,nt=!1;function rt(){if(nt){const e=Array.from(et).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return Xe.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}nt=!1,tt=!1,et.forEach((e=>e.complete())),et.clear()}function ot(){et.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(nt=!0)}))}class it{constructor(e,t,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(et.add(this),tt||(tt=!0,_.read(ot),_.resolveKeyframes(rt))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),et.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,et.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const at=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),st=e=>t=>"string"==typeof t&&t.startsWith(e),lt=st("--"),ct=st("var(--"),ut=e=>!!ct(e)&&dt.test(e.split("/*")[0].trim()),dt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ft=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ht(e,t,n=1){i.invariant(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=ft.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const e=a.trim();return at(e)?parseFloat(e):e}return ut(o)?ht(o,t,n+1):o}const pt=e=>t=>t.test(e),mt=[se,we,Ce,be,xe,_e,{test:e=>"auto"===e,parse:e=>e}],gt=e=>mt.find(pt(e));class vt extends it{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),ut(r))){const o=ht(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!j.has(n)||2!==e.length)return;const[r,o]=e,i=gt(r),a=gt(o);if(i!==a)if(Ye(i)&&Ye(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||ie(r))&&n.push(t);var r;n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"==typeof t&&!Ge.has(t)&&Te(t).values.length&&(r=e[o]),o++}if(r&&n)for(const o of t)e[o]=We(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Je[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,a=r[i];r[i]=Je[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}const yt=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!Ie.test(e)&&"0"!==e||e.startsWith("url("))),bt=e=>null!==e;function Ct(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(bt),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}class wt{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=T.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(ot(),rt()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=T.now(),this.hasAttemptedResolve=!0;const{name:n,type:r,velocity:o,delay:s,onComplete:l,onUpdate:c,isGenerator:u}=this.options;if(!u&&!function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const s=e[e.length-1],l=yt(o,t),c=yt(s,t);return i.warning(l===c,`You are trying to animate ${t} from "${o}" to "${s}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${s} via the \`style\` property.`),!(!l||!c)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||a.isGenerator(n))&&r)}(e,n,r,o)){if(G.current||!s)return c&&c(Ct(e,this.options,t)),l&&l(),void this.resolveFinishedPromise();this.options.duration=0}const d=this.initPlayback(e,t);!1!==d&&(this._resolved={keyframes:e,finalKeyframe:t,...d},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}const _t=(e,t,n)=>e+(t-e)*n;function xt(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ot(e,t){return n=>n>0?t:e}const Et=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},Mt=[ve,ge,Ee];function St(e){const t=(n=e,Mt.find((e=>e.test(n))));var n;if(i.warning(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===Ee&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=xt(s,r,e+1/3),i=xt(s,r,e),a=xt(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(r)),r}const jt=(e,t)=>{const n=St(e),r=St(t);if(!n||!r)return Ot(e,t);const o={...n};return e=>(o.red=Et(n.red,r.red,e),o.green=Et(n.green,r.green,e),o.blue=Et(n.blue,r.blue,e),o.alpha=_t(n.alpha,r.alpha,e),ge.transform(o))},kt=(e,t)=>n=>t(e(n)),Pt=(...e)=>e.reduce(kt),Tt=new Set(["none","hidden"]);function Dt(e,t){return n=>_t(e,t,n)}function Lt(e){return"number"==typeof e?Dt:"string"==typeof e?ut(e)?Ot:Me.test(e)?jt:Rt:Array.isArray(e)?At:"object"==typeof e?Me.test(e)?jt:It:Ot}function At(e,t){const n=[...e],r=n.length,o=e.map(((e,n)=>Lt(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function It(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Lt(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const Rt=(e,t)=>{const n=Ie.createTransformer(t),r=Te(e),o=Te(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Tt.has(e)&&!o.values.length||Tt.has(t)&&!r.values.length?function(e,t){return Tt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Pt(At(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][o[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[i]=l,o[a]++}return r}(r,o),o.values),n):(i.warning(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Ot(e,t))};function Ft(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?_t(e,t,n):Lt(e)(e,t)}function Nt(e,t,n){const r=Math.max(t-5,0);return I(n-e(r),t-r)}const Ht=.01,Vt=2,Bt=.005,$t=.5;function Zt({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let o,a;i.warning(e<=i.secondsToMilliseconds(10),"Spring duration must be 10 seconds or less");let s=1-t;s=ae(.05,1,s),e=ae(.01,10,i.millisecondsToSeconds(e)),s<1?(o=t=>{const r=t*s,o=r*e;return.001-(r-n)/Ut(t,s)*Math.exp(-o)},a=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Ut(Math.pow(t,2),s);return(.001-o(t)>0?-1:1)*((i-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,a=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let r=n;for(let n=1;n<zt;n++)r-=e(r)/t(r);return r}(o,a,5/e);if(e=i.secondsToMilliseconds(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const zt=12;function Ut(e,t){return e*Math.sqrt(1-t*t)}const Wt=["duration","bounce"],Gt=["stiffness","damping","mass"];function Yt(e,t){return t.some((t=>void 0!==e[t]))}function qt(e=.3,t=.3){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],c={done:!1,value:s},{stiffness:u,damping:d,mass:f,duration:h,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Yt(e,Gt)&&Yt(e,Wt))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,i=2*ae(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:1,stiffness:o,damping:i}}else{const n=Zt(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-i.millisecondsToSeconds(n.velocity||0)}),g=p||0,v=d/(2*Math.sqrt(u*f)),y=l-s,b=i.millisecondsToSeconds(Math.sqrt(u/f)),C=Math.abs(y)<5;let w;if(r||(r=C?Ht:Vt),o||(o=C?Bt:$t),v<1){const e=Ut(b,v);w=t=>{const n=Math.exp(-v*b*t);return l-n*((g+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}}else if(1===v)w=e=>l-Math.exp(-b*e)*(y+(g+b*y)*e);else{const e=b*Math.sqrt(v*v-1);w=t=>{const n=Math.exp(-v*b*t),r=Math.min(e*t,300);return l-n*((g+v*b*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}const _={calculatedDuration:m&&h||null,next:e=>{const t=w(e);if(m)c.done=e>=h;else{let n=0;v<1&&(n=0===e?i.secondsToMilliseconds(g):Nt(w,e,t));const a=Math.abs(n)<=r,s=Math.abs(l-t)<=o;c.done=a&&s}return c.value=c.done?l:t,c},toString:()=>{const e=Math.min(a.calcGeneratorDuration(_),a.maxGeneratorDuration),t=a.generateLinearEasing((t=>_.next(e*t).value),e,30);return e+"ms "+t}};return _}function Kt({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let p=n*t;const m=d+p,g=void 0===a?m:a(m);g!==m&&(p=g-d);const v=e=>-p*Math.exp(-e/r),y=e=>g+v(e),b=e=>{const t=v(e),n=y(e);f.done=Math.abs(t)<=c,f.value=f.done?g:n};let C,w;const _=e=>{var t;t=f.value,(void 0!==s&&t<s||void 0!==l&&t>l)&&(C=e,w=qt({keyframes:[f.value,h(f.value)],velocity:Nt(y,e,f.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return _(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==C||(t=!0,b(e),_(e)),void 0!==C&&e>=C?w.next(e-C):(!t&&b(e),f)}}}const Qt=q(.42,0,1,1),Xt=q(0,0,.58,1),Jt=q(.42,0,.58,1),en=e=>Array.isArray(e)&&"number"!=typeof e[0],tn={linear:i.noop,easeIn:Qt,easeInOut:Jt,easeOut:Xt,circIn:ne,circInOut:oe,circOut:re,backIn:J,backInOut:ee,backOut:X,anticipate:te},nn=e=>{if(a.isBezierDefinition(e)){i.invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return q(t,n,r,o)}return"string"==typeof e?(i.invariant(void 0!==tn[e],`Invalid easing type '${e}'`),tn[e]):e};function rn(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if(i.invariant(a===t.length,"Both input and output ranges must be the same length"),1===a)return()=>t[0];if(2===a&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=function(e,t,n){const r=[],o=n||Ft,a=e.length-1;for(let n=0;n<a;n++){let a=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||i.noop:t;a=Pt(e,a)}r.push(a)}return r}(t,r,o),c=l.length,u=n=>{if(s&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const o=i.progress(e[r],e[r+1],n);return l[r](o)};return n?t=>u(ae(e[0],e[a-1],t)):u}function on(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=i.progress(0,t,r);e.push(_t(n,1,o))}}function an(e){const t=[0];return on(t,e.length-1),t}function sn({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=en(r)?r.map(nn):nn(r),i={done:!1,value:t[0]},a=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:an(t),e),s=rn(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map((()=>c||Jt)).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const ln=e=>{const t=({timestamp:t})=>e(t);return{start:()=>_.update(t,!0),stop:()=>x(t),now:()=>O.isProcessing?O.timestamp:T.now()}},cn={decay:Kt,inertia:Kt,tween:sn,keyframes:sn,spring:qt},un=e=>e/100;class dn extends wt{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:r,keyframes:o}=this.options,i=(null==r?void 0:r.KeyframeResolver)||it;this.resolver=new i(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=this.options,s=a.isGenerator(t)?t:cn[t]||sn;let l,c;s!==sn&&"number"!=typeof e[0]&&(l=Pt(un,Ft(e[0],e[1])),e=[0,100]);const u=s({...this.options,keyframes:e});"mirror"===o&&(c=s({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===u.calculatedDuration&&(u.calculatedDuration=a.calcGeneratorDuration(u));const{calculatedDuration:d}=u,f=d+r;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:f*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:f,repeatType:h,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let y=this.currentTime,b=o;if(f){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,f+1),Boolean(t%2)&&("reverse"===h?(n=1-n,p&&(n-=p/u)):"mirror"===h&&(b=i)),y=ae(0,1,n)*u}const C=v?{done:!1,value:s[0]}:b.next(y);a&&(C.value=a(C.value));let{done:w}=C;v||null===l||(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const _=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return _&&void 0!==r&&(C.value=Ct(s,this.options,r)),m&&m(C.value),_&&this.finish(),C}get duration(){const{resolved:e}=this;return e?i.millisecondsToSeconds(e.calculatedDuration):0}get time(){return i.millisecondsToSeconds(this.currentTime)}set time(e){e=i.secondsToMilliseconds(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=i.millisecondsToSeconds(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=ln,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}function fn(e){return new dn(e)}const hn=new Set(["opacity","clipPath","filter","transform"]);function pn(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:l="easeInOut",times:c}={}){const u={[t]:n};c&&(u.offset=c);const d=a.mapEasingToNativeEasing(l,o);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}const mn=i.memo((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),gn={anticipate:te,backInOut:ee,circInOut:oe};class vn extends wt{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new vt(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:r,ease:o,type:i,motionValue:s,name:l,startTime:c}=this.options;if(!s.owner||!s.owner.current)return!1;var u;if("string"==typeof o&&a.supportsLinearEasing()&&o in gn&&(o=gn[o]),u=this.options,a.isGenerator(u.type)||"spring"===u.type||!a.isWaapiSupportedEasing(u.ease)){const{onComplete:t,onUpdate:a,motionValue:s,element:l,...c}=this.options,u=function(e,t){const n=new dn({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,r=u.times,o=u.ease,i="keyframes"}const d=pn(s.owner.current,l,e,{...this.options,duration:n,times:r,ease:o});return d.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(a.attachTimeline(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:n}=this.options;s.set(Ct(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:n,times:r,type:i,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return i.millisecondsToSeconds(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return i.millisecondsToSeconds(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=i.secondsToMilliseconds(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return i.noop;const{animation:n}=t;a.attachTimeline(n,e)}else this.pendingTimeline=e;return i.noop}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:o,ease:a,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:l,element:c,...u}=this.options,d=new dn({...u,keyframes:n,duration:r,type:o,ease:a,times:s,isGenerator:!0}),f=i.secondsToMilliseconds(this.time);e.setWithVelocity(d.sample(f-10).value,d.sample(f).value,10)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:s,transformTemplate:l}=t.owner.getProps();return mn()&&n&&hn.has(n)&&!s&&!l&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}}const yn={type:"spring",stiffness:500,damping:25,restSpeed:10},bn={type:"keyframes",duration:.8},Cn={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wn=(e,{keyframes:t})=>t.length>2?bn:S.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:yn:Cn,_n=(e,t,n,r={},o,s)=>l=>{const c=a.getValueTransition(r,e)||{},u=c.delay||r.delay||0;let{elapsed:d=0}=r;d-=i.secondsToMilliseconds(u);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-d,onUpdate:e=>{t.set(e),c.onUpdate&&c.onUpdate(e)},onComplete:()=>{l(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:s?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(c)||(f={...f,...wn(e,f)}),f.duration&&(f.duration=i.secondsToMilliseconds(f.duration)),f.repeatDelay&&(f.repeatDelay=i.secondsToMilliseconds(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let h=!1;if((!1===f.type||0===f.duration&&!f.repeatDelay)&&(f.duration=0,0===f.delay&&(h=!0)),(G.current||b.skipAnimations)&&(h=!0,f.duration=0,f.delay=0),h&&!s&&void 0!==t.get()){const e=Ct(f.keyframes,c);if(void 0!==e)return _.update((()=>{f.onUpdate(e),f.onComplete()})),new a.GroupPlaybackControls([])}return!s&&vn.supports(f)?new vn(f):new dn(f)};function xn({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function On(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:l,...c}=t;r&&(s=r);const u=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const t in c){const r=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=c[t];if(void 0===o||d&&xn(d,t))continue;const l={delay:n,...a.getValueTransition(s||{},t)};let f=!1;if(window.MotionHandoffAnimation){const n=W(e);if(n){const e=window.MotionHandoffAnimation(n,t,_);null!==e&&(l.startTime=e,f=!0)}}$(e,t),r.start(_n(t,r,o,e.shouldReduceMotion&&j.has(t)?{type:!1}:l,e,f));const h=r.animation;h&&u.push(h)}return l&&Promise.all(u).then((()=>{_.update((()=>{l&&V(e,l)}))})),u}function En(e,t,n={}){var r;const o=g(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const a=o?()=>Promise.all(On(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Mn).forEach(((e,r)=>{e.notify("AnimationStart",t),a.push(En(e,t,{...i,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then((()=>t()))}return Promise.all([a(),s(n.delay)])}function Mn(e,t){return e.sortNodePosition(t)}function Sn(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>En(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=En(e,t,n);else{const o="function"==typeof t?g(e,t,n.custom):t;r=Promise.all(On(e,o,n))}return r.then((()=>{e.notify("AnimationComplete",t)}))}const jn=y.length;function kn(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&kn(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<jn;n++){const r=y[n],o=e.props[r];(h(o)||!1===o)&&(t[r]=o)}return t}const Pn=[...v].reverse(),Tn=v.length;function Dn(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>Sn(e,t,n))))}(e),n=An(),r=!0;const o=t=>(n,r)=>{var o;const i=g(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function i(i){const{props:a}=e,s=kn(e.parent)||{},l=[],c=new Set;let p={},m=1/0;for(let t=0;t<Tn;t++){const y=Pn[t],b=n[y],C=void 0!==a[y]?a[y]:s[y],w=h(C),_=y===i?b.isActive:null;!1===_&&(m=t);let x=C===s[y]&&C!==a[y]&&w;if(x&&r&&e.manuallyAnimateOnMount&&(x=!1),b.protectedKeys={...p},!b.isActive&&null===_||!C&&!b.prevProp||u(C)||"boolean"==typeof C)continue;const O=(g=b.prevProp,"string"==typeof(v=C)?v!==g:!!Array.isArray(v)&&!f(v,g));let E=O||y===i&&b.isActive&&!x&&w||t>m&&w,M=!1;const S=Array.isArray(C)?C:[C];let j=S.reduce(o(y),{});!1===_&&(j={});const{prevResolvedValues:k={}}=b,P={...k,...j},T=t=>{E=!0,c.has(t)&&(M=!0,c.delete(t)),b.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in P){const t=j[e],n=k[e];if(p.hasOwnProperty(e))continue;let r=!1;r=d(t)&&d(n)?!f(t,n):t!==n,r?null!=t?T(e):c.add(e):void 0!==t&&c.has(e)?T(e):b.protectedKeys[e]=!0}b.prevProp=C,b.prevResolvedValues=j,b.isActive&&(p={...p,...j}),r&&e.blockInitialAnimation&&(E=!1),E&&(!x||!O||M)&&l.push(...S.map((e=>({animation:e,options:{type:y}}))))}var g,v;if(c.size){const t={};c.forEach((n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=r?r:null})),l.push({animation:t})}let y=Boolean(l.length);return!r||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(y=!1),r=!1,y?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const a=i(t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=An(),r=!0}}}function Ln(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function An(){return{animate:Ln(!0),whileInView:Ln(),whileHover:Ln(),whileTap:Ln(),whileDrag:Ln(),whileFocus:Ln(),exit:Ln()}}class In{constructor(e){this.isMounted=!1,this.node=e}update(){}}let Rn=0;const Fn={animation:{Feature:class extends In{constructor(e){super(e),e.animationState||(e.animationState=Dn(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();u(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends In{constructor(){super(...arguments),this.id=Rn++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Nn=o.createContext({}),Hn=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Vn(e){return e.max-e.min}function Bn(e,t,n,r=.5){e.origin=r,e.originPoint=_t(t.min,t.max,e.origin),e.scale=Vn(n)/Vn(t),e.translate=_t(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function $n(e,t,n,r){Bn(e.x,t.x,n.x,r?r.originX:void 0),Bn(e.y,t.y,n.y,r?r.originY:void 0)}function Zn(e,t,n){e.min=n.min+t.min,e.max=e.min+Vn(t)}function zn(e,t,n){e.min=t.min-n.min,e.max=e.min+Vn(t)}function Un(e,t,n){zn(e.x,t.x,n.x),zn(e.y,t.y,n.y)}const Wn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Gn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Wn.has(e)}let Yn=e=>!Gn(e);function qn(e){e&&(Yn=t=>t.startsWith("on")?!Gn(t):e(t))}try{qn(n(39316).A)}catch(e){}function Kn(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Yn(o)||!0===n&&Gn(o)||!t&&!Gn(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const Qn=o.createContext(null);function Xn(e){return u(e.animate)||y.some((t=>h(e[t])))}function Jn(e){return Boolean(Xn(e)||e.variants)}function er(e){const t=o.useRef(null);return null===t.current&&(t.current=e()),t.current}function tr(e){const t=B(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const nr=e=>(t,n)=>{const r=o.useContext(Nn),i=o.useContext(Qn),a=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){const a={latestValues:rr(r,o,i,e),renderState:t()};return n&&(a.onMount=e=>n({props:r,current:e,...a}),a.onUpdate=e=>n(e)),a}(e,t,r,i);return n?a():er(a)};function rr(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=tr(i[e]);let{initial:a,animate:s}=e;const l=Xn(e),c=Jn(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let d=!!n&&!1===n.initial;d=d||!1===a;const f=d?s:a;if(f&&"boolean"!=typeof f&&!u(f)){const t=Array.isArray(f)?f:[f];for(let n=0;n<t.length;n++){const r=m(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];Array.isArray(t)&&(t=t[d?t.length-1:0]),null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}function or(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ir(e){return{point:{x:e.pageX,y:e.pageY}}}const ar=e=>t=>a.isPrimaryPointer(t)&&e(t,ir(t));function sr(e,t,n,r){return or(e,t,ar(n),r)}const lr="undefined"!=typeof window;function cr(e){return o.useEffect((()=>()=>e()),[])}const ur=lr?o.useLayoutEffect:o.useEffect;function dr(){const e=function(){const e=o.useRef(!1);return ur((()=>(e.current=!0,()=>{e.current=!1})),[]),e}(),[t,n]=o.useState(0),r=o.useCallback((()=>{e.current&&n(t+1)}),[t]);return[o.useCallback((()=>_.postRender(r)),[r]),t]}const fr=o.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class hr extends l.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function pr({children:e,isPresent:t}){const n=o.useId(),i=o.useRef(null),a=o.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=o.useContext(fr);return o.useInsertionEffect((()=>{const{width:e,height:r,top:o,left:l}=a.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${o}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(c)}}),[t]),r.jsx(hr,{isPresent:t,childRef:i,sizeRef:a,children:l.cloneElement(e,{ref:i})})}const mr=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:a,presenceAffectsLayout:s,mode:c})=>{const u=er(gr),d=o.useId(),f=o.useCallback((e=>{u.set(e,!0);for(const e of u.values())if(!e)return;i&&i()}),[u,i]),h=o.useMemo((()=>({id:d,initial:t,isPresent:n,custom:a,onExitComplete:f,register:e=>(u.set(e,!1),()=>u.delete(e))})),s?[Math.random(),f]:[n,f]);return o.useMemo((()=>{u.forEach(((e,t)=>u.set(t,!1)))}),[n]),l.useEffect((()=>{!n&&!u.size&&i&&i()}),[n]),"popLayout"===c&&(e=r.jsx(pr,{isPresent:n,children:e})),r.jsx(Qn.Provider,{value:h,children:e})};function gr(){return new Map}function vr(e=!0){const t=o.useContext(Qn);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,a=o.useId();o.useEffect((()=>{e&&i(a)}),[e]);const s=o.useCallback((()=>e&&r&&r(a)),[a,r,e]);return!n&&r?[!1,s]:[!0]}const yr=e=>e.key||"";function br(e){const t=[];return o.Children.forEach(e,(e=>{o.isValidElement(e)&&t.push(e)})),t}const Cr=o.createContext(null);function wr(e,t,n){const r=B(e)?e:N(e);return r.start(_n("",r,t,n)),r.animation}const _r=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function xr(e,t){return en(e)?e[_r(0,e.length,t)]:e}function Or(e){return"object"==typeof e&&!Array.isArray(e)}function Er(e,t,n,r){return"string"==typeof e&&Or(t)?a.resolveElements(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function Mr(e,t,n){return e*(t+1)}function Sr(e,t,n,r){var o;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(o=r.get(t))&&void 0!==o?o:e}function jr(e,t,n,r,o,i){!function(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(L(e,o),r--)}}(e,o,i);for(let a=0;a<t.length;a++)e.push({value:t[a],at:_t(o,i,r[a]),easing:xr(n,a)})}function kr(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function Pr(e,t){return e.at===t.at?null===e.value?1:null===t.value?-1:0:e.at-t.at}function Tr(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Dr(e,t){return t[e]||(t[e]=[]),t[e]}function Lr(e){return Array.isArray(e)?e:[e]}function Ar(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const Ir=e=>"number"==typeof e,Rr=e=>e.every(Ir),Fr=new WeakMap;function Nr(e){return e instanceof SVGElement&&"svg"!==e.tagName}const Hr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Vr={};for(const e in Hr)Vr[e]={isEnabled:t=>Hr[e].some((e=>!!t[e]))};const Br={current:null},$r={current:!1};function Zr(){if($r.current=!0,lr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Br.current=e.matches;e.addListener(t),t()}else Br.current=!1}const zr=[...mt,Me,Ie],Ur=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Wr{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=it,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=T.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,_.render(this.render,!1,!0))};const{latestValues:s,renderState:l,onUpdate:c}=i;this.onUpdate=c,this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Xn(t),this.isVariantNode=Jn(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==s[e]&&B(t)&&t.set(s[e],!1)}}mount(e){this.current=e,Fr.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),$r.current||Zr(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Br.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Fr.delete(this.current),this.projection&&this.projection.unmount(),x(this.notifyUpdate),x(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=S.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&_.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{r(),o(),i&&i(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Vr){const t=Vr[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ur.length;t++){const n=Ur[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if(B(o))e.addValue(r,o);else if(B(i))e.addValue(r,N(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,N(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=N(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=r&&("string"==typeof r&&(at(r)||ie(r))?r=parseFloat(r):(o=r,!zr.find(pt(o))&&Ie.test(t)&&(r=We(e,t))),this.setBaseTarget(e,B(r)?r.get():r)),B(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const o=m(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||B(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new A),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Gr extends Wr{constructor(){super(...arguments),this.KeyframeResolver=vt}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;B(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}const Yr=(e,t)=>t&&"number"==typeof e?t.transform(e):e,qr={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Kr=M.length;function Qr(e,t,n){let r="",o=!0;for(let i=0;i<Kr;i++){const a=M[i],s=e[a];if(void 0===s)continue;let l=!0;if(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s),!l||n){const e=Yr(s,Ze[a]);l||(o=!1,r+=`${qr[a]||a}(${e}) `),n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Xr(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const n=t[e];if(S.has(e))a=!0;else if(lt(e))o[e]=n;else{const t=Yr(n,Ze[e]);e.startsWith("origin")?(s=!0,i[e]=t):r[e]=t}}if(t.transform||(a||n?r.transform=Qr(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}const Jr={offset:"stroke-dashoffset",array:"stroke-dasharray"},eo={offset:"strokeDashoffset",array:"strokeDasharray"};function to(e,t,n){return"string"==typeof e?e:we.transform(t+n*e)}function no(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d){if(Xr(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:p}=e;f.transform&&(p&&(h.transform=f.transform),delete f.transform),p&&(void 0!==o||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${to(t,e.x,e.width)} ${to(n,e.y,e.height)}`}(p,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==r&&(f.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Jr:eo;e[i.offset]=we.transform(-r);const a=we.transform(t),s=we.transform(n);e[i.array]=`${a} ${s}`}(f,a,s,l,!1)}const ro=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),oo=e=>"string"==typeof e&&"svg"===e.toLowerCase();function io(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}function ao(e,t,n,r){io(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(ro.has(n)?n:Z(n),t.attrs[n])}const so={};function lo(e){Object.assign(so,e)}function co(e,{layout:t,layoutId:n}){return S.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!so[e]||"opacity"===e)}function uo(e,t,n){var r;const{style:o}=e,i={};for(const a in o)(B(o[a])||t.style&&B(t.style[a])||co(a,e)||void 0!==(null===(r=null==n?void 0:n.getValue(a))||void 0===r?void 0:r.liveStyle))&&(i[a]=o[a]);return i}function fo(e,t,n){const r=uo(e,t,n);for(const n in e)(B(e[n])||B(t[n]))&&(r[-1!==M.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}class ho extends Gr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Hn}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(S.has(t)){const e=Ue(t);return e&&e.default||0}return t=ro.has(t)?t:Z(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return fo(e,t,n)}build(e,t,n){no(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){ao(e,t,0,r)}mount(e){this.isSVGTag=oo(e.tagName),super.mount(e)}}function po({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function mo(e){return void 0===e||1===e}function go({scale:e,scaleX:t,scaleY:n}){return!mo(e)||!mo(t)||!mo(n)}function vo(e){return go(e)||yo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function yo(e){return bo(e.x)||bo(e.y)}function bo(e){return e&&"0%"!==e}function Co(e,t,n){return n+t*(e-n)}function wo(e,t,n,r,o){return void 0!==o&&(e=Co(e,o,r)),Co(e,n,r)+t}function _o(e,t=0,n=1,r,o){e.min=wo(e.min,t,n,r,o),e.max=wo(e.max,t,n,r,o)}function xo(e,{x:t,y:n}){_o(e.x,t.translate,t.scale,t.originPoint),_o(e.y,n.translate,n.scale,n.originPoint)}const Oo=.999999999999,Eo=1.0000000000001;function Mo(e,t){e.min=e.min+t,e.max=e.max+t}function So(e,t,n,r,o=.5){_o(e,t,n,_t(e.min,e.max,o),r)}function jo(e,t){So(e.x,t.x,t.scaleX,t.scale,t.originX),So(e.y,t.y,t.scaleY,t.scale,t.originY)}function ko(e,t){return po(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class Po extends Gr{constructor(){super(...arguments),this.type="html",this.renderInstance=io}readValueFromInstance(e,t){if(S.has(t)){const e=Ue(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(lt(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ko(e,t)}build(e,t,n){Xr(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return uo(e,t,n)}}class To extends Wr{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(function(e,t){return e in t}(t,e)){const n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function Do(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Nr(e)?new ho(t):new Po(t);n.mount(e),Fr.set(e,n)}function Lo(e){const t=new To({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),Fr.set(e,t)}function Ao(e,t,n,r){const o=[];if(function(e,t){return B(e)||"number"==typeof e||"string"==typeof e&&!Or(t)}(e,t))o.push(wr(e,Or(t)&&t.default||t,n&&n.default||n));else{const a=Er(e,t,r),s=a.length;i.invariant(Boolean(s),"No valid elements provided.");for(let e=0;e<s;e++){const r=a[e],i=r instanceof Element?Do:Lo;Fr.has(r)||i(r);const l=Fr.get(r),c={...n};"delay"in c&&"function"==typeof c.delay&&(c.delay=c.delay(e,s)),o.push(...On(l,{...t,transition:c},{}))}}return o}function Io(e){return function(t,n,r){let o=[];var s;s=t,o=Array.isArray(s)&&s.some(Array.isArray)?function(e,t,n){const r=[],o=function(e,{defaultTransition:t={},...n}={},r,o){const s=t.duration||.3,l=new Map,c=new Map,u={},d=new Map;let f=0,h=0,p=0;for(let n=0;n<e.length;n++){const l=e[n];if("string"==typeof l){d.set(l,h);continue}if(!Array.isArray(l)){d.set(l.name,Sr(h,l.at,f,d));continue}let[m,g,v={}]=l;void 0!==v.at&&(h=Sr(h,v.at,f,d));let y=0;const b=(e,n,r,l=0,c=0)=>{const u=Lr(e),{delay:d=0,times:f=an(u),type:m="keyframes",repeat:g,repeatType:v,repeatDelay:b=0,...C}=n;let{ease:w=t.ease||"easeOut",duration:_}=n;const x="function"==typeof d?d(l,c):d,O=u.length,E=a.isGenerator(m)?m:null==o?void 0:o[m];if(O<=2&&E){let e=100;if(2===O&&Rr(u)){const t=u[1]-u[0];e=Math.abs(t)}const t={...C};void 0!==_&&(t.duration=i.secondsToMilliseconds(_));const n=a.createGeneratorEasing(t,e,E);w=n.ease,_=n.duration}null!=_||(_=s);const M=h+x;1===f.length&&0===f[0]&&(f[1]=1);const S=f.length-u.length;if(S>0&&on(f,S),1===u.length&&u.unshift(null),g){i.invariant(g<20,"Repeat count too high, must be less than 20"),_=Mr(_,g);const e=[...u],t=[...f];w=Array.isArray(w)?[...w]:[w];const n=[...w];for(let r=0;r<g;r++){u.push(...e);for(let o=0;o<e.length;o++)f.push(t[o]+(r+1)),w.push(0===o?"linear":xr(n,o-1))}kr(f,g)}const j=M+_;jr(r,u,w,f,M,j),y=Math.max(x+_,y),p=Math.max(j,p)};if(B(m))b(g,v,Dr("default",Tr(m,c)));else{const e=Er(m,g,r,u),t=e.length;for(let n=0;n<t;n++){const r=Tr(e[n],c);for(const e in g)b(g[e],Ar(v,e),Dr(e,r),n,t)}}f=h,h+=y}return c.forEach(((e,r)=>{for(const o in e){const a=e[o];a.sort(Pr);const s=[],c=[],u=[];for(let e=0;e<a.length;e++){const{at:t,value:n,easing:r}=a[e];s.push(n),c.push(i.progress(0,p,t)),u.push(r||"easeOut")}0!==c[0]&&(c.unshift(0),s.unshift(s[0]),u.unshift("easeInOut")),1!==c[c.length-1]&&(c.push(1),s.push(null)),l.has(r)||l.set(r,{keyframes:{},transition:{}});const d=l.get(r);d.keyframes[o]=s,d.transition[o]={...t,duration:p,ease:u,times:c,...n}}})),l}(e,t,n,{spring:qt});return o.forEach((({keyframes:e,transition:t},n)=>{r.push(...Ao(n,e,t))})),r}(t,n,e):Ao(t,n,r,e);const l=new a.GroupPlaybackControls(o);return e&&e.animations.push(l),l}}const Ro=Io();function Fo(e,t,n){e.style.setProperty(`--${t}`,n)}function No(e,t,n){e.style[t]=n}const Ho=i.memo((()=>{try{document.createElement("div").animate({opacity:[1]})}catch(e){return!1}return!0})),Vo=new WeakMap,Bo="easeOut";function $o(e){const t=Vo.get(e)||new Map;return Vo.set(e,t),Vo.get(e)}class Zo extends a.NativeAnimationControls{constructor(e,t,n,r){const o=t.startsWith("--");i.invariant("string"!=typeof r.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "framer-motion"?');const s=$o(e).get(t);if(s&&s.stop(),Array.isArray(n)||(n=[n]),function(e,t,n){for(let r=0;r<t.length;r++)null===t[r]&&(t[r]=0===r?n():t[r-1]),"number"==typeof t[r]&&Ve[e]&&(t[r]=Ve[e].transform(t[r]));!Ho()&&t.length<2&&t.unshift(n())}(t,n,(()=>t.startsWith("--")?e.style.getPropertyValue(t):window.getComputedStyle(e)[t])),a.isGenerator(r.type)){const e=a.createGeneratorEasing(r,100,r.type);r.ease=a.supportsLinearEasing()?e.ease:Bo,r.duration=i.secondsToMilliseconds(e.duration),r.type="keyframes"}else r.ease=r.ease||Bo;const l=()=>{this.setValue(e,t,Ct(n,r)),this.cancel(),this.resolveFinishedPromise()},c=()=>{this.setValue=o?Fo:No,this.options=r,this.updateFinishedPromise(),this.removeAnimation=()=>{const n=Vo.get(e);n&&n.delete(t)}};mn()?(super(pn(e,t,n,r)),c(),!1===r.autoplay&&this.animation.pause(),this.animation.onfinish=l,$o(e).set(t,this)):(super(),c(),l())}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}play(){"finished"===this.state&&this.updateFinishedPromise(),super.play()}cancel(){this.removeAnimation(),super.cancel()}}const zo=e=>function(t,n,r){return new a.GroupPlaybackControls(function(e,t,n,r){const o=a.resolveElements(e,r),s=o.length;i.invariant(Boolean(s),"No valid element provided.");const l=[];for(let e=0;e<s;e++){const r=o[e],c={...n};"function"==typeof c.delay&&(c.delay=c.delay(e,s));for(const e in t){const n=t[e],o={...a.getValueTransition(c,e)};o.duration=o.duration?i.secondsToMilliseconds(o.duration):o.duration,o.delay=i.secondsToMilliseconds(o.delay||0),l.push(new Zo(r,e,n,o))}}return l}(t,n,r,e))},Uo=zo();function Wo(e,t){let n;const r=()=>{const{currentTime:r}=t,o=(null===r?0:r.value)/100;n!==o&&e(o),n=o};return _.update(r,!0),()=>x(r)}const Go=new WeakMap;let Yo;function qo({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=Go.get(e))||void 0===r||r.forEach((r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){const{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})}))}function Ko(e){e.forEach(qo)}function Qo(e,t){Yo||"undefined"!=typeof ResizeObserver&&(Yo=new ResizeObserver(Ko));const n=a.resolveElements(e);return n.forEach((e=>{let n=Go.get(e);n||(n=new Set,Go.set(e,n)),n.add(t),null==Yo||Yo.observe(e)})),()=>{n.forEach((e=>{const n=Go.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==Yo||Yo.unobserve(e)}))}}const Xo=new Set;let Jo;const ei={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ti(e,t,n,r){const o=n[t],{length:a,position:s}=ei[t],l=o.current,c=n.time;o.current=e[`scroll${s}`],o.scrollLength=e[`scroll${a}`]-e[`client${a}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=i.progress(0,o.scrollLength,o.current);const u=r-c;o.velocity=u>50?0:I(o.current-l,u)}const ni={start:0,center:.5,end:1};function ri(e,t,n=0){let r=0;if(e in ni&&(e=ni[e]),"string"==typeof e){const t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}const oi=[0,0];function ii(e,t,n,r){let o=Array.isArray(e)?e:oi,i=0,a=0;return"number"==typeof e?o=[e,e]:"string"==typeof e&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,ni[e]?e:"0"]),i=ri(o[0],n,r),a=ri(o[1],t),i-a}const ai={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},si={x:0,y:0};function li(e,t,n,r={}){return{measure:()=>function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,r.target,n),update:t=>{!function(e,t,n){ti(e,"x",t,n),ti(e,"y",t,n),t.time=n}(e,n,t),(r.offset||r.target)&&function(e,t,n){const{offset:r=ai.All}=n,{target:o=e,axis:i="y"}=n,a="y"===i?"height":"width",s=o!==e?function(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){const e=r.getBoundingClientRect();r=r.parentElement;const t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else{if(!(r instanceof SVGGraphicsElement))break;{const{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let o=null,i=r.parentNode;for(;!o;)"svg"===i.tagName&&(o=i),i=r.parentNode;r=o}}return n}(o,e):si,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:function(e){return"getBBox"in e&&"svg"!==e.tagName?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}(o),c={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let u=!t[i].interpolate;const d=r.length;for(let e=0;e<d;e++){const n=ii(r[e],c[a],l[a],s[i]);u||n===t[i].interpolatorOffsets[e]||(u=!0),t[i].offset[e]=n}u&&(t[i].interpolate=rn(t[i].offset,an(r),{clamp:!1}),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=ae(0,1,t[i].interpolate(t[i].current))}(e,n,r)},notify:()=>t(n)}}const ci=new WeakMap,ui=new WeakMap,di=new WeakMap,fi=e=>e===document.documentElement?window:e;function hi(e,{container:t=document.documentElement,...n}={}){let r=di.get(t);r||(r=new Set,di.set(t,r));const o=li(t,e,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},n);if(r.add(o),!ci.has(t)){const e=()=>{for(const e of r)e.measure()},n=()=>{for(const e of r)e.update(O.timestamp)},o=()=>{for(const e of r)e.notify()},l=()=>{_.read(e,!1,!0),_.read(n,!1,!0),_.update(o,!1,!0)};ci.set(t,l);const c=fi(t);window.addEventListener("resize",l,{passive:!0}),t!==document.documentElement&&ui.set(t,(s=l,"function"==typeof(a=t)?(i=a,Xo.add(i),Jo||(Jo=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Xo.forEach((e=>e(t)))},window.addEventListener("resize",Jo)),()=>{Xo.delete(i),!Xo.size&&Jo&&(Jo=void 0)}):Qo(a,s))),c.addEventListener("scroll",l,{passive:!0})}var i,a,s;const l=ci.get(t);return _.read(l,!1,!0),()=>{var e;x(l);const n=di.get(t);if(!n)return;if(n.delete(o),n.size)return;const r=ci.get(t);ci.delete(t),r&&(fi(t).removeEventListener("scroll",r),null===(e=ui.get(t))||void 0===e||e(),window.removeEventListener("resize",r))}}const pi=new Map;function mi({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),pi.has(t)||pi.set(t,{});const r=pi.get(t);return r[n]||(r[n]=a.supportsScrollTimeline()?new ScrollTimeline({source:t,axis:n}):function({source:e,container:t,axis:n="y"}){e&&(t=e);const r={value:0},o=hi((e=>{r.value=100*e[n].progress}),{container:t,axis:n});return{currentTime:r,cancel:o}}({source:t,axis:n})),r[n]}function gi(e){return e&&(e.target||e.offset)}function vi(e,{axis:t="y",...n}={}){const r={axis:t,...n};return"function"==typeof e?function(e,t){return function(e){return 2===e.length}(e)||gi(t)?hi((n=>{e(n[t.axis].progress,n)}),t):Wo(e,mi(t))}(e,r):function(e,t){if(e.flatten(),gi(t))return e.pause(),hi((n=>{e.time=e.duration*n[t.axis].progress}),t);{const n=mi(t);return e.attachTimeline?e.attachTimeline(n,(e=>(e.pause(),Wo((t=>{e.time=e.duration*t}),n)))):i.noop}}(e,r)}const yi={some:0,all:1};function bi(e,t,{root:n,margin:r,amount:o="some"}={}){const i=a.resolveElements(e),s=new WeakMap,l=new IntersectionObserver((e=>{e.forEach((e=>{const n=s.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);"function"==typeof n?s.set(e.target,n):l.unobserve(e.target)}else"function"==typeof n&&(n(e),s.delete(e.target))}))}),{root:n,rootMargin:r,threshold:"number"==typeof o?o:yi[o]});return i.forEach((e=>l.observe(e))),()=>l.disconnect()}function Ci(e,t){const n=T.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(x(r),e(i-t))};return _.read(r,!0),()=>x(r)}const wi=(e,t)=>Math.abs(e-t);function _i(e,t){const n=wi(e.x,t.x),r=wi(e.y,t.y);return Math.sqrt(n**2+r**2)}function xi(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],i=e[2+n],a=e[3+n],s=rn(o,i,{mixer:(l=i[0],(e=>e&&"object"==typeof e&&e.mix)(l)?l.mix:void 0),...a});var l;return t?s(r):s}const Oi=_,Ei=C.reduce(((e,t)=>(e[t]=e=>x(e),e)),{}),{schedule:Mi,cancel:Si}=w(queueMicrotask,!1),ji=(e,t)=>e.depth-t.depth;class ki{constructor(){this.children=[],this.isDirty=!1}add(e){D(this.children,e),this.isDirty=!0}remove(e){L(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ji),this.isDirty=!1,this.children.forEach(e)}}const Pi=["TopLeft","TopRight","BottomLeft","BottomRight"],Ti=Pi.length,Di=e=>"string"==typeof e?parseFloat(e):e,Li=e=>"number"==typeof e||we.test(e);function Ai(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Ii=Fi(0,.5,re),Ri=Fi(.5,.95,i.noop);function Fi(e,t,n){return r=>r<e?0:r>t?1:n(i.progress(e,t,r))}function Ni(e,t){e.min=t.min,e.max=t.max}function Hi(e,t){Ni(e.x,t.x),Ni(e.y,t.y)}function Vi(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Bi(e,t,n,r,o){return e=Co(e-=t,1/n,r),void 0!==o&&(e=Co(e,1/o,r)),e}function $i(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){if(Ce.test(t)&&(t=parseFloat(t),t=_t(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=_t(i.min,i.max,r);e===i&&(s-=t),e.min=Bi(e.min,t,n,s,o),e.max=Bi(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Zi=["x","scaleX","originX"],zi=["y","scaleY","originY"];function Ui(e,t,n,r){$i(e.x,t,Zi,n?n.x:void 0,r?r.x:void 0),$i(e.y,t,zi,n?n.y:void 0,r?r.y:void 0)}function Wi(e){return 0===e.translate&&1===e.scale}function Gi(e){return Wi(e.x)&&Wi(e.y)}function Yi(e,t){return e.min===t.min&&e.max===t.max}function qi(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ki(e,t){return qi(e.x,t.x)&&qi(e.y,t.y)}function Qi(e){return Vn(e.x)/Vn(e.y)}function Xi(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Ji{constructor(){this.members=[]}add(e){D(this.members,e),e.scheduleRender()}remove(e){if(L(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ea(e){return[e("x"),e("y")]}const ta={hasAnimatedSinceResize:!0,hasEverUpdated:!1},na={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ra="undefined"!=typeof window&&void 0!==window.MotionDebug,oa=["","X","Y","Z"],ia={visibility:"hidden"};let aa=0;function sa(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function la(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=W(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",_,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&la(r)}function ca({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=aa++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ra&&(na.totalNodes=na.resolvedTargetDeltas=na.recalculatedProjection=0),this.nodes.forEach(fa),this.nodes.forEach(ba),this.nodes.forEach(Ca),this.nodes.forEach(ha),ra&&window.MotionDebug.record(na)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ki)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new A),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Nr(t),this.instance=t;const{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=Ci(r,250),ta.hasAnimatedSinceResize&&(ta.hasAnimatedSinceResize=!1,this.nodes.forEach(ya))}))}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||Ma,{onLayoutAnimationStart:s,onLayoutAnimationComplete:l}=i.getProps(),c=!this.targetLayout||!Ki(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);const t={...a.getValueTransition(o,"layout"),onPlay:s,onComplete:l};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ya(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,x(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(wa),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&la(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(ma);this.isUpdating||this.nodes.forEach(ga),this.isUpdating=!1,this.nodes.forEach(va),this.nodes.forEach(ua),this.nodes.forEach(da),this.clearAllSnapshots();const e=T.now();O.delta=ae(0,1e3/60,e-O.timestamp),O.timestamp=e,O.isProcessing=!0,E.update.process(O),E.preRender.process(O),E.render.process(O),O.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mi.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(pa),this.sharedNodes.forEach(_a)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,_.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){_.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Gi(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||vo(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),ka((r=n).x),ka(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!(null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)&&!this.path.some(Ta)){const{scroll:e}=this.root;e&&(Mo(n.x,e.offset.x),Mo(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Hi(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const r=this.path[t],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&Hi(n,e),Mo(n.x,o.offset.x),Mo(n.y,o.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Hi(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&jo(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),vo(r.latestValues)&&jo(n,r.latestValues)}return vo(this.latestValues)&&jo(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Hi(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!vo(n.latestValues))continue;go(n.latestValues)&&n.updateSnapshot();const r={x:{min:0,max:0},y:{min:0,max:0}};Hi(r,n.measurePageBox()),Ui(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return vo(this.latestValues)&&Ui(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==O.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=O.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Un(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Hi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Zn(a.x,s.x,l.x),Zn(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Hi(this.target,this.layout.layoutBox),xo(this.target,this.targetDelta)):Hi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Un(this.relativeTargetOrigin,this.target,e.target),Hi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ra&&na.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!go(this.parent.latestValues)&&!yo(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===O.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Hi(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&jo(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,xo(e,a)),r&&vo(i.latestValues)&&jo(e,i.latestValues))}t.x<Eo&&t.x>Oo&&(t.x=1),t.y<Eo&&t.y>Oo&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Vi(this.prevProjectionDelta.x,this.projectionDelta.x),Vi(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),$n(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===s&&Xi(this.projectionDelta.x,this.prevProjectionDelta.x)&&Xi(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ra&&na.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Ea));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f,h,p,m,g;xa(i.x,e.x,n),xa(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Un(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,m=a,g=n,Oa(h.x,p.x,m.x,g),Oa(h.y,p.y,m.y,g),d&&(l=this.relativeTarget,f=d,Yi(l.x,f.x)&&Yi(l.y,f.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Hi(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=_t(0,void 0!==n.opacity?n.opacity:1,Ii(r)),e.opacityExit=_t(void 0!==t.opacity?t.opacity:1,0,Ri(r))):i&&(e.opacity=_t(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Ti;o++){const i=`border${Pi[o]}Radius`;let a=Ai(t,i),s=Ai(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Li(a)===Li(s)?(e[i]=Math.max(_t(Di(a),Di(s),r),0),(Ce.test(s)||Ce.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=_t(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(x(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=_.update((()=>{ta.hasAnimatedSinceResize=!0,this.currentAnimation=wr(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Pa(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Vn(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Vn(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Hi(t,n),jo(t,o),$n(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ji),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&sa("z",e,r,this.animationValues);for(let t=0;t<oa.length;t++)sa(`rotate${oa[t]}`,e,r,this.animationValues),sa(`skew${oa[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ia;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tr(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=tr(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!vo(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(null==n?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in so){if(void 0===a[e])continue;const{correct:t,applyTo:n}=so[e],o="none"===r.transform?a[e]:t(a[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?tr(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(ma),this.root.sharedNodes.clear()}}}function ua(e){e.updateLayout()}function da(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?ea((e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=Vn(r);r.min=t[e].min,r.max=r.min+o})):Pa(o,n.layoutBox,t)&&ea((r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=Vn(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)}));const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};$n(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?$n(s,e.applyTransform(r,!0),n.measuredBox):$n(s,t,n.layoutBox);const l=!Gi(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Un(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Un(s,t,i.layoutBox),Ki(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function fa(e){ra&&na.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ha(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function pa(e){e.clearSnapshot()}function ma(e){e.clearMeasurements()}function ga(e){e.isLayoutDirty=!1}function va(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ya(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ba(e){e.resolveTargetDelta()}function Ca(e){e.calcProjection()}function wa(e){e.resetSkewAndRotation()}function _a(e){e.removeLeadSnapshot()}function xa(e,t,n){e.translate=_t(t.translate,0,n),e.scale=_t(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Oa(e,t,n,r){e.min=_t(t.min,n.min,r),e.max=_t(t.max,n.max,r)}function Ea(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ma={duration:.45,ease:[.4,0,.1,1]},Sa=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ja=Sa("applewebkit/")&&!Sa("chrome/")?Math.round:i.noop;function ka(e){e.min=ja(e.min),e.max=ja(e.max)}function Pa(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=Qi(t),o=Qi(n),!(Math.abs(r-o)<=.2));var r,o}function Ta(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const Da=ca({attachResizeListener:(e,t)=>or(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),La={current:void 0},Aa=ca({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!La.current){const e=new Da({});e.mount(window),e.setOptions({layoutScroll:!0}),La.current=e}return La.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ia=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Ra(){const e=new Set,t=new WeakMap,n=()=>e.forEach(Ia);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);const o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}function Fa(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Na={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!we.test(e))return e;e=parseFloat(e)}return`${Fa(e,t.target.x)}% ${Fa(e,t.target.y)}%`}},Ha={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ie.parse(e);if(o.length>5)return r;const i=Ie.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=_t(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}},Va=e=>!0===e,Ba=({children:e,id:t,inherit:n=!0})=>{const i=o.useContext(c),a=o.useContext(Cr),[s,l]=dr(),u=o.useRef(null),d=i.id||a;null===u.current&&((e=>Va(!0===e)||"id"===e)(n)&&d&&(t=t?d+"-"+t:d),u.current={id:t,group:Va(n)&&i.group||Ra()});const f=o.useMemo((()=>({...u.current,forceRender:s})),[l]);return r.jsx(c.Provider,{value:f,children:e})},$a=o.createContext({strict:!1});function Za(e){for(const t in e)Vr[t]={...Vr[t],...e[t]}}function za(e){return"function"==typeof e}const Ua=o.createContext(null);function Wa(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>e(...t)),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}class Ga{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Ka(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=_i(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=O;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Ya(t,this.transformPagePoint),_.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=Ka("pointercancel"===e.type?this.lastMoveEventInfo:Ya(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!a.isPrimaryPointer(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=Ya(ir(e),this.transformPagePoint),{point:s}=i,{timestamp:l}=O;this.history=[{...s,timestamp:l}];const{onSessionStart:c}=t;c&&c(e,Ka(i,this.history)),this.removeListeners=Pt(sr(this.contextWindow,"pointermove",this.handlePointerMove),sr(this.contextWindow,"pointerup",this.handlePointerUp),sr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),x(this.updatePoint)}}function Ya(e,t){return t?{point:t(e.point)}:e}function qa(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ka({point:e},t){return{point:e,delta:qa(e,Xa(t)),offset:qa(e,Qa(t)),velocity:Ja(t,.1)}}function Qa(e){return e[0]}function Xa(e){return e[e.length-1]}function Ja(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Xa(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>i.secondsToMilliseconds(t)));)n--;if(!r)return{x:0,y:0};const a=i.millisecondsToSeconds(o.timestamp-r.timestamp);if(0===a)return{x:0,y:0};const s={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function es(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ts(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function ns(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const rs=.35;function os(e,t,n){return{min:is(e,t),max:is(e,n)}}function is(e,t){return"number"==typeof e?e:e[t]||0}const as=({current:e})=>e?e.ownerDocument.defaultView:null,ss=new WeakMap;class ls{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new Ga(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(ir(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=a.setDragLock(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ea((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ce.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=Vn(r)*(parseFloat(t)/100))}}this.originPoint[e]=t})),o&&_.postRender((()=>o(e,t))),$(this.visualElement,"transform");const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>ea((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:as(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&_.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!cs(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?_t(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?_t(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&es(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:ts(e.x,n,o),y:ts(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=rs){return!1===e?e=0:!0===e&&(e=rs),{x:os(e,"left","right"),y:os(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ea((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!es(e))return!1;const n=e.current;i.invariant(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=ko(e,n),{scroll:o}=t;return o&&(Mo(r.x,o.offset.x),Mo(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let a=function(e,t){return{x:ns(e.x,t.x),y:ns(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=po(e))}return a}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=ea((a=>{if(!cs(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return $(this.visualElement,e),n.start(_n(e,n,0,t,this.visualElement,!1))}stopAnimation(){ea((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){ea((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){ea((t=>{const{drag:n}=this.getProps();if(!cs(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-_t(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!es(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};ea((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=Vn(e),o=Vn(t);return o>r?n=i.progress(t.min,t.max-r,e.min):r>o&&(n=i.progress(e.min,e.max-o,t.min)),ae(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ea((t=>{if(!cs(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(_t(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;ss.set(this.visualElement,this);const e=sr(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();es(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),_.read(t);const o=or(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ea((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=rs,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function cs(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const us=e=>(t,n)=>{e&&_.postRender((()=>e(t,n)))},ds=o.createContext({});class fs extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;lo(ps),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ta.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||_.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Mi.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function hs(e){const[t,n]=vr(),i=o.useContext(c);return r.jsx(fs,{...e,layoutGroup:i,switchLayoutGroup:o.useContext(ds),isPresent:t,safeToRemove:n})}const ps={borderRadius:{...Na,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Na,borderTopRightRadius:Na,borderBottomLeftRadius:Na,borderBottomRightRadius:Na,boxShadow:Ha},ms={pan:{Feature:class extends In{constructor(){super(...arguments),this.removePointerDownListener=i.noop}onPointerDown(e){this.session=new Ga(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:as(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:us(e),onStart:us(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&_.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=sr(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends In{constructor(e){super(e),this.removeGroupControls=i.noop,this.removeListeners=i.noop,this.controls=new ls(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.noop}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Aa,MeasureLayout:hs}};function gs(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&_.postRender((()=>o(t,ir(t))))}function vs(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&_.postRender((()=>o(t,ir(t))))}const ys=new WeakMap,bs=new WeakMap,Cs=e=>{const t=ys.get(e.target);t&&t(e)},ws=e=>{e.forEach(Cs)};const _s={some:0,all:1},xs={inView:{Feature:class extends In{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:_s[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;bs.has(n)||bs.set(n,{});const r=bs.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(ws,{root:e,...t})),r[o]}(t);return ys.set(e,n),r.observe(e),()=>{ys.delete(e),r.unobserve(e)}}(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends In{mount(){const{current:e}=this.node;e&&(this.unmount=a.press(e,(e=>(vs(this.node,e,"Start"),(e,{success:t})=>vs(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends In{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Pt(or(this.node.current,"focus",(()=>this.onFocus())),or(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends In{mount(){const{current:e}=this.node;e&&(this.unmount=a.hover(e,(e=>(gs(this.node,e,"Start"),e=>gs(this.node,e,"End")))))}unmount(){}}}},Os={layout:{ProjectionNode:Aa,MeasureLayout:hs}};function Es(e){return Array.isArray(e)?e.join(" "):e}const Ms=Symbol.for("motionComponentSymbol");function Ss(e,t,n){return o.useCallback((r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):es(n)&&(n.current=r))}),[t])}function js(e,t,n,r,i){var a,s;const{visualElement:l}=o.useContext(Nn),c=o.useContext($a),u=o.useContext(Qn),d=o.useContext(fr).reducedMotion,f=o.useRef(null);r=r||c.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:d}));const h=f.current,p=o.useContext(ds);!h||h.projection||!i||"html"!==h.type&&"svg"!==h.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:ks(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(a)||s&&es(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}(f.current,n,i,p);const m=o.useRef(!1);o.useInsertionEffect((()=>{h&&m.current&&h.update(n,u)}));const g=n[U],v=o.useRef(Boolean(g)&&!(null===(a=window.MotionHandoffIsComplete)||void 0===a?void 0:a.call(window,g))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,g)));return ur((()=>{h&&(m.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),Mi.render(h.render),v.current&&h.animationState&&h.animationState.animateChanges())})),o.useEffect((()=>{h&&(!v.current&&h.animationState&&h.animationState.animateChanges(),v.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,g)})),v.current=!1))})),h}function ks(e){if(e)return!1!==e.options.allowProjection?e.projection:ks(e.parent)}function Ps({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:a}){var s,l;function c(e,s){let l;const c={...o.useContext(fr),...e,layoutId:Ts(e)},{isStatic:u}=c,d=function(e){const{initial:t,animate:n}=function(e,t){if(Xn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||h(t)?t:void 0,animate:h(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,o.useContext(Nn));return o.useMemo((()=>({initial:t,animate:n})),[Es(t),Es(n)])}(e),f=i(e,u);if(!u&&lr){o.useContext($a).strict;const e=function(e){const{drag:t,layout:n}=Vr;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(c);l=e.MeasureLayout,d.visualElement=js(a,f,c,t,e.ProjectionNode)}return r.jsxs(Nn.Provider,{value:d,children:[l&&d.visualElement?r.jsx(l,{visualElement:d.visualElement,...c}):null,n(a,e,Ss(f,d.visualElement,s),f,u,d.visualElement)]})}e&&Za(e),c.displayName=`motion.${"string"==typeof a?a:`create(${null!==(l=null!==(s=a.displayName)&&void 0!==s?s:a.name)&&void 0!==l?l:""})`}`;const u=o.forwardRef(c);return u[Ms]=a,u}function Ts({layoutId:e}){const t=o.useContext(c).id;return t&&void 0!==e?t+"-"+e:e}const Ds=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ls(e){return"string"==typeof e&&!e.includes("-")&&!!(Ds.indexOf(e)>-1||/[A-Z]/u.test(e))}const As=["x","y","width","height","cx","cy","r"],Is={useVisualState:nr({scrapeMotionValuesFromProps:fo,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!e.drag;if(!i)for(const e in o)if(S.has(e)){i=!0;break}if(!i)return;let a=!t;if(t)for(let n=0;n<As.length;n++){const r=As[n];e[r]!==t[r]&&(a=!0)}a&&_.read((()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,r),_.render((()=>{no(r,o,oo(n.tagName),e.transformTemplate),ao(n,r)}))}))}})},Rs={useVisualState:nr({scrapeMotionValuesFromProps:uo,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function Fs(e,t,n){for(const r in t)B(t[r])||co(r,n)||(e[r]=t[r])}function Ns(e,t){const n={},r=function(e,t){const n={};return Fs(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return o.useMemo((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Xr(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function Hs(e,t,n,r){const i=o.useMemo((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return no(n,t,oo(r),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};Fs(t,e.style,e),i.style={...t,...i.style}}return i}function Vs(e=!1){return(t,n,r,{latestValues:i},a)=>{const s=(Ls(t)?Hs:Ns)(n,i,a,t),l=Kn(n,"string"==typeof t,e),c=t!==o.Fragment?{...l,...s,ref:r}:{},{children:u}=n,d=o.useMemo((()=>B(u)?u.get():u),[u]);return o.createElement(t,{...c,children:d})}}function Bs(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return Ps({...Ls(n)?Is:Rs,preloadedFeatures:e,useRender:Vs(r),createVisualElement:t,Component:n})}}const $s=(e,t)=>Ls(e)?new ho(t):new Po(t,{allowProjection:e!==o.Fragment}),Zs=Wa(Bs({...Fn,...xs,...ms,...Os},$s));function zs({children:e,as:t="ul",axis:n="y",onReorder:a,values:s,...l},c){const u=er((()=>Zs[t])),d=[],f=o.useRef(!1);i.invariant(Boolean(s),"Reorder.Group must be provided a values prop");const h={axis:n,registerItem:(e,t)=>{const r=d.findIndex((t=>e===t.value));-1!==r?d[r].layout=t[n]:d.push({value:e,layout:t[n]}),d.sort(Gs)},updateOrder:(e,t,n)=>{if(f.current)return;const r=function(e,t,n,r){if(!r)return e;const o=e.findIndex((e=>e.value===t));if(-1===o)return e;const i=r>0?1:-1,a=e[o+i];if(!a)return e;const s=e[o],l=a.layout,c=_t(l.min,l.max,.5);return 1===i&&s.layout.max+n>c||-1===i&&s.layout.min+n<c?function([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const r=n<0?e.length+n:n,[o]=e.splice(t,1);e.splice(r,0,o)}return e}(e,o,o+i):e}(d,e,t,n);d!==r&&(f.current=!0,a(r.map(Ws).filter((e=>-1!==s.indexOf(e)))))}};return o.useEffect((()=>{f.current=!1})),r.jsx(u,{...l,ref:c,ignoreStrict:!0,children:r.jsx(Ua.Provider,{value:h,children:e})})}const Us=o.forwardRef(zs);function Ws(e){return e.value}function Gs(e,t){return e.layout.min-t.layout.min}function Ys(e){const t=er((()=>N(e))),{isStatic:n}=o.useContext(fr);if(n){const[,n]=o.useState(e);o.useEffect((()=>t.on("change",n)),[])}return t}function qs(e,t){const n=Ys(t()),r=()=>n.set(t());return r(),ur((()=>{const t=()=>_.preRender(r,!1,!0),n=e.map((e=>e.on("change",t)));return()=>{n.forEach((e=>e())),x(r)}})),n}function Ks(e,t,n,r){if("function"==typeof e)return function(e){R.current=[],e();const t=qs(R.current,e);return R.current=void 0,t}(e);const o="function"==typeof t?t:xi(t,n,r);return Array.isArray(e)?Qs(e,o):Qs([e],(([e])=>o(e)))}function Qs(e,t){const n=er((()=>[]));return qs(e,(()=>{n.length=0;const r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)}))}function Xs(e,t=0){return B(e)?e:Ys(t)}function Js({children:e,style:t={},value:n,as:a="li",onDrag:s,layout:l=!0,...c},u){const d=er((()=>Zs[a])),f=o.useContext(Ua),h={x:Xs(t.x),y:Xs(t.y)},p=Ks([h.x,h.y],(([e,t])=>e||t?1:"unset"));i.invariant(Boolean(f),"Reorder.Item must be a child of Reorder.Group");const{axis:m,registerItem:g,updateOrder:v}=f;return r.jsx(d,{drag:m,...c,dragSnapToOrigin:!0,style:{...t,x:h.x,y:h.y,zIndex:p},layout:l,onDrag:(e,t)=>{const{velocity:r}=t;r[m]&&v(n,h[m].get(),r[m]),s&&s(e,t)},onLayoutMeasure:e=>g(n,e),ref:u,ignoreStrict:!0,children:e})}const el=o.forwardRef(Js);var tl=Object.freeze({__proto__:null,Group:Us,Item:el});const nl=Wa(Bs()),rl={renderer:$s,...Fn,...xs},ol={...rl,...ms,...Os},il={renderer:$s,...Fn};function al(e,t,n){o.useInsertionEffect((()=>e.on(t,n)),[e,t,n])}function sl(e,t){i.warning(Boolean(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}const ll=()=>({scrollX:N(0),scrollY:N(0),scrollXProgress:N(0),scrollYProgress:N(0)});function cl({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=er(ll);return(n?ur:o.useEffect)((()=>(sl("target",t),sl("container",e),vi(((e,{x:t,y:n})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)}),{...r,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0}))),[e,t,JSON.stringify(r.offset)]),i}function ul(e){return"number"==typeof e?e:parseFloat(e)}function dl(e){const t=o.useRef(0),{isStatic:n}=o.useContext(fr);o.useEffect((()=>{if(n)return;const r=({timestamp:n,delta:r})=>{t.current||(t.current=n),e(n-t.current,r)};return _.update(r,!0),()=>x(r)}),[e])}class fl extends F{constructor(){super(...arguments),this.values=[]}add(e){const t=function(e){return S.has(e)?"transform":hn.has(e)?Z(e):void 0}(e);t&&(D(this.values,t),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}function hl(){!$r.current&&Zr();const[e]=o.useState(Br.current);return e}function pl(e,t){[...t].reverse().forEach((n=>{const r=e.getVariant(n);r&&V(e,r),e.variantChildren&&e.variantChildren.forEach((e=>{pl(e,t)}))}))}function ml(){let e=!1;const t=new Set,n={subscribe:e=>(t.add(e),()=>{t.delete(e)}),start(n,r){i.invariant(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const o=[];return t.forEach((e=>{o.push(Sn(e,n,{transitionOverride:r}))})),Promise.all(o)},set:n=>(i.invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach((e=>{!function(e,t){Array.isArray(t)?pl(e,t):"string"==typeof t?pl(e,[t]):V(e,t)}(e,n)}))),stop(){t.forEach((e=>{!function(e){e.values.forEach((e=>e.stop()))}(e)}))},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}function gl(){const e=er(ml);return ur(e.mount,[]),e}const vl=gl;class yl{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach((n=>{n.start(e.nativeEvent||e,t)}))}}const bl=()=>new yl;function Cl(e){return null!==e&&"object"==typeof e&&Ms in e}function wl(){return _l}function _l(e){La.current&&(La.current.isUpdating=!1,La.current.blockUpdate(),e&&e())}const xl=(e,t)=>`${e}: ${S.has(t)?"transform":t}`,Ol=new Map,El=new Map;function Ml(e,t,n){var r;const o=xl(e,t),i=Ol.get(o);if(!i)return null;const{animation:a,startTime:s}=i;function l(){var r;null===(r=window.MotionCancelOptimisedAnimation)||void 0===r||r.call(window,e,t,n)}return a.onfinish=l,null===s||(null===(r=window.MotionHandoffIsComplete)||void 0===r?void 0:r.call(window,e))?(l(),null):s}let Sl,jl;const kl=new Set;function Pl(){kl.forEach((e=>{e.animation.play(),e.animation.startTime=e.startTime})),kl.clear()}const Tl=()=>({});class Dl extends Wr{constructor(){super(...arguments),this.measureInstanceViewportBox=Hn}build(){}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return{}}getBaseTargetFromProps(){}readValueFromInstance(e,t,n){return n.initialState[t]||0}sortInstanceNodePosition(){return 0}}const Ll=nr({scrapeMotionValuesFromProps:Tl,createRenderState:Tl});let Al=0;const Il=e=>e>.001?1/e:1e5;let Rl=!1;Object.defineProperty(t,"invariant",{enumerable:!0,get:function(){return i.invariant}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return i.noop}}),Object.defineProperty(t,"progress",{enumerable:!0,get:function(){return i.progress}}),Object.defineProperty(t,"isDragActive",{enumerable:!0,get:function(){return a.isDragActive}}),t.AcceleratedAnimation=vn,t.AnimatePresence=({children:e,custom:t,initial:n=!0,onExitComplete:i,presenceAffectsLayout:a=!0,mode:s="sync",propagate:l=!1})=>{const[u,d]=vr(l),f=o.useMemo((()=>br(e)),[e]),h=l&&!u?[]:f.map(yr),p=o.useRef(!0),m=o.useRef(f),g=er((()=>new Map)),[v,y]=o.useState(f),[b,C]=o.useState(f);ur((()=>{p.current=!1,m.current=f;for(let e=0;e<b.length;e++){const t=yr(b[e]);h.includes(t)?g.delete(t):!0!==g.get(t)&&g.set(t,!1)}}),[b,h.length,h.join("-")]);const w=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){const n=b[t],r=yr(n);h.includes(r)||(e.splice(t,0,n),w.push(n))}return"wait"===s&&w.length&&(e=w),C(br(e)),void y(f)}const{forceRender:_}=o.useContext(c);return r.jsx(r.Fragment,{children:b.map((e=>{const o=yr(e),c=!(l&&!u)&&(f===b||h.includes(o));return r.jsx(mr,{isPresent:c,initial:!(p.current&&!n)&&void 0,custom:c?void 0:t,presenceAffectsLayout:a,mode:s,onExitComplete:c?void 0:()=>{if(!g.has(o))return;g.set(o,!0);let e=!0;g.forEach((t=>{t||(e=!1)})),e&&(null==_||_(),C(m.current),l&&(null==d||d()),i&&i())},children:e},o)}))})},t.AnimateSharedLayout=({children:e})=>(l.useEffect((()=>{i.invariant(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")}),[]),r.jsx(Ba,{id:er((()=>"asl-"+Al++)),children:e})),t.DeprecatedLayoutGroupContext=Cr,t.DragControls=yl,t.FlatTree=ki,t.LayoutGroup=Ba,t.LayoutGroupContext=c,t.LazyMotion=function({children:e,features:t,strict:n=!1}){const[,i]=o.useState(!za(t)),a=o.useRef(void 0);if(!za(t)){const{renderer:e,...n}=t;a.current=e,Za(n)}return o.useEffect((()=>{za(t)&&t().then((({renderer:e,...t})=>{Za(t),a.current=e,i(!0)}))}),[]),r.jsx($a.Provider,{value:{renderer:a.current,strict:n},children:e})},t.MotionConfig=function({children:e,isValidProp:t,...n}){t&&qn(t),(n={...o.useContext(fr),...n}).isStatic=er((()=>n.isStatic));const i=o.useMemo((()=>n),[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return r.jsx(fr.Provider,{value:i,children:e})},t.MotionConfigContext=fr,t.MotionContext=Nn,t.MotionGlobalConfig=b,t.MotionValue=F,t.PresenceContext=Qn,t.Reorder=tl,t.SwitchLayoutGroupContext=ds,t.VisualElement=Wr,t.addPointerEvent=sr,t.addPointerInfo=ar,t.addScaleCorrector=lo,t.animate=Ro,t.animateMini=Uo,t.animateValue=fn,t.animateVisualElement=Sn,t.animationControls=ml,t.animations=Fn,t.anticipate=te,t.backIn=J,t.backInOut=ee,t.backOut=X,t.buildTransform=Qr,t.calcLength=Vn,t.cancelFrame=x,t.cancelSync=Ei,t.circIn=ne,t.circInOut=oe,t.circOut=re,t.clamp=ae,t.color=Me,t.complex=Ie,t.createBox=Hn,t.createRendererMotionComponent=Ps,t.createScopedAnimate=Io,t.cubicBezier=q,t.delay=Ci,t.disableInstantTransitions=function(){G.current=!1},t.distance=wi,t.distance2D=_i,t.domAnimation=rl,t.domMax=ol,t.domMin=il,t.easeIn=Qt,t.easeInOut=Jt,t.easeOut=Xt,t.filterProps=Kn,t.findSpring=Zt,t.frame=_,t.frameData=O,t.frameSteps=E,t.inView=bi,t.inertia=Kt,t.interpolate=rn,t.isBrowser=lr,t.isMotionComponent=Cl,t.isMotionValue=B,t.isValidMotionProp=Gn,t.keyframes=sn,t.m=nl,t.makeUseVisualState=nr,t.mirrorEasing=K,t.mix=Ft,t.motion=Zs,t.motionValue=N,t.optimizedAppearDataAttribute=U,t.pipe=Pt,t.px=we,t.resolveMotionValue=tr,t.reverseEasing=Q,t.scroll=vi,t.scrollInfo=hi,t.spring=qt,t.stagger=function(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(o,i)=>{const a="number"==typeof n?n:function(e,t){if("first"===e)return 0;{const n=t-1;return"last"===e?n:n/2}}(n,i),s=Math.abs(a-o);let l=e*s;if(r){const t=i*e;l=nn(r)(l/t)*t}return t+l}},t.startOptimizedAppearAnimation=function(e,t,n,r,o){if(window.MotionIsMounted)return;const a=e.dataset[z];if(!a)return;window.MotionHandoffAnimation=Ml;const s=xl(a,t);jl||(jl=pn(e,t,[n[0],n[0]],{duration:1e4,ease:"linear"}),Ol.set(s,{animation:jl,startTime:null}),window.MotionHandoffAnimation=Ml,window.MotionHasOptimisedAnimation=(e,t)=>{if(!e)return!1;if(!t)return El.has(e);const n=xl(e,t);return Boolean(Ol.get(n))},window.MotionHandoffMarkAsComplete=e=>{El.has(e)&&El.set(e,!0)},window.MotionHandoffIsComplete=e=>!0===El.get(e),window.MotionCancelOptimisedAnimation=(e,t,n,r)=>{const o=xl(e,t),i=Ol.get(o);i&&(n&&void 0===r?n.postRender((()=>{n.postRender((()=>{i.animation.cancel()}))})):i.animation.cancel(),n&&r?(kl.add(i),n.render(Pl)):(Ol.delete(o),Ol.size||(window.MotionCancelOptimisedAnimation=void 0)))},window.MotionCheckAppearSync=(e,t,n)=>{var r,o;const i=W(e);if(!i)return;const a=null===(r=window.MotionHasOptimisedAnimation)||void 0===r?void 0:r.call(window,i,t),s=null===(o=e.props.values)||void 0===o?void 0:o[t];if(!a||!s)return;const l=n.on("change",(e=>{var n;s.get()!==e&&(null===(n=window.MotionCancelOptimisedAnimation)||void 0===n||n.call(window,i,t),l())}));return l});const l=()=>{jl.cancel();const i=pn(e,t,n,r);void 0===Sl&&(Sl=performance.now()),i.startTime=Sl,Ol.set(s,{animation:i,startTime:Sl}),o&&o(i)};El.set(a,!1),jl.ready?jl.ready.then(l).catch(i.noop):l()},t.steps=function(e,t="end"){return n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return ae(0,1,o/e)}},t.sync=Oi,t.time=T,t.transform=xi,t.unwrapMotionComponent=function(e){if(Cl(e))return e[Ms]},t.useAnimate=function(){const e=er((()=>({current:null,animations:[]}))),t=er((()=>Io(e)));return cr((()=>{e.animations.forEach((e=>e.stop()))})),[e,t]},t.useAnimateMini=function(){const e=er((()=>({current:null,animations:[]}))),t=er((()=>zo(e)));return cr((()=>{e.animations.forEach((e=>e.stop()))})),[e,t]},t.useAnimation=vl,t.useAnimationControls=gl,t.useAnimationFrame=dl,t.useCycle=function(...e){const t=o.useRef(0),[n,r]=o.useState(e[t.current]);return[n,o.useCallback((n=>{t.current="number"!=typeof n?_r(0,e.length,t.current+1):n,r(e[t.current])}),[e.length,...e])]},t.useDeprecatedAnimatedState=function(e){const[t,n]=o.useState(e),r=Ll({},!1),i=er((()=>new Dl({props:{onUpdate:e=>{n({...e})}},visualState:r,presenceContext:null},{initialState:e})));return o.useLayoutEffect((()=>(i.mount({}),()=>i.unmount())),[i]),[t,er((()=>e=>Sn(i,e)))]},t.useDeprecatedInvertedScale=function(e){let t=Ys(1),n=Ys(1);const{visualElement:r}=o.useContext(Nn);return i.invariant(!(!e&&!r),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),i.warning(Rl,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),Rl=!0,e?(t=e.scaleX||t,n=e.scaleY||n):r&&(t=r.getValue("scaleX",1),n=r.getValue("scaleY",1)),{scaleX:Ks(t,Il),scaleY:Ks(n,Il)}},t.useDomEvent=function(e,t,n,r){o.useEffect((()=>{const o=e.current;if(n&&o)return or(o,t,n,r)}),[e,t,n,r])},t.useDragControls=function(){return er(bl)},t.useElementScroll=function(e){return cl({container:e})},t.useForceUpdate=dr,t.useInView=function(e,{root:t,margin:n,amount:r,once:i=!1}={}){const[a,s]=o.useState(!1);return o.useEffect((()=>{if(!e.current||i&&a)return;const o={root:t&&t.current||void 0,margin:n,amount:r};return bi(e.current,(()=>(s(!0),i?void 0:()=>s(!1))),o)}),[t,e,n,i,r]),a},t.useInstantLayoutTransition=wl,t.useInstantTransition=function(){const[e,t]=dr(),n=wl(),r=o.useRef(-1);return o.useEffect((()=>{_.postRender((()=>_.postRender((()=>{t===r.current&&(G.current=!1)}))))}),[t]),o=>{n((()=>{G.current=!0,e(),o(),r.current=t+1}))}},t.useIsPresent=function(){return null===(e=o.useContext(Qn))||e.isPresent;var e},t.useIsomorphicLayoutEffect=ur,t.useMotionTemplate=function(e,...t){const n=e.length;return qs(t.filter(B),(function(){let r="";for(let o=0;o<n;o++){r+=e[o];const n=t[o];n&&(r+=B(n)?n.get():n)}return r}))},t.useMotionValue=Ys,t.useMotionValueEvent=al,t.usePresence=vr,t.useReducedMotion=hl,t.useReducedMotionConfig=function(){const e=hl(),{reducedMotion:t}=o.useContext(fr);return"never"!==t&&("always"===t||e)},t.useResetProjection=function(){return o.useCallback((()=>{const e=La.current;e&&e.resetTree()}),[])},t.useScroll=cl,t.useSpring=function(e,t={}){const{isStatic:n}=o.useContext(fr),r=o.useRef(null),i=Ys(B(e)?ul(e.get()):e),a=o.useRef(i.get()),s=o.useRef((()=>{})),l=()=>{const e=r.current;e&&0===e.time&&e.sample(O.delta),c(),r.current=fn({keyframes:[i.get(),a.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s.current})},c=()=>{r.current&&r.current.stop()};return o.useInsertionEffect((()=>i.attach(((e,t)=>n?t(e):(a.current=e,s.current=t,_.update(l),i.get())),c)),[JSON.stringify(t)]),ur((()=>{if(B(e))return e.on("change",(e=>i.set(ul(e))))}),[i]),i},t.useTime=function(){const e=Ys(0);return dl((t=>e.set(t))),e},t.useTransform=Ks,t.useUnmountEffect=cr,t.useVelocity=function(e){const t=Ys(e.getVelocity()),n=()=>{const r=e.getVelocity();t.set(r),r&&_.update(n)};return al(e,"change",(()=>{_.update(n,!1,!0)})),t},t.useViewportScroll=function(){return cl()},t.useWillChange=function(){return er((()=>new fl("auto")))},t.visualElementStore=Fr,t.wrap=_r},24647:(e,t,n)=>{var r=n(54552)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"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",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"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",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=r},24702:(e,t,n)=>{"use strict";t.interval=function(e,t,n){const[o,i]=(0,r.normalizeDates)(n?.in,e,t);if(isNaN(+o))throw new TypeError("Start date is invalid");if(isNaN(+i))throw new TypeError("End date is invalid");if(n?.assertPositive&&+o>+i)throw new TypeError("End date must be after start date");return{start:o,end:i}};var r=n(8256)},24739:(e,t,n)=>{var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},25078:(e,t,n)=>{"use strict";t.SecondParser=void 0;var r=n(47699),o=n(5513),i=n(93771);class a extends o.Parser{priority=50;parse(e,t,n){switch(t){case"s":return(0,i.parseNumericPattern)(r.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]}t.SecondParser=a},25160:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},25265:(e,t,n)=>{"use strict";t.endOfQuarter=function(e,t){const n=(0,r.toDate)(e,t?.in),o=n.getMonth(),i=o-o%3+3;return n.setMonth(i,0),n.setHours(23,59,59,999),n};var r=n(34446)},25325:(e,t,n)=>{"use strict";t.minutesToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInMinute)};var r=n(78052)},25540:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>o})},25677:(e,t,n)=>{"use strict";t.isAfter=function(e,t){return+(0,r.toDate)(e)>+(0,r.toDate)(t)};var r=n(34446)},25827:(e,t,n)=>{"use strict";t.yearsToDays=function(e){return Math.trunc(e*r.daysInYear)};var r=n(78052)},25858:(e,t,n)=>{var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),f=Object.prototype.toString,h=Math.max,p=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return g(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,a,s,l,c,u=0,d=!1,f=!1,y=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,u=t,s=e.apply(r,n)}function C(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-u>=a}function w(){var e=m();if(C(e))return _(e);l=setTimeout(w,function(e){var n=t-(e-c);return f?p(n,a-(e-u)):n}(e))}function _(e){return l=void 0,y&&o?b(e):(o=i=void 0,s)}function x(){var e=m(),n=C(e);if(o=arguments,i=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(w,t),d?b(e):s}(c);if(f)return l=setTimeout(w,t),b(c)}return void 0===l&&(l=setTimeout(w,t)),s}return t=v(t)||0,g(n)&&(d=!!n.leading,a=(f="maxWait"in n)?h(v(n.maxWait)||0,t):a,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==l&&clearTimeout(l),u=0,o=c=i=l=void 0},x.flush=function(){return void 0===l?s:_(m())},x}(e,t,{leading:o,maxWait:t,trailing:i})}},25909:(e,t,n)=>{"use strict";t.formatDistance=function(e,t,n){const d=(0,o.getDefaultOptions)(),f=n?.locale??d.locale??r.defaultLocale,h=(0,s.compareAsc)(e,t);if(isNaN(h))throw new RangeError("Invalid time value");const p=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:h}),[m,g]=(0,a.normalizeDates)(n?.in,...h>0?[t,e]:[e,t]),v=(0,u.differenceInSeconds)(g,m),y=((0,i.getTimezoneOffsetInMilliseconds)(g)-(0,i.getTimezoneOffsetInMilliseconds)(m))/1e3,b=Math.round((v-y)/60);let C;if(b<2)return n?.includeSeconds?v<5?f.formatDistance("lessThanXSeconds",5,p):v<10?f.formatDistance("lessThanXSeconds",10,p):v<20?f.formatDistance("lessThanXSeconds",20,p):v<40?f.formatDistance("halfAMinute",0,p):v<60?f.formatDistance("lessThanXMinutes",1,p):f.formatDistance("xMinutes",1,p):0===b?f.formatDistance("lessThanXMinutes",1,p):f.formatDistance("xMinutes",b,p);if(b<45)return f.formatDistance("xMinutes",b,p);if(b<90)return f.formatDistance("aboutXHours",1,p);if(b<l.minutesInDay){const e=Math.round(b/60);return f.formatDistance("aboutXHours",e,p)}if(b<2520)return f.formatDistance("xDays",1,p);if(b<l.minutesInMonth){const e=Math.round(b/l.minutesInDay);return f.formatDistance("xDays",e,p)}if(b<2*l.minutesInMonth)return C=Math.round(b/l.minutesInMonth),f.formatDistance("aboutXMonths",C,p);if(C=(0,c.differenceInMonths)(g,m),C<12){const e=Math.round(b/l.minutesInMonth);return f.formatDistance("xMonths",e,p)}{const e=C%12,t=Math.trunc(C/12);return e<3?f.formatDistance("aboutXYears",t,p):e<9?f.formatDistance("overXYears",t,p):f.formatDistance("almostXYears",t+1,p)}};var r=n(89577),o=n(96755),i=n(16339),a=n(8256),s=n(86789),l=n(78052),c=n(45460),u=n(50192)},25911:(e,t,n)=>{var r=n(38859),o=n(14248),i=n(19219);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var v=e[p],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},25942:(e,t,n)=>{"use strict";t.TimestampMillisecondsParser=void 0;var r=n(92956),o=n(5513),i=n(93771);class a extends o.Parser{priority=20;parse(e){return(0,i.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampMillisecondsParser=a},26012:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.getAllStoredNotifications=t.isSticky=t.isStoredNotification=t.normalizeCmdOrCtrl=t.checkTolerance=t.clamp=void 0,t.clamp=function(e,t,n){return e<=t?t:e>=n?n:e},t.checkTolerance=function(e,t,n){return t<n+e&&t>n-e},t.normalizeCmdOrCtrl=function(e){return e.replace(/CmdOrCtrl/g,(e=>e.includes("Cmd")?"Cmd":"Ctrl")).replace(/(Cmd|Ctrl)/g,"CmdOrCtrl")},t.isStoredNotification=function(e){return!!e.notification},t.isSticky=function(e){return e.toast?"sticky"===e.toast:"sticky"===e.sticky},t.getAllStoredNotifications=function(e){return[...e.notifications,...e.reminders]},o(n(35172),t)},26024:(e,t,n)=>{"use strict";t.differenceInCalendarQuarters=function(e,t,n){const[i,a]=(0,r.normalizeDates)(n?.in,e,t);return 4*(i.getFullYear()-a.getFullYear())+((0,o.getQuarter)(i)-(0,o.getQuarter)(a))};var r=n(8256),o=n(88397)},26025:(e,t,n)=>{var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},26159:(e,t,n)=>{"use strict";t.getWeeksInMonth=function(e,t){const n=(0,a.toDate)(e,t?.in);return(0,r.differenceInCalendarWeeks)((0,o.lastDayOfMonth)(n,t),(0,i.startOfMonth)(n,t),t)+1};var r=n(54746),o=n(59404),i=n(67710),a=n(34446)},26249:(e,t,n)=>{"use strict";t.lastDayOfISOWeek=function(e,t){return(0,r.lastDayOfWeek)(e,{...t,weekStartsOn:1})};var r=n(62994)},26335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDayOfWeek=c,t.getBeginOfCenturyYear=function(e){var t=(0,r.getCenturyStart)(e);return(0,r.getYear)(t)},t.getBeginOfDecadeYear=function(e){var t=(0,r.getDecadeStart)(e);return(0,r.getYear)(t)},t.getBeginOfWeek=u,t.getWeekNumber=function(e,t){void 0===t&&(t=o.CALENDAR_TYPES.ISO_8601);var n,i=t===o.CALENDAR_TYPES.GREGORY?o.CALENDAR_TYPES.GREGORY:o.CALENDAR_TYPES.ISO_8601,a=u(e,t),s=(0,r.getYear)(e)+1;do{n=u(new Date(s,0,i===o.CALENDAR_TYPES.ISO_8601?4:1),t),s-=1}while(e<n);return Math.round((a.getTime()-n.getTime())/6048e5)+1},t.getBegin=d,t.getBeginPrevious=function(e,t){switch(e){case"century":return(0,r.getPreviousCenturyStart)(t);case"decade":return(0,r.getPreviousDecadeStart)(t);case"year":return(0,r.getPreviousYearStart)(t);case"month":return(0,r.getPreviousMonthStart)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getBeginNext=function(e,t){switch(e){case"century":return(0,r.getNextCenturyStart)(t);case"decade":return(0,r.getNextDecadeStart)(t);case"year":return(0,r.getNextYearStart)(t);case"month":return(0,r.getNextMonthStart)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getBeginPrevious2=function(e,t){switch(e){case"decade":return(0,r.getPreviousDecadeStart)(t,-100);case"year":return(0,r.getPreviousYearStart)(t,-10);case"month":return(0,r.getPreviousMonthStart)(t,-12);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getBeginNext2=function(e,t){switch(e){case"decade":return(0,r.getNextDecadeStart)(t,100);case"year":return(0,r.getNextYearStart)(t,10);case"month":return(0,r.getNextMonthStart)(t,12);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getEnd=f,t.getEndPrevious=function(e,t){switch(e){case"century":return(0,r.getPreviousCenturyEnd)(t);case"decade":return(0,r.getPreviousDecadeEnd)(t);case"year":return(0,r.getPreviousYearEnd)(t);case"month":return(0,r.getPreviousMonthEnd)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getEndPrevious2=function(e,t){switch(e){case"decade":return(0,r.getPreviousDecadeEnd)(t,-100);case"year":return(0,r.getPreviousYearEnd)(t,-10);case"month":return(0,r.getPreviousMonthEnd)(t,-12);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getRange=function(e,t){switch(e){case"century":return(0,r.getCenturyRange)(t);case"decade":return(0,r.getDecadeRange)(t);case"year":return(0,r.getYearRange)(t);case"month":return(0,r.getMonthRange)(t);case"day":return(0,r.getDayRange)(t);default:throw new Error("Invalid rangeType: ".concat(e))}},t.getValueRange=function(e,t,n){var r=[t,n].sort((function(e,t){return e.getTime()-t.getTime()}));return[d(e,r[0]),f(e,r[1])]},t.getCenturyLabel=function(e,t,n){return h(e,t,(0,r.getCenturyRange)(n))},t.getDecadeLabel=function(e,t,n){return h(e,t,(0,r.getDecadeRange)(n))},t.isCurrentDayOfWeek=function(e){return e.getDay()===(new Date).getDay()},t.isWeekend=function(e,t){void 0===t&&(t=o.CALENDAR_TYPES.ISO_8601);var n=e.getDay();switch(t){case o.CALENDAR_TYPES.ISLAMIC:case o.CALENDAR_TYPES.HEBREW:return n===s||n===l;case o.CALENDAR_TYPES.ISO_8601:case o.CALENDAR_TYPES.GREGORY:return n===l||n===a;default:throw new Error("Unsupported calendar type.")}};var r=n(51229),o=n(70821),i=n(23340),a=o.WEEKDAYS[0],s=o.WEEKDAYS[5],l=o.WEEKDAYS[6];function c(e,t){void 0===t&&(t=o.CALENDAR_TYPES.ISO_8601);var n=e.getDay();switch(t){case o.CALENDAR_TYPES.ISO_8601:return(n+6)%7;case o.CALENDAR_TYPES.ISLAMIC:return(n+1)%7;case o.CALENDAR_TYPES.HEBREW:case o.CALENDAR_TYPES.GREGORY:return n;default:throw new Error("Unsupported calendar type.")}}function u(e,t){void 0===t&&(t=o.CALENDAR_TYPES.ISO_8601);var n=(0,r.getYear)(e),i=(0,r.getMonth)(e),a=e.getDate()-c(e,t);return new Date(n,i,a)}function d(e,t){switch(e){case"century":return(0,r.getCenturyStart)(t);case"decade":return(0,r.getDecadeStart)(t);case"year":return(0,r.getYearStart)(t);case"month":return(0,r.getMonthStart)(t);case"day":return(0,r.getDayStart)(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function f(e,t){switch(e){case"century":return(0,r.getCenturyEnd)(t);case"decade":return(0,r.getDecadeEnd)(t);case"year":return(0,r.getYearEnd)(t);case"month":return(0,r.getMonthEnd)(t);case"day":return(0,r.getDayEnd)(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function h(e,t,n){return n.map((function(n){return(t||i.formatYear)(e,n)})).join(" – ")}},26605:(e,t,n)=>{"use strict";t.differenceInYears=function(e,t,n){const[a,s]=(0,r.normalizeDates)(n?.in,e,t),l=(0,o.compareAsc)(a,s),c=Math.abs((0,i.differenceInCalendarYears)(a,s));a.setFullYear(1584),s.setFullYear(1584);const u=l*(c-+((0,o.compareAsc)(a,s)===-l));return 0===u?0:u};var r=n(8256),o=n(86789),i=n(4875)},26727:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.typeConstraint=t.namedConstraint=t.taggedConstraint=t.traverseAncerstors=void 0;const s=a(n(19466)),l=n(4045),c=(e,t)=>{const n=e.parentRequest;return null!==n&&(!!t(n)||c(n,t))};t.traverseAncerstors=c;const u=e=>t=>{const n=n=>null!==n&&null!==n.target&&n.target.matchesTag(e)(t);return n.metaData=new l.Metadata(e,t),n};t.taggedConstraint=u;const d=u(s.NAMED_TAG);t.namedConstraint=d,t.typeConstraint=e=>t=>{let n=null;if(null!==t){if(n=t.bindings[0],"string"==typeof e)return n.serviceIdentifier===e;{const n=t.bindings[0].implementationType;return e===n}}return!1}},26812:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateCustomComponent=void 0;const o=r(n(96540)),i=n(2972),a=n(60164),s=r(n(35830));t.TemplateCustomComponent=e=>{var t;const{notification:n,clickFragment:r,tabIndexOverride:s}=e,c=n.notification,u=null===(t=c.templateOptions.body.compositions[0])||void 0===t?void 0:t.layout,d=c.templateOptions.body.fallbackText;return u?o.default.createElement(o.default.Fragment,null,o.default.createElement(l,null,o.default.createElement(i.TemplateFragment,{fragment:u,templateData:c.templateData,fragmentIndex:0,notificationKey:`${n.id}${n.notification.date}`,clickFragment:r,tabIndexOverride:s})),n.notification.form&&o.default.createElement(a.NotificationForm,{templateContent:e.templateContent,notification:n,onSubmit:e.submitForm,isToast:e.isToast})):d?o.default.createElement(o.default.Fragment,null," ",d," "):o.default.createElement(o.default.Fragment,null)};const l=s.default.div`
|
|
118
118
|
padding-right: ${e=>e.theme.px.base};
|
|
119
119
|
padding-left: ${e=>e.theme.px.base};
|
|
120
|
-
`},26906:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroupWidgetComponent=void 0;const a=i(n(96540)),s=n(47250),l=n(7425),c=n(47260),u=n(44352),d=n(45232),f=n(95484);t.CheckboxGroupWidgetComponent=e=>a.default.createElement(l.Field,{name:e.field.key,component:h,checkboxGroupField:e.field,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics});const h=({checkboxGroupField:e,field:t,form:n,formSettings:r,raiseAnalytics:o})=>{const i=e.widget.group.map((e=>({value:e.value,clicked:!1}))),l=(0,a.useRef)(i);return(0,f.useRaiseFieldAnalytics)(e,o,void 0,l),a.default.createElement(c.InputContainer,{flexDirection:"column"},a.default.createElement(s.CheckboxGroup,{label:(0,d.getLabelText)(e,r),helperText:e.helperText,onChange:t=>{n.setFieldTouched(e.key,!0),n.setFieldValue(e.key,t.length>0?t:void 0)},values:t.value,key:`${t.name}-${t.value}`},e.widget.group.map((n=>{var r;return a.default.createElement(s.Checkbox,{name:`${e.key}_${n.value}`,key:`${e.key}_${n.value}`,checked:-1!==(null===(r=t.value)||void 0===r?void 0:r.indexOf(n.value)),label:n.label,value:n.value})}))),a.default.createElement(u.ErrorLabel,{name:t.name}))}},26975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsubscribeScrollableContainers=t.subscribeScrollableContainers=void 0,t.subscribeScrollableContainers=(e,t)=>{let n=e.parentElement;for(;n;)"true"===n.getAttribute("data-scrollable-container")&&n.addEventListener("scroll",t),n=n.parentElement},t.unsubscribeScrollableContainers=(e,t)=>{let n=e.parentElement;for(;n;)"true"===n.getAttribute("data-scrollable-container")&&n.removeEventListener("scroll",t),n=n.parentElement}},27161:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindingInSyntax=void 0;const r=n(9117),o=n(41402);t.BindingInSyntax=class{_binding;constructor(e){this._binding=e}inRequestScope(){return this._binding.scope=r.BindingScopeEnum.Request,new o.BindingWhenOnSyntax(this._binding)}inSingletonScope(){return this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)}inTransientScope(){return this._binding.scope=r.BindingScopeEnum.Transient,new o.BindingWhenOnSyntax(this._binding)}}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},27353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saveToScope=t.tryGetFromScope=void 0;const r=n(9117),o=n(12576);t.tryGetFromScope=(e,t)=>t.scope===r.BindingScopeEnum.Singleton&&t.activated?t.cache:t.scope===r.BindingScopeEnum.Request&&e.has(t.id)?e.get(t.id):null,t.saveToScope=(e,t,n)=>{t.scope===r.BindingScopeEnum.Singleton&&a(t,n),t.scope===r.BindingScopeEnum.Request&&i(e,t,n)};const i=(e,t,n)=>{e.has(t.id)||e.set(t.id,n)},a=(e,t)=>{e.cache=t,e.activated=!0,(0,o.isPromise)(t)&&s(e,t)},s=async(e,t)=>{try{const n=await t;e.cache=n}catch(t){throw e.cache=null,e.activated=!1,t}}},27444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>v,default:()=>w,encode:()=>y,toASCII:()=>C,toUnicode:()=>b,ucs2decode:()=>h,ucs2encode:()=>p});const r=2147483647,o=36,i=/^xn--/,a=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(l[e])}function f(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+o}function h(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}const p=e=>String.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=o)e=c(e/35);return c(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let i=0,a=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&d("not-basic"),t.push(e.charCodeAt(n));for(let f=l>0?l+1:0;f<n;){const l=i;for(let t=1,a=o;;a+=o){f>=n&&d("invalid-input");const l=(u=e.charCodeAt(f++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:o;l>=o&&d("invalid-input"),l>c((r-i)/t)&&d("overflow"),i+=l*t;const h=a<=s?1:a>=s+26?26:a-s;if(l<h)break;const p=o-h;t>c(r/p)&&d("overflow"),t*=p}const h=t.length+1;s=g(i-l,h,0==l),c(i/h)>r-a&&d("overflow"),a+=c(i/h),i%=h,t.splice(i++,0,a)}var u;return String.fromCodePoint(...t)},y=function(e){const t=[],n=(e=h(e)).length;let i=128,a=0,s=72;for(const n of e)n<128&&t.push(u(n));const l=t.length;let f=l;for(l&&t.push("-");f<n;){let n=r;for(const t of e)t>=i&&t<n&&(n=t);const h=f+1;n-i>c((r-a)/h)&&d("overflow"),a+=(n-i)*h,i=n;for(const n of e)if(n<i&&++a>r&&d("overflow"),n===i){let e=a;for(let n=o;;n+=o){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const i=e-r,a=o-r;t.push(u(m(r+i%a,0))),e=c(i/a)}t.push(u(m(e,0))),s=g(a,h,f===l),a=0,++f}++a,++i}return t.join("")},b=function(e){return f(e,(function(e){return i.test(e)?v(e.slice(4).toLowerCase()):e}))},C=function(e){return f(e,(function(e){return a.test(e)?"xn--"+y(e):e}))},w={version:"2.3.1",ucs2:{decode:h,encode:p},decode:v,encode:y,toASCII:C,toUnicode:b}},27489:(e,t,n)=>{"use strict";t.isValid=function(e){return!(!(0,r.isDate)(e)&&"number"!=typeof e||isNaN(+(0,o.toDate)(e)))};var r=n(44337),o=n(34446)},27519:(e,t,n)=>{"use strict";t.getMonth=function(e,t){return(0,r.toDate)(e,t?.in).getMonth()};var r=n(34446)},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},28173:(e,t)=>{"use strict";function n(e,t){let n;try{n=JSON.stringify(e)}catch(e){n=t}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.setValidationMethod=t.validateEnvironment=t.safeStringify=t.sanitizeEventType=t.sanitizeFunction=void 0,t.sanitizeFunction=function(e){if("function"!=typeof e)throw new Error(`Invalid argument passed: ${n(e,"The provided value")} is not a valid function`);return e},t.sanitizeEventType=function(e){if("notification-action"===e||"notification-created"===e||"notification-toast-dismissed"===e||"notification-closed"===e||"notifications-count-changed"===e||"notification-form-submitted"===e||"notification-reminder-created"===e||"notification-reminder-removed"===e||"notification-form-values-changed"===e||"notification-sound-toggled"===e)return e;throw new Error(`Invalid argument passed: ${n(e,"The provided event type")} is not a valid Notifications event type`)},t.safeStringify=n,t.validateEnvironment=()=>{throw new Error("fin is not defined. The
|
|
120
|
+
`},26906:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroupWidgetComponent=void 0;const a=i(n(96540)),s=n(47250),l=n(7425),c=n(47260),u=n(44352),d=n(45232),f=n(95484);t.CheckboxGroupWidgetComponent=e=>a.default.createElement(l.Field,{name:e.field.key,component:h,checkboxGroupField:e.field,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics});const h=({checkboxGroupField:e,field:t,form:n,formSettings:r,raiseAnalytics:o})=>{const i=e.widget.group.map((e=>({value:e.value,clicked:!1}))),l=(0,a.useRef)(i);return(0,f.useRaiseFieldAnalytics)(e,o,void 0,l),a.default.createElement(c.InputContainer,{flexDirection:"column"},a.default.createElement(s.CheckboxGroup,{label:(0,d.getLabelText)(e,r),helperText:e.helperText,onChange:t=>{n.setFieldTouched(e.key,!0),n.setFieldValue(e.key,t.length>0?t:void 0)},values:t.value,key:`${t.name}-${t.value}`},e.widget.group.map((n=>{var r;return a.default.createElement(s.Checkbox,{name:`${e.key}_${n.value}`,key:`${e.key}_${n.value}`,checked:-1!==(null===(r=t.value)||void 0===r?void 0:r.indexOf(n.value)),label:n.label,value:n.value})}))),a.default.createElement(u.ErrorLabel,{name:t.name}))}},26975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsubscribeScrollableContainers=t.subscribeScrollableContainers=void 0,t.subscribeScrollableContainers=(e,t)=>{let n=e.parentElement;for(;n;)"true"===n.getAttribute("data-scrollable-container")&&n.addEventListener("scroll",t),n=n.parentElement},t.unsubscribeScrollableContainers=(e,t)=>{let n=e.parentElement;for(;n;)"true"===n.getAttribute("data-scrollable-container")&&n.removeEventListener("scroll",t),n=n.parentElement}},27161:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindingInSyntax=void 0;const r=n(9117),o=n(41402);t.BindingInSyntax=class{_binding;constructor(e){this._binding=e}inRequestScope(){return this._binding.scope=r.BindingScopeEnum.Request,new o.BindingWhenOnSyntax(this._binding)}inSingletonScope(){return this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)}inTransientScope(){return this._binding.scope=r.BindingScopeEnum.Transient,new o.BindingWhenOnSyntax(this._binding)}}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},27353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saveToScope=t.tryGetFromScope=void 0;const r=n(9117),o=n(12576);t.tryGetFromScope=(e,t)=>t.scope===r.BindingScopeEnum.Singleton&&t.activated?t.cache:t.scope===r.BindingScopeEnum.Request&&e.has(t.id)?e.get(t.id):null,t.saveToScope=(e,t,n)=>{t.scope===r.BindingScopeEnum.Singleton&&a(t,n),t.scope===r.BindingScopeEnum.Request&&i(e,t,n)};const i=(e,t,n)=>{e.has(t.id)||e.set(t.id,n)},a=(e,t)=>{e.cache=t,e.activated=!0,(0,o.isPromise)(t)&&s(e,t)},s=async(e,t)=>{try{const n=await t;e.cache=n}catch(t){throw e.cache=null,e.activated=!1,t}}},27444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>v,default:()=>w,encode:()=>y,toASCII:()=>C,toUnicode:()=>b,ucs2decode:()=>h,ucs2encode:()=>p});const r=2147483647,o=36,i=/^xn--/,a=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(l[e])}function f(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+o}function h(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}const p=e=>String.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=o)e=c(e/35);return c(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let i=0,a=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n<l;++n)e.charCodeAt(n)>=128&&d("not-basic"),t.push(e.charCodeAt(n));for(let f=l>0?l+1:0;f<n;){const l=i;for(let t=1,a=o;;a+=o){f>=n&&d("invalid-input");const l=(u=e.charCodeAt(f++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:o;l>=o&&d("invalid-input"),l>c((r-i)/t)&&d("overflow"),i+=l*t;const h=a<=s?1:a>=s+26?26:a-s;if(l<h)break;const p=o-h;t>c(r/p)&&d("overflow"),t*=p}const h=t.length+1;s=g(i-l,h,0==l),c(i/h)>r-a&&d("overflow"),a+=c(i/h),i%=h,t.splice(i++,0,a)}var u;return String.fromCodePoint(...t)},y=function(e){const t=[],n=(e=h(e)).length;let i=128,a=0,s=72;for(const n of e)n<128&&t.push(u(n));const l=t.length;let f=l;for(l&&t.push("-");f<n;){let n=r;for(const t of e)t>=i&&t<n&&(n=t);const h=f+1;n-i>c((r-a)/h)&&d("overflow"),a+=(n-i)*h,i=n;for(const n of e)if(n<i&&++a>r&&d("overflow"),n===i){let e=a;for(let n=o;;n+=o){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const i=e-r,a=o-r;t.push(u(m(r+i%a,0))),e=c(i/a)}t.push(u(m(e,0))),s=g(a,h,f===l),a=0,++f}++a,++i}return t.join("")},b=function(e){return f(e,(function(e){return i.test(e)?v(e.slice(4).toLowerCase()):e}))},C=function(e){return f(e,(function(e){return a.test(e)?"xn--"+y(e):e}))},w={version:"2.3.1",ucs2:{decode:h,encode:p},decode:v,encode:y,toASCII:C,toUnicode:b}},27489:(e,t,n)=>{"use strict";t.isValid=function(e){return!(!(0,r.isDate)(e)&&"number"!=typeof e||isNaN(+(0,o.toDate)(e)))};var r=n(44337),o=n(34446)},27519:(e,t,n)=>{"use strict";t.getMonth=function(e,t){return(0,r.toDate)(e,t?.in).getMonth()};var r=n(34446)},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},28173:(e,t)=>{"use strict";function n(e,t){let n;try{n=JSON.stringify(e)}catch(e){n=t}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.setValidationMethod=t.validateEnvironment=t.safeStringify=t.sanitizeEventType=t.sanitizeFunction=void 0,t.sanitizeFunction=function(e){if("function"!=typeof e)throw new Error(`Invalid argument passed: ${n(e,"The provided value")} is not a valid function`);return e},t.sanitizeEventType=function(e){if("notification-action"===e||"notification-created"===e||"notification-toast-dismissed"===e||"notification-closed"===e||"notifications-count-changed"===e||"notification-form-submitted"===e||"notification-reminder-created"===e||"notification-reminder-removed"===e||"notification-form-values-changed"===e||"notification-sound-toggled"===e)return e;throw new Error(`Invalid argument passed: ${n(e,"The provided event type")} is not a valid Notifications event type`)},t.safeStringify=n,t.validateEnvironment=()=>{throw new Error("fin is not defined. The notifications module is only intended for use in an OpenFin application.")},t.setValidationMethod=e=>{t.validateEnvironment=e}},28180:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsPanel=void 0;const s=n(47250),l=i(n(96540)),c=n(61225),u=a(n(35830)),d=n(87451),f=n(66764),h=n(85898),p=n(40660),m=n(47586),g=n(80925),v=n(2984),y=n(54625),b=n(96406),C=l.default.createElement(y.Switch,null,l.default.createElement(y.Route,{path:m.ROUTES.ADVANCED_SETTINGS,exact:!0},l.default.createElement(b.AdvancedSettingsView,null)),l.default.createElement(y.Route,{path:m.ROUTES.SETTINGS,exact:!0},l.default.createElement(h.SettingsView,null))),w=({closeCenter:e})=>{const t=(0,l.useContext)(p.HistoryContext);return l.default.createElement(y.Switch,null,l.default.createElement(y.Route,{path:m.ROUTES.ADVANCED_SETTINGS,exact:!0},l.default.createElement(f.Header,{title:"Advanced Settings",onClose:e,onBack:()=>t.push(m.ROUTES.SETTINGS)})),l.default.createElement(y.Route,{path:m.ROUTES.SETTINGS,exact:!0},l.default.createElement(f.Header,{title:"Settings",onClose:e,onBack:()=>t.push(m.ROUTES.NOTIFICATIONS)})))},_=(0,u.default)(s.Box)`
|
|
121
121
|
background: ${({theme:e})=>e.palette.background2};
|
|
122
122
|
border: 1px solid ${({theme:e})=>e.palette.background4};
|
|
123
123
|
height: 100%;
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
padding: ${e=>e.theme.px.base};
|
|
332
332
|
padding-top: ${e=>e.theme.px.small};
|
|
333
333
|
padding-bottom: 0;
|
|
334
|
-
`},37633:(e,t,n)=>{"use strict";t.getMilliseconds=function(e){return(0,r.toDate)(e).getMilliseconds()};var r=n(34446)},37676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStickyNotifications=t.getNotifications=t.NotificationToastControlBarAction=t.MinimizeAllToast=t.MinimizeToast=t.ApplyNotificationModifier=t.SubmitNotificationForm=t.initialSortedNotificationsState=void 0;const r=n(5299),o=n(42885),i=n(26012);t.initialSortedNotificationsState={byId:{},byApplication:{},byStream:{}};class a extends r.KeyedAction{constructor(e,t,n){super("notifications"),this.notification=e,this.form=t,this.button=n}}t.SubmitNotificationForm=a;class s extends r.KeyedAction{constructor(e,t){super("notifications"),this.modifiers=t,this.notification=Object.assign(Object.assign({},e),{modifiers:Object.assign({},t)})}reduce(e){const{id:t}=this.notification,n=[...e],r=[...e].findIndex((e=>e.id===t)),o=Object.assign(Object.assign({},n[r]),{modifiers:this.modifiers});return n[r]=o,n}}t.ApplyNotificationModifier=s;class l extends r.Action{constructor(e){super(),this.notification=e}async call(e,t){(0,i.isSticky)(this.notification.notification)&&await e.dispatch(new s(this.notification,{notSticky:!0})),await t()}reduce(e){const{notification:t}=this;return(0,i.isSticky)(t.notification)?Object.assign(Object.assign({},e),{stickyNotifications:[...e.stickyNotifications.filter((e=>e.id!==t.id))]}):e}}t.MinimizeToast=l;class c extends r.Action{constructor(e){super(),this.notifications=e}async call(e,t){const n=this.notifications.map((async t=>{await e.dispatch(new l(t))}));await Promise.all(n),await t()}reduce(e){return e}}t.MinimizeAllToast=c;class u extends r.Action{constructor(e){super(),this.action=e}}t.NotificationToastControlBarAction=u,t.getNotifications=e=>e.notifications,t.getStickyNotifications=(0,o.createSelector)(t.getNotifications,(e=>e.filter((e=>{var t;return(0,i.isSticky)(e.notification)&&!(null===(t=e.modifiers)||void 0===t?void 0:t.notSticky)}))))},37724:(e,t,n)=>{"use strict";t.nextThursday=function(e,t){return(0,r.nextDay)(e,4,t)};var r=n(70064)},37763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.id=function(){return n++};let n=0},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},37838:(e,t,n)=>{"use strict";t.eachQuarterOfInterval=function(e,t){const{start:n,end:s}=(0,r.normalizeInterval)(t?.in,e);let l=+n>+s;const c=l?+(0,a.startOfQuarter)(n):+(0,a.startOfQuarter)(s);let u=l?(0,a.startOfQuarter)(s):(0,a.startOfQuarter)(n),d=t?.step??1;if(!d)return[];d<0&&(d=-d,l=!l);const f=[];for(;+u<=c;)f.push((0,i.constructFrom)(n,u)),u=(0,o.addQuarters)(u,d);return l?f.reverse():f};var r=n(18290),o=n(21149),i=n(92956),a=n(16944)},37869:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activeStartDate,n=e.locale,i=e.onMouseLeave,f=e.showFixedNumberOfWeeks,h=e.calendarType,p=void 0===h?function(e){if(e)for(var t=0,n=Object.entries(d.CALENDAR_TYPE_LOCALES);t<n.length;t++){var r=n[t],o=r[0];if(r[1].includes(e))return o}return d.CALENDAR_TYPES.ISO_8601}(n):h,m=e.formatShortWeekday,g=e.formatWeekday,v=e.onClickWeekNumber,y=e.showWeekNumbers,b=o(e,["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"]),C="react-calendar__month-view";return(0,a.jsx)("div",{className:(0,s.default)(C,y?"".concat(C,"--weekNumbers"):""),children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[y?(0,a.jsx)(u.default,{activeStartDate:t,calendarType:p,onClickWeekNumber:v,onMouseLeave:i,showFixedNumberOfWeeks:f}):null,(0,a.jsxs)("div",{style:{flexGrow:1,width:"100%"},children:[(0,a.jsx)(c.default,{calendarType:p,formatShortWeekday:m,formatWeekday:g,locale:n,onMouseLeave:i}),(0,a.jsx)(l.default,r({calendarType:p},b))]})]})})};var a=n(74848),s=i(n(71508)),l=i(n(80015)),c=i(n(3871)),u=i(n(12188)),d=n(70821)},37893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseType=function(e){const t=Object.getPrototypeOf(e.prototype),n=t?.constructor;return n}},38122:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YearView=t.Navigation=t.MonthView=t.DecadeView=t.CenturyView=t.Calendar=void 0;var o=r(n(32562));t.Calendar=o.default;var i=r(n(13863));t.CenturyView=i.default;var a=r(n(31057));t.DecadeView=a.default;var s=r(n(37869));t.MonthView=s.default;var l=r(n(48391));t.Navigation=l.default;var c=r(n(36348));t.YearView=c.default,t.default=o.default},38320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateReminder=t.TimeoutReminder=t.CancelReminderAndRecreateNotification=t.CancelReminder=t.SetReminderThroughUI=t.SetReminder=void 0;const r=n(5299),o=n(50768),i=n(87031),a=n(87451),s=n(87234);class l extends r.KeyedAction{constructor(e){super("reminders"),this.reminder=e}async call(e,t){const n=e.state.reminders.find((e=>e.id===this.reminder.id));n&&await e.dispatch(new c(n)),e.state.notifications.some((e=>e.id===this.reminder.id))&&await e.dispatch(new a.RemoveNotifications([this.reminder])),await t()}reduce(e){return[...e,this.reminder]}}t.SetReminder=l,t.SetReminderThroughUI=class extends l{constructor(e){super(e),this.reminder=e}async call(e,t){await super.call(e,t),e.state.settings.tutorials.reminders||(await e.dispatch(new a.CreateNotification((0,o.makeRemindersTutorialNotification)(this.reminder.notification.icon,this.reminder.source))),await e.dispatch(new s.RemindersTutorialComplete))}};class c extends r.KeyedAction{constructor(e){super("reminders"),this.reminder=e}reduce(e){return e.filter((e=>e.id!==this.reminder.id))}}t.CancelReminder=c,t.CancelReminderAndRecreateNotification=class extends c{constructor(e){super(e),this.reminder=e}async call(e,t){const n=Object.assign({},this.reminder.modifiers);delete n.reminder,await e.dispatch(new a.CreateNotification(Object.assign(Object.assign({},this.reminder),{modifiers:n}))),await t()}reduce(e){return super.reduce(e)}};class u extends r.KeyedAction{constructor(e){super("reminders"),this.reminderId=e}async call(e,t){const n=e.state.reminders.find((e=>e.id===this.reminderId));n?(await e.dispatch(new a.CreateNotification(n)),await t()):console.warn(`Reminder(${this.reminderId}) was not found in the store.`)}reduce(e){return e.filter((e=>e.id!==this.reminderId))}}t.TimeoutReminder=u;class d extends r.KeyedAction{constructor(e){super("reminders"),this.updatePayload=e,this._updatedReminder=null}get updatedReminder(){return this._updatedReminder}reduce(e){const t=[...e];return this._updatedReminder=(0,i.updateCollection)(t,this.updatePayload),[...t]}}t.UpdateReminder=d},38542:(e,t,n)=>{"use strict";t.subQuarters=function(e,t,n){return(0,r.addQuarters)(e,-t,n)};var r=n(21149)},38630:(e,t,n)=>{var r;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),r=o(e);function o(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(r=o(t.Reflect,r)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,o=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,l=!a&&!s,c={create:a?function(){return $(Object.create(null))}:s?function(){return $({__proto__:null})}:function(){return $({})},has:l?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;o<r;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,A(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,o)},t.prototype.entries=function(){return new n(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){if(!A(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(A(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function o(e,t){return t}function a(e,t){return[e,t]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+a()}while(c.has(e,t));return e[t]=!0,t}function o(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function i(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function a(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):i(t,e),t}return i(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),p=r?Symbol.for("@reflect-metadata:registry"):void 0,m=function(){var e;return!E(p)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[p]),E(e)&&(e=function(){var e,n,r,o;E(p)||void 0===t.Reflect||p in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,o=e.getOwnMetadataKeys,i=e.deleteMetadata,a=new h;return{isProviderFor:function(e,t){var n=a.get(e);return!(E(n)||!n.has(t))||!!o(e,t).length&&(E(n)&&(n=new f,a.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(t.Reflect));var i=new h,a={registerProvider:s,getProvider:c,setProvider:m};return a;function s(t){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case E(n):n=t;break;case n===t:break;case E(r):r=t;break;case r===t:break;default:void 0===o&&(o=new f),o.add(t)}}function l(t,i){if(!E(n)){if(n.isProviderFor(t,i))return n;if(!E(r)){if(r.isProviderFor(t,i))return n;if(!E(o))for(var a=R(o);;){var s=N(a);if(!s)return;var l=F(s);if(l.isProviderFor(t,i))return H(a),l}}}if(!E(e)&&e.isProviderFor(t,i))return e}function c(e,t){var n,r=i.get(e);return E(r)||(n=r.get(t)),E(n)?(E(n=l(e,t))||(E(r)&&(r=new d,i.set(e,r)),r.set(t,n)),n):n}function u(e){if(E(e))throw new TypeError;return n===e||r===e||!E(o)&&o.has(e)}function m(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!E(r))return!1;var o=i.get(e);E(o)&&(o=new d,i.set(e,o)),o.set(t,n)}return!0}}()),!E(p)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),g=function(e){var t=new h,n={isProviderFor:function(e,n){var r=t.get(e);return!E(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,o){r(n,o,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var o=r(t,n,!1);return!E(o)&&k(o.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var o=r(t,n,!1);if(!E(o))return o.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],o=r(e,t,!1);if(E(o))return n;for(var i=R(o.keys()),a=0;;){var s=N(i);if(!s)return n.length=a,n;var l=F(s);try{n[a]=l}catch(e){try{H(i)}finally{throw e}}a++}},OrdinaryDeleteMetadata:function(e,n,o){var i=r(n,o,!1);if(E(i))return!1;if(!i.delete(e))return!1;if(0===i.size){var a=t.get(n);E(a)||(a.delete(o),0===a.size&&t.delete(a))}return!0}};return m.registerProvider(n),n;function r(r,o,i){var a=t.get(r),s=!1;if(E(a)){if(!i)return;a=new d,t.set(r,a),s=!0}var l=a.get(o);if(E(l)){if(!i)return;if(l=new d,a.set(o,l),!e.setProvider(r,o,n))throw a.delete(o),s&&t.delete(r),new Error("Wrong provider for target.")}return l}}(m);function v(e,t,n){if(y(e,t,n))return!0;var r=V(t);return!M(r)&&v(e,r,n)}function y(e,t,n){var r=B(t,n,!1);return!E(r)&&k(r.OrdinaryHasOwnMetadata(e,t,n))}function b(e,t,n){if(y(e,t,n))return C(e,t,n);var r=V(t);return M(r)?void 0:b(e,r,n)}function C(e,t,n){var r=B(t,n,!1);if(!E(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){B(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function _(e,t){var n=x(e,t),r=V(e);if(null===r)return n;var o=_(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new f,a=[],s=0,l=n;s<l.length;s++){var c=l[s];i.has(c)||(i.add(c),a.push(c))}for(var u=0,d=o;u<d.length;u++)c=d[u],i.has(c)||(i.add(c),a.push(c));return a}function x(e,t){var n=B(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function O(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function E(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function j(e,t){switch(O(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=I(e,o);if(void 0!==r){var i=r.call(e,n);if(S(i))throw new TypeError;return i}return function(e,t){if("string"===t){var n=e.toString;if(D(n)&&!S(o=n.call(e)))return o;if(D(r=e.valueOf)&&!S(o=r.call(e)))return o}else{var r;if(D(r=e.valueOf)&&!S(o=r.call(e)))return o;var o,i=e.toString;if(D(i)&&!S(o=i.call(e)))return o}throw new TypeError}(e,"default"===n?"number":n)}function k(e){return!!e}function P(e){var t=j(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function D(e){return"function"==typeof e}function L(e){return"function"==typeof e}function A(e,t){return e===t||e!=e&&t!=t}function I(e,t){var n=e[t];if(null!=n){if(!D(n))throw new TypeError;return n}}function R(e){var t=I(e,i);if(!D(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function N(e){var t=e.next();return!t.done&&t}function H(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===u)return t;if(t!==u)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var o=r.constructor;return"function"!=typeof o||o===e?t:o}function B(e,t,n){var r=m.getProvider(e,t);if(!E(r))return r;if(n){if(m.setProvider(e,t,g))return g;throw new Error("Illegal state.")}}function $(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,n,r){if(E(n)){if(!T(e))throw new TypeError;if(!L(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!E(r)&&!M(r)){if(!L(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!E(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!E(i)&&!M(i)){if(!S(i))throw new TypeError;r=i}}return r}(e,t,n=P(n),r)})),e("metadata",(function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!E(r)&&!function(e){switch(O(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}})),e("defineMetadata",(function(e,t,n,r){if(!S(n))throw new TypeError;return E(r)||(r=P(r)),w(e,t,n,r)})),e("hasMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),v(e,t,n)})),e("hasOwnMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),y(e,t,n)})),e("getMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),b(e,t,n)})),e("getOwnMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),C(e,t,n)})),e("getMetadataKeys",(function(e,t){if(!S(e))throw new TypeError;return E(t)||(t=P(t)),_(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!S(e))throw new TypeError;return E(t)||(t=P(t)),x(e,t)})),e("deleteMetadata",(function(e,t,n){if(!S(t))throw new TypeError;if(E(n)||(n=P(n)),!S(t))throw new TypeError;E(n)||(n=P(n));var r=B(t,n,!1);return!E(r)&&r.OrdinaryDeleteMetadata(e,t,n)}))}(r,t),void 0===t.Reflect&&(t.Reflect=e)}()}(r||(r={}))},38859:(e,t,n)=>{var r=n(53661),o=n(31380),i=n(51459);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},38873:(e,t,n)=>{"use strict";t.max=function(e,t){let n,i=t?.in;return e.forEach((e=>{i||"object"!=typeof e||(i=r.constructFrom.bind(null,e));const t=(0,o.toDate)(e,i);(!n||n<t||isNaN(+t))&&(n=t)})),(0,r.constructFrom)(i,n||NaN)};var r=n(92956),o=n(34446)},38996:(e,t,n)=>{"use strict";t.eachHourOfInterval=function(e,t){const{start:n,end:i}=(0,r.normalizeInterval)(t?.in,e);let a=+n>+i;const s=a?+n:+i,l=a?i:n;l.setMinutes(0,0,0);let c=t?.step??1;if(!c)return[];c<0&&(c=-c,a=!a);const u=[];for(;+l<=s;)u.push((0,o.constructFrom)(n,l)),l.setHours(l.getHours()+c);return a?u.reverse():u};var r=n(18290),o=n(92956)},39034:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94037);const o=r.memo((()=>void 0!==window.ScrollTimeline));class i{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>o()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function a(e,t){return e?e[t]||e.default||e:void 0}const s=2e4;function l(e){let t=0,n=e.next(t);for(;!n.done&&t<s;)t+=50,n=e.next(t);return t>=s?1/0:t}function c(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(l(o),s);return{type:"keyframes",ease:e=>o.next(i*e).value/t,duration:r.millisecondsToSeconds(i)}}function u(e){return"function"==typeof e}function d(e,t){e.timeline=t,e.onfinish=null}class f{constructor(e){this.animation=e}get duration(){var e,t,n;const o=(null===(t=null===(e=this.animation)||void 0===e?void 0:e.effect)||void 0===t?void 0:t.getComputedTiming().duration)||(null===(n=this.options)||void 0===n?void 0:n.duration)||300;return r.millisecondsToSeconds(Number(o))}get time(){var e;return this.animation?r.millisecondsToSeconds((null===(e=this.animation)||void 0===e?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=r.secondsToMilliseconds(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&(null===(e=this.animation.effect)||void 0===e||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&d(this.animation,e),r.noop}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(e){}}}const h=e=>Array.isArray(e)&&"number"==typeof e[0],p={linearEasing:void 0};function m(e,t){const n=r.memo(e);return()=>{var e;return null!==(e=p[t])&&void 0!==e?e:n()}}const g=m((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),v=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)o+=e(r.progress(0,i-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`},y=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,b={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])};function C(e,t){return e?"function"==typeof e&&g()?v(e,t):h(e)?y(e):Array.isArray(e)?e.map((e=>C(e,t)||b.easeOut)):b[e]:void 0}const w={x:!1,y:!1};function _(){return w.x||w.y}function x(e,t,n){var r;if(e instanceof Element)return[e];if("string"==typeof e){let o=document;t&&(o=t.current);const i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function O(e,t){const n=x(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function E(e){return t=>{"touch"===t.pointerType||_()||e(t)}}const M=(e,t)=>!!t&&(e===t||M(e,t.parentElement)),S=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,j=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),k=new WeakSet;function P(e){return t=>{"Enter"===t.key&&e(t)}}function T(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function D(e){return S(e)&&!_()}const L="easeOut";function A(e){var t;if(u(e.type)){const t=c(e,100,e.type);e.ease=g()?t.ease:L,e.duration=r.secondsToMilliseconds(t.duration),e.type="keyframes"}else e.duration=r.secondsToMilliseconds(null!==(t=e.duration)&&void 0!==t?t:.3),e.ease=e.ease||L}class I extends f{constructor(e,t,n,o,i){const a=function(e,t,n){var o;const i={},a={fill:"both",easing:"linear",composite:"replace"};a.delay=r.secondsToMilliseconds(null!==(o=n.delay)&&void 0!==o?o:0),A(n),a.duration=n.duration;const{ease:s,times:l}=n;l&&(i.offset=l),i[e]=t;const c=C(s,n.duration);return Array.isArray(c)?i.easing=c:a.easing=c,{keyframes:i,options:a}}(n,o,i);super(e.animate(a.keyframes,{pseudoElement:t,...a.options}))}}function R(e){return"layout"===e?"group":"enter"===e||"new"===e?"new":"exit"===e||"old"===e?"old":"group"}let F={},N=null;const H=(e,t)=>{F[e]=t};function V(e){const t=e.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}function B(e){var t;const{effect:n}=e;return!!n&&n.target===document.documentElement&&(null===(t=n.pseudoElement)||void 0===t?void 0:t.startsWith("::view-transition"))}const $=["layout","enter","exit","new","old"];function Z(e,t,n){if(!document.startViewTransition)return new Promise((async t=>{await e(),t(new i([]))}));(function(e,t){return t.has(e)&&Object.keys(t.get(e)).length>0})("root",n)||H(":root",{"view-transition-name":"none"}),H("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),(()=>{N||(N=document.createElement("style"),N.id="motion-view");let e="";for(const t in F){const n=F[t];e+=`${t} {\n`;for(const[t,r]of Object.entries(n))e+=` ${t}: ${r};\n`;e+="}\n"}N.textContent=e,document.head.appendChild(N),F={}})();const o=document.startViewTransition((async()=>{await e()}));return o.finished.finally((()=>{N&&N.parentElement&&N.parentElement.removeChild(N)})),new Promise((e=>{o.ready.then((()=>{var o;const s=document.getAnimations().filter(B),l=[];n.forEach(((e,n)=>{for(const r of $){if(!e[r])continue;const{keyframes:o,options:i}=e[r];for(let[e,s]of Object.entries(o)){if(!s)continue;const o={...a(t,e),...a(i,e)},c=R(r);"opacity"!==e||Array.isArray(s)||(s=["new"===c?0:1,s]),"function"==typeof o.delay&&(o.delay=o.delay(0,1));const u=new I(document.documentElement,`::view-transition-${c}(${n})`,e,s,o);l.push(u)}}}));for(const e of s){if("finished"===e.playState)continue;const{effect:i}=e;if(!(i&&i instanceof KeyframeEffect))continue;const{pseudoElement:s}=i;if(!s)continue;const c=V(s);if(!c)continue;const u=n.get(c.layer);if(u)z(u,"enter")&&z(u,"exit")&&i.getKeyframes().some((e=>e.mixBlendMode))?l.push(new f(e)):e.cancel();else{const n="group"===c.type?"layout":"",s={...a(t,n)};A(s);const u=C(s.ease,s.duration);i.updateTiming({delay:r.secondsToMilliseconds(null!==(o=s.delay)&&void 0!==o?o:0),duration:s.duration,easing:u}),l.push(new f(e))}}e(new i(l))}))}))}function z(e,t){var n;return null===(n=null==e?void 0:e[t])||void 0===n?void 0:n.keyframes.opacity}class U{constructor(e,t={}){this.currentTarget="root",this.targets=new Map,this.notifyReady=r.noop,this.readyPromise=new Promise((e=>{this.notifyReady=e})),queueMicrotask((()=>{Z(e,t,this.targets).then((e=>this.notifyReady(e)))}))}get(e){return this.currentTarget=e,this}layout(e,t){return this.updateTarget("layout",e,t),this}new(e,t){return this.updateTarget("new",e,t),this}old(e,t){return this.updateTarget("old",e,t),this}enter(e,t){return this.updateTarget("enter",e,t),this}exit(e,t){return this.updateTarget("exit",e,t),this}crossfade(e){return this.updateTarget("enter",{opacity:1},e),this.updateTarget("exit",{opacity:0},e),this}updateTarget(e,t,n={}){const{currentTarget:r,targets:o}=this;o.has(r)||o.set(r,{}),o.get(r)[e]={keyframes:t,options:n}}then(e,t){return this.readyPromise.then(e,t)}}t.GroupPlaybackControls=class extends i{then(e,t){return Promise.all(this.animations).then(e).catch(t)}},t.NativeAnimationControls=f,t.ViewTransitionBuilder=U,t.attachTimeline=d,t.calcGeneratorDuration=l,t.createGeneratorEasing=c,t.cubicBezierAsString=y,t.generateLinearEasing=v,t.getValueTransition=a,t.hover=function(e,t,n={}){const[r,o,i]=O(e,n),a=E((e=>{const{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;const i=E((e=>{r(e),n.removeEventListener("pointerleave",i)}));n.addEventListener("pointerleave",i,o)}));return r.forEach((e=>{e.addEventListener("pointerenter",a,o)})),i},t.isBezierDefinition=h,t.isDragActive=_,t.isDragging=w,t.isGenerator=u,t.isNodeOrChild=M,t.isPrimaryPointer=S,t.isWaapiSupportedEasing=function e(t){return Boolean("function"==typeof t&&g()||!t||"string"==typeof t&&(t in b||g())||h(t)||Array.isArray(t)&&t.every(e))},t.mapEasingToNativeEasing=C,t.maxGeneratorDuration=s,t.press=function(e,t,n={}){const[r,o,i]=O(e,n),a=e=>{const r=e.currentTarget;if(!D(e)||k.has(r))return;k.add(r);const i=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),D(e)&&k.has(r)&&(k.delete(r),"function"==typeof i&&i(e,{success:t}))},s=e=>{a(e,n.useGlobalTarget||M(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return r.forEach((e=>{(function(e){return j.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=P((()=>{if(k.has(n))return;T(n,"down");const e=P((()=>{T(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>T(n,"cancel")),t)}));n.addEventListener("keydown",r,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",r)),t)})(e,o)),o)})),i},t.resolveElements=x,t.setDragLock=function(e){return"x"===e||"y"===e?w[e]?null:(w[e]=!0,()=>{w[e]=!1}):w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})},t.supportedWaapiEasing=b,t.supportsFlags=p,t.supportsLinearEasing=g,t.supportsScrollTimeline=o,t.view=function(e,t={}){return new U(e,t)}},39105:(e,t,n)=>{"use strict";t.isThisMonth=function(e,t){return(0,i.isSameMonth)((0,r.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var r=n(92956),o=n(2700),i=n(59019)},39305:(e,t,n)=>{"use strict";t.eachWeekendOfInterval=function(e,t){const{start:n,end:s}=(0,r.normalizeInterval)(t?.in,e),l=(0,i.eachDayOfInterval)({start:n,end:s},t),c=[];let u=0;for(;u<l.length;){const e=l[u++];(0,a.isWeekend)(e)&&c.push((0,o.constructFrom)(n,e))}return c};var r=n(18290),o=n(92956),i=n(83700),a=n(43348)},39316:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>i});var o=/^((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)-.*))$/,i=r((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},39859:(e,t,n)=>{"use strict";t.roundToNearestHours=function(e,t){const n=t?.nearestTo??1;if(n<1||n>12)return(0,o.constructFrom)(t?.in||e,NaN);const a=(0,i.toDate)(e,t?.in),s=a.getMinutes()/60,l=a.getSeconds()/60/60,c=a.getMilliseconds()/1e3/60/60,u=a.getHours()+s+l+c,d=t?.roundingMethod??"round",f=(0,r.getRoundingMethod)(d)(u/n)*n;return a.setHours(f,0,0,0),a};var r=n(1331),o=n(92956),i=n(34446)},39897:function(e,t,n){"use strict";var r,o,i=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientController=void 0;const c=n(40707),u=n(64854),d=n(87451),f=n(58684),h=n(37676),p=n(38320),m=n(84673),g=n(50768),v=n(87234),y=n(47202),b=n(76858),C=n(52650),w=l(n(25858));let _=class{constructor(e,t){this._providersById=new Map,this._providersByUUID=new Map,this._topics=new Map,this._throttledBroadcastNotificationCount=(0,w.default)((()=>this.broardcastAction("notifications-count-changed")),1e3),this._throttledNotificationSoundChanged=(0,w.default)((()=>this.broardcastAction("notification-sound-toggled")),1e3),this._store=e,this._apiHandler=t,this._apiHandler.onConnection.add(this.onConnection,this),this._apiHandler.onDisconnection.add(this.onDisconnection,this),e.onAction.add(this.onAction.bind(this))}async onAction(e){e instanceof d.CreateNotification?await this.onCreateNotifications(e):e instanceof d.RemoveNotifications?await this.onRemoveNotifications(e):e instanceof p.SetReminder?await this.onSetReminder(e):e instanceof p.CancelReminder?await this.onCancelReminder(e):e instanceof d.ClickButton?await this.onClickButton(e):e instanceof d.ClickFragment?await this.onClickFragment(e):e instanceof d.ClickNotification?await this.onClickNotification(e):e instanceof d.ExpireNotification?await this.onExpireNotification(e):e instanceof h.SubmitNotificationForm?await this.onSubmitNotificationForm(e):e instanceof f.RequestNotificationFormCustomValidation&&await this.onRequestNotificationFormCustomValidation(e),(e instanceof d.CreateNotification||e instanceof d.RemoveNotifications)&&this._throttledBroadcastNotificationCount(),e instanceof v.ToggleNotificationSound&&this._throttledNotificationSoundChanged()}async onCreateNotifications(e){const{notification:t,source:n}=e.notification;if((0,g.isTutorialNotification)(e.notification))return;const r={target:"default",type:"notification-created",notification:(0,m.mutable)(t)};await this.dispatchAction(n,r)}async onRemoveNotifications(e){const{notifications:t}=e;await Promise.all(t.map((async e=>{const{notification:t,source:n}=e;if((0,g.isTutorialNotification)(e))return;if(null!==t.onClose){const e={target:"default",type:"notification-action",trigger:c.ActionTrigger.CLOSE,notification:(0,m.mutable)(t),source:n,result:t.onClose};await this.dispatchAction(n,e)}const r={target:"default",type:"notification-closed",notification:(0,m.mutable)(t)};await this.dispatchAction(n,r)})))}async onSetReminder(e){const{notification:t,source:n,modifiers:r}=e.reminder,o={target:"default",type:"notification-reminder-created",notification:(0,m.mutable)(t),reminderDate:r.reminder};await this.dispatchAction(n,o)}async onCancelReminder(e){const{notification:t,source:n}=e.reminder,r={target:"default",type:"notification-reminder-removed",notification:(0,m.mutable)(t)};await this.dispatchAction(n,r)}async onClickButton(e){const{notification:t,source:n}=e.notification,r=t.buttons[e.buttonIndex];if(!r.onClick)return;if((0,g.isTutorialNotification)(e.notification))return void await(0,g.handleTutorialButtonAction)(r.onClick,this._store);const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:(0,m.mutable)(t),source:n,controlSource:"buttons",controlIndex:e.buttonIndex,result:r.onClick};await this.dispatchAction(n,o)}async onClickFragment(e){const{notification:t,source:n}=e.notification,r=e.fragment;if(!r.onClick)return;const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:Object.assign(Object.assign({},t),{_fragments:[r]}),source:n,controlSource:"_fragments",controlIndex:0,result:r.onClick};await this.dispatchAction(n,o)}async onClickNotification(e){const{notification:t,source:n}=e.notification;if((0,g.isTutorialNotification)(e.notification)||!t.onSelect)return;const r={target:"default",type:"notification-action",trigger:c.ActionTrigger.SELECT,notification:(0,m.mutable)(t),source:n,result:t.onSelect};await this.dispatchAction(n,r)}async onExpireNotification(e){const{notification:t,source:n}=e.notification;if(!t.onExpire)return;const r={target:"default",type:"notification-action",trigger:c.ActionTrigger.EXPIRE,notification:(0,m.mutable)(t),source:n,result:t.onExpire};await this.dispatchAction(n,r)}async onSubmitNotificationForm(e){const{form:t,button:n}=e,{notification:r}=e.notification,o=e.notification.source,i={target:"default",type:"notification-form-submitted",notification:(0,m.mutable)(r),form:t,button:n};await this.dispatchAction(o,i)}async onRequestNotificationFormCustomValidation(e){const{notification:t}=e.notification,n=e.notification.source,r={target:"default",type:"notification-form-values-changed",notification:(0,m.mutable)(t),form:e.form};await this.dispatchAction(n,r)}async dispatchAction(e,t){const n=this._topics.get(t.type);if(n){const r=this.translateProviderIdentityToClientIdentity(e.identity);r&&n.some((e=>e.uuid===r.uuid&&e.name===r.name))&&this._apiHandler.dispatchEvent(r,t)}}async broardcastAction(e){const t=this._topics.get(e);if(t)if("notifications-count-changed"===e){const e={target:"default",type:"notifications-count-changed",count:this._store.state.notifications.length};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}else if("notification-sound-toggled"===e){const e={target:"default",type:"notification-sound-toggled",notificationSoundEnabled:this._store.state.settings.notificationSoundEnabled};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}}async onAddEventListener(e,t){this._topics.has(e)||this._topics.set(e,[]);const n=this._topics.get(e);n&&!n.some((e=>e.uuid===t.uuid&&e.name===t.name))&&n.push(t)}async onRemoveEventListener(e,t){const n=this._topics.get(e);n&&this._topics.set(e,n.filter((e=>e.uuid!==t.uuid&&e.name!==t.name)))}async onConnection(e,t){if(!t)throw new Error("Provider information is missing.");await this._store.dispatch(new d.RegisterApplication({type:"web",id:t.id,title:t.title,iconUrl:t.icon,muted:!1,persistToasts:!1}));const n=Object.assign(Object.assign({},e),t);this._providersById.set(t.id,n),this._providersByUUID.set(e.uuid,n)}onDisconnection(e){const t=this._providersByUUID.get(e.uuid);if(t){const n=t.id;this._providersById.delete(n),this._providersByUUID.delete(e.uuid),this._topics.forEach(((t,n)=>{this._topics.set(n,t.filter((t=>t.uuid!==e.uuid)))}))}else console.error(`Client with id {uuid:${e.uuid}, name:${e.name}} was disconnected but could not be found in the connection registry.`)}translateProviderIdentityToClientIdentity(e){const t=this._providersById.get(e.uuid);return t?{uuid:t.uuid,name:t.name}:null}translateClientIdentityToProviderIdentity(e){const t=this._providersByUUID.get(e.uuid);if(t)return{uuid:t.id,name:t.title};throw new Error(`Client with identity={id:${e.uuid}, name:${e.name}}} is not connected.`)}};_=i([(0,C.injectable)(),s(0,(0,C.inject)(y.Inject.STORE)),s(1,(0,C.inject)(y.Inject.API_HANDLER)),a("design:paramtypes",["function"==typeof(r=void 0!==b.WebStore&&b.WebStore)?r:Object,"function"==typeof(o=void 0!==u.APIHandler&&u.APIHandler)?o:Object])],_),t.ClientController=_},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},40651:e=>{e.exports=function(e,t){for(var n=e.split("."),r=t.split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return 0}},40660:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryContext=void 0;const a=i(n(96540));t.HistoryContext=a.createContext({})},40707:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.setAllowedOrigins=t.getUserSettingStatus=t.UserSettings=t.getNotificationsCount=t.hide=t.show=t.setDefaultPlatformShortcut=t.toggleNotificationCenter=t.clearAll=t.getAll=t.cancelReminder=t.setReminder=t.clear=t.update=t.create=t.removeEventListener=t.addEventListener=t.VERSION=t.NotificationIndicatorType=t.IndicatorColor=t.NotificationIndicatorWithCustomColor=t.NotificationIndicator=t.NotificationOptions=t.provider=t.actions=void 0;const l=n(86455),c=n(43816),u=n(59603),d=n(33657),f=i(n(46451));t.provider=f;const h=n(28173),p=n(46865);Object.defineProperty(t,"NotificationIndicator",{enumerable:!0,get:function(){return p.NotificationIndicator}}),Object.defineProperty(t,"NotificationIndicatorWithCustomColor",{enumerable:!0,get:function(){return p.NotificationIndicatorWithCustomColor}}),Object.defineProperty(t,"NotificationIndicatorType",{enumerable:!0,get:function(){return p.IndicatorType}}),Object.defineProperty(t,"IndicatorColor",{enumerable:!0,get:function(){return p.IndicatorColor}});const m=n(44415);Object.defineProperty(t,"NotificationOptions",{enumerable:!0,get:function(){return m.NotificationOptions}});const g=i(n(86455));t.actions=g,a(n(86455),t),a(n(87204),t),a(n(50295),t),a(n(68912),t),a(n(13154),t),a(n(75050),t),a(n(90512),t),t.VERSION="2.13.0-alpha-4323";const v=(0,d.getEventRouter)();function y(e){const{notification:t}=e;return Object.assign(Object.assign({},e),{notification:Object.assign(Object.assign({},t),{date:new Date(t.date),expires:null!==t.expires?new Date(t.expires):null})})}v.registerDeserializer("notification-created",(e=>y(e))),v.registerDeserializer("notification-toast-dismissed",(e=>y(e))),v.registerDeserializer("notification-closed",(e=>y(e))),v.registerDeserializer("notification-action",(e=>{var t;const n=y(e),{controlSource:r,controlIndex:o}=n,i=s(n,["controlSource","controlIndex"]);return e.trigger===l.ActionTrigger.CONTROL?Object.assign(Object.assign({},i),{control:null===(t=e.notification[r])||void 0===t?void 0:t[o]}):i})),v.registerDeserializer("notifications-count-changed",(e=>e)),v.registerDeserializer("notification-reminder-created",(e=>{const t=y(e),{reminderDate:n}=t,r=s(t,["reminderDate"]);return Object.assign(Object.assign({},r),{reminderDate:new Date(n)})})),v.registerDeserializer("notification-reminder-removed",(e=>y(e))),v.registerDeserializer("notification-sound-toggled",(e=>e)),t.addEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t);const n=d.eventEmitter.listenerCount(e);"notification-form-submitted"===e&&(t=function(e){return t=>{const n=t.notification.id;t.setFormStatus=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_STATUS_OPTIONS,Object.assign(Object.assign({},e),{_notificationId:n})),e(t)}}(t)),"notification-form-values-changed"===e&&(t=function(e){return t=>{t.setErrors=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_VALIDATION_ERRORS,{errors:e,notificationId:t.notification.id}),e(t)}}(t)),d.eventEmitter.addListener(e,t),0===n&&1===d.eventEmitter.listenerCount(e)&&await(0,c.tryServiceDispatch)(u.APITopic.ADD_EVENT_LISTENER,e)},t.removeEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t),1===d.eventEmitter.listenerCount(e)&&d.eventEmitter.listeners(e)[0]===t&&await(0,c.tryServiceDispatch)(u.APITopic.REMOVE_EVENT_LISTENER,e),d.eventEmitter.removeListener(e,t)},t.create=async function(e,t){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(void 0!==e.date&&!(e.date instanceof Date))throw new Error('Invalid argument passed to create: "date" must be a valid Date object');if(void 0!==e.expires&&null!==e.expires&&!(e.expires instanceof Date))throw new Error('Invalid argument passed to create: "expires" must be null or a valid Date object');if(t&&t.reminderDate){if(!1===e.allowReminder)throw new Error('You must not specify a reminder date for a notification with "allowReminder" option set to false.');if(!(t.reminderDate instanceof Date))throw new Error('Invalid argument passed to reminder Options: "date" must a valid Date object');if(e.expires&&e.expires.getTime()<t.reminderDate.getTime())throw new Error("Expiration date must not be earlier than reminder date.")}void 0!==e.category&&null!==e.category||(e.category="default");const n=await(0,c.tryServiceDispatch)(u.APITopic.CREATE_NOTIFICATION,Object.assign(Object.assign({},e),{date:e.date&&e.date.getTime(),expires:e.expires&&e.expires.getTime(),reminder:(null==t?void 0:t.reminderDate)&&t.reminderDate.getTime()}));return Object.assign(Object.assign({},n),{date:new Date(n.date),expires:null!==n.expires?new Date(n.expires):null})},t.update=async function(e){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(!e.id)throw new Error('Invalid argument passed to create: "id" must be Id of previously created Notification');const t=await(0,c.tryServiceDispatch)(u.APITopic.UPDATE_NOTIFICATION,Object.assign({},e));return Object.assign({},t)},t.clear=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_NOTIFICATION,{id:e})},t.setReminder=async function(e,t){if(!(t instanceof Date))throw new Error('Invalid argument passed to setReminder: "reminderDate" must a valid Date object');if(t.getTime()<Date.now())throw new Error('Invalid argument passed to setReminder: "reminderDate" was set to a Date in the past, must be a Date in the future.');const n=await(0,c.tryServiceDispatch)(u.APITopic.SET_REMINDER,{id:e,reminder:t.getTime()});return n?console.log(`[Client::setReminder] Reminder set for notification: ${e}`):console.log(`[Client::setReminder] Notification not found for id: ${e}`),n},t.cancelReminder=async function(e){const t=await(0,c.tryServiceDispatch)(u.APITopic.CANCEL_REMINDER,{id:e});return t?console.log(`[Client::cancelReminder] Reminder canceled for notification: ${e}`):console.log(`[Client::cancelReminder] Notification not found for id: ${e}`),t},t.getAll=async function(){return(await(0,c.tryServiceDispatch)(u.APITopic.GET_APP_NOTIFICATIONS,void 0)).map((e=>Object.assign(Object.assign({},e),{indicator:e.indicator||null,date:new Date(e.date),expires:null!==e.expires?new Date(e.expires):null})))},t.clearAll=async function(){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_APP_NOTIFICATIONS,void 0)},t.toggleNotificationCenter=async function(){return(0,c.tryServiceDispatch)(u.APITopic.TOGGLE_NOTIFICATION_CENTER,void 0)},t.setDefaultPlatformShortcut=function(e){return(0,c.tryServiceDispatch)(u.APITopic.SET_DEFAULT_PLATFORM_SHORTCUT,e)},t.show=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.SHOW_NOTIFICATION_CENTER,e)},t.hide=async function(){return(0,c.tryServiceDispatch)(u.APITopic.HIDE_NOTIFICATION_CENTER,void 0)},t.getNotificationsCount=async function(){return(0,c.tryServiceDispatch)(u.APITopic.GET_NOTIFICATIONS_COUNT,void 0)},(t.UserSettings||(t.UserSettings={})).SOUND_ENABLED="soundEnabled",t.getUserSettingStatus=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.GET_USER_SETTINGS_STATUS,e)},t.setAllowedOrigins=async e=>(0,c.tryServiceDispatch)(u.APITopic.SET_NOTIFICATION_SECURITY_RULE,{allowedOrigins:e})},40790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTemplateData=void 0;const r=n(19611),o=n(94692),i=n(2984),a=n(66188);t.validateTemplateData=function(e,t){var n;const s=e.templateOptions,l=s.body,c=(0,r.pickBestComposition)(l.compositions);if(!c&&!l.fallbackText)throw new Error(`Could not find a suitable composition with the version supported by the service. Notification Center instance might be too old to show this template. (Template API Version: ${(0,i.getTemplateAPIVersion)()})`);l.compositions=[],c&&(a.CustomTemplateDataSchema.validateSync(e.templateData,{context:{fragments:(0,o.flattenLayout)(c.layout)}}),l.compositions.push(c)),t&&e.indicator&&(null===(n=s.indicator)||void 0===n?void 0:n.color)&&(e.indicator.color=s.indicator.color)}},40882:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},40961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22551)},40977:(e,t,n)=>{"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,o.formatDistanceStrict)(e,(0,r.constructNow)(e),t)};var r=n(2700),o=n(5206)},41037:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterPositionSelector=void 0;const a=i(n(96540)),s=n(47250),l=n(70785);t.CenterPositionSelector=e=>{const{value:t,title:n,id:r="",onChange:o=()=>{}}=e;return a.createElement("div",{role:"radiogroup"},a.createElement(l.TitleElement,{htmlFor:r,size:s.Size.large},n),a.createElement(l.StyledSelectors,{tabIndex:0,onKeyUp:e=>{switch(e.key){case"ArrowUp":case"ArrowLeft":case"ArrowDown":case"ArrowRight":e.preventDefault(),e.stopPropagation(),"left"===t&&o("right"),"right"===t&&o("left")}},id:r},a.createElement(l.Selector,{position:"left",onClick:o,active:"left"===t}),a.createElement(l.Selector,{position:"right",onClick:o,active:"right"===t})))}},41129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDescription=function(e){return e.toString().slice(n,r)};const n=7,r=-1},41169:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.classes,n=void 0===t?[]:t,a=e.formatMonth,f=void 0===a?u.formatMonth:a,h=e.formatMonthYear,p=void 0===h?u.formatMonthYear:h,m=o(e,["classes","formatMonth","formatMonthYear"]),g=m.date,v=m.locale;return(0,s.jsx)(c.default,r({},m,{classes:i(i([],n,!0),[d],!1),formatAbbr:p,maxDateTransform:l.getMonthEnd,minDateTransform:l.getMonthStart,view:"year",children:f(v,g)}))};var s=n(74848),l=n(51229),c=a(n(95044)),u=n(23340),d="react-calendar__year-view__months__month"},41402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenOnSyntax=void 0;const r=n(87059),o=n(90732);t.BindingWhenOnSyntax=class{_bindingWhenSyntax;_bindingOnSyntax;_binding;constructor(e){this._binding=e,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new r.BindingOnSyntax(this._binding)}when(e){return this._bindingWhenSyntax.when(e)}whenTargetNamed(e){return this._bindingWhenSyntax.whenTargetNamed(e)}whenTargetIsDefault(){return this._bindingWhenSyntax.whenTargetIsDefault()}whenTargetTagged(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)}whenInjectedInto(e){return this._bindingWhenSyntax.whenInjectedInto(e)}whenParentNamed(e){return this._bindingWhenSyntax.whenParentNamed(e)}whenParentTagged(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)}whenAnyAncestorIs(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}whenNoAncestorIs(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)}whenAnyAncestorNamed(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)}whenAnyAncestorTagged(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)}whenNoAncestorNamed(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)}whenNoAncestorTagged(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)}whenAnyAncestorMatches(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)}whenNoAncestorMatches(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)}onActivation(e){return this._bindingOnSyntax.onActivation(e)}onDeactivation(e){return this._bindingOnSyntax.onDeactivation(e)}}},41591:(e,t,n)=>{"use strict";t.isWithinInterval=function(e,t,n){const o=+(0,r.toDate)(e,n?.in),[i,a]=[+(0,r.toDate)(t.start,n?.in),+(0,r.toDate)(t.end,n?.in)].sort(((e,t)=>e-t));return o>=i&&o<=a};var r=n(34446)},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new r;if(i)var p=i(d,f,u,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},41869:(e,t,n)=>{"use strict";t.Hour1to12Parser=void 0;var r=n(47699),o=n(5513),i=n(93771);class a extends o.Parser{priority=70;parse(e,t,n){switch(t){case"h":return(0,i.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=a},42054:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},42207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZonedDate=t.localTimeString=t.localDateString=t.formatLines=t.getDate=t.getDateTitle=void 0;const r=n(411),o=n(13949);function i(e,t){const n=new Date(e),o=new Date,i=Math.abs((0,r.differenceInMinutes)(n,o));return i<1?"now":i<60||!t&&n>o?function(e,t){const n=(0,r.formatDistanceStrict)(e,t,{addSuffix:!0}).replace(/ minutes| minute/g,"m");return"60m ago"===n?(0,r.format)(e,"p"):"in 60m"===n?"in 1 hour":n}(n,o):function(e,t,n){const o=(0,r.differenceInHours)(t,e),i=(0,r.differenceInCalendarDays)(t,e);return Math.abs((0,r.differenceInMinutes)(t,e))>=60&&0===i?`${n?"at ":""}${(0,r.format)(e,"p")}`:1===i||o>24&&i<=6?`${n?"at ":""}${(0,r.format)(e,n?"p, EEE":"EEE, p")}`:`${n?"at ":""}${(0,r.format)(e,n?"p, MMM d":"MMM d, p")}`}(n,o,t)}function a(e){return(0,o.toZonedTime)(null!=e?e:Date.now(),Intl.DateTimeFormat().resolvedOptions().timeZone)}t.getDateTitle=function(e){const t=new Date(e),n=new Date,o=(0,r.differenceInCalendarDays)(n,t);return 0===o?"Today":1===o?"Yesterday":-1===o?"Tomorrow":o>0&&o<=6?`Last ${(0,r.format)(t,"EEEE")}`:o<0&&o>=-6?(0,r.format)(t,"EEEE"):(0,r.format)(t,"MMMM d, yyyy")},t.getDate=i,t.formatLines=function(e,t){if(t){if(t>=Date.now()){const e=i(t,!0);return"at"===e.substring(0,2)?["Reminding at",e.substring(3)]:[`Reminding ${e}`,null]}return[`Reminded ${i(t,!0)}`,`Sent ${i(e,!0)}`]}return[i(e),null]},t.localDateString=function(e){const t=null!=e?e:Date.now();return(0,r.formatISO)(a(t)).substring(0,10)},t.localTimeString=function(e){const t=null!=e?e:Date.now();return(0,r.formatISO)(a(t)).substring(11,16)},t.getZonedDate=a},42366:(e,t,n)=>{"use strict";t.endOfToday=function(e){return(0,r.endOfDay)(Date.now(),e)};var r=n(61883)},42551:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCardComponent=void 0;const a=i(n(96540)),s=n(86455),l=n(1413),c=n(26012),u=n(52124),d=n(83873),f=n(79690),h=n(37207),p=n(47250),m=i(n(35830)),g=n(14858),v=n(15996),y=n(12773),b=n(72425),C=n(54990),w=n(3565),_=n(29136),x=n(16415);t.NotificationCardComponent=e=>{var t,n,r,o,i,p,m;const{style:k,senderTitle:P,isFormExpanded:T,isToast:D=!1,clickAction:L,remove:A,minimize:I,submitForm:R,clickButtonAction:F,showReminderModal:N,setReminder:H,cancelReminder:V,raiseAnalyticsEvent:B,clickFragment:$,revisionNumber:Z,onKeyDown:z,focusedNotification:U}=e,{setIsMenuModalOpen:W,setMenuConfig:G,setIsCustomReminderModalOpen:Y,setCustomReminderConfig:q,setModalType:K}=(0,a.useContext)(x.WebModalContext),[Q,X]=(0,a.useState)(-1),[J,ee]=(0,a.useState)(!1),[te,ne]=(0,y.useIsStateUpdate)(Z,((e,t)=>J&&e!==t)),re=(0,c.isStoredNotification)(e.notification)?e.notification:e.notification.item,oe=re.notification,ie=null===(t=re.modifiers)||void 0===t?void 0:t.reminder,ae=P||re.title,se=(0,v.isTemplate)(oe,"custom")?null===(n=oe.templateOptions.buttons)||void 0===n?void 0:n.align:void 0,le=(0,v.isTemplate)(oe,"custom")&&(null===(r=oe.templateOptions.indicator)||void 0===r?void 0:r.align)||"center",ce=(e=>{var t,n,r;return e.indicator?(0,v.isTemplate)(e,"custom")?Object.assign(Object.assign({},e.indicator),{color:null!==(n=null===(t=e.indicator)||void 0===t?void 0:t.color)&&void 0!==n?n:null===(r=e.templateOptions.indicator)||void 0===r?void 0:r.color}):e.indicator:null})(oe),ue=!!ie&&ie>Date.now(),de=re.notification.allowReminder,{raiseAnalyticsEventDelayed:fe,cancelAnalyticsEventTimer:he}=(0,C.useAnalyticsDebounce)(1e3,B),pe=(0,a.useRef)(null),me=a.default.useContext(_.WindowContext),ge=a.default.useRef(null);(0,a.useEffect)((()=>{var e;re.id===(null==U?void 0:U.notificationId)&&(null===(e=ge.current)||void 0===e||e.focus())}),[U,re.id,ge.current]);const ve=(e,t)=>{null==H||H(Object.assign(Object.assign({},re),{modifiers:Object.assign(Object.assign({},re),{reminder:null!=t?t:Date.now()+e})}))},ye=l.TemplateComponentMap[re.notification.template];if(!ye)return console.error(`Unable to render ${re.id}. Unknown template ${re.notification.template}.`,re),null;const be=()=>ne(),Ce=[{title:"OK",cta:!0,index:0,iconUrl:"",submit:!1,type:"button",onClick:be,formOptions:null}],we=te&&oe.buttons.length>0?Ce:oe.buttons,_e=a.default.createElement(a.default.Fragment,null,a.default.createElement(f.CardHeader,{sender:ae,icon:oe.icon,uuid:null!==(i=null===(o=oe.stream)||void 0===o?void 0:o.id)&&void 0!==i?i:JSON.stringify(re.source),creationDate:oe.date,reminderDate:ie,isToast:D,"data-testid":"header",showReminderButton:de,onDismiss:e=>{e.stopPropagation(),e.preventDefault(),te||(D?(console.log(`Toast dismiss button clicked. (Nfn ID:${re.id})`),null==I||I(re)):(null==z||z(new KeyboardEvent("keydown",{key:"_Delete"})),console.log(`Notification remove button clicked. (Nfn ID:${re.id})`),null==A||A(re)))},onShowReminderModal:t=>{const n={x:t.screenX,y:t.screenY},r={identity:{id:"custom-reminder-select-menu-modal"},type:"CustomReminderModal",position:n,notification:re,isToast:D,onDismiss:t=>{"web"===e.mode&&Y(!1),"number"==typeof t&&(ve(0,t),null==B||B({type:D?"Toast":"Notification",action:"Set Custom Reminder",value:`${t+Date.now()}`,data:re.id,skipValueHashing:!0}))}},o={type:"Menu",position:n,width:140,header:"Remind me in...",options:(0,b.makePresetTimeSpanOptions)(ue),onDismiss:t=>{(0,b.isPresetTimeSpan)(t)?(ve(t.timeSpan),W(!1),null==B||B({type:D?"Toast":"Notification",action:"Select preset Reminder",value:`${t.timeSpan+Date.now()}`,data:re.id,skipValueHashing:!0})):"string"==typeof t&&("cancel"===t?(null==V||V(re),"web"===e.mode&&W(!1),null==B||B({type:"Notification",action:"Cancel Reminder",data:re.id,skipValueHashing:!0})):"custom"===t&&("web"===e.mode?(W(!1),Y(!0),K("reminder"),q(r)):null==N||N(r)))}};if("desktop"===e.mode)null==N||N(o);else if("web"===e.mode)return W(!0),G(o),void K("reminder");null==B||B({type:D?"Toast":"Notification",action:"Select Reminder Button",data:{id:re.id},skipValueHashing:!0})},raiseAnalyticsEvent:B,tabIndex:Q,notificationID:re.id,mode:e.mode}),oe.title&&a.default.createElement(j,null,a.default.createElement(g.SingleLine,{weight:"bold","data-testid":"notification-title"},oe.title)),a.default.createElement(S,{ref:pe,"data-scrollable-container":"true",flexDirection:"column","data-testid":"template-content"},a.default.createElement(ye,{notification:re,submitForm:R,clickButtonAction:F,clickFragment:async(e,t)=>{t.onClick&&(e.stopPropagation(),e.preventDefault(),await(null==$?void 0:$(re,t,D)))},templateContent:pe,tabIndexOverride:Q,isToast:D}))),xe=D?"Click to dismiss":"Click to clear",Oe=(null===(p=re.notification.onSelect)||void 0===p?void 0:p.BODY_CLICK)===s.ActionBodyClickType.DISMISS_EVENT&&!(null===(m=re.notification.buttons)||void 0===m?void 0:m.length),Ee=we.reduce(((e,t)=>(t.cta?e.primary++:e.secondary++,e)),{primary:0,secondary:0});return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.Card,{title:Oe?xe:"",onClick:async e=>{(0,v.isTemplate)(oe,"markdown")&&oe.form||(e.stopPropagation(),e.preventDefault(),te||await(null==L?void 0:L(re)))},"data-testid":"notification-card","data-id":re.id,style:k,hasButtons:we.length>0,isTall:Ee.primary>3||Ee.secondary>3,tabIndex:Q,onMouseEnter:()=>{ee(!0),fe({type:D?"Toast":"Notification",action:"Hover",skipValueHashing:!0})},onMouseLeave:()=>{ee(!1),ne(),he()},isToast:D,isFormExpanded:T,onFocus:()=>X(0),onBlur:e=>{const t=e.currentTarget;requestAnimationFrame((()=>{t.contains(me.document.activeElement)||X(-1)}))},onKeyDown:e=>null==z?void 0:z(e.nativeEvent),ref:ge,role:"listitem",mode:e.mode},a.default.createElement(w.FormikProxyProvider,null,ce&&a.default.createElement(O,{alignment:le},te?a.default.createElement(u.InfoBanner,{text:"Notification Updated"}):a.default.createElement(u.IndicatorBanner,{indicator:ce,alignment:le})),a.default.createElement(M,{flexDirection:"column",gap:"xsmall"},te?a.default.createElement(E,{"data-testid":"update-overlay",gap:"xsmall"},_e):_e,we.length>0&&a.default.createElement(d.ButtonsContainer,{alignment:se,buttonData:we,onClick:te?be:async(e,t)=>{if(!t.submit){e.stopPropagation(),e.preventDefault();const n=t.index||0;await(null==F?void 0:F(re,n))}},tabIndexOverride:Q,notificationId:re.id,isToast:D,raiseAnalyticsEvent:B})))))};const O=(0,m.default)(p.Box)`
|
|
334
|
+
`},37633:(e,t,n)=>{"use strict";t.getMilliseconds=function(e){return(0,r.toDate)(e).getMilliseconds()};var r=n(34446)},37676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStickyNotifications=t.getNotifications=t.NotificationToastControlBarAction=t.MinimizeAllToast=t.MinimizeToast=t.ApplyNotificationModifier=t.SubmitNotificationForm=t.initialSortedNotificationsState=void 0;const r=n(5299),o=n(42885),i=n(26012);t.initialSortedNotificationsState={byId:{},byApplication:{},byStream:{}};class a extends r.KeyedAction{constructor(e,t,n){super("notifications"),this.notification=e,this.form=t,this.button=n}}t.SubmitNotificationForm=a;class s extends r.KeyedAction{constructor(e,t){super("notifications"),this.modifiers=t,this.notification=Object.assign(Object.assign({},e),{modifiers:Object.assign({},t)})}reduce(e){const{id:t}=this.notification,n=[...e],r=[...e].findIndex((e=>e.id===t)),o=Object.assign(Object.assign({},n[r]),{modifiers:this.modifiers});return n[r]=o,n}}t.ApplyNotificationModifier=s;class l extends r.Action{constructor(e){super(),this.notification=e}async call(e,t){(0,i.isSticky)(this.notification.notification)&&await e.dispatch(new s(this.notification,{notSticky:!0})),await t()}reduce(e){const{notification:t}=this;return(0,i.isSticky)(t.notification)?Object.assign(Object.assign({},e),{stickyNotifications:[...e.stickyNotifications.filter((e=>e.id!==t.id))]}):e}}t.MinimizeToast=l;class c extends r.Action{constructor(e){super(),this.notifications=e}async call(e,t){const n=this.notifications.map((async t=>{await e.dispatch(new l(t))}));await Promise.all(n),await t()}reduce(e){return e}}t.MinimizeAllToast=c;class u extends r.Action{constructor(e){super(),this.action=e}}t.NotificationToastControlBarAction=u,t.getNotifications=e=>e.notifications,t.getStickyNotifications=(0,o.createSelector)(t.getNotifications,(e=>e.filter((e=>{var t;return(0,i.isSticky)(e.notification)&&!(null===(t=e.modifiers)||void 0===t?void 0:t.notSticky)}))))},37724:(e,t,n)=>{"use strict";t.nextThursday=function(e,t){return(0,r.nextDay)(e,4,t)};var r=n(70064)},37763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.id=function(){return n++};let n=0},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},37838:(e,t,n)=>{"use strict";t.eachQuarterOfInterval=function(e,t){const{start:n,end:s}=(0,r.normalizeInterval)(t?.in,e);let l=+n>+s;const c=l?+(0,a.startOfQuarter)(n):+(0,a.startOfQuarter)(s);let u=l?(0,a.startOfQuarter)(s):(0,a.startOfQuarter)(n),d=t?.step??1;if(!d)return[];d<0&&(d=-d,l=!l);const f=[];for(;+u<=c;)f.push((0,i.constructFrom)(n,u)),u=(0,o.addQuarters)(u,d);return l?f.reverse():f};var r=n(18290),o=n(21149),i=n(92956),a=n(16944)},37869:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activeStartDate,n=e.locale,i=e.onMouseLeave,f=e.showFixedNumberOfWeeks,h=e.calendarType,p=void 0===h?function(e){if(e)for(var t=0,n=Object.entries(d.CALENDAR_TYPE_LOCALES);t<n.length;t++){var r=n[t],o=r[0];if(r[1].includes(e))return o}return d.CALENDAR_TYPES.ISO_8601}(n):h,m=e.formatShortWeekday,g=e.formatWeekday,v=e.onClickWeekNumber,y=e.showWeekNumbers,b=o(e,["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"]),C="react-calendar__month-view";return(0,a.jsx)("div",{className:(0,s.default)(C,y?"".concat(C,"--weekNumbers"):""),children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[y?(0,a.jsx)(u.default,{activeStartDate:t,calendarType:p,onClickWeekNumber:v,onMouseLeave:i,showFixedNumberOfWeeks:f}):null,(0,a.jsxs)("div",{style:{flexGrow:1,width:"100%"},children:[(0,a.jsx)(c.default,{calendarType:p,formatShortWeekday:m,formatWeekday:g,locale:n,onMouseLeave:i}),(0,a.jsx)(l.default,r({calendarType:p},b))]})]})})};var a=n(74848),s=i(n(71508)),l=i(n(80015)),c=i(n(3871)),u=i(n(12188)),d=n(70821)},37893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseType=function(e){const t=Object.getPrototypeOf(e.prototype),n=t?.constructor;return n}},38122:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YearView=t.Navigation=t.MonthView=t.DecadeView=t.CenturyView=t.Calendar=void 0;var o=r(n(32562));t.Calendar=o.default;var i=r(n(13863));t.CenturyView=i.default;var a=r(n(31057));t.DecadeView=a.default;var s=r(n(37869));t.MonthView=s.default;var l=r(n(48391));t.Navigation=l.default;var c=r(n(36348));t.YearView=c.default,t.default=o.default},38320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateReminder=t.TimeoutReminder=t.CancelReminderAndRecreateNotification=t.CancelReminder=t.SetReminderThroughUI=t.SetReminder=void 0;const r=n(5299),o=n(50768),i=n(87031),a=n(87451),s=n(87234);class l extends r.KeyedAction{constructor(e){super("reminders"),this.reminder=e}async call(e,t){const n=e.state.reminders.find((e=>e.id===this.reminder.id));n&&await e.dispatch(new c(n)),e.state.notifications.some((e=>e.id===this.reminder.id))&&await e.dispatch(new a.RemoveNotifications([this.reminder])),await t()}reduce(e){return[...e,this.reminder]}}t.SetReminder=l,t.SetReminderThroughUI=class extends l{constructor(e){super(e),this.reminder=e}async call(e,t){await super.call(e,t),e.state.settings.tutorials.reminders||(await e.dispatch(new a.CreateNotification((0,o.makeRemindersTutorialNotification)(this.reminder.notification.icon,this.reminder.source))),await e.dispatch(new s.RemindersTutorialComplete))}};class c extends r.KeyedAction{constructor(e){super("reminders"),this.reminder=e}reduce(e){return e.filter((e=>e.id!==this.reminder.id))}}t.CancelReminder=c,t.CancelReminderAndRecreateNotification=class extends c{constructor(e){super(e),this.reminder=e}async call(e,t){const n=Object.assign({},this.reminder.modifiers);delete n.reminder,await e.dispatch(new a.CreateNotification(Object.assign(Object.assign({},this.reminder),{modifiers:n}))),await t()}reduce(e){return super.reduce(e)}};class u extends r.KeyedAction{constructor(e){super("reminders"),this.reminderId=e}async call(e,t){const n=e.state.reminders.find((e=>e.id===this.reminderId));n?(await e.dispatch(new a.CreateNotification(n)),await t()):console.warn(`Reminder(${this.reminderId}) was not found in the store.`)}reduce(e){return e.filter((e=>e.id!==this.reminderId))}}t.TimeoutReminder=u;class d extends r.KeyedAction{constructor(e){super("reminders"),this.updatePayload=e,this._updatedReminder=null}get updatedReminder(){return this._updatedReminder}reduce(e){const t=[...e];return this._updatedReminder=(0,i.updateCollection)(t,this.updatePayload),[...t]}}t.UpdateReminder=d},38542:(e,t,n)=>{"use strict";t.subQuarters=function(e,t,n){return(0,r.addQuarters)(e,-t,n)};var r=n(21149)},38630:(e,t,n)=>{var r;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),r=o(e);function o(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(r=o(t.Reflect,r)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,o=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,l=!a&&!s,c={create:a?function(){return $(Object.create(null))}:s?function(){return $({__proto__:null})}:function(){return $({})},has:l?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;o<r;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,A(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,o)},t.prototype.entries=function(){return new n(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){if(!A(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(A(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function o(e,t){return t}function a(e,t){return[e,t]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+a()}while(c.has(e,t));return e[t]=!0,t}function o(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function i(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function a(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):i(t,e),t}return i(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),p=r?Symbol.for("@reflect-metadata:registry"):void 0,m=function(){var e;return!E(p)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[p]),E(e)&&(e=function(){var e,n,r,o;E(p)||void 0===t.Reflect||p in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,o=e.getOwnMetadataKeys,i=e.deleteMetadata,a=new h;return{isProviderFor:function(e,t){var n=a.get(e);return!(E(n)||!n.has(t))||!!o(e,t).length&&(E(n)&&(n=new f,a.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(t.Reflect));var i=new h,a={registerProvider:s,getProvider:c,setProvider:m};return a;function s(t){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case E(n):n=t;break;case n===t:break;case E(r):r=t;break;case r===t:break;default:void 0===o&&(o=new f),o.add(t)}}function l(t,i){if(!E(n)){if(n.isProviderFor(t,i))return n;if(!E(r)){if(r.isProviderFor(t,i))return n;if(!E(o))for(var a=R(o);;){var s=N(a);if(!s)return;var l=F(s);if(l.isProviderFor(t,i))return H(a),l}}}if(!E(e)&&e.isProviderFor(t,i))return e}function c(e,t){var n,r=i.get(e);return E(r)||(n=r.get(t)),E(n)?(E(n=l(e,t))||(E(r)&&(r=new d,i.set(e,r)),r.set(t,n)),n):n}function u(e){if(E(e))throw new TypeError;return n===e||r===e||!E(o)&&o.has(e)}function m(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var r=c(e,t);if(r!==n){if(!E(r))return!1;var o=i.get(e);E(o)&&(o=new d,i.set(e,o)),o.set(t,n)}return!0}}()),!E(p)&&S(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),g=function(e){var t=new h,n={isProviderFor:function(e,n){var r=t.get(e);return!E(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,o){r(n,o,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var o=r(t,n,!1);return!E(o)&&k(o.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var o=r(t,n,!1);if(!E(o))return o.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],o=r(e,t,!1);if(E(o))return n;for(var i=R(o.keys()),a=0;;){var s=N(i);if(!s)return n.length=a,n;var l=F(s);try{n[a]=l}catch(e){try{H(i)}finally{throw e}}a++}},OrdinaryDeleteMetadata:function(e,n,o){var i=r(n,o,!1);if(E(i))return!1;if(!i.delete(e))return!1;if(0===i.size){var a=t.get(n);E(a)||(a.delete(o),0===a.size&&t.delete(a))}return!0}};return m.registerProvider(n),n;function r(r,o,i){var a=t.get(r),s=!1;if(E(a)){if(!i)return;a=new d,t.set(r,a),s=!0}var l=a.get(o);if(E(l)){if(!i)return;if(l=new d,a.set(o,l),!e.setProvider(r,o,n))throw a.delete(o),s&&t.delete(r),new Error("Wrong provider for target.")}return l}}(m);function v(e,t,n){if(y(e,t,n))return!0;var r=V(t);return!M(r)&&v(e,r,n)}function y(e,t,n){var r=B(t,n,!1);return!E(r)&&k(r.OrdinaryHasOwnMetadata(e,t,n))}function b(e,t,n){if(y(e,t,n))return C(e,t,n);var r=V(t);return M(r)?void 0:b(e,r,n)}function C(e,t,n){var r=B(t,n,!1);if(!E(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function w(e,t,n,r){B(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function _(e,t){var n=x(e,t),r=V(e);if(null===r)return n;var o=_(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new f,a=[],s=0,l=n;s<l.length;s++){var c=l[s];i.has(c)||(i.add(c),a.push(c))}for(var u=0,d=o;u<d.length;u++)c=d[u],i.has(c)||(i.add(c),a.push(c));return a}function x(e,t){var n=B(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function O(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function E(e){return void 0===e}function M(e){return null===e}function S(e){return"object"==typeof e?null!==e:"function"==typeof e}function j(e,t){switch(O(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=I(e,o);if(void 0!==r){var i=r.call(e,n);if(S(i))throw new TypeError;return i}return function(e,t){if("string"===t){var n=e.toString;if(D(n)&&!S(o=n.call(e)))return o;if(D(r=e.valueOf)&&!S(o=r.call(e)))return o}else{var r;if(D(r=e.valueOf)&&!S(o=r.call(e)))return o;var o,i=e.toString;if(D(i)&&!S(o=i.call(e)))return o}throw new TypeError}(e,"default"===n?"number":n)}function k(e){return!!e}function P(e){var t=j(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function D(e){return"function"==typeof e}function L(e){return"function"==typeof e}function A(e,t){return e===t||e!=e&&t!=t}function I(e,t){var n=e[t];if(null!=n){if(!D(n))throw new TypeError;return n}}function R(e){var t=I(e,i);if(!D(t))throw new TypeError;var n=t.call(e);if(!S(n))throw new TypeError;return n}function F(e){return e.value}function N(e){var t=e.next();return!t.done&&t}function H(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===u)return t;if(t!==u)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var o=r.constructor;return"function"!=typeof o||o===e?t:o}function B(e,t,n){var r=m.getProvider(e,t);if(!E(r))return r;if(n){if(m.setProvider(e,t,g))return g;throw new Error("Illegal state.")}}function $(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,n,r){if(E(n)){if(!T(e))throw new TypeError;if(!L(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!E(r)&&!M(r)){if(!L(r))throw new TypeError;t=r}}return t}(e,t)}if(!T(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(r)&&!E(r)&&!M(r))throw new TypeError;return M(r)&&(r=void 0),function(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!E(i)&&!M(i)){if(!S(i))throw new TypeError;r=i}}return r}(e,t,n=P(n),r)})),e("metadata",(function(e,t){return function(n,r){if(!S(n))throw new TypeError;if(!E(r)&&!function(e){switch(O(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;w(e,t,n,r)}})),e("defineMetadata",(function(e,t,n,r){if(!S(n))throw new TypeError;return E(r)||(r=P(r)),w(e,t,n,r)})),e("hasMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),v(e,t,n)})),e("hasOwnMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),y(e,t,n)})),e("getMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),b(e,t,n)})),e("getOwnMetadata",(function(e,t,n){if(!S(t))throw new TypeError;return E(n)||(n=P(n)),C(e,t,n)})),e("getMetadataKeys",(function(e,t){if(!S(e))throw new TypeError;return E(t)||(t=P(t)),_(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!S(e))throw new TypeError;return E(t)||(t=P(t)),x(e,t)})),e("deleteMetadata",(function(e,t,n){if(!S(t))throw new TypeError;if(E(n)||(n=P(n)),!S(t))throw new TypeError;E(n)||(n=P(n));var r=B(t,n,!1);return!E(r)&&r.OrdinaryDeleteMetadata(e,t,n)}))}(r,t),void 0===t.Reflect&&(t.Reflect=e)}()}(r||(r={}))},38859:(e,t,n)=>{var r=n(53661),o=n(31380),i=n(51459);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},38873:(e,t,n)=>{"use strict";t.max=function(e,t){let n,i=t?.in;return e.forEach((e=>{i||"object"!=typeof e||(i=r.constructFrom.bind(null,e));const t=(0,o.toDate)(e,i);(!n||n<t||isNaN(+t))&&(n=t)})),(0,r.constructFrom)(i,n||NaN)};var r=n(92956),o=n(34446)},38996:(e,t,n)=>{"use strict";t.eachHourOfInterval=function(e,t){const{start:n,end:i}=(0,r.normalizeInterval)(t?.in,e);let a=+n>+i;const s=a?+n:+i,l=a?i:n;l.setMinutes(0,0,0);let c=t?.step??1;if(!c)return[];c<0&&(c=-c,a=!a);const u=[];for(;+l<=s;)u.push((0,o.constructFrom)(n,l)),l.setHours(l.getHours()+c);return a?u.reverse():u};var r=n(18290),o=n(92956)},39034:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94037);const o=r.memo((()=>void 0!==window.ScrollTimeline));class i{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>o()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function a(e,t){return e?e[t]||e.default||e:void 0}const s=2e4;function l(e){let t=0,n=e.next(t);for(;!n.done&&t<s;)t+=50,n=e.next(t);return t>=s?1/0:t}function c(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(l(o),s);return{type:"keyframes",ease:e=>o.next(i*e).value/t,duration:r.millisecondsToSeconds(i)}}function u(e){return"function"==typeof e}function d(e,t){e.timeline=t,e.onfinish=null}class f{constructor(e){this.animation=e}get duration(){var e,t,n;const o=(null===(t=null===(e=this.animation)||void 0===e?void 0:e.effect)||void 0===t?void 0:t.getComputedTiming().duration)||(null===(n=this.options)||void 0===n?void 0:n.duration)||300;return r.millisecondsToSeconds(Number(o))}get time(){var e;return this.animation?r.millisecondsToSeconds((null===(e=this.animation)||void 0===e?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=r.secondsToMilliseconds(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&(null===(e=this.animation.effect)||void 0===e||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&d(this.animation,e),r.noop}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(e){}}}const h=e=>Array.isArray(e)&&"number"==typeof e[0],p={linearEasing:void 0};function m(e,t){const n=r.memo(e);return()=>{var e;return null!==(e=p[t])&&void 0!==e?e:n()}}const g=m((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),v=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)o+=e(r.progress(0,i-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`},y=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,b={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])};function C(e,t){return e?"function"==typeof e&&g()?v(e,t):h(e)?y(e):Array.isArray(e)?e.map((e=>C(e,t)||b.easeOut)):b[e]:void 0}const w={x:!1,y:!1};function _(){return w.x||w.y}function x(e,t,n){var r;if(e instanceof Element)return[e];if("string"==typeof e){let o=document;t&&(o=t.current);const i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function O(e,t){const n=x(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function E(e){return t=>{"touch"===t.pointerType||_()||e(t)}}const M=(e,t)=>!!t&&(e===t||M(e,t.parentElement)),S=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,j=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),k=new WeakSet;function P(e){return t=>{"Enter"===t.key&&e(t)}}function T(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function D(e){return S(e)&&!_()}const L="easeOut";function A(e){var t;if(u(e.type)){const t=c(e,100,e.type);e.ease=g()?t.ease:L,e.duration=r.secondsToMilliseconds(t.duration),e.type="keyframes"}else e.duration=r.secondsToMilliseconds(null!==(t=e.duration)&&void 0!==t?t:.3),e.ease=e.ease||L}class I extends f{constructor(e,t,n,o,i){const a=function(e,t,n){var o;const i={},a={fill:"both",easing:"linear",composite:"replace"};a.delay=r.secondsToMilliseconds(null!==(o=n.delay)&&void 0!==o?o:0),A(n),a.duration=n.duration;const{ease:s,times:l}=n;l&&(i.offset=l),i[e]=t;const c=C(s,n.duration);return Array.isArray(c)?i.easing=c:a.easing=c,{keyframes:i,options:a}}(n,o,i);super(e.animate(a.keyframes,{pseudoElement:t,...a.options}))}}function R(e){return"layout"===e?"group":"enter"===e||"new"===e?"new":"exit"===e||"old"===e?"old":"group"}let F={},N=null;const H=(e,t)=>{F[e]=t};function V(e){const t=e.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}function B(e){var t;const{effect:n}=e;return!!n&&n.target===document.documentElement&&(null===(t=n.pseudoElement)||void 0===t?void 0:t.startsWith("::view-transition"))}const $=["layout","enter","exit","new","old"];function Z(e,t,n){if(!document.startViewTransition)return new Promise((async t=>{await e(),t(new i([]))}));(function(e,t){return t.has(e)&&Object.keys(t.get(e)).length>0})("root",n)||H(":root",{"view-transition-name":"none"}),H("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),(()=>{N||(N=document.createElement("style"),N.id="motion-view");let e="";for(const t in F){const n=F[t];e+=`${t} {\n`;for(const[t,r]of Object.entries(n))e+=` ${t}: ${r};\n`;e+="}\n"}N.textContent=e,document.head.appendChild(N),F={}})();const o=document.startViewTransition((async()=>{await e()}));return o.finished.finally((()=>{N&&N.parentElement&&N.parentElement.removeChild(N)})),new Promise((e=>{o.ready.then((()=>{var o;const s=document.getAnimations().filter(B),l=[];n.forEach(((e,n)=>{for(const r of $){if(!e[r])continue;const{keyframes:o,options:i}=e[r];for(let[e,s]of Object.entries(o)){if(!s)continue;const o={...a(t,e),...a(i,e)},c=R(r);"opacity"!==e||Array.isArray(s)||(s=["new"===c?0:1,s]),"function"==typeof o.delay&&(o.delay=o.delay(0,1));const u=new I(document.documentElement,`::view-transition-${c}(${n})`,e,s,o);l.push(u)}}}));for(const e of s){if("finished"===e.playState)continue;const{effect:i}=e;if(!(i&&i instanceof KeyframeEffect))continue;const{pseudoElement:s}=i;if(!s)continue;const c=V(s);if(!c)continue;const u=n.get(c.layer);if(u)z(u,"enter")&&z(u,"exit")&&i.getKeyframes().some((e=>e.mixBlendMode))?l.push(new f(e)):e.cancel();else{const n="group"===c.type?"layout":"",s={...a(t,n)};A(s);const u=C(s.ease,s.duration);i.updateTiming({delay:r.secondsToMilliseconds(null!==(o=s.delay)&&void 0!==o?o:0),duration:s.duration,easing:u}),l.push(new f(e))}}e(new i(l))}))}))}function z(e,t){var n;return null===(n=null==e?void 0:e[t])||void 0===n?void 0:n.keyframes.opacity}class U{constructor(e,t={}){this.currentTarget="root",this.targets=new Map,this.notifyReady=r.noop,this.readyPromise=new Promise((e=>{this.notifyReady=e})),queueMicrotask((()=>{Z(e,t,this.targets).then((e=>this.notifyReady(e)))}))}get(e){return this.currentTarget=e,this}layout(e,t){return this.updateTarget("layout",e,t),this}new(e,t){return this.updateTarget("new",e,t),this}old(e,t){return this.updateTarget("old",e,t),this}enter(e,t){return this.updateTarget("enter",e,t),this}exit(e,t){return this.updateTarget("exit",e,t),this}crossfade(e){return this.updateTarget("enter",{opacity:1},e),this.updateTarget("exit",{opacity:0},e),this}updateTarget(e,t,n={}){const{currentTarget:r,targets:o}=this;o.has(r)||o.set(r,{}),o.get(r)[e]={keyframes:t,options:n}}then(e,t){return this.readyPromise.then(e,t)}}t.GroupPlaybackControls=class extends i{then(e,t){return Promise.all(this.animations).then(e).catch(t)}},t.NativeAnimationControls=f,t.ViewTransitionBuilder=U,t.attachTimeline=d,t.calcGeneratorDuration=l,t.createGeneratorEasing=c,t.cubicBezierAsString=y,t.generateLinearEasing=v,t.getValueTransition=a,t.hover=function(e,t,n={}){const[r,o,i]=O(e,n),a=E((e=>{const{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;const i=E((e=>{r(e),n.removeEventListener("pointerleave",i)}));n.addEventListener("pointerleave",i,o)}));return r.forEach((e=>{e.addEventListener("pointerenter",a,o)})),i},t.isBezierDefinition=h,t.isDragActive=_,t.isDragging=w,t.isGenerator=u,t.isNodeOrChild=M,t.isPrimaryPointer=S,t.isWaapiSupportedEasing=function e(t){return Boolean("function"==typeof t&&g()||!t||"string"==typeof t&&(t in b||g())||h(t)||Array.isArray(t)&&t.every(e))},t.mapEasingToNativeEasing=C,t.maxGeneratorDuration=s,t.press=function(e,t,n={}){const[r,o,i]=O(e,n),a=e=>{const r=e.currentTarget;if(!D(e)||k.has(r))return;k.add(r);const i=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),D(e)&&k.has(r)&&(k.delete(r),"function"==typeof i&&i(e,{success:t}))},s=e=>{a(e,n.useGlobalTarget||M(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return r.forEach((e=>{(function(e){return j.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=P((()=>{if(k.has(n))return;T(n,"down");const e=P((()=>{T(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>T(n,"cancel")),t)}));n.addEventListener("keydown",r,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",r)),t)})(e,o)),o)})),i},t.resolveElements=x,t.setDragLock=function(e){return"x"===e||"y"===e?w[e]?null:(w[e]=!0,()=>{w[e]=!1}):w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})},t.supportedWaapiEasing=b,t.supportsFlags=p,t.supportsLinearEasing=g,t.supportsScrollTimeline=o,t.view=function(e,t={}){return new U(e,t)}},39105:(e,t,n)=>{"use strict";t.isThisMonth=function(e,t){return(0,i.isSameMonth)((0,r.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var r=n(92956),o=n(2700),i=n(59019)},39305:(e,t,n)=>{"use strict";t.eachWeekendOfInterval=function(e,t){const{start:n,end:s}=(0,r.normalizeInterval)(t?.in,e),l=(0,i.eachDayOfInterval)({start:n,end:s},t),c=[];let u=0;for(;u<l.length;){const e=l[u++];(0,a.isWeekend)(e)&&c.push((0,o.constructFrom)(n,e))}return c};var r=n(18290),o=n(92956),i=n(83700),a=n(43348)},39316:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>i});var o=/^((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)-.*))$/,i=r((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},39859:(e,t,n)=>{"use strict";t.roundToNearestHours=function(e,t){const n=t?.nearestTo??1;if(n<1||n>12)return(0,o.constructFrom)(t?.in||e,NaN);const a=(0,i.toDate)(e,t?.in),s=a.getMinutes()/60,l=a.getSeconds()/60/60,c=a.getMilliseconds()/1e3/60/60,u=a.getHours()+s+l+c,d=t?.roundingMethod??"round",f=(0,r.getRoundingMethod)(d)(u/n)*n;return a.setHours(f,0,0,0),a};var r=n(1331),o=n(92956),i=n(34446)},39897:function(e,t,n){"use strict";var r,o,i=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientController=void 0;const c=n(40707),u=n(64854),d=n(87451),f=n(58684),h=n(37676),p=n(38320),m=n(84673),g=n(50768),v=n(87234),y=n(47202),b=n(76858),C=n(52650),w=l(n(25858));let _=class{constructor(e,t){this._providersById=new Map,this._providersByUUID=new Map,this._topics=new Map,this._throttledBroadcastNotificationCount=(0,w.default)((()=>this.broardcastAction("notifications-count-changed")),1e3),this._throttledNotificationSoundChanged=(0,w.default)((()=>this.broardcastAction("notification-sound-toggled")),1e3),this._store=e,this._apiHandler=t,this._apiHandler.onConnection.add(this.onConnection,this),this._apiHandler.onDisconnection.add(this.onDisconnection,this),e.onAction.add(this.onAction.bind(this))}async onAction(e){e instanceof d.CreateNotification?await this.onCreateNotifications(e):e instanceof d.RemoveNotifications?await this.onRemoveNotifications(e):e instanceof p.SetReminder?await this.onSetReminder(e):e instanceof p.CancelReminder?await this.onCancelReminder(e):e instanceof d.ClickButton?await this.onClickButton(e):e instanceof d.ClickFragment?await this.onClickFragment(e):e instanceof d.ClickNotification?await this.onClickNotification(e):e instanceof d.ExpireNotification?await this.onExpireNotification(e):e instanceof h.SubmitNotificationForm?await this.onSubmitNotificationForm(e):e instanceof f.RequestNotificationFormCustomValidation&&await this.onRequestNotificationFormCustomValidation(e),(e instanceof d.CreateNotification||e instanceof d.RemoveNotifications)&&this._throttledBroadcastNotificationCount(),e instanceof v.ToggleNotificationSound&&this._throttledNotificationSoundChanged()}async onCreateNotifications(e){const{notification:t,source:n}=e.notification;if((0,g.isTutorialNotification)(e.notification))return;const r={target:"default",type:"notification-created",notification:(0,m.mutable)(t)};await this.dispatchAction(n,r)}async onRemoveNotifications(e){const{notifications:t}=e;await Promise.all(t.map((async e=>{const{notification:t,source:n}=e;if((0,g.isTutorialNotification)(e))return;if(null!==t.onClose){const e={target:"default",type:"notification-action",trigger:c.ActionTrigger.CLOSE,notification:(0,m.mutable)(t),source:n,result:t.onClose};await this.dispatchAction(n,e)}const r={target:"default",type:"notification-closed",notification:(0,m.mutable)(t)};await this.dispatchAction(n,r)})))}async onSetReminder(e){const{notification:t,source:n,modifiers:r}=e.reminder,o={target:"default",type:"notification-reminder-created",notification:(0,m.mutable)(t),reminderDate:r.reminder};await this.dispatchAction(n,o)}async onCancelReminder(e){const{notification:t,source:n}=e.reminder,r={target:"default",type:"notification-reminder-removed",notification:(0,m.mutable)(t)};await this.dispatchAction(n,r)}async onClickButton(e){const{notification:t,source:n}=e.notification,r=t.buttons[e.buttonIndex];if(!r.onClick)return;if((0,g.isTutorialNotification)(e.notification))return void await(0,g.handleTutorialButtonAction)(r.onClick,this._store);const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:(0,m.mutable)(t),source:n,controlSource:"buttons",controlIndex:e.buttonIndex,result:r.onClick};await this.dispatchAction(n,o)}async onClickFragment(e){const{notification:t,source:n}=e.notification,r=e.fragment;if(!r.onClick)return;const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:Object.assign(Object.assign({},t),{_fragments:[r]}),source:n,controlSource:"_fragments",controlIndex:0,result:r.onClick};await this.dispatchAction(n,o)}async onClickNotification(e){const{notification:t,source:n}=e.notification;if((0,g.isTutorialNotification)(e.notification)||!t.onSelect)return;const r={target:"default",type:"notification-action",trigger:c.ActionTrigger.SELECT,notification:(0,m.mutable)(t),source:n,result:t.onSelect};await this.dispatchAction(n,r)}async onExpireNotification(e){const{notification:t,source:n}=e.notification;if(!t.onExpire)return;const r={target:"default",type:"notification-action",trigger:c.ActionTrigger.EXPIRE,notification:(0,m.mutable)(t),source:n,result:t.onExpire};await this.dispatchAction(n,r)}async onSubmitNotificationForm(e){const{form:t,button:n}=e,{notification:r}=e.notification,o=e.notification.source,i={target:"default",type:"notification-form-submitted",notification:(0,m.mutable)(r),form:t,button:n};await this.dispatchAction(o,i)}async onRequestNotificationFormCustomValidation(e){const{notification:t}=e.notification,n=e.notification.source,r={target:"default",type:"notification-form-values-changed",notification:(0,m.mutable)(t),form:e.form};await this.dispatchAction(n,r)}async dispatchAction(e,t){const n=this._topics.get(t.type);if(n){const r=this.translateProviderIdentityToClientIdentity(e.identity);r&&n.some((e=>e.uuid===r.uuid&&e.name===r.name))&&this._apiHandler.dispatchEvent(r,t)}}async broardcastAction(e){const t=this._topics.get(e);if(t)if("notifications-count-changed"===e){const e={target:"default",type:"notifications-count-changed",count:this._store.state.notifications.length};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}else if("notification-sound-toggled"===e){const e={target:"default",type:"notification-sound-toggled",notificationSoundEnabled:this._store.state.settings.notificationSoundEnabled};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}}async onAddEventListener(e,t){this._topics.has(e)||this._topics.set(e,[]);const n=this._topics.get(e);n&&!n.some((e=>e.uuid===t.uuid&&e.name===t.name))&&n.push(t)}async onRemoveEventListener(e,t){const n=this._topics.get(e);n&&this._topics.set(e,n.filter((e=>e.uuid!==t.uuid&&e.name!==t.name)))}async onConnection(e,t){if(!t)throw new Error("Provider information is missing.");await this._store.dispatch(new d.RegisterApplication({type:"web",id:t.id,title:t.title,iconUrl:t.icon,muted:!1,persistToasts:!1}));const n=Object.assign(Object.assign({},e),t);this._providersById.set(t.id,n),this._providersByUUID.set(e.uuid,n)}onDisconnection(e){const t=this._providersByUUID.get(e.uuid);if(t){const n=t.id;this._providersById.delete(n),this._providersByUUID.delete(e.uuid),this._topics.forEach(((t,n)=>{this._topics.set(n,t.filter((t=>t.uuid!==e.uuid)))}))}else console.error(`Client with id {uuid:${e.uuid}, name:${e.name}} was disconnected but could not be found in the connection registry.`)}translateProviderIdentityToClientIdentity(e){const t=this._providersById.get(e.uuid);return t?{uuid:t.uuid,name:t.name}:null}translateClientIdentityToProviderIdentity(e){const t=this._providersByUUID.get(e.uuid);if(t)return{uuid:t.id,name:t.title};throw new Error(`Client with identity={id:${e.uuid}, name:${e.name}}} is not connected.`)}};_=i([(0,C.injectable)(),s(0,(0,C.inject)(y.Inject.STORE)),s(1,(0,C.inject)(y.Inject.API_HANDLER)),a("design:paramtypes",["function"==typeof(r=void 0!==b.WebStore&&b.WebStore)?r:Object,"function"==typeof(o=void 0!==u.APIHandler&&u.APIHandler)?o:Object])],_),t.ClientController=_},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},40651:e=>{e.exports=function(e,t){for(var n=e.split("."),r=t.split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return 0}},40660:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryContext=void 0;const a=i(n(96540));t.HistoryContext=a.createContext({})},40707:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.setAllowedOrigins=t.getUserSettingStatus=t.UserSettings=t.getNotificationsCount=t.hide=t.show=t.setDefaultPlatformShortcut=t.toggleNotificationCenter=t.clearAll=t.getAll=t.cancelReminder=t.setReminder=t.clear=t.update=t.create=t.removeEventListener=t.addEventListener=t.VERSION=t.NotificationIndicatorType=t.IndicatorColor=t.NotificationIndicatorWithCustomColor=t.NotificationIndicator=t.NotificationOptions=t.provider=t.actions=void 0;const l=n(86455),c=n(43816),u=n(59603),d=n(33657),f=i(n(46451));t.provider=f;const h=n(28173),p=n(46865);Object.defineProperty(t,"NotificationIndicator",{enumerable:!0,get:function(){return p.NotificationIndicator}}),Object.defineProperty(t,"NotificationIndicatorWithCustomColor",{enumerable:!0,get:function(){return p.NotificationIndicatorWithCustomColor}}),Object.defineProperty(t,"NotificationIndicatorType",{enumerable:!0,get:function(){return p.IndicatorType}}),Object.defineProperty(t,"IndicatorColor",{enumerable:!0,get:function(){return p.IndicatorColor}});const m=n(44415);Object.defineProperty(t,"NotificationOptions",{enumerable:!0,get:function(){return m.NotificationOptions}});const g=i(n(86455));t.actions=g,a(n(86455),t),a(n(87204),t),a(n(50295),t),a(n(68912),t),a(n(13154),t),a(n(75050),t),a(n(90512),t),t.VERSION="2.13.0-alpha-4355";const v=(0,d.getEventRouter)();function y(e){const{notification:t}=e;return Object.assign(Object.assign({},e),{notification:Object.assign(Object.assign({},t),{date:new Date(t.date),expires:null!==t.expires?new Date(t.expires):null})})}v.registerDeserializer("notification-created",(e=>y(e))),v.registerDeserializer("notification-toast-dismissed",(e=>y(e))),v.registerDeserializer("notification-closed",(e=>y(e))),v.registerDeserializer("notification-action",(e=>{var t;const n=y(e),{controlSource:r,controlIndex:o}=n,i=s(n,["controlSource","controlIndex"]);return e.trigger===l.ActionTrigger.CONTROL?Object.assign(Object.assign({},i),{control:null===(t=e.notification[r])||void 0===t?void 0:t[o]}):i})),v.registerDeserializer("notifications-count-changed",(e=>e)),v.registerDeserializer("notification-reminder-created",(e=>{const t=y(e),{reminderDate:n}=t,r=s(t,["reminderDate"]);return Object.assign(Object.assign({},r),{reminderDate:new Date(n)})})),v.registerDeserializer("notification-reminder-removed",(e=>y(e))),v.registerDeserializer("notification-sound-toggled",(e=>e)),t.addEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t);const n=d.eventEmitter.listenerCount(e);"notification-form-submitted"===e&&(t=function(e){return t=>{const n=t.notification.id;t.setFormStatus=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_STATUS_OPTIONS,Object.assign(Object.assign({},e),{_notificationId:n})),e(t)}}(t)),"notification-form-values-changed"===e&&(t=function(e){return t=>{t.setErrors=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_VALIDATION_ERRORS,{errors:e,notificationId:t.notification.id}),e(t)}}(t)),d.eventEmitter.addListener(e,t),0===n&&1===d.eventEmitter.listenerCount(e)&&await(0,c.tryServiceDispatch)(u.APITopic.ADD_EVENT_LISTENER,e)},t.removeEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t),1===d.eventEmitter.listenerCount(e)&&d.eventEmitter.listeners(e)[0]===t&&await(0,c.tryServiceDispatch)(u.APITopic.REMOVE_EVENT_LISTENER,e),d.eventEmitter.removeListener(e,t)},t.create=async function(e,t){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(void 0!==e.date&&!(e.date instanceof Date))throw new Error('Invalid argument passed to create: "date" must be a valid Date object');if(void 0!==e.expires&&null!==e.expires&&!(e.expires instanceof Date))throw new Error('Invalid argument passed to create: "expires" must be null or a valid Date object');if(t&&t.reminderDate){if(!1===e.allowReminder)throw new Error('You must not specify a reminder date for a notification with "allowReminder" option set to false.');if(!(t.reminderDate instanceof Date))throw new Error('Invalid argument passed to reminder Options: "date" must a valid Date object');if(e.expires&&e.expires.getTime()<t.reminderDate.getTime())throw new Error("Expiration date must not be earlier than reminder date.")}void 0!==e.category&&null!==e.category||(e.category="default");const n=await(0,c.tryServiceDispatch)(u.APITopic.CREATE_NOTIFICATION,Object.assign(Object.assign({},e),{date:e.date&&e.date.getTime(),expires:e.expires&&e.expires.getTime(),reminder:(null==t?void 0:t.reminderDate)&&t.reminderDate.getTime()}));return Object.assign(Object.assign({},n),{date:new Date(n.date),expires:null!==n.expires?new Date(n.expires):null})},t.update=async function(e){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(!e.id)throw new Error('Invalid argument passed to create: "id" must be Id of previously created Notification');const t=await(0,c.tryServiceDispatch)(u.APITopic.UPDATE_NOTIFICATION,Object.assign({},e));return Object.assign({},t)},t.clear=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_NOTIFICATION,{id:e})},t.setReminder=async function(e,t){if(!(t instanceof Date))throw new Error('Invalid argument passed to setReminder: "reminderDate" must a valid Date object');if(t.getTime()<Date.now())throw new Error('Invalid argument passed to setReminder: "reminderDate" was set to a Date in the past, must be a Date in the future.');const n=await(0,c.tryServiceDispatch)(u.APITopic.SET_REMINDER,{id:e,reminder:t.getTime()});return n?console.log(`[Client::setReminder] Reminder set for notification: ${e}`):console.log(`[Client::setReminder] Notification not found for id: ${e}`),n},t.cancelReminder=async function(e){const t=await(0,c.tryServiceDispatch)(u.APITopic.CANCEL_REMINDER,{id:e});return t?console.log(`[Client::cancelReminder] Reminder canceled for notification: ${e}`):console.log(`[Client::cancelReminder] Notification not found for id: ${e}`),t},t.getAll=async function(){return(await(0,c.tryServiceDispatch)(u.APITopic.GET_APP_NOTIFICATIONS,void 0)).map((e=>Object.assign(Object.assign({},e),{indicator:e.indicator||null,date:new Date(e.date),expires:null!==e.expires?new Date(e.expires):null})))},t.clearAll=async function(){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_APP_NOTIFICATIONS,void 0)},t.toggleNotificationCenter=async function(){return(0,c.tryServiceDispatch)(u.APITopic.TOGGLE_NOTIFICATION_CENTER,void 0)},t.setDefaultPlatformShortcut=function(e){return(0,c.tryServiceDispatch)(u.APITopic.SET_DEFAULT_PLATFORM_SHORTCUT,e)},t.show=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.SHOW_NOTIFICATION_CENTER,e)},t.hide=async function(){return(0,c.tryServiceDispatch)(u.APITopic.HIDE_NOTIFICATION_CENTER,void 0)},t.getNotificationsCount=async function(){return(0,c.tryServiceDispatch)(u.APITopic.GET_NOTIFICATIONS_COUNT,void 0)},(t.UserSettings||(t.UserSettings={})).SOUND_ENABLED="soundEnabled",t.getUserSettingStatus=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.GET_USER_SETTINGS_STATUS,e)},t.setAllowedOrigins=async e=>(0,c.tryServiceDispatch)(u.APITopic.SET_NOTIFICATION_SECURITY_RULE,{allowedOrigins:e})},40790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTemplateData=void 0;const r=n(19611),o=n(94692),i=n(2984),a=n(66188);t.validateTemplateData=function(e,t){var n;const s=e.templateOptions,l=s.body,c=(0,r.pickBestComposition)(l.compositions);if(!c&&!l.fallbackText)throw new Error(`Could not find a suitable composition with the version supported by the service. Notification Center instance might be too old to show this template. (Template API Version: ${(0,i.getTemplateAPIVersion)()})`);l.compositions=[],c&&(a.CustomTemplateDataSchema.validateSync(e.templateData,{context:{fragments:(0,o.flattenLayout)(c.layout)}}),l.compositions.push(c)),t&&e.indicator&&(null===(n=s.indicator)||void 0===n?void 0:n.color)&&(e.indicator.color=s.indicator.color)}},40882:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},40961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22551)},40977:(e,t,n)=>{"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,o.formatDistanceStrict)(e,(0,r.constructNow)(e),t)};var r=n(2700),o=n(5206)},41037:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterPositionSelector=void 0;const a=i(n(96540)),s=n(47250),l=n(70785);t.CenterPositionSelector=e=>{const{value:t,title:n,id:r="",onChange:o=()=>{}}=e;return a.createElement("div",{role:"radiogroup"},a.createElement(l.TitleElement,{htmlFor:r,size:s.Size.large},n),a.createElement(l.StyledSelectors,{tabIndex:0,onKeyUp:e=>{switch(e.key){case"ArrowUp":case"ArrowLeft":case"ArrowDown":case"ArrowRight":e.preventDefault(),e.stopPropagation(),"left"===t&&o("right"),"right"===t&&o("left")}},id:r},a.createElement(l.Selector,{position:"left",onClick:o,active:"left"===t}),a.createElement(l.Selector,{position:"right",onClick:o,active:"right"===t})))}},41129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDescription=function(e){return e.toString().slice(n,r)};const n=7,r=-1},41169:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.classes,n=void 0===t?[]:t,a=e.formatMonth,f=void 0===a?u.formatMonth:a,h=e.formatMonthYear,p=void 0===h?u.formatMonthYear:h,m=o(e,["classes","formatMonth","formatMonthYear"]),g=m.date,v=m.locale;return(0,s.jsx)(c.default,r({},m,{classes:i(i([],n,!0),[d],!1),formatAbbr:p,maxDateTransform:l.getMonthEnd,minDateTransform:l.getMonthStart,view:"year",children:f(v,g)}))};var s=n(74848),l=n(51229),c=a(n(95044)),u=n(23340),d="react-calendar__year-view__months__month"},41402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenOnSyntax=void 0;const r=n(87059),o=n(90732);t.BindingWhenOnSyntax=class{_bindingWhenSyntax;_bindingOnSyntax;_binding;constructor(e){this._binding=e,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new r.BindingOnSyntax(this._binding)}when(e){return this._bindingWhenSyntax.when(e)}whenTargetNamed(e){return this._bindingWhenSyntax.whenTargetNamed(e)}whenTargetIsDefault(){return this._bindingWhenSyntax.whenTargetIsDefault()}whenTargetTagged(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)}whenInjectedInto(e){return this._bindingWhenSyntax.whenInjectedInto(e)}whenParentNamed(e){return this._bindingWhenSyntax.whenParentNamed(e)}whenParentTagged(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)}whenAnyAncestorIs(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}whenNoAncestorIs(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)}whenAnyAncestorNamed(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)}whenAnyAncestorTagged(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)}whenNoAncestorNamed(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)}whenNoAncestorTagged(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)}whenAnyAncestorMatches(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)}whenNoAncestorMatches(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)}onActivation(e){return this._bindingOnSyntax.onActivation(e)}onDeactivation(e){return this._bindingOnSyntax.onDeactivation(e)}}},41591:(e,t,n)=>{"use strict";t.isWithinInterval=function(e,t,n){const o=+(0,r.toDate)(e,n?.in),[i,a]=[+(0,r.toDate)(t.start,n?.in),+(0,r.toDate)(t.end,n?.in)].sort(((e,t)=>e-t));return o>=i&&o<=a};var r=n(34446)},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new r;if(i)var p=i(d,f,u,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},41869:(e,t,n)=>{"use strict";t.Hour1to12Parser=void 0;var r=n(47699),o=n(5513),i=n(93771);class a extends o.Parser{priority=70;parse(e,t,n){switch(t){case"h":return(0,i.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=a},42054:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},42207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZonedDate=t.localTimeString=t.localDateString=t.formatLines=t.getDate=t.getDateTitle=void 0;const r=n(411),o=n(13949);function i(e,t){const n=new Date(e),o=new Date,i=Math.abs((0,r.differenceInMinutes)(n,o));return i<1?"now":i<60||!t&&n>o?function(e,t){const n=(0,r.formatDistanceStrict)(e,t,{addSuffix:!0}).replace(/ minutes| minute/g,"m");return"60m ago"===n?(0,r.format)(e,"p"):"in 60m"===n?"in 1 hour":n}(n,o):function(e,t,n){const o=(0,r.differenceInHours)(t,e),i=(0,r.differenceInCalendarDays)(t,e);return Math.abs((0,r.differenceInMinutes)(t,e))>=60&&0===i?`${n?"at ":""}${(0,r.format)(e,"p")}`:1===i||o>24&&i<=6?`${n?"at ":""}${(0,r.format)(e,n?"p, EEE":"EEE, p")}`:`${n?"at ":""}${(0,r.format)(e,n?"p, MMM d":"MMM d, p")}`}(n,o,t)}function a(e){return(0,o.toZonedTime)(null!=e?e:Date.now(),Intl.DateTimeFormat().resolvedOptions().timeZone)}t.getDateTitle=function(e){const t=new Date(e),n=new Date,o=(0,r.differenceInCalendarDays)(n,t);return 0===o?"Today":1===o?"Yesterday":-1===o?"Tomorrow":o>0&&o<=6?`Last ${(0,r.format)(t,"EEEE")}`:o<0&&o>=-6?(0,r.format)(t,"EEEE"):(0,r.format)(t,"MMMM d, yyyy")},t.getDate=i,t.formatLines=function(e,t){if(t){if(t>=Date.now()){const e=i(t,!0);return"at"===e.substring(0,2)?["Reminding at",e.substring(3)]:[`Reminding ${e}`,null]}return[`Reminded ${i(t,!0)}`,`Sent ${i(e,!0)}`]}return[i(e),null]},t.localDateString=function(e){const t=null!=e?e:Date.now();return(0,r.formatISO)(a(t)).substring(0,10)},t.localTimeString=function(e){const t=null!=e?e:Date.now();return(0,r.formatISO)(a(t)).substring(11,16)},t.getZonedDate=a},42366:(e,t,n)=>{"use strict";t.endOfToday=function(e){return(0,r.endOfDay)(Date.now(),e)};var r=n(61883)},42551:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCardComponent=void 0;const a=i(n(96540)),s=n(86455),l=n(1413),c=n(26012),u=n(52124),d=n(83873),f=n(79690),h=n(37207),p=n(47250),m=i(n(35830)),g=n(14858),v=n(15996),y=n(12773),b=n(72425),C=n(54990),w=n(3565),_=n(29136),x=n(16415);t.NotificationCardComponent=e=>{var t,n,r,o,i,p,m;const{style:k,senderTitle:P,isFormExpanded:T,isToast:D=!1,clickAction:L,remove:A,minimize:I,submitForm:R,clickButtonAction:F,showReminderModal:N,setReminder:H,cancelReminder:V,raiseAnalyticsEvent:B,clickFragment:$,revisionNumber:Z,onKeyDown:z,focusedNotification:U}=e,{setIsMenuModalOpen:W,setMenuConfig:G,setIsCustomReminderModalOpen:Y,setCustomReminderConfig:q,setModalType:K}=(0,a.useContext)(x.WebModalContext),[Q,X]=(0,a.useState)(-1),[J,ee]=(0,a.useState)(!1),[te,ne]=(0,y.useIsStateUpdate)(Z,((e,t)=>J&&e!==t)),re=(0,c.isStoredNotification)(e.notification)?e.notification:e.notification.item,oe=re.notification,ie=null===(t=re.modifiers)||void 0===t?void 0:t.reminder,ae=P||re.title,se=(0,v.isTemplate)(oe,"custom")?null===(n=oe.templateOptions.buttons)||void 0===n?void 0:n.align:void 0,le=(0,v.isTemplate)(oe,"custom")&&(null===(r=oe.templateOptions.indicator)||void 0===r?void 0:r.align)||"center",ce=(e=>{var t,n,r;return e.indicator?(0,v.isTemplate)(e,"custom")?Object.assign(Object.assign({},e.indicator),{color:null!==(n=null===(t=e.indicator)||void 0===t?void 0:t.color)&&void 0!==n?n:null===(r=e.templateOptions.indicator)||void 0===r?void 0:r.color}):e.indicator:null})(oe),ue=!!ie&&ie>Date.now(),de=re.notification.allowReminder,{raiseAnalyticsEventDelayed:fe,cancelAnalyticsEventTimer:he}=(0,C.useAnalyticsDebounce)(1e3,B),pe=(0,a.useRef)(null),me=a.default.useContext(_.WindowContext),ge=a.default.useRef(null);(0,a.useEffect)((()=>{var e;re.id===(null==U?void 0:U.notificationId)&&(null===(e=ge.current)||void 0===e||e.focus())}),[U,re.id,ge.current]);const ve=(e,t)=>{null==H||H(Object.assign(Object.assign({},re),{modifiers:Object.assign(Object.assign({},re),{reminder:null!=t?t:Date.now()+e})}))},ye=l.TemplateComponentMap[re.notification.template];if(!ye)return console.error(`Unable to render ${re.id}. Unknown template ${re.notification.template}.`,re),null;const be=()=>ne(),Ce=[{title:"OK",cta:!0,index:0,iconUrl:"",submit:!1,type:"button",onClick:be,formOptions:null}],we=te&&oe.buttons.length>0?Ce:oe.buttons,_e=a.default.createElement(a.default.Fragment,null,a.default.createElement(f.CardHeader,{sender:ae,icon:oe.icon,uuid:null!==(i=null===(o=oe.stream)||void 0===o?void 0:o.id)&&void 0!==i?i:JSON.stringify(re.source),creationDate:oe.date,reminderDate:ie,isToast:D,"data-testid":"header",showReminderButton:de,onDismiss:e=>{e.stopPropagation(),e.preventDefault(),te||(D?(console.log(`Toast dismiss button clicked. (Nfn ID:${re.id})`),null==I||I(re)):(null==z||z(new KeyboardEvent("keydown",{key:"_Delete"})),console.log(`Notification remove button clicked. (Nfn ID:${re.id})`),null==A||A(re)))},onShowReminderModal:t=>{const n={x:t.screenX,y:t.screenY},r={identity:{id:"custom-reminder-select-menu-modal"},type:"CustomReminderModal",position:n,notification:re,isToast:D,onDismiss:t=>{"web"===e.mode&&Y(!1),"number"==typeof t&&(ve(0,t),null==B||B({type:D?"Toast":"Notification",action:"Set Custom Reminder",value:`${t+Date.now()}`,data:re.id,skipValueHashing:!0}))}},o={type:"Menu",position:n,width:140,header:"Remind me in...",options:(0,b.makePresetTimeSpanOptions)(ue),onDismiss:t=>{(0,b.isPresetTimeSpan)(t)?(ve(t.timeSpan),W(!1),null==B||B({type:D?"Toast":"Notification",action:"Select preset Reminder",value:`${t.timeSpan+Date.now()}`,data:re.id,skipValueHashing:!0})):"string"==typeof t&&("cancel"===t?(null==V||V(re),"web"===e.mode&&W(!1),null==B||B({type:"Notification",action:"Cancel Reminder",data:re.id,skipValueHashing:!0})):"custom"===t&&("web"===e.mode?(W(!1),Y(!0),K("reminder"),q(r)):null==N||N(r)))}};if("desktop"===e.mode)null==N||N(o);else if("web"===e.mode)return W(!0),G(o),void K("reminder");null==B||B({type:D?"Toast":"Notification",action:"Select Reminder Button",data:{id:re.id},skipValueHashing:!0})},raiseAnalyticsEvent:B,tabIndex:Q,notificationID:re.id,mode:e.mode}),oe.title&&a.default.createElement(j,null,a.default.createElement(g.SingleLine,{weight:"bold","data-testid":"notification-title"},oe.title)),a.default.createElement(S,{ref:pe,"data-scrollable-container":"true",flexDirection:"column","data-testid":"template-content"},a.default.createElement(ye,{notification:re,submitForm:R,clickButtonAction:F,clickFragment:async(e,t)=>{t.onClick&&(e.stopPropagation(),e.preventDefault(),await(null==$?void 0:$(re,t,D)))},templateContent:pe,tabIndexOverride:Q,isToast:D}))),xe=D?"Click to dismiss":"Click to clear",Oe=(null===(p=re.notification.onSelect)||void 0===p?void 0:p.BODY_CLICK)===s.ActionBodyClickType.DISMISS_EVENT&&!(null===(m=re.notification.buttons)||void 0===m?void 0:m.length),Ee=we.reduce(((e,t)=>(t.cta?e.primary++:e.secondary++,e)),{primary:0,secondary:0});return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.Card,{title:Oe?xe:"",onClick:async e=>{(0,v.isTemplate)(oe,"markdown")&&oe.form||(e.stopPropagation(),e.preventDefault(),te||await(null==L?void 0:L(re)))},"data-testid":"notification-card","data-id":re.id,style:k,hasButtons:we.length>0,isTall:Ee.primary>3||Ee.secondary>3,tabIndex:Q,onMouseEnter:()=>{ee(!0),fe({type:D?"Toast":"Notification",action:"Hover",skipValueHashing:!0})},onMouseLeave:()=>{ee(!1),ne(),he()},isToast:D,isFormExpanded:T,onFocus:()=>X(0),onBlur:e=>{const t=e.currentTarget;requestAnimationFrame((()=>{t.contains(me.document.activeElement)||X(-1)}))},onKeyDown:e=>null==z?void 0:z(e.nativeEvent),ref:ge,role:"listitem",mode:e.mode},a.default.createElement(w.FormikProxyProvider,null,ce&&a.default.createElement(O,{alignment:le},te?a.default.createElement(u.InfoBanner,{text:"Notification Updated"}):a.default.createElement(u.IndicatorBanner,{indicator:ce,alignment:le})),a.default.createElement(M,{flexDirection:"column",gap:"xsmall"},te?a.default.createElement(E,{"data-testid":"update-overlay",gap:"xsmall"},_e):_e,we.length>0&&a.default.createElement(d.ButtonsContainer,{alignment:se,buttonData:we,onClick:te?be:async(e,t)=>{if(!t.submit){e.stopPropagation(),e.preventDefault();const n=t.index||0;await(null==F?void 0:F(re,n))}},tabIndexOverride:Q,notificationId:re.id,isToast:D,raiseAnalyticsEvent:B})))))};const O=(0,m.default)(p.Box)`
|
|
335
335
|
position: absolute;
|
|
336
336
|
${e=>{switch(e.alignment){case"center":return m.css`
|
|
337
337
|
top: 0;
|