@openfin/web-notifications 2.12.2 → 2.12.3

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 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.12.2"},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,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);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,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},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.12.3"},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,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);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,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},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%;
@@ -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.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.12.2";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.valueOf(),expires:e.expires&&e.expires.valueOf(),reminder:(null==t?void 0:t.reminderDate)&&t.reminderDate.valueOf()}));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.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.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.12.3";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.valueOf(),expires:e.expires&&e.expires.valueOf(),reminder:(null==t?void 0:t.reminderDate)&&t.reminderDate.valueOf()}));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.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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/web-notifications",
3
- "version": "2.12.2",
3
+ "version": "2.12.3",
4
4
  "description": "Here™ Web Notification Center",
5
5
  "main": "./dist/web/index.js",
6
6
  "types": "./dist/web/index.d.ts",