@openfin/web-notifications 2.12.0-alpha-4146 → 2.12.0-alpha-4173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/index.js +3 -3
- package/package.json +1 -1
package/dist/web/index.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
&:hover {
|
|
12
12
|
color: ${({theme:e})=>e.palette.linkHover};
|
|
13
13
|
}
|
|
14
|
-
`},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.12.0-alpha-4146"},t.getTemplateAPIVersion=function(){return"2"}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===C||e.$$typeof===v)},t.typeOf=w},3081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const r=n(96540);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,r.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,n;const r=null===(n=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.querySelector("input, textarea, button");r&&r.focus()}),500)}),[e,t])}},3083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=r(n(96540)),i=n(61225),a=n(89183),s=n(47250);t.RootThemeProvider=(0,i.connect)((e=>{var t,n;return{themes:null===(t=e.theme)||void 0===t?void 0:t.themes,scheme:null===(n=e.theme)||void 0===n?void 0:n.scheme}}))((({themes:e,scheme:t,children:n})=>o.default.createElement(a.DefaultThemeProvider,{themes:e,scheme:null!=t?t:s.ColorScheme.dark},n)))},3089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredPromise=class{constructor(){const e=new Promise(((e,t)=>{this._resolve=e,this._reject=t}));this._promise=e}get promise(){return this._promise}get resolve(){return this._resolve}get reject(){return this._reject}}},3313:(e,t,n)=>{"use strict";t.startOfTomorrow=function(e){const t=(0,o.constructNow)(e?.in),n=t.getFullYear(),i=t.getMonth(),a=t.getDate(),s=(0,r.constructFrom)(e?.in,0);return s.setFullYear(n,i,a+1),s.setHours(0,0,0,0),s};var r=n(92956),o=n(2700)},3565:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=i(n(96540)),s=n(63087);t.FormikProxyProvider=e=>{const[t,n]=(0,a.useState)(null),r={formikProps:t,setFormikProps:n};return a.default.createElement(s.FormikProxyContext.Provider,{value:r},e.children)}},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t){return Reflect.getMetadata(t,e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3694:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.templateCustomFormSchema=t.templateMarkDownFormSchema=t.checkboxGroupFieldSchema=t.radioGroupFieldSchema=t.timeFieldSchema=t.dateFieldSchema=t.booleanFieldSchema=t.numberFieldSchema=t.stringFieldSchema=t.baseFieldSchema=void 0;const a=i(n(20627)),s=n(93955),l=n(65356);function c(e,t){return e.some((e=>{try{return e.validateSync(t)}catch(e){return!1}}))}t.baseFieldSchema=a.object({type:a.mixed().oneOf(Object.values(s.FieldType)).required(),key:a.string().required(),value:a.object(),validation:a.object(),label:a.string(),helperText:a.string()}).required(),t.stringFieldSchema=t.baseFieldSchema.clone().shape({value:a.string(),type:a.mixed().required().equals([s.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([s.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([s.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.BooleanWidgetSchemaMap),e)}).required()}),t.dateFieldSchema=t.baseFieldSchema.clone().shape({value:a.object().optional().shape({date:a.number().test("Invalid date",(e=>!e||e>=1&&e<=31)),month:a.number().test("Invalid month",(e=>!e||e>0&&e<=12)),year:a.number().test("Invalid year",(e=>!e||e>0))}),type:a.mixed().required().equals([s.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([s.FieldType.time]),value:a.object().shape({hour:a.number().nullable(!0).test("Invalid hour","Hour must be between 0 and 23",(e=>!e||e>=0&&e<=23)),minute:a.number().nullable(!0).test("Invalid minute","Minute must be between 0 and 59",(e=>!e||e>=0&&e<=59))}).optional(),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([s.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([s.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.CheckboxGroupWidgetSchemaMap),e)})});const u={string:t.stringFieldSchema,number:t.numberFieldSchema,boolean:t.booleanFieldSchema,date:t.dateFieldSchema,time:t.timeFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema},d=Object.assign(Object.assign({},u),{date:t.dateFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema}),f=e=>a.array().of(a.mixed().test({name:"Field check",message:"Invalid field ${path}",test:t=>{const n=[],r=e.some((e=>{try{return e.validateSync(t)}catch(e){return n.push(e),!1}}));if(!r)throw new Error(n.map((e=>e.message)).join(".\n"));return r}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),h=e=>a.lazy((t=>t&&t.hasOwnProperty.call(t,"fields")?a.object().shape({formSettings:a.object().optional().shape({displayFieldRequirementStatus:a.boolean().optional()}),fields:e.required()}):e.nullable().optional().default(null)));t.templateMarkDownFormSchema=h(f(Object.values(u))),t.templateCustomFormSchema=h(f(Object.values(d)))},3724:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(72914),o=n(7181),i=n(18483),a=n(2371),s=n(1249);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:o.formatLong,formatRelative:i.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},3767:(e,t,n)=>{"use strict";t.previousSaturday=function(e,t){return(0,r.previousDay)(e,6,t)};var r=n(58092)},3769:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncInit=void 0;const i=n(52650),a=n(95785);let s=class{constructor(){this._initialized=new a.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};s=r([(0,i.injectable)(),o("design:paramtypes",[])],s),t.AsyncInit=s},3871:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.calendarType,n=e.formatShortWeekday,r=void 0===n?c.formatShortWeekday:n,f=e.formatWeekday,h=void 0===f?c.formatWeekday:f,p=e.locale,m=e.onMouseLeave,g=new Date,v=(0,a.getMonthStart)(g),y=(0,a.getYear)(v),b=(0,a.getMonth)(v),C=[],w=1;w<=7;w+=1){var _=new Date(y,b,w-(0,l.getDayOfWeek)(v,t)),x=h(p,_);C.push((0,o.jsx)("div",{className:(0,i.default)(d,(0,l.isCurrentDayOfWeek)(_)&&"".concat(d,"--current"),(0,l.isWeekend)(_,t)&&"".concat(d,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":x,title:x,children:r(p,_).replace(".","")})},w))}return(0,o.jsx)(s.default,{className:u,count:7,onFocus:m,onMouseOver:m,children:C})};var o=n(74848),i=r(n(71508)),a=n(51229),s=r(n(77707)),l=n(26335),c=n(23340),u="react-calendar__month-view__weekdays",d="".concat(u,"__weekday")},4035:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;const s=a(n(19466)),l=(0,n(8701).injectBase)(s.MULTI_INJECT_TAG);t.multiInject=l},4045:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const s=a(n(19466));t.Metadata=class{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===s.NAMED_TAG?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}},4081:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocale=t.getUserLocales=void 0;var o=r(n(60119));function i(e){return"string"==typeof e}function a(e,t,n){return n.indexOf(e)===t}function s(e){return-1===e.indexOf(",")?e:e.split(",")}function l(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var t=e.split(".")[0];return l(void 0===t?"":t)}if(-1!==e.indexOf("@")){var n=e.split("@")[0];return l(void 0===n?"":n)}if(-1===e.indexOf("-")||(r=e).toLowerCase()!==r)return e;var r,o=e.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}t.getUserLocales=(0,o.default)((function(e){var t=void 0===e?{}:e,n=t.useFallbackLocale,r=void 0===n||n,o=t.fallbackLocale,c=void 0===o?"en-US":o,u=[];if("undefined"!=typeof navigator){for(var d=[],f=0,h=navigator.languages||[];f<h.length;f++){var p=h[f];d=d.concat(s(p))}var m=navigator.language,g=m?s(m):m;u=u.concat(d,g)}return r&&u.push(c),u.filter(i).map(l).filter(a)}),{cacheKey:JSON.stringify}),t.getUserLocale=(0,o.default)((function(e){return(0,t.getUserLocales)(e)[0]||null}),{cacheKey:JSON.stringify}),t.default=t.getUserLocale},4124:(e,t,n)=>{var r=n(45539)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},4138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const r=n(5299);class o extends r.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,n;const r=null!==(n=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==n?n:[],o=Object.assign({},...(this.errors||[]).map((e=>({[e.fieldKey]:e.error}))));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{forms:[...r.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4146:(e,t,n)=>{"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},4248:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCard=void 0;const o=n(61225),i=r(n(96540)),a=n(87451),s=n(37676),l=n(42551),c=n(26012),u=n(38320),d=n(16415);t.NotificationCard=(0,o.connect)(((e,t)=>{var n;const{activeForms:r}=e,o=t.notification,i=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=r&&r.focusedFormNotificationId==(null==i?void 0:i.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(n=null==i?void 0:i.modifiers)||void 0===n?void 0:n.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var n,r,o,i,l,c,d,f,h,p;return{remove:null!==(n=t.remove)&&void 0!==n?n:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(r=t.minimize)&&void 0!==r?r:t=>e(new s.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(i=t.clickButtonAction)&&void 0!==i?i:async(t,n)=>e(new a.ClickButton(t,n)),clickFragment:null!==(l=t.clickFragment)&&void 0!==l?l:(t,n,r)=>e(new a.ClickFragment(t,n,r)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,n,r)=>e(new s.SubmitNotificationForm(t,n,r)),showReminderModal:null!==(d=t.showReminderModal)&&void 0!==d?d:async t=>e(new a.ShowModal(t)),setReminder:null!==(f=t.setReminder)&&void 0!==f?f:async t=>e(new u.SetReminderThroughUI(t)),cancelReminder:null!==(h=t.cancelReminder)&&void 0!==h?h:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(p=t.raiseAnalyticsEvent)&&void 0!==p?p:async(t,n)=>e(new a.RaiseAnalyticsEvent(t,n))}}))((e=>i.default.createElement(d.WebModalContextProvider,null,i.default.createElement(l.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4251:(e,t,n)=>{"use strict";t.nextFriday=function(e,t){return(0,r.nextDay)(e,5,t)};var r=n(70064)},4382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const r=n(33713),o=n(62391),i=n(71351),a=n(13786),s=n(59594),l=n(26906),c=n(60714),u=n(95718),d=n(96318);t.WidgetComponentMap={[r.WidgetType.Number]:o.NumberWidgetComponent,[r.WidgetType.Toggle]:a.ToggleWidgetComponent,[r.WidgetType.Checkbox]:i.CheckboxWidgetComponent,[r.WidgetType.Date]:s.DateWidgetComponent,[r.WidgetType.CheckboxGroup]:l.CheckboxGroupWidgetComponent,[r.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[r.WidgetType.Dropdown]:u.DropdownWidgetComponent,[r.WidgetType.Text]:o.TextWidgetComponent,[r.WidgetType.Time]:d.TimeWidgetComponent}},4395:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){const a=(0,r.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e,n?.in),c=l.getDay(),u=7-s,d=t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7;return(0,o.addDays)(l,d,n)};var r=n(96755),o=n(77591),i=n(34446)},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},4638:(e,t,n)=>{"use strict";t.secondsToMinutes=function(e){const t=e/r.secondsInMinute;return Math.trunc(t)};var r=n(78052)},4650:(e,t,n)=>{"use strict";t.endOfISOWeek=function(e,t){return(0,r.endOfWeek)(e,{...t,weekStartsOn:1})};var r=n(61587)},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4875:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t,n){const[o,i]=(0,r.normalizeDates)(n?.in,e,t);return o.getFullYear()-i.getFullYear()};var r=n(8256)},4879:(e,t,n)=>{"use strict";t.isEqual=function(e,t){return+(0,r.toDate)(e)==+(0,r.toDate)(t)};var r=n(34446)},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},5046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const r=n(96540);t.useValidation=(e,t)=>{const[n,o]=(0,r.useState)(""),[i,a]=(0,r.useState)(!0),[s,l]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const t=e(s);o(t),a(!t)}),[s,e]),{value:s,message:n,isValid:i,updateValue:l}}},5154:(e,t,n)=>{"use strict";t.setSeconds=function(e,t,n){const o=(0,r.toDate)(e,n?.in);return o.setSeconds(t),o};var r=n(34446)},5206:(e,t,n)=>{"use strict";t.formatDistanceStrict=function(e,t,n){const u=(0,o.getDefaultOptions)(),d=n?.locale??u.locale??r.defaultLocale,f=(0,l.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f}),[p,m]=(0,s.normalizeDates)(n?.in,...f>0?[t,e]:[e,t]),g=(0,i.getRoundingMethod)(n?.roundingMethod??"round"),v=m.getTime()-p.getTime(),y=v/c.millisecondsInMinute,b=(v-((0,a.getTimezoneOffsetInMilliseconds)(m)-(0,a.getTimezoneOffsetInMilliseconds)(p)))/c.millisecondsInMinute,C=n?.unit;let w;if(w=C||(y<1?"second":y<60?"minute":y<c.minutesInDay?"hour":b<c.minutesInMonth?"day":b<c.minutesInYear?"month":"year"),"second"===w){const e=g(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===w){const e=g(y);return d.formatDistance("xMinutes",e,h)}if("hour"===w){const e=g(y/60);return d.formatDistance("xHours",e,h)}if("day"===w){const e=g(b/c.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===w){const e=g(b/c.minutesInMonth);return 12===e&&"month"!==C?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=g(b/c.minutesInYear);return d.formatDistance("xYears",e,h)}};var r=n(89577),o=n(96755),i=n(1331),a=n(16339),s=n(8256),l=n(86789),c=n(78052)},5265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=void 0;const r=n(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return r.stringifyServiceIdentifier}});const o=n(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return o.LazyServiceIdentifier}})},5299:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(76709),t),o(n(50492),t),o(n(23297),t),o(n(22022),t),o(n(44186),t)},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},5456:(e,t,n)=>{"use strict";t.eachWeekendOfMonth=function(e,t){const n=(0,i.startOfMonth)(e,t),a=(0,o.endOfMonth)(e,t);return(0,r.eachWeekendOfInterval)({start:n,end:a},t)};var r=n(39305),o=n(51291),i=n(67710)},5513:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(97861);t.Parser=class{run(e,t,n,o){const i=this.parse(e,t,n,o);return i?{setter:new r.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}},5556:(e,t,n)=>{e.exports=n(2694)()},5626:(e,t,n)=>{"use strict";t.isSameISOWeek=function(e,t,n){return(0,r.isSameWeek)(e,t,{...n,weekStartsOn:1})};var r=n(30659)},5778:(e,t)=>{"use strict";const n={};function r(e,t){"string"!=typeof t&&(t=r.defaultChars);const o=function(e){let t=n[e];if(t)return t;t=n[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let n=0,r=e.length;n<r;n+=3){const i=parseInt(e.slice(n+1,n+3),16);if(i<128)t+=o[i];else{if(192==(224&i)&&n+3<r){const r=parseInt(e.slice(n+4,n+6),16);if(128==(192&r)){const e=i<<6&1984|63&r;t+=e<128?"��":String.fromCharCode(e),n+=3;continue}}if(224==(240&i)&&n+6<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16);if(128==(192&r)&&128==(192&o)){const e=i<<12&61440|r<<6&4032|63&o;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240==(248&i)&&n+9<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16),a=parseInt(e.slice(n+10,n+12),16);if(128==(192&r)&&128==(192&o)&&128==(192&a)){let e=i<<18&1835008|r<<12&258048|o<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="";const o={};function i(e,t,n){"string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=o[e];if(t)return t;t=o[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let a="";for(let t=0,o=e.length;t<o;t++){const i=e.charCodeAt(t);if(n&&37===i&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(i<128)a+=r[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+="%EF%BF%BD"}else a+=encodeURIComponent(e[t])}return a}function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){let n,r,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=c.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=s.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&g[a]||(i=i.substr(2),this.slashes=!0)),!g[a]&&(o||a&&!v[a])){let e,t,n=-1;for(let e=0;e<h.length;e++)r=i.indexOf(h[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?i.lastIndexOf("@"):i.lastIndexOf("@",n),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),n=-1;for(let e=0;e<f.length;e++)r=i.indexOf(f[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=i.length),":"===i[n-1]&&n--;const o=i.slice(0,n);i=i.slice(n),this.parseHost(o),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(p)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(p)){const r=e.slice(0,t),o=e.slice(t+1),a=n.match(m);a&&(r.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");-1!==l&&(this.hash=i.substr(l),i=i.slice(0,l));const u=i.indexOf("?");return-1!==u&&(this.search=i.substr(u),i=i.slice(0,u)),i&&(this.pathname=i),v[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){let t=l.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.decode=r,t.encode=i,t.format=function(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t},t.parse=function(e,t){if(e&&e instanceof a)return e;const n=new a;return n.parse(e,t),n}},5800:(e,t,n)=>{"use strict";t.isToday=function(e,t){return(0,i.isSameDay)((0,r.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var r=n(92956),o=n(2700),i=n(99691)},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),s=n(28303),l=n(72552),c=n(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=f||s&&C(new s)!=h)&&(C=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case g:return u;case v:return d;case y:return f;case b:return h}return t}),e.exports=C},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,o="",i=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(n){for(var r,o=0,i="";r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=o(/[&<>'"]/g,n),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const r=n(96540),o=n(61225);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,r.useRef)(null);return(0,r.useCallback)((n=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(n)}),500)}),[e])}},6289:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleActivationStore=void 0;const r=n(93382);class o{_map=new Map;remove(e){const t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)}addActivation(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)}clone(){const e=new o;return this._map.forEach(((t,n)=>{e._map.set(n,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})})),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new r.Lookup,onDeactivations:new r.Lookup}}}t.ModuleActivationStore=o},6345:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsPanel=void 0;const s=n(47250),l=i(n(96540)),c=n(61225),u=a(n(35830)),d=n(64800),f=n(87451),h=n(72471),p=n(54896),m=n(66764),g=n(36834),v=n(68318),y=n(78904),b=n(43264),C=n(40660),w=n(29136),_=n(47586),x=n(80925),O=(0,u.default)(s.Box)`
|
|
14
|
+
`},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.12.0-alpha-4173"},t.getTemplateAPIVersion=function(){return"2"}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===C||e.$$typeof===v)},t.typeOf=w},3081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const r=n(96540);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,r.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,n;const r=null===(n=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.querySelector("input, textarea, button");r&&r.focus()}),500)}),[e,t])}},3083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=r(n(96540)),i=n(61225),a=n(89183),s=n(47250);t.RootThemeProvider=(0,i.connect)((e=>{var t,n;return{themes:null===(t=e.theme)||void 0===t?void 0:t.themes,scheme:null===(n=e.theme)||void 0===n?void 0:n.scheme}}))((({themes:e,scheme:t,children:n})=>o.default.createElement(a.DefaultThemeProvider,{themes:e,scheme:null!=t?t:s.ColorScheme.dark},n)))},3089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredPromise=class{constructor(){const e=new Promise(((e,t)=>{this._resolve=e,this._reject=t}));this._promise=e}get promise(){return this._promise}get resolve(){return this._resolve}get reject(){return this._reject}}},3313:(e,t,n)=>{"use strict";t.startOfTomorrow=function(e){const t=(0,o.constructNow)(e?.in),n=t.getFullYear(),i=t.getMonth(),a=t.getDate(),s=(0,r.constructFrom)(e?.in,0);return s.setFullYear(n,i,a+1),s.setHours(0,0,0,0),s};var r=n(92956),o=n(2700)},3565:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=i(n(96540)),s=n(63087);t.FormikProxyProvider=e=>{const[t,n]=(0,a.useState)(null),r={formikProps:t,setFormikProps:n};return a.default.createElement(s.FormikProxyContext.Provider,{value:r},e.children)}},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t){return Reflect.getMetadata(t,e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3694:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.templateCustomFormSchema=t.templateMarkDownFormSchema=t.checkboxGroupFieldSchema=t.radioGroupFieldSchema=t.timeFieldSchema=t.dateFieldSchema=t.booleanFieldSchema=t.numberFieldSchema=t.stringFieldSchema=t.baseFieldSchema=void 0;const a=i(n(20627)),s=n(93955),l=n(65356);function c(e,t){return e.some((e=>{try{return e.validateSync(t)}catch(e){return!1}}))}t.baseFieldSchema=a.object({type:a.mixed().oneOf(Object.values(s.FieldType)).required(),key:a.string().required(),value:a.object(),validation:a.object(),label:a.string(),helperText:a.string()}).required(),t.stringFieldSchema=t.baseFieldSchema.clone().shape({value:a.string(),type:a.mixed().required().equals([s.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([s.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([s.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.BooleanWidgetSchemaMap),e)}).required()}),t.dateFieldSchema=t.baseFieldSchema.clone().shape({value:a.object().optional().shape({date:a.number().test("Invalid date",(e=>!e||e>=1&&e<=31)),month:a.number().test("Invalid month",(e=>!e||e>0&&e<=12)),year:a.number().test("Invalid year",(e=>!e||e>0))}),type:a.mixed().required().equals([s.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([s.FieldType.time]),value:a.object().shape({hour:a.number().nullable(!0).test("Invalid hour","Hour must be between 0 and 23",(e=>!e||e>=0&&e<=23)),minute:a.number().nullable(!0).test("Invalid minute","Minute must be between 0 and 59",(e=>!e||e>=0&&e<=59))}).optional(),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([s.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([s.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.CheckboxGroupWidgetSchemaMap),e)})});const u={string:t.stringFieldSchema,number:t.numberFieldSchema,boolean:t.booleanFieldSchema,date:t.dateFieldSchema,time:t.timeFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema},d=Object.assign(Object.assign({},u),{date:t.dateFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema}),f=e=>a.array().of(a.mixed().test({name:"Field check",message:"Invalid field ${path}",test:t=>{const n=[],r=e.some((e=>{try{return e.validateSync(t)}catch(e){return n.push(e),!1}}));if(!r)throw new Error(n.map((e=>e.message)).join(".\n"));return r}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),h=e=>a.lazy((t=>t&&t.hasOwnProperty.call(t,"fields")?a.object().shape({formSettings:a.object().optional().shape({displayFieldRequirementStatus:a.boolean().optional()}),fields:e.required()}):e.nullable().optional().default(null)));t.templateMarkDownFormSchema=h(f(Object.values(u))),t.templateCustomFormSchema=h(f(Object.values(d)))},3724:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(72914),o=n(7181),i=n(18483),a=n(2371),s=n(1249);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:o.formatLong,formatRelative:i.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},3767:(e,t,n)=>{"use strict";t.previousSaturday=function(e,t){return(0,r.previousDay)(e,6,t)};var r=n(58092)},3769:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncInit=void 0;const i=n(52650),a=n(95785);let s=class{constructor(){this._initialized=new a.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};s=r([(0,i.injectable)(),o("design:paramtypes",[])],s),t.AsyncInit=s},3871:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.calendarType,n=e.formatShortWeekday,r=void 0===n?c.formatShortWeekday:n,f=e.formatWeekday,h=void 0===f?c.formatWeekday:f,p=e.locale,m=e.onMouseLeave,g=new Date,v=(0,a.getMonthStart)(g),y=(0,a.getYear)(v),b=(0,a.getMonth)(v),C=[],w=1;w<=7;w+=1){var _=new Date(y,b,w-(0,l.getDayOfWeek)(v,t)),x=h(p,_);C.push((0,o.jsx)("div",{className:(0,i.default)(d,(0,l.isCurrentDayOfWeek)(_)&&"".concat(d,"--current"),(0,l.isWeekend)(_,t)&&"".concat(d,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":x,title:x,children:r(p,_).replace(".","")})},w))}return(0,o.jsx)(s.default,{className:u,count:7,onFocus:m,onMouseOver:m,children:C})};var o=n(74848),i=r(n(71508)),a=n(51229),s=r(n(77707)),l=n(26335),c=n(23340),u="react-calendar__month-view__weekdays",d="".concat(u,"__weekday")},4035:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;const s=a(n(19466)),l=(0,n(8701).injectBase)(s.MULTI_INJECT_TAG);t.multiInject=l},4045:function(e,t,n){"use strict";var r,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const s=a(n(19466));t.Metadata=class{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===s.NAMED_TAG?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}},4081:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocale=t.getUserLocales=void 0;var o=r(n(60119));function i(e){return"string"==typeof e}function a(e,t,n){return n.indexOf(e)===t}function s(e){return-1===e.indexOf(",")?e:e.split(",")}function l(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var t=e.split(".")[0];return l(void 0===t?"":t)}if(-1!==e.indexOf("@")){var n=e.split("@")[0];return l(void 0===n?"":n)}if(-1===e.indexOf("-")||(r=e).toLowerCase()!==r)return e;var r,o=e.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}t.getUserLocales=(0,o.default)((function(e){var t=void 0===e?{}:e,n=t.useFallbackLocale,r=void 0===n||n,o=t.fallbackLocale,c=void 0===o?"en-US":o,u=[];if("undefined"!=typeof navigator){for(var d=[],f=0,h=navigator.languages||[];f<h.length;f++){var p=h[f];d=d.concat(s(p))}var m=navigator.language,g=m?s(m):m;u=u.concat(d,g)}return r&&u.push(c),u.filter(i).map(l).filter(a)}),{cacheKey:JSON.stringify}),t.getUserLocale=(0,o.default)((function(e){return(0,t.getUserLocales)(e)[0]||null}),{cacheKey:JSON.stringify}),t.default=t.getUserLocale},4124:(e,t,n)=>{var r=n(45539)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},4138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const r=n(5299);class o extends r.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,n;const r=null!==(n=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==n?n:[],o=Object.assign({},...(this.errors||[]).map((e=>({[e.fieldKey]:e.error}))));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{forms:[...r.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4146:(e,t,n)=>{"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},4248:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCard=void 0;const o=n(61225),i=r(n(96540)),a=n(87451),s=n(37676),l=n(42551),c=n(26012),u=n(38320),d=n(16415);t.NotificationCard=(0,o.connect)(((e,t)=>{var n;const{activeForms:r}=e,o=t.notification,i=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=r&&r.focusedFormNotificationId==(null==i?void 0:i.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(n=null==i?void 0:i.modifiers)||void 0===n?void 0:n.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var n,r,o,i,l,c,d,f,h,p;return{remove:null!==(n=t.remove)&&void 0!==n?n:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(r=t.minimize)&&void 0!==r?r:t=>e(new s.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(i=t.clickButtonAction)&&void 0!==i?i:async(t,n)=>e(new a.ClickButton(t,n)),clickFragment:null!==(l=t.clickFragment)&&void 0!==l?l:(t,n,r)=>e(new a.ClickFragment(t,n,r)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,n,r)=>e(new s.SubmitNotificationForm(t,n,r)),showReminderModal:null!==(d=t.showReminderModal)&&void 0!==d?d:async t=>e(new a.ShowModal(t)),setReminder:null!==(f=t.setReminder)&&void 0!==f?f:async t=>e(new u.SetReminderThroughUI(t)),cancelReminder:null!==(h=t.cancelReminder)&&void 0!==h?h:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(p=t.raiseAnalyticsEvent)&&void 0!==p?p:async(t,n)=>e(new a.RaiseAnalyticsEvent(t,n))}}))((e=>i.default.createElement(d.WebModalContextProvider,null,i.default.createElement(l.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4251:(e,t,n)=>{"use strict";t.nextFriday=function(e,t){return(0,r.nextDay)(e,5,t)};var r=n(70064)},4382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const r=n(33713),o=n(62391),i=n(71351),a=n(13786),s=n(59594),l=n(26906),c=n(60714),u=n(95718),d=n(96318);t.WidgetComponentMap={[r.WidgetType.Number]:o.NumberWidgetComponent,[r.WidgetType.Toggle]:a.ToggleWidgetComponent,[r.WidgetType.Checkbox]:i.CheckboxWidgetComponent,[r.WidgetType.Date]:s.DateWidgetComponent,[r.WidgetType.CheckboxGroup]:l.CheckboxGroupWidgetComponent,[r.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[r.WidgetType.Dropdown]:u.DropdownWidgetComponent,[r.WidgetType.Text]:o.TextWidgetComponent,[r.WidgetType.Time]:d.TimeWidgetComponent}},4395:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){const a=(0,r.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e,n?.in),c=l.getDay(),u=7-s,d=t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7;return(0,o.addDays)(l,d,n)};var r=n(96755),o=n(77591),i=n(34446)},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},4638:(e,t,n)=>{"use strict";t.secondsToMinutes=function(e){const t=e/r.secondsInMinute;return Math.trunc(t)};var r=n(78052)},4650:(e,t,n)=>{"use strict";t.endOfISOWeek=function(e,t){return(0,r.endOfWeek)(e,{...t,weekStartsOn:1})};var r=n(61587)},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4875:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t,n){const[o,i]=(0,r.normalizeDates)(n?.in,e,t);return o.getFullYear()-i.getFullYear()};var r=n(8256)},4879:(e,t,n)=>{"use strict";t.isEqual=function(e,t){return+(0,r.toDate)(e)==+(0,r.toDate)(t)};var r=n(34446)},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},5046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const r=n(96540);t.useValidation=(e,t)=>{const[n,o]=(0,r.useState)(""),[i,a]=(0,r.useState)(!0),[s,l]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const t=e(s);o(t),a(!t)}),[s,e]),{value:s,message:n,isValid:i,updateValue:l}}},5154:(e,t,n)=>{"use strict";t.setSeconds=function(e,t,n){const o=(0,r.toDate)(e,n?.in);return o.setSeconds(t),o};var r=n(34446)},5206:(e,t,n)=>{"use strict";t.formatDistanceStrict=function(e,t,n){const u=(0,o.getDefaultOptions)(),d=n?.locale??u.locale??r.defaultLocale,f=(0,l.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f}),[p,m]=(0,s.normalizeDates)(n?.in,...f>0?[t,e]:[e,t]),g=(0,i.getRoundingMethod)(n?.roundingMethod??"round"),v=m.getTime()-p.getTime(),y=v/c.millisecondsInMinute,b=(v-((0,a.getTimezoneOffsetInMilliseconds)(m)-(0,a.getTimezoneOffsetInMilliseconds)(p)))/c.millisecondsInMinute,C=n?.unit;let w;if(w=C||(y<1?"second":y<60?"minute":y<c.minutesInDay?"hour":b<c.minutesInMonth?"day":b<c.minutesInYear?"month":"year"),"second"===w){const e=g(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===w){const e=g(y);return d.formatDistance("xMinutes",e,h)}if("hour"===w){const e=g(y/60);return d.formatDistance("xHours",e,h)}if("day"===w){const e=g(b/c.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===w){const e=g(b/c.minutesInMonth);return 12===e&&"month"!==C?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=g(b/c.minutesInYear);return d.formatDistance("xYears",e,h)}};var r=n(89577),o=n(96755),i=n(1331),a=n(16339),s=n(8256),l=n(86789),c=n(78052)},5265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=void 0;const r=n(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return r.stringifyServiceIdentifier}});const o=n(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return o.LazyServiceIdentifier}})},5299:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(76709),t),o(n(50492),t),o(n(23297),t),o(n(22022),t),o(n(44186),t)},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},5456:(e,t,n)=>{"use strict";t.eachWeekendOfMonth=function(e,t){const n=(0,i.startOfMonth)(e,t),a=(0,o.endOfMonth)(e,t);return(0,r.eachWeekendOfInterval)({start:n,end:a},t)};var r=n(39305),o=n(51291),i=n(67710)},5513:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(97861);t.Parser=class{run(e,t,n,o){const i=this.parse(e,t,n,o);return i?{setter:new r.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}},5556:(e,t,n)=>{e.exports=n(2694)()},5626:(e,t,n)=>{"use strict";t.isSameISOWeek=function(e,t,n){return(0,r.isSameWeek)(e,t,{...n,weekStartsOn:1})};var r=n(30659)},5778:(e,t)=>{"use strict";const n={};function r(e,t){"string"!=typeof t&&(t=r.defaultChars);const o=function(e){let t=n[e];if(t)return t;t=n[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let n=0,r=e.length;n<r;n+=3){const i=parseInt(e.slice(n+1,n+3),16);if(i<128)t+=o[i];else{if(192==(224&i)&&n+3<r){const r=parseInt(e.slice(n+4,n+6),16);if(128==(192&r)){const e=i<<6&1984|63&r;t+=e<128?"��":String.fromCharCode(e),n+=3;continue}}if(224==(240&i)&&n+6<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16);if(128==(192&r)&&128==(192&o)){const e=i<<12&61440|r<<6&4032|63&o;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240==(248&i)&&n+9<r){const r=parseInt(e.slice(n+4,n+6),16),o=parseInt(e.slice(n+7,n+9),16),a=parseInt(e.slice(n+10,n+12),16);if(128==(192&r)&&128==(192&o)&&128==(192&a)){let e=i<<18&1835008|r<<12&258048|o<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="";const o={};function i(e,t,n){"string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0);const r=function(e){let t=o[e];if(t)return t;t=o[e]=[];for(let e=0;e<128;e++){const n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let a="";for(let t=0,o=e.length;t<o;t++){const i=e.charCodeAt(t);if(n&&37===i&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(i<128)a+=r[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&t+1<o){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+="%EF%BF%BD"}else a+=encodeURIComponent(e[t])}return a}function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){let n,r,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=c.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=s.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&g[a]||(i=i.substr(2),this.slashes=!0)),!g[a]&&(o||a&&!v[a])){let e,t,n=-1;for(let e=0;e<h.length;e++)r=i.indexOf(h[e]),-1!==r&&(-1===n||r<n)&&(n=r);t=-1===n?i.lastIndexOf("@"):i.lastIndexOf("@",n),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),n=-1;for(let e=0;e<f.length;e++)r=i.indexOf(f[e]),-1!==r&&(-1===n||r<n)&&(n=r);-1===n&&(n=i.length),":"===i[n-1]&&n--;const o=i.slice(0,n);i=i.slice(n),this.parseHost(o),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(p)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(p)){const r=e.slice(0,t),o=e.slice(t+1),a=n.match(m);a&&(r.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");-1!==l&&(this.hash=i.substr(l),i=i.slice(0,l));const u=i.indexOf("?");return-1!==u&&(this.search=i.substr(u),i=i.slice(0,u)),i&&(this.pathname=i),v[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){let t=l.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.decode=r,t.encode=i,t.format=function(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t},t.parse=function(e,t){if(e&&e instanceof a)return e;const n=new a;return n.parse(e,t),n}},5800:(e,t,n)=>{"use strict";t.isToday=function(e,t){return(0,i.isSameDay)((0,r.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var r=n(92956),o=n(2700),i=n(99691)},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),s=n(28303),l=n(72552),c=n(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=f||s&&C(new s)!=h)&&(C=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case g:return u;case v:return d;case y:return f;case b:return h}return t}),e.exports=C},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,o="",i=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(n){for(var r,o=0,i="";r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=o(/[&<>'"]/g,n),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const r=n(96540),o=n(61225);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,r.useRef)(null);return(0,r.useCallback)((n=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(n)}),500)}),[e])}},6289:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleActivationStore=void 0;const r=n(93382);class o{_map=new Map;remove(e){const t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)}addActivation(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)}clone(){const e=new o;return this._map.forEach(((t,n)=>{e._map.set(n,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})})),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new r.Lookup,onDeactivations:new r.Lookup}}}t.ModuleActivationStore=o},6345:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsPanel=void 0;const s=n(47250),l=i(n(96540)),c=n(61225),u=a(n(35830)),d=n(64800),f=n(87451),h=n(72471),p=n(54896),m=n(66764),g=n(36834),v=n(68318),y=n(78904),b=n(43264),C=n(40660),w=n(29136),_=n(47586),x=n(80925),O=(0,u.default)(s.Box)`
|
|
15
15
|
background: ${({theme:e})=>e.palette.background2};
|
|
16
16
|
border: 1px solid ${({theme:e})=>e.palette.background4};
|
|
17
17
|
height: 100%;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
`,E=u.default.div`
|
|
30
30
|
margin: ${({theme:e})=>e.px.large} auto;
|
|
31
|
-
`;t.NotificationsPanel=(0,c.connect)((e=>({notifications:(0,f.selectPlatformNotifications)(e),reminders:(0,f.selectPlatformReminders)(e),applications:e.applications,streams:e.streams,platforms:e.platform.list,centerLocked:e.centerLocked,searchResults:(0,f.selectPlatformSearchResults)(e),searchQuery:e.search.query,searchMode:e.search.searchMode,visible:e.centerVisible,errors:(0,f.selectVisibleErrors)(e),category:e.categories.selectedCategory})),(e=>({setSearchMode:t=>e(new h.SetSearchMode(t)),searchNotifications:t=>e(new h.SearchNotifications(t)),clearSearch:()=>e(new h.ClearSearch),removeNotifications:t=>e(new f.RemoveNotifications(t,"ClearAll")),closeCenter:()=>e(new f.ToggleCenterVisibility(f.ToggleCenterVisibilitySource.BUTTON,!1)),dismissError:t=>e(new f.DismissError(t)),raiseAnalyticsEvent:async(t,n)=>e(new f.RaiseAnalyticsEvent(t,n))})))((({notifications:e,reminders:t,applications:n,streams:r,platforms:o,searchMode:i,searchQuery:a,visible:c,errors:u,category:f,clearSearch:h,removeNotifications:M,setSearchMode:S,searchNotifications:j,closeCenter:k,dismissError:P,raiseAnalyticsEvent:T})=>{const D=l.useContext(C.HistoryContext),L=l.useContext(w.WindowContext);l.useEffect((()=>{L.document.title="Center"}),[]);const A=l.useCallback((()=>{M("reminders"===f?t:e),null==T||T({type:"Center",action:"Clear All",skipValueHashing:!0})}),[e,t,M,f]),I=i?()=>S(!1):void 0;return l.createElement(O,{flexDirection:"column",flexGrow:1,"data-testid":"notifications-panel-container"},l.createElement(x.GlobalProviderStyles,null),l.createElement(m.Header,{title:"Notifications",onBack:I,onClose:k,badgeCount:e.length},l.createElement(d.HeaderButton,{"aria-label":"Search",onClick:()=>{S(!i),null==T||T({type:"Center",action:"Select Search",skipValueHashing:!0})}},l.createElement(s.Icon,{icon:"MagnifyingGlassIcon",size:"base"})),l.createElement(d.HeaderButton,{"aria-label":"Settings",onClick:()=>{i&&S(!1),D.push(_.ROUTES.SETTINGS)}},l.createElement(s.Icon,{icon:"GearIcon",size:"base"}))),l.createElement(p.ErrorPanel,{errors:u,onDismiss:e=>{P(e)}}),l.createElement(v.PlatformsPanel,null),i?l.createElement(E,null,l.createElement(b.TextInput,{onChange:e=>{e.value.length>0?j(e.value.trim()):h()},clearControl:!0,focusOnMount:!0,icon:"MagnifyingGlassIcon",placeholder:"Search within your Notifications"})):l.createElement(y.CategoriesPanel,{onClearAll:A}),c?l.createElement(g.NotificationView,{id:"notification-panel-view",reminders:t,notifications:e,searchMode:i,searchString:a,applications:n,streams:r,platforms:o}):l.createElement(l.Fragment,null))}))},6405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tzPattern=void 0,t.tzPattern=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/},6633:(e,t,n)=>{"use strict";t.AMPMParser=void 0;var r=n(5513),o=n(93771);class i extends r.Parser{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}t.AMPMParser=i},6686:(e,t,n)=>{"use strict";t.lightFormat=function(e,t){const n=(0,i.toDate)(e);if(!(0,o.isValid)(n))throw new RangeError("Invalid time value");const u=t.match(a);return u?u.map((e=>{if("''"===e)return"'";const t=e[0];if("'"===t)return function(e){const t=e.match(s);return t?t[1].replace(l,"'"):e}(e);const o=r.lightFormatters[t];if(o)return o(n,e);if(t.match(c))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join(""):""},Object.defineProperty(t,"lightFormatters",{enumerable:!0,get:function(){return r.lightFormatters}});var r=n(88441),o=n(27489),i=n(34446);const a=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,l=/''/g,c=/[a-zA-Z]/},6736:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BindingCount=void 0,function(e){e[e.MultipleBindingsAvailable=2]="MultipleBindingsAvailable",e[e.NoBindingsAvailable=0]="NoBindingsAvailable",e[e.OnlyOneBindingAvailable=1]="OnlyOneBindingAvailable"}(n||(t.BindingCount=n={}))},6808:(e,t,n)=>{"use strict";t.fromUnixTime=function(e,t){return(0,r.toDate)(1e3*e,t?.in)};var r=n(34446)},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7044:(e,t,n)=>{"use strict";t.getTime=function(e){return+(0,r.toDate)(e)};var r=n(34446)},7083:(e,t)=>{"use strict";t.longFormatters=void 0;const n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{const o=e.match(/(P+)(p+)?/)||[],i=o[1],a=o[2];if(!a)return n(e,t);let s;switch(i){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",n(i,t)).replace("{{time}}",r(a,t))}}},7181:(e,t,n)=>{"use strict";t.formatLong=void 0;var r=n(35624);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},7261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeNotification=void 0;const r=n(98883);t.removeNotification=new r.Signal(r.Aggregators.AWAIT_VOID)},7374:(e,t,n)=>{"use strict";t.nextMonday=function(e,t){return(0,r.nextDay)(e,1,t)};var r=n(70064)},7425:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorMessage:()=>Kn,FastField:()=>Qn,Field:()=>Nn,FieldArray:()=>qn,Form:()=>Hn,Formik:()=>Pn,FormikConsumer:()=>fn,FormikContext:()=>un,FormikProvider:()=>dn,connect:()=>Bn,getActiveElement:()=>xn,getIn:()=>On,insert:()=>zn,isEmptyArray:()=>pn,isEmptyChildren:()=>Cn,isFunction:()=>mn,isInputEvent:()=>_n,isInteger:()=>vn,isNaN:()=>bn,isObject:()=>gn,isPromise:()=>wn,isString:()=>yn,move:()=>$n,prepareDataForValidation:()=>Ln,replace:()=>Un,setIn:()=>En,setNestedObjectValues:()=>Mn,swap:()=>Zn,useField:()=>Fn,useFormik:()=>kn,useFormikContext:()=>hn,validateYupSchema:()=>Dn,withFormik:()=>Vn,yupToFormErrors:()=>Tn});var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=i(e[t],n)})),Object.keys(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=s(e[o],t[o],n):r[o]=i(t[o],n)})),r}(e,t,n):i(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};const l=s,c="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=c||u||Function("return this")(),f=d.Symbol;var h=Object.prototype,p=h.hasOwnProperty,m=h.toString,g=f?f.toStringTag:void 0;var v=Object.prototype.toString;var y=f?f.toStringTag:void 0;const b=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":y&&y in Object(e)?function(e){var t=p.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch(e){}var o=m.call(e);return r&&(t?e[g]=n:delete e[g]),o}(e):function(e){return v.call(e)}(e)},C=function(e,t){return function(n){return e(t(n))}},w=C(Object.getPrototypeOf,Object),_=function(e){return null!=e&&"object"==typeof e};var x=Function.prototype,O=Object.prototype,E=x.toString,M=O.hasOwnProperty,S=E.call(Object);const j=function(e){if(!_(e)||"[object Object]"!=b(e))return!1;var t=w(e);if(null===t)return!0;var n=M.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&E.call(n)==S},k=function(e,t){return e===t||e!=e&&t!=t},P=function(e,t){for(var n=e.length;n--;)if(k(e[n][0],t))return n;return-1};var T=Array.prototype.splice;function D(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}D.prototype.clear=function(){this.__data__=[],this.size=0},D.prototype.delete=function(e){var t=this.__data__,n=P(t,e);return!(n<0||(n==t.length-1?t.pop():T.call(t,n,1),--this.size,0))},D.prototype.get=function(e){var t=this.__data__,n=P(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return P(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=P(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const L=D,A=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},I=function(e){if(!A(e))return!1;var t=b(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},R=d["__core-js_shared__"];var F,N=(F=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"";var H=Function.prototype.toString;const V=function(e){if(null!=e){try{return H.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var B=/^\[object .+?Constructor\]$/,$=Function.prototype,Z=Object.prototype,z=$.toString,U=Z.hasOwnProperty,W=RegExp("^"+z.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const G=function(e){return!(!A(e)||(t=e,N&&N in t))&&(I(e)?W:B).test(V(e));var t},Y=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return G(n)?n:void 0},q=Y(d,"Map"),K=Y(Object,"create");var Q=Object.prototype.hasOwnProperty;var X=Object.prototype.hasOwnProperty;function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}J.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Q.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:X.call(t,e)},J.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this};const ee=J,te=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ne.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(q||L),string:new ee}},ne.prototype.delete=function(e){var t=te(this,e).delete(e);return this.size-=t?1:0,t},ne.prototype.get=function(e){return te(this,e).get(e)},ne.prototype.has=function(e){return te(this,e).has(e)},ne.prototype.set=function(e,t){var n=te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const re=ne;function oe(e){var t=this.__data__=new L(e);this.size=t.size}oe.prototype.clear=function(){this.__data__=new L,this.size=0},oe.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},oe.prototype.get=function(e){return this.__data__.get(e)},oe.prototype.has=function(e){return this.__data__.has(e)},oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof L){var r=n.__data__;if(!q||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new re(r)}return n.set(e,t),this.size=n.size,this};const ie=oe,ae=function(){try{var e=Y(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),se=function(e,t,n){"__proto__"==t&&ae?ae(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var le=Object.prototype.hasOwnProperty;const ce=function(e,t,n){var r=e[t];le.call(e,t)&&k(r,n)&&(void 0!==n||t in e)||se(e,t,n)},ue=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?se(n,s,l):ce(n,s,l)}return n},de=function(e){return _(e)&&"[object Arguments]"==b(e)};var fe=Object.prototype,he=fe.hasOwnProperty,pe=fe.propertyIsEnumerable;const me=de(function(){return arguments}())?de:function(e){return _(e)&&he.call(e,"callee")&&!pe.call(e,"callee")},ge=Array.isArray;var ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,ye=ve&&"object"==typeof module&&module&&!module.nodeType&&module,be=ye&&ye.exports===ve?d.Buffer:void 0;const Ce=(be?be.isBuffer:void 0)||function(){return!1};var we=/^(?:0|[1-9]\d*)$/;const _e=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t},xe=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Oe={};Oe["[object Float32Array]"]=Oe["[object Float64Array]"]=Oe["[object Int8Array]"]=Oe["[object Int16Array]"]=Oe["[object Int32Array]"]=Oe["[object Uint8Array]"]=Oe["[object Uint8ClampedArray]"]=Oe["[object Uint16Array]"]=Oe["[object Uint32Array]"]=!0,Oe["[object Arguments]"]=Oe["[object Array]"]=Oe["[object ArrayBuffer]"]=Oe["[object Boolean]"]=Oe["[object DataView]"]=Oe["[object Date]"]=Oe["[object Error]"]=Oe["[object Function]"]=Oe["[object Map]"]=Oe["[object Number]"]=Oe["[object Object]"]=Oe["[object RegExp]"]=Oe["[object Set]"]=Oe["[object String]"]=Oe["[object WeakMap]"]=!1;const Ee=function(e){return function(t){return e(t)}};var Me="object"==typeof exports&&exports&&!exports.nodeType&&exports,Se=Me&&"object"==typeof module&&module&&!module.nodeType&&module,je=Se&&Se.exports===Me&&c.process;const ke=function(){try{return Se&&Se.require&&Se.require("util").types||je&&je.binding&&je.binding("util")}catch(e){}}();var Pe=ke&&ke.isTypedArray;const Te=Pe?Ee(Pe):function(e){return _(e)&&xe(e.length)&&!!Oe[b(e)]};var De=Object.prototype.hasOwnProperty;const Le=function(e,t){var n=ge(e),r=!n&&me(e),o=!n&&!r&&Ce(e),i=!n&&!r&&!o&&Te(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!De.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_e(c,l))||s.push(c);return s};var Ae=Object.prototype;const Ie=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)},Re=C(Object.keys,Object);var Fe=Object.prototype.hasOwnProperty;const Ne=function(e){return null!=e&&xe(e.length)&&!I(e)},He=function(e){return Ne(e)?Le(e):function(e){if(!Ie(e))return Re(e);var t=[];for(var n in Object(e))Fe.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)};var Ve=Object.prototype.hasOwnProperty;const Be=function(e){if(!A(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ie(e),n=[];for(var r in e)("constructor"!=r||!t&&Ve.call(e,r))&&n.push(r);return n},$e=function(e){return Ne(e)?Le(e,!0):Be(e)};var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,ze=Ze&&"object"==typeof module&&module&&!module.nodeType&&module,Ue=ze&&ze.exports===Ze?d.Buffer:void 0,We=Ue?Ue.allocUnsafe:void 0;const Ge=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Ye=function(){return[]};var qe=Object.prototype.propertyIsEnumerable,Ke=Object.getOwnPropertySymbols;const Qe=Ke?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(Ke(e),(function(t){return qe.call(e,t)})))}:Ye,Xe=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},Je=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Xe(t,Qe(e)),e=w(e);return t}:Ye,et=function(e,t,n){var r=t(e);return ge(e)?r:Xe(r,n(e))},tt=function(e){return et(e,He,Qe)},nt=function(e){return et(e,$e,Je)},rt=Y(d,"DataView"),ot=Y(d,"Promise"),it=Y(d,"Set"),at=Y(d,"WeakMap");var st="[object Map]",lt="[object Promise]",ct="[object Set]",ut="[object WeakMap]",dt="[object DataView]",ft=V(rt),ht=V(q),pt=V(ot),mt=V(it),gt=V(at),vt=b;(rt&&vt(new rt(new ArrayBuffer(1)))!=dt||q&&vt(new q)!=st||ot&&vt(ot.resolve())!=lt||it&&vt(new it)!=ct||at&&vt(new at)!=ut)&&(vt=function(e){var t=b(e),n="[object Object]"==t?e.constructor:void 0,r=n?V(n):"";if(r)switch(r){case ft:return dt;case ht:return st;case pt:return lt;case mt:return ct;case gt:return ut}return t});const yt=vt;var bt=Object.prototype.hasOwnProperty;const Ct=d.Uint8Array,wt=function(e){var t=new e.constructor(e.byteLength);return new Ct(t).set(new Ct(e)),t};var _t=/\w*$/;var xt=f?f.prototype:void 0,Ot=xt?xt.valueOf:void 0;const Et=function(e,t,n){var r,o,i,a=e.constructor;switch(t){case"[object ArrayBuffer]":return wt(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?wt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?wt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(i=new(o=e).constructor(o.source,_t.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=e,Ot?Object(Ot.call(r)):{}}};var Mt=Object.create;const St=function(){function e(){}return function(t){if(!A(t))return{};if(Mt)return Mt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var jt=ke&&ke.isMap;const kt=jt?Ee(jt):function(e){return _(e)&&"[object Map]"==yt(e)};var Pt=ke&&ke.isSet;const Tt=Pt?Ee(Pt):function(e){return _(e)&&"[object Set]"==yt(e)};var Dt="[object Arguments]",Lt="[object Function]",At="[object Object]",It={};It[Dt]=It["[object Array]"]=It["[object ArrayBuffer]"]=It["[object DataView]"]=It["[object Boolean]"]=It["[object Date]"]=It["[object Float32Array]"]=It["[object Float64Array]"]=It["[object Int8Array]"]=It["[object Int16Array]"]=It["[object Int32Array]"]=It["[object Map]"]=It["[object Number]"]=It[At]=It["[object RegExp]"]=It["[object Set]"]=It["[object String]"]=It["[object Symbol]"]=It["[object Uint8Array]"]=It["[object Uint8ClampedArray]"]=It["[object Uint16Array]"]=It["[object Uint32Array]"]=!0,It["[object Error]"]=It[Lt]=It["[object WeakMap]"]=!1;const Rt=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!A(t))return t;var d=ge(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&bt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return Ge(t,s)}else{var f=yt(t),h=f==Lt||"[object GeneratorFunction]"==f;if(Ce(t))return function(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==At||f==Dt||h&&!i){if(s=c||h?{}:function(e){return"function"!=typeof e.constructor||Ie(e)?{}:St(w(e))}(t),!l)return c?function(e,t){return ue(e,Je(e),t)}(t,function(e,t){return e&&ue(t,$e(t),e)}(s,t)):function(e,t){return ue(e,Qe(e),t)}(t,function(e,t){return e&&ue(t,He(t),e)}(s,t))}else{if(!It[f])return i?t:{};s=Et(t,f,l)}}a||(a=new ie);var p=a.get(t);if(p)return p;a.set(t,s),Tt(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):kt(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var m=d?void 0:(u?c?nt:tt:c?$e:He)(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(m||t,(function(o,i){m&&(o=t[i=o]),ce(s,i,e(o,n,r,i,t,a))})),s},Ft=function(e){return Rt(e,5)};var Nt=n(96540),Ht=n(30115),Vt=n.n(Ht);const Bt=function(e,t){},$t=function(e){return Rt(e,4)},Zt=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},zt=function(e){return"symbol"==typeof e||_(e)&&"[object Symbol]"==b(e)};function Ut(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ut.Cache||re),n}Ut.Cache=re;var Wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/\\(\\)?/g;const Yt=(qt=Ut((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Wt,(function(e,n,r,o){t.push(r?o.replace(Gt,"$1"):n||e)})),t}),(function(e){return 500===Kt.size&&Kt.clear(),e})),Kt=qt.cache,qt);var qt,Kt;const Qt=function(e){if("string"==typeof e||zt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var Xt=f?f.prototype:void 0,Jt=Xt?Xt.toString:void 0;const en=function e(t){if("string"==typeof t)return t;if(ge(t))return Zt(t,e)+"";if(zt(t))return Jt?Jt.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},tn=function(e){return null==e?"":en(e)},nn=function(e){return ge(e)?Zt(e,Qt):zt(e)?[e]:Ge(Yt(tn(e)))};var rn=n(4146),on=n.n(rn);function an(){return an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},an.apply(this,arguments)}function sn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ln(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function cn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var un=(0,Nt.createContext)(void 0);un.displayName="FormikContext";var dn=un.Provider,fn=un.Consumer;function hn(){var e=(0,Nt.useContext)(un);return e||Bt(!1),e}var pn=function(e){return Array.isArray(e)&&0===e.length},mn=function(e){return"function"==typeof e},gn=function(e){return null!==e&&"object"==typeof e},vn=function(e){return String(Math.floor(Number(e)))===e},yn=function(e){return"[object String]"===Object.prototype.toString.call(e)},bn=function(e){return e!=e},Cn=function(e){return 0===Nt.Children.count(e)},wn=function(e){return gn(e)&&mn(e.then)},_n=function(e){return e&&gn(e)&&gn(e.target)};function xn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function On(e,t,n,r){void 0===r&&(r=0);for(var o=nn(t);e&&r<o.length;)e=e[o[r++]];return r===o.length||e?void 0===e?n:e:n}function En(e,t,n){for(var r=$t(e),o=r,i=0,a=nn(t);i<a.length-1;i++){var s=a[i],l=On(e,a.slice(0,i+1));if(l&&(gn(l)||Array.isArray(l)))o=o[s]=$t(l);else{var c=a[i+1];o=o[s]=vn(c)&&Number(c)>=0?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function Mn(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];gn(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},Mn(s,t,n,r[a])):r[a]=t}return r}var Sn={},jn={};function kn(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,o=void 0===r||r,i=e.validateOnMount,a=void 0!==i&&i,s=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,d=e.onSubmit,f=ln(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=an({validateOnChange:n,validateOnBlur:o,validateOnMount:a,onSubmit:d},f),p=(0,Nt.useRef)(h.initialValues),m=(0,Nt.useRef)(h.initialErrors||Sn),g=(0,Nt.useRef)(h.initialTouched||jn),v=(0,Nt.useRef)(h.initialStatus),y=(0,Nt.useRef)(!1),b=(0,Nt.useRef)({});(0,Nt.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var C=(0,Nt.useState)(0)[1],w=(0,Nt.useRef)({values:Ft(h.initialValues),errors:Ft(h.initialErrors)||Sn,touched:Ft(h.initialTouched)||jn,status:Ft(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),_=w.current,x=(0,Nt.useCallback)((function(e){var t=w.current;w.current=function(e,t){switch(t.type){case"SET_VALUES":return an({},e,{values:t.payload});case"SET_TOUCHED":return an({},e,{touched:t.payload});case"SET_ERRORS":return Vt()(e.errors,t.payload)?e:an({},e,{errors:t.payload});case"SET_STATUS":return an({},e,{status:t.payload});case"SET_ISSUBMITTING":return an({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return an({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return an({},e,{values:En(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return an({},e,{touched:En(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return an({},e,{errors:En(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return an({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return an({},e,{touched:Mn(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return an({},e,{isSubmitting:!1});default:return e}}(t,e),t!==w.current&&C((function(e){return e+1}))}),[]),O=(0,Nt.useCallback)((function(e,t){return new Promise((function(n,r){var o=h.validate(e,t);null==o?n(Sn):wn(o)?o.then((function(e){n(e||Sn)}),(function(e){r(e)})):n(o)}))}),[h.validate]),E=(0,Nt.useCallback)((function(e,t){var n=h.validationSchema,r=mn(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):Dn(e,r);return new Promise((function(e,t){o.then((function(){e(Sn)}),(function(n){"ValidationError"===n.name?e(Tn(n)):t(n)}))}))}),[h.validationSchema]),M=(0,Nt.useCallback)((function(e,t){return new Promise((function(n){return n(b.current[e].validate(t))}))}),[]),S=(0,Nt.useCallback)((function(e){var t=Object.keys(b.current).filter((function(e){return mn(b.current[e].validate)})),n=t.length>0?t.map((function(t){return M(t,On(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=En(e,t[r],n)),e}),{})}))}),[M]),j=(0,Nt.useCallback)((function(e){return Promise.all([S(e),h.validationSchema?E(e):{},h.validate?O(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return l.all([t,n,r],{arrayMerge:An})}))}),[h.validate,h.validationSchema,S,O,E]),k=Rn((function(e){return void 0===e&&(e=_.values),x({type:"SET_ISVALIDATING",payload:!0}),j(e).then((function(e){return y.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:e})),e}))}));(0,Nt.useEffect)((function(){a&&!0===y.current&&Vt()(p.current,h.initialValues)&&k(p.current)}),[a,k]);var P=(0,Nt.useCallback)((function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:h.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:h.initialTouched||{},o=e&&e.status?e.status:v.current?v.current:h.initialStatus;p.current=t,m.current=n,g.current=r,v.current=o;var i=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var a=h.onReset(_.values,q);wn(a)?a.then(i):i()}else i()}),[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);(0,Nt.useEffect)((function(){!0!==y.current||Vt()(p.current,h.initialValues)||u&&(p.current=h.initialValues,P(),a&&k(p.current))}),[u,h.initialValues,P,a,k]),(0,Nt.useEffect)((function(){u&&!0===y.current&&!Vt()(m.current,h.initialErrors)&&(m.current=h.initialErrors||Sn,x({type:"SET_ERRORS",payload:h.initialErrors||Sn}))}),[u,h.initialErrors]),(0,Nt.useEffect)((function(){u&&!0===y.current&&!Vt()(g.current,h.initialTouched)&&(g.current=h.initialTouched||jn,x({type:"SET_TOUCHED",payload:h.initialTouched||jn}))}),[u,h.initialTouched]),(0,Nt.useEffect)((function(){u&&!0===y.current&&!Vt()(v.current,h.initialStatus)&&(v.current=h.initialStatus,x({type:"SET_STATUS",payload:h.initialStatus}))}),[u,h.initialStatus,h.initialTouched]);var T=Rn((function(e){if(b.current[e]&&mn(b.current[e].validate)){var t=On(_.values,e),n=b.current[e].validate(t);return wn(n)?(x({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),x({type:"SET_ISVALIDATING",payload:!1})}))):(x({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return h.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),E(_.values,e).then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:On(t,e)}}),x({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),D=(0,Nt.useCallback)((function(e,t){var n=t.validate;b.current[e]={validate:n}}),[]),L=(0,Nt.useCallback)((function(e){delete b.current[e]}),[]),A=Rn((function(e,t){return x({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?k(_.values):Promise.resolve()})),I=(0,Nt.useCallback)((function(e){x({type:"SET_ERRORS",payload:e})}),[]),R=Rn((function(e,t){var r=mn(e)?e(_.values):e;return x({type:"SET_VALUES",payload:r}),(void 0===t?n:t)?k(r):Promise.resolve()})),F=(0,Nt.useCallback)((function(e,t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),N=Rn((function(e,t,r){return x({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?k(En(_.values,e,t)):Promise.resolve()})),H=(0,Nt.useCallback)((function(e,t){var n,r=t,o=e;if(!yn(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,a=i.type,s=i.name,l=i.id,c=i.value,u=i.checked,d=(i.outerHTML,i.options),f=i.multiple;r=t||s||l,o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))r=e,o=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);return t&&n&&!o?r.concat(n):o?r.slice(0,i).concat(r.slice(i+1)):r}(On(_.values,r),u,c):d&&f?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):c}r&&N(r,o)}),[N,_.values]),V=Rn((function(e){if(yn(e))return function(t){return H(t,e)};H(e)})),B=Rn((function(e,t,n){return void 0===t&&(t=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?o:n)?k(_.values):Promise.resolve()})),$=(0,Nt.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id,i=(n.outerHTML,t||r||o);B(i,!0)}),[B]),Z=Rn((function(e){if(yn(e))return function(t){return $(t,e)};$(e)})),z=(0,Nt.useCallback)((function(e){mn(e)?x({type:"SET_FORMIK_STATE",payload:e}):x({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),U=(0,Nt.useCallback)((function(e){x({type:"SET_STATUS",payload:e})}),[]),W=(0,Nt.useCallback)((function(e){x({type:"SET_ISSUBMITTING",payload:e})}),[]),G=Rn((function(){return x({type:"SUBMIT_ATTEMPT"}),k().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=K()))return}catch(e){throw e}return Promise.resolve(n).then((function(e){return y.current&&x({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw x({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(x({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=Rn((function(e){e&&e.preventDefault&&mn(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&mn(e.stopPropagation)&&e.stopPropagation(),G().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),q={resetForm:P,validateForm:k,validateField:T,setErrors:I,setFieldError:F,setFieldTouched:B,setFieldValue:N,setStatus:U,setSubmitting:W,setTouched:A,setValues:R,setFormikState:z,submitForm:G},K=Rn((function(){return d(_.values,q)})),Q=Rn((function(e){e&&e.preventDefault&&mn(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&mn(e.stopPropagation)&&e.stopPropagation(),P()})),X=(0,Nt.useCallback)((function(e){return{value:On(_.values,e),error:On(_.errors,e),touched:!!On(_.touched,e),initialValue:On(p.current,e),initialTouched:!!On(g.current,e),initialError:On(m.current,e)}}),[_.errors,_.touched,_.values]),J=(0,Nt.useCallback)((function(e){return{setValue:function(t,n){return N(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return F(e,t)}}}),[N,B,F]),ee=(0,Nt.useCallback)((function(e){var t=gn(e),n=t?e.name:e,r=On(_.values,n),o={name:n,value:r,onChange:V,onBlur:Z};if(t){var i=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===s&&l&&(o.value=o.value||[],o.multiple=!0)}return o}),[Z,V,_.values]),te=(0,Nt.useMemo)((function(){return!Vt()(p.current,_.values)}),[p.current,_.values]),ne=(0,Nt.useMemo)((function(){return void 0!==s?te?_.errors&&0===Object.keys(_.errors).length:!1!==s&&mn(s)?s(h):s:_.errors&&0===Object.keys(_.errors).length}),[s,te,_.errors,h]);return an({},_,{initialValues:p.current,initialErrors:m.current,initialTouched:g.current,initialStatus:v.current,handleBlur:Z,handleChange:V,handleReset:Q,handleSubmit:Y,resetForm:P,setErrors:I,setFormikState:z,setFieldTouched:B,setFieldValue:N,setFieldError:F,setStatus:U,setSubmitting:W,setTouched:A,setValues:R,submitForm:G,validateForm:k,validateField:T,isValid:ne,dirty:te,unregisterField:L,registerField:D,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:J,validateOnBlur:o,validateOnChange:n,validateOnMount:a})}function Pn(e){var t=kn(e),n=e.component,r=e.children,o=e.render,i=e.innerRef;return(0,Nt.useImperativeHandle)(i,(function(){return t})),(0,Nt.createElement)(dn,{value:t},n?(0,Nt.createElement)(n,t):o?o(t):r?mn(r)?r(t):Cn(r)?null:Nt.Children.only(r):null)}function Tn(e){var t={};if(e.inner){if(0===e.inner.length)return En(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;On(t,a.path)||(t=En(t,a.path,a.message))}}return t}function Dn(e,t,n,r){void 0===n&&(n=!1);var o=Ln(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r||o})}function Ln(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||j(e)?Ln(e):""!==e?e:void 0})):j(e[r])?t[r]=Ln(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function An(e,t,n){var r=e.slice();return t.forEach((function(t,o){if(void 0===r[o]){var i=!1!==n.clone&&n.isMergeableObject(t);r[o]=i?l(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[o]=l(e[o],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var In="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Nt.useLayoutEffect:Nt.useEffect;function Rn(e){var t=(0,Nt.useRef)(e);return In((function(){t.current=e})),(0,Nt.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function Fn(e){var t=hn(),n=t.getFieldProps,r=t.getFieldMeta,o=t.getFieldHelpers,i=t.registerField,a=t.unregisterField,s=gn(e)?e:{name:e},l=s.name,c=s.validate;(0,Nt.useEffect)((function(){return l&&i(l,{validate:c}),function(){l&&a(l)}}),[i,a,l,c]),l||Bt(!1);var u=(0,Nt.useMemo)((function(){return o(l)}),[o,l]);return[n(s),r(l),u]}function Nn(e){var t=e.validate,n=e.name,r=e.render,o=e.children,i=e.as,a=e.component,s=e.className,l=ln(e,["validate","name","render","children","as","component","className"]),c=ln(hn(),["validate","validationSchema"]),u=c.registerField,d=c.unregisterField;(0,Nt.useEffect)((function(){return u(n,{validate:t}),function(){d(n)}}),[u,d,n,t]);var f=c.getFieldProps(an({name:n},l)),h=c.getFieldMeta(n),p={field:f,form:c};if(r)return r(an({},p,{meta:h}));if(mn(o))return o(an({},p,{meta:h}));if(a){if("string"==typeof a){var m=l.innerRef,g=ln(l,["innerRef"]);return(0,Nt.createElement)(a,an({ref:m},f,g,{className:s}),o)}return(0,Nt.createElement)(a,an({field:f,form:c},l,{className:s}),o)}var v=i||"input";if("string"==typeof v){var y=l.innerRef,b=ln(l,["innerRef"]);return(0,Nt.createElement)(v,an({ref:y},f,b,{className:s}),o)}return(0,Nt.createElement)(v,an({},f,l,{className:s}),o)}var Hn=(0,Nt.forwardRef)((function(e,t){var n=e.action,r=ln(e,["action"]),o=null!=n?n:"#",i=hn(),a=i.handleReset,s=i.handleSubmit;return(0,Nt.createElement)("form",an({onSubmit:s,ref:t,onReset:a,action:o},r))}));function Vn(e){var t=e.mapPropsToValues,n=void 0===t?function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&"function"!=typeof e[n]&&(t[n]=e[n]);return t}:t,r=ln(e,["mapPropsToValues"]);return function(e){var t=e.displayName||e.name||e.constructor&&e.constructor.name||"Component",o=function(t){function o(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=t.call.apply(t,[this].concat(i))||this).validate=function(e){return r.validate(e,n.props)},n.validationSchema=function(){return mn(r.validationSchema)?r.validationSchema(n.props):r.validationSchema},n.handleSubmit=function(e,t){return r.handleSubmit(e,an({},t,{props:n.props}))},n.renderFormComponent=function(t){return(0,Nt.createElement)(e,an({},n.props,t))},n}return sn(o,t),o.prototype.render=function(){var e=ln(this.props,["children"]);return(0,Nt.createElement)(Pn,an({},e,r,{validate:r.validate&&this.validate,validationSchema:r.validationSchema&&this.validationSchema,initialValues:n(this.props),initialStatus:r.mapPropsToStatus&&r.mapPropsToStatus(this.props),initialErrors:r.mapPropsToErrors&&r.mapPropsToErrors(this.props),initialTouched:r.mapPropsToTouched&&r.mapPropsToTouched(this.props),onSubmit:this.handleSubmit,children:this.renderFormComponent}))},o}(Nt.Component);return o.displayName="WithFormik("+t+")",on()(o,e)}}function Bn(e){var t=function(t){return(0,Nt.createElement)(fn,null,(function(n){return n||Bt(!1),(0,Nt.createElement)(e,an({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",on()(t,e)}Hn.displayName="Form";var $n=function(e,t,n){var r=Wn(e),o=r[t];return r.splice(t,1),r.splice(n,0,o),r},Zn=function(e,t,n){var r=Wn(e),o=r[t];return r[t]=r[n],r[n]=o,r},zn=function(e,t,n){var r=Wn(e);return r.splice(t,0,n),r},Un=function(e,t,n){var r=Wn(e);return r[t]=n,r},Wn=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(an({},e,{length:t+1}))}return[]},Gn=function(e,t){var n="function"==typeof e?e:t;return function(e){if(Array.isArray(e)||gn(e)){var t=Wn(e);return n(t)}return e}},Yn=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o=Gn(r,e),a=Gn(t,e),s=En(n.values,i,e(On(n.values,i))),l=r?o(On(n.errors,i)):void 0,c=t?a(On(n.touched,i)):void 0;return pn(l)&&(l=void 0),pn(c)&&(c=void 0),an({},n,{values:s,errors:r?En(n.errors,i,l):n.errors,touched:t?En(n.touched,i,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(Wn(t),[Ft(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return Zn(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return $n(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return zn(n,e,t)}),(function(t){return zn(t,e,null)}),(function(t){return zn(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return Un(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(cn(n)),n.pop=n.pop.bind(cn(n)),n}sn(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Vt()(On(e.formik.values,e.name),On(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?Wn(n):[];return t||(t=r[e]),mn(r.splice)&&r.splice(e,1),mn(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,o=t.children,i=t.name,a=an({},e,{form:ln(t.formik,["validate","validationSchema"]),name:i});return n?(0,Nt.createElement)(n,a):r?r(a):o?"function"==typeof o?o(a):Cn(o)?null:Nt.Children.only(o):null},t}(Nt.Component);Yn.defaultProps={validateOnChange:!0};var qn=Bn(Yn),Kn=Bn(function(e){function t(){return e.apply(this,arguments)||this}sn(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return On(this.props.formik.errors,this.props.name)!==On(e.formik.errors,this.props.name)||On(this.props.formik.touched,this.props.name)!==On(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,o=e.children,i=e.name,a=ln(e,["component","formik","render","children","name"]),s=On(n.touched,i),l=On(n.errors,i);return s&&l?r?mn(r)?r(l):null:o?mn(o)?o(l):null:t?(0,Nt.createElement)(t,a,l):l:null},t}(Nt.Component)),Qn=Bn(function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.render,o=t.children,i=t.component,a=t.as;return t.name,r&&Bt(!1),i&&r&&Bt(!1),a&&o&&mn(o)&&Bt(!1),i&&o&&mn(o)&&Bt(!1),r&&o&&!Cn(o)&&Bt(!1),n}sn(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return this.props.shouldUpdate?this.props.shouldUpdate(e,this.props):e.name!==this.props.name||On(e.formik.values,this.props.name)!==On(this.props.formik.values,this.props.name)||On(e.formik.errors,this.props.name)!==On(this.props.formik.errors,this.props.name)||On(e.formik.touched,this.props.name)!==On(this.props.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length||e.formik.isSubmitting!==this.props.formik.isSubmitting},n.componentDidMount=function(){this.props.formik.registerField(this.props.name,{validate:this.props.validate})},n.componentDidUpdate=function(e){this.props.name!==e.name&&(this.props.formik.unregisterField(e.name),this.props.formik.registerField(this.props.name,{validate:this.props.validate})),this.props.validate!==e.validate&&this.props.formik.registerField(this.props.name,{validate:this.props.validate})},n.componentWillUnmount=function(){this.props.formik.unregisterField(this.props.name)},n.render=function(){var e=this.props,t=e.name,n=e.render,r=e.as,o=e.children,i=e.component,a=e.formik,s=ln(e,["validate","name","render","as","children","component","shouldUpdate","formik"]),l=ln(a,["validate","validationSchema"]),c=a.getFieldProps(an({name:t},s)),u={field:c,meta:{value:On(a.values,t),error:On(a.errors,t),touched:!!On(a.touched,t),initialValue:On(a.initialValues,t),initialTouched:!!On(a.initialTouched,t),initialError:On(a.initialErrors,t)},form:l};if(n)return n(u);if(mn(o))return o(u);if(i){if("string"==typeof i){var d=s.innerRef,f=ln(s,["innerRef"]);return(0,Nt.createElement)(i,an({ref:d},c,f),o)}return(0,Nt.createElement)(i,an({field:c,form:a},s),o)}var h=r||"input";if("string"==typeof h){var p=s.innerRef,m=ln(s,["innerRef"]);return(0,Nt.createElement)(h,an({ref:p},c,m),o)}return(0,Nt.createElement)(h,an({},c,s),o)},t}(Nt.Component))},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function C(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,C(e),!m)if(null!==r(c))m=!0,L(_);else{var t=r(u);null!==t&&A(w,t.startTime-e)}}function _(e,n){m=!1,g&&(g=!1,y(M),M=-1),p=!0;var i=h;try{for(C(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!k());){var a=f.callback;if("function"==typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&o(c),C(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&A(w,d.startTime-n),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,O=!1,E=null,M=-1,S=5,j=-1;function k(){return!(t.unstable_now()-j<S)}function P(){if(null!==E){var e=t.unstable_now();j=e;var n=!0;try{n=E(!0,e)}finally{n?x():(O=!1,E=null)}}else O=!1}if("function"==typeof b)x=function(){b(P)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,D=T.port2;T.port1.onmessage=P,x=function(){D.postMessage(null)}}else x=function(){v(P,0)};function L(e){E=e,O||(O=!0,x())}function A(e,n){M=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,L(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(y(M),M=-1):g=!0,A(w,i-a))):(e.sortIndex=s,n(c,e),m||p||(m=!0,L(_))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},7520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassMetadataPropertiesFromMetadataReader=function(e,t){const n=t.getPropertiesMetadata(e),o=new Map;for(const t of Reflect.ownKeys(n)){const i=n[t];o.set(t,(0,r.getPropertyMetadataFromLegacyMetadata)(e,t,i))}return o};const r=n(23498)},8256:(e,t,n)=>{"use strict";t.normalizeDates=function(e,...t){const n=r.constructFrom.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)};var r=n(92956)},8281:function(e,t,n){"use strict";var r,o=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},i=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.Store=void 0;const a=n(52650),s=n(5299),l=n(95785),c=n(84673);let u=class extends s.Store{constructor(e){super(e),this._initialized=new l.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};u=o([(0,a.injectable)(),i("design:paramtypes",["function"==typeof(r=void 0!==c.RootState&&c.RootState)?r:Object])],u),t.Store=u},8357:e=>{"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,n){return(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function m(e){return Array.isArray?Array.isArray(e):"[object Array]"===w(e)}function g(e){return"string"==typeof e}function v(e){return"number"==typeof e}function y(e){return"object"===r(e)}function b(e){return null!=e}function C(e){return!e.trim().length}function w(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var _=Object.prototype.hasOwnProperty,x=function(){function e(t){var n=this;o(this,e),this._keys=[],this._keyMap={};var r=0;t.forEach((function(e){var t=O(e);n._keys.push(t),n._keyMap[t.id]=t,r+=t.weight})),this._keys.forEach((function(e){e.weight/=r}))}return a(e,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}();function O(e){var t=null,n=null,r=null,o=1,i=null;if(g(e)||m(e))r=e,t=E(e),n=M(e);else{if(!_.call(e,"name"))throw new Error("Missing ".concat("name"," property in key"));var a=e.name;if(r=a,_.call(e,"weight")&&(o=e.weight)<=0)throw new Error(function(e){return"Property 'weight' in key '".concat(e,"' must be a positive integer")}(a));t=E(a),n=M(a),i=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:i}}function E(e){return m(e)?e:e.split(".")}function M(e){return m(e)?e.join("."):e}var S={useExtendedSearch:!1,getFn:function(e,t){var n=[],r=!1;return function e(t,o,i){if(b(t))if(o[i]){var a=t[o[i]];if(!b(a))return;if(i===o.length-1&&(g(a)||v(a)||function(e){return!0===e||!1===e||function(e){return y(e)&&null!==e}(e)&&"[object Boolean]"==w(e)}(a)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(a));else if(m(a)){r=!0;for(var s=0,l=a.length;s<l;s+=1)e(a[s],o,i+1)}else o.length&&e(a,o,i+1)}else n.push(t)}(e,g(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},j=n(n(n(n({},{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e,t){return e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),S),k=/[^ ]+/g,P=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,r=void 0===n?j.getFn:n,i=t.fieldNormWeight,a=void 0===i?j.fieldNormWeight:i;o(this,e),this.norm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var o=t.match(k).length;if(n.has(o))return n.get(o);var i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear:function(){n.clear()}}}(a,3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}return a(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();g(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}},{key:"getValueForItemAtKeyId",value:function(e,t){return e[this._keysMap[t]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,t){if(b(e)&&!C(e)){var n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}}},{key:"_addObject",value:function(e,t){var n=this,r={i:t,$:{}};this.keys.forEach((function(t,o){var i=t.getFn?t.getFn(e):n.getFn(e,t.path);if(b(i))if(m(i)){for(var a=[],s=[{nestedArrIndex:-1,value:i}];s.length;){var l=s.pop(),c=l.nestedArrIndex,u=l.value;if(b(u))if(g(u)&&!C(u)){var d={v:u,i:c,n:n.norm.get(u)};a.push(d)}else m(u)&&u.forEach((function(e,t){s.push({nestedArrIndex:t,value:e})}))}r.$[o]=a}else if(g(i)&&!C(i)){var f={v:i,n:n.norm.get(i)};r.$[o]=f}})),this.records.push(r)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e}();function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,o=void 0===r?j.getFn:r,i=n.fieldNormWeight,a=void 0===i?j.fieldNormWeight:i,s=new P({getFn:o,fieldNormWeight:a});return s.setKeys(e.map(O)),s.setSources(t),s.create(),s}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,o=t.currentLocation,i=void 0===o?0:o,a=t.expectedLocation,s=void 0===a?0:a,l=t.distance,c=void 0===l?j.distance:l,u=t.ignoreLocation,d=void 0===u?j.ignoreLocation:u,f=r/e.length;if(d)return f;var h=Math.abs(s-i);return c?f+h/c:h?1:f}var L=32;function A(e){for(var t={},n=0,r=e.length;n<r;n+=1){var o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}var I=String.prototype.normalize?function(e){return e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")}:function(e){return e},R=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.location,a=void 0===i?j.location:i,s=r.threshold,l=void 0===s?j.threshold:s,c=r.distance,u=void 0===c?j.distance:c,d=r.includeMatches,f=void 0===d?j.includeMatches:d,h=r.findAllMatches,p=void 0===h?j.findAllMatches:h,m=r.minMatchCharLength,g=void 0===m?j.minMatchCharLength:m,v=r.isCaseSensitive,y=void 0===v?j.isCaseSensitive:v,b=r.ignoreDiacritics,C=void 0===b?j.ignoreDiacritics:b,w=r.ignoreLocation,_=void 0===w?j.ignoreLocation:w;if(o(this,e),this.options={location:a,threshold:l,distance:u,includeMatches:f,findAllMatches:p,minMatchCharLength:g,isCaseSensitive:y,ignoreDiacritics:C,ignoreLocation:_},t=y?t:t.toLowerCase(),t=C?I(t):t,this.pattern=t,this.chunks=[],this.pattern.length){var x=function(e,t){n.chunks.push({pattern:e,alphabet:A(e),startIndex:t})},O=this.pattern.length;if(O>L){for(var E=0,M=O%L,S=O-M;E<S;)x(this.pattern.substr(E,L),E),E+=L;if(M){var k=O-L;x(this.pattern.substr(k),k)}}else x(this.pattern,0)}}return a(e,[{key:"searchIn",value:function(e){var t=this.options,n=t.isCaseSensitive,r=t.ignoreDiacritics,o=t.includeMatches;if(e=n?e:e.toLowerCase(),e=r?I(e):e,this.pattern===e){var i={isMatch:!0,score:0};return o&&(i.indices=[[0,e.length-1]]),i}var a=this.options,s=a.location,l=a.distance,c=a.threshold,u=a.findAllMatches,d=a.minMatchCharLength,h=a.ignoreLocation,p=[],m=0,g=!1;this.chunks.forEach((function(t){var n=t.pattern,r=t.alphabet,i=t.startIndex,a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.location,i=void 0===o?j.location:o,a=r.distance,s=void 0===a?j.distance:a,l=r.threshold,c=void 0===l?j.threshold:l,u=r.findAllMatches,d=void 0===u?j.findAllMatches:u,f=r.minMatchCharLength,h=void 0===f?j.minMatchCharLength:f,p=r.includeMatches,m=void 0===p?j.includeMatches:p,g=r.ignoreLocation,v=void 0===g?j.ignoreLocation:g;if(t.length>L)throw new Error("Pattern length exceeds max of ".concat(L,"."));for(var y,b=t.length,C=e.length,w=Math.max(0,Math.min(i,C)),_=c,x=w,O=h>1||m,E=O?Array(C):[];(y=e.indexOf(t,x))>-1;){var M=D(t,{currentLocation:y,expectedLocation:w,distance:s,ignoreLocation:v});if(_=Math.min(M,_),x=y+b,O)for(var S=0;S<b;)E[y+S]=1,S+=1}x=-1;for(var k=[],P=1,T=b+C,A=1<<b-1,I=0;I<b;I+=1){for(var R=0,F=T;R<F;)D(t,{errors:I,currentLocation:w+F,expectedLocation:w,distance:s,ignoreLocation:v})<=_?R=F:T=F,F=Math.floor((T-R)/2+R);T=F;var N=Math.max(1,w-F+1),H=d?C:Math.min(w+F,C)+b,V=Array(H+2);V[H+1]=(1<<I)-1;for(var B=H;B>=N;B-=1){var $=B-1,Z=n[e.charAt($)];if(O&&(E[$]=+!!Z),V[B]=(V[B+1]<<1|1)&Z,I&&(V[B]|=(k[B+1]|k[B])<<1|1|k[B+1]),V[B]&A&&(P=D(t,{errors:I,currentLocation:$,expectedLocation:w,distance:s,ignoreLocation:v}))<=_){if(_=P,(x=$)<=w)break;N=Math.max(1,2*w-x)}}if(D(t,{errors:I+1,currentLocation:w,expectedLocation:w,distance:s,ignoreLocation:v})>_)break;k=V}var z={isMatch:x>=0,score:Math.max(.001,P)};if(O){var U=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j.minMatchCharLength,n=[],r=-1,o=-1,i=0,a=e.length;i<a;i+=1){var s=e[i];s&&-1===r?r=i:s||-1===r||((o=i-1)-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(E,h);U.length?m&&(z.indices=U):z.isMatch=!1}return z}(e,n,r,{location:s+i,distance:l,threshold:c,findAllMatches:u,minMatchCharLength:d,includeMatches:o,ignoreLocation:h}),v=a.isMatch,y=a.score,b=a.indices;v&&(g=!0),m+=y,v&&b&&(p=[].concat(f(p),f(b)))}));var v={isMatch:g,score:g?m/this.chunks.length:1};return g&&o&&(v.indices=p),v}}]),e}(),F=function(){function e(t){o(this,e),this.pattern=t}return a(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return N(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return N(e,this.singleRegex)}}]),e}();function N(e,t){var n=e.match(t);return n?n[1]:null}var H=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),n}(F),V=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(F),B=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(F),$=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(F),Z=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(F),z=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(F),U=function(e){l(n,e);var t=d(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.location,s=void 0===a?j.location:a,l=i.threshold,c=void 0===l?j.threshold:l,u=i.distance,d=void 0===u?j.distance:u,f=i.includeMatches,h=void 0===f?j.includeMatches:f,p=i.findAllMatches,m=void 0===p?j.findAllMatches:p,g=i.minMatchCharLength,v=void 0===g?j.minMatchCharLength:g,y=i.isCaseSensitive,b=void 0===y?j.isCaseSensitive:y,C=i.ignoreDiacritics,w=void 0===C?j.ignoreDiacritics:C,_=i.ignoreLocation,x=void 0===_?j.ignoreLocation:_;return o(this,n),(r=t.call(this,e))._bitapSearch=new R(e,{location:s,threshold:c,distance:d,includeMatches:h,findAllMatches:m,minMatchCharLength:v,isCaseSensitive:b,ignoreDiacritics:w,ignoreLocation:x}),r}return a(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(F),W=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){for(var t,n=0,r=[],o=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);var i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(F),G=[H,W,B,$,z,Z,V,U],Y=G.length,q=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,K=new Set([U.type,W.type]),Q=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.isCaseSensitive,i=void 0===r?j.isCaseSensitive:r,a=n.ignoreDiacritics,s=void 0===a?j.ignoreDiacritics:a,l=n.includeMatches,c=void 0===l?j.includeMatches:l,u=n.minMatchCharLength,d=void 0===u?j.minMatchCharLength:u,f=n.ignoreLocation,h=void 0===f?j.ignoreLocation:f,p=n.findAllMatches,m=void 0===p?j.findAllMatches:p,g=n.location,v=void 0===g?j.location:g,y=n.threshold,b=void 0===y?j.threshold:y,C=n.distance,w=void 0===C?j.distance:C;o(this,e),this.query=null,this.options={isCaseSensitive:i,ignoreDiacritics:s,includeMatches:c,minMatchCharLength:d,findAllMatches:m,ignoreLocation:h,location:v,threshold:b,distance:w},t=i?t:t.toLowerCase(),t=s?I(t):t,this.pattern=t,this.query=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(q).filter((function(e){return e&&!!e.trim()})),r=[],o=0,i=n.length;o<i;o+=1){for(var a=n[o],s=!1,l=-1;!s&&++l<Y;){var c=G[l],u=c.isMultiMatch(a);u&&(r.push(new c(u,t)),s=!0)}if(!s)for(l=-1;++l<Y;){var d=G[l],f=d.isSingleMatch(a);if(f){r.push(new d(f,t));break}}}return r}))}(this.pattern,this.options)}return a(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches,o=n.isCaseSensitive,i=n.ignoreDiacritics;e=o?e:e.toLowerCase(),e=i?I(e):e;for(var a=0,s=[],l=0,c=0,u=t.length;c<u;c+=1){var d=t[c];s.length=0,a=0;for(var h=0,p=d.length;h<p;h+=1){var m=d[h],g=m.search(e),v=g.isMatch,y=g.indices,b=g.score;if(!v){l=0,a=0,s.length=0;break}if(a+=1,l+=b,r){var C=m.constructor.type;K.has(C)?s=[].concat(f(s),f(y)):s.push(y)}}if(a){var w={isMatch:!0,score:l/a};return r&&(w.indices=s),w}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(e,t){return t.useExtendedSearch}}]),e}(),X=[];function J(e,t){for(var n=0,r=X.length;n<r;n+=1){var o=X[n];if(o.condition(e,t))return new o(e,t)}return new R(e,t)}var ee="$and",te="$path",ne=function(e){return!(!e[ee]&&!e.$or)},re=function(e){return s({},ee,Object.keys(e).map((function(t){return s({},t,e[t])})))};function oe(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n;return ne(e)||(e=re(e)),function e(n){var o=Object.keys(n),i=function(e){return!!e[te]}(n);if(!i&&o.length>1&&!ne(n))return e(re(n));if(function(e){return!m(e)&&y(e)&&!ne(e)}(n)){var a=i?n[te]:o[0],s=i?n.$val:n[a];if(!g(s))throw new Error(function(e){return"Invalid value for key ".concat(e)}(a));var l={keyId:M(a),pattern:s};return r&&(l.searcher=J(s,t)),l}var c={children:[],operator:o[0]};return o.forEach((function(t){var r=n[t];m(r)&&r.forEach((function(t){c.children.push(e(t))}))})),c}(e)}function ie(e,t){var n=e.matches;t.matches=[],b(n)&&n.forEach((function(e){if(b(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function ae(e,t){t.score=e.score}var se=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;o(this,e),this.options=n(n({},j),r),this.options.useExtendedSearch,this._keyStore=new x(this.options.keys),this.setCollection(t,i)}return a(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof P))throw new Error("Incorrect 'index' type");this._myIndex=t||T(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){b(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n<r;n+=1){var o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).limit,n=void 0===t?-1:t,r=this.options,o=r.includeMatches,i=r.includeScore,a=r.shouldSort,s=r.sortFn,l=r.ignoreFieldNorm,c=g(e)?g(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){var n=t.ignoreFieldNorm,r=void 0===n?j.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,o=e.norm,i=e.score,a=n?n.weight:null;t*=Math.pow(0===i&&a?Number.EPSILON:i,(a||1)*(r?1:o))})),e.score=t}))}(c,{ignoreFieldNorm:l}),a&&c.sort(s),v(n)&&n>-1&&(c=c.slice(0,n)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,o=void 0===r?j.includeMatches:r,i=n.includeScore,a=void 0===i?j.includeScore:i,s=[];return o&&s.push(ie),a&&s.push(ae),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return s.length&&s.forEach((function(t){t(e,r)})),r}))}(c,this._docs,{includeMatches:o,includeScore:i})}},{key:"_searchStringList",value:function(e){var t=J(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,o=e.i,i=e.n;if(b(n)){var a=t.searchIn(n),s=a.isMatch,l=a.score,c=a.indices;s&&r.push({item:n,idx:o,matches:[{score:l,value:n,norm:i,indices:c}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=oe(e,this.options),r=function e(n,r,o){if(!n.children){var i=n.keyId,a=n.searcher,s=t._findMatches({key:t._keyStore.get(i),value:t._myIndex.getValueForItemAtKeyId(r,i),searcher:a});return s&&s.length?[{idx:o,item:r,matches:s}]:[]}for(var l=[],c=0,u=n.children.length;c<u;c+=1){var d=e(n.children[c],r,o);if(d.length)l.push.apply(l,f(d));else if(n.operator===ee)return[]}return l},o=this._myIndex.records,i={},a=[];return o.forEach((function(e){var t=e.$,o=e.i;if(b(t)){var s=r(n,t,o);s.length&&(i[o]||(i[o]={idx:o,item:t,matches:[]},a.push(i[o])),s.forEach((function(e){var t,n=e.matches;(t=i[o].matches).push.apply(t,f(n))})))}})),a}},{key:"_searchObjectList",value:function(e){var t=this,n=J(e,this.options),r=this._myIndex,o=r.keys,i=r.records,a=[];return i.forEach((function(e){var r=e.$,i=e.i;if(b(r)){var s=[];o.forEach((function(e,o){s.push.apply(s,f(t._findMatches({key:e,value:r[o],searcher:n})))})),s.length&&a.push({idx:i,item:r,matches:s})}})),a}},{key:"_findMatches",value:function(e){var t=e.key,n=e.value,r=e.searcher;if(!b(n))return[];var o=[];if(m(n))n.forEach((function(e){var n=e.v,i=e.i,a=e.n;if(b(n)){var s=r.searchIn(n),l=s.isMatch,c=s.score,u=s.indices;l&&o.push({score:c,key:t,value:n,idx:i,norm:a,indices:u})}}));else{var i=n.v,a=n.n,s=r.searchIn(i),l=s.isMatch,c=s.score,u=s.indices;l&&o.push({score:c,key:t,value:i,norm:a,indices:u})}return o}}]),e}();se.version="7.1.0",se.createIndex=T,se.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?j.getFn:n,o=t.fieldNormWeight,i=void 0===o?j.fieldNormWeight:o,a=e.keys,s=e.records,l=new P({getFn:r,fieldNormWeight:i});return l.setKeys(a),l.setIndexRecords(s),l},se.config=j,se.parseQuery=oe,function(){X.push.apply(X,arguments)}(Q);var le=se;e.exports=le},8505:(e,t,n)=>{var r=n(9375);e.exports=function e(t,n,o){return r(n)||(o=n||o,n=[]),o=o||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(t,n):r(t)?function(t,n,r){for(var o=[],i=0;i<t.length;i++)o.push(e(t[i],n,r).source);return d(new RegExp("(?:"+o.join("|")+")",f(r)),n)}(t,n,o):function(e,t,n){return h(i(e,n),t,n)}(t,n,o)},e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=h;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,s=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],h=n.index;if(l+=e.slice(s,h),s=h+d.length,f)l+=f[1];else{var p=e[s],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],C=n[7];l&&(r.push(l),l="");var w=null!=m&&null!=p&&p!==m,_="+"===b||"*"===b,x="?"===b||"*"===b,O=m||c,E=v||y,M=m||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||i++,prefix:m||"",delimiter:O,optional:x,repeat:_,partial:w,asterisk:!!C,pattern:E?u(E):C?".*":a(O,M)})}}return s<e.length&&(l+=e.substr(s)),l&&r.push(l),r}function a(e,t){return!t||t.indexOf(e)>-1?"[^"+c(e)+"]+?":c(t)+"|(?:(?!"+c(t)+")[^"+c(e)+"])+?"}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",a=t||{},l=(o||{}).pretty?s:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=a[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(d=l(f[h]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===h?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"==typeof l)a+=c(l);else{var u=c(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+u+h+")*"),a+=h=l.optional?l.partial?u+"("+h+")?":"(?:"+u+"("+h+"))?":u+"("+h+")"}}var p=c(n.delimiter||"/"),m=a.slice(-p.length)===p;return o||(a=(m?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+p+"|$)",d(new RegExp("^"+a,f(n)),t)}},8701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectBase=function(e){return t=>(n,a,s)=>{if(void 0===t){const e="function"==typeof n?n.name:n.constructor.name;throw new Error((0,r.UNDEFINED_INJECT_ANNOTATION)(e))}(0,i.createTaggedDecorator)(new o.Metadata(e,t))(n,a,s)}};const r=n(35007),o=n(4045),i=n(33353)},8835: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.getFactoryDetails=t.ensureFullyBound=t.multiBindToService=void 0;const s=a(n(35007)),l=n(9117),c=n(56272),u=n(88053);t.multiBindToService=e=>t=>(...n)=>{n.forEach((n=>{e.bind(n).toService(t)}))},t.ensureFullyBound=e=>{let t=null;switch(e.type){case l.BindingTypeEnum.ConstantValue:case l.BindingTypeEnum.Function:t=e.cache;break;case l.BindingTypeEnum.Constructor:case l.BindingTypeEnum.Instance:t=e.implementationType;break;case l.BindingTypeEnum.DynamicValue:t=e.dynamicValue;break;case l.BindingTypeEnum.Provider:t=e.provider;break;case l.BindingTypeEnum.Factory:t=e.factory}if(null===t){const t=(0,c.getServiceIdentifierAsString)(e.serviceIdentifier);throw new Error(`${s.INVALID_BINDING_TYPE} ${t}`)}},t.getFactoryDetails=e=>{switch(e.type){case l.BindingTypeEnum.Factory:return{factory:e.factory,factoryType:u.FactoryType.Factory};case l.BindingTypeEnum.Provider:return{factory:e.provider,factoryType:u.FactoryType.Provider};case l.BindingTypeEnum.DynamicValue:return{factory:e.dynamicValue,factoryType:u.FactoryType.DynamicValue};default:throw new Error(`Unexpected factory type ${e.type}`)}}},8841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassMetadataFromMetadataReader=function(e,t){const n=(0,r.getReflectMetadata)(e,o.POST_CONSTRUCT),s=(0,r.getReflectMetadata)(e,o.PRE_DESTROY);return{constructorArguments:(0,i.getClassMetadataConstructorArgumentsFromMetadataReader)(e,t),lifecycle:{postConstructMethodName:n?.value,preDestroyMethodName:s?.value},properties:(0,a.getClassMetadataPropertiesFromMetadataReader)(e,t)}};const r=n(59517),o=n(83313),i=n(86249),a=n(7520)},9004: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.Header=void 0;const o=n(47250),i=r(n(96540)),a=r(n(35830));t.Header=({title:e,hasControls:t=!1,itemCount:n,isExpandable:r=!1,isExpanded:o=!1,onToggleExpanded:a,onClearAll:g,onPopOutFrame:v,onKeyDown:y})=>{const b=o?"Show Fewer":`Show All (${n})`;return i.default.createElement(s,null,i.default.createElement(l,{"data-testid":"group-title",tabIndex:t?0:-1,onKeyDown:t?e=>null==y?void 0:y(e.nativeEvent):void 0,"aria-label":`Notifications from ${e}`,role:t?"listitem":void 0},v&&i.default.createElement(c,{onClick:v,icon:"ExternalLinkIcon"}),t?i.default.createElement(p,null,e):i.default.createElement(m,null,e),t&&i.default.createElement(u,null,r&&i.default.createElement(i.default.Fragment,null,i.default.createElement(f,{onClick:a,width:107,"aria-label":`${b} notifications from ${e}`},b),i.default.createElement(h,null)),i.default.createElement(d,{onClick:g,"data-testid":"clear","aria-label":`Clear all notifications from ${e}`},"Clear"))))};const s=(0,a.default)(o.Box)`
|
|
31
|
+
`;t.NotificationsPanel=(0,c.connect)((e=>({notifications:(0,f.selectPlatformNotifications)(e),reminders:(0,f.selectPlatformReminders)(e),applications:e.applications,streams:e.streams,platforms:e.platform.list,centerLocked:e.centerLocked,searchResults:(0,f.selectPlatformSearchResults)(e),searchQuery:e.search.query,searchMode:e.search.searchMode,visible:e.centerVisible,errors:(0,f.selectVisibleErrors)(e),category:e.categories.selectedCategory,mode:e.mode})),(e=>({setSearchMode:t=>e(new h.SetSearchMode(t)),searchNotifications:t=>e(new h.SearchNotifications(t)),clearSearch:()=>e(new h.ClearSearch),removeNotifications:t=>e(new f.RemoveNotifications(t,"ClearAll")),closeCenter:()=>e(new f.ToggleCenterVisibility(f.ToggleCenterVisibilitySource.BUTTON,!1)),dismissError:t=>e(new f.DismissError(t)),raiseAnalyticsEvent:async(t,n)=>e(new f.RaiseAnalyticsEvent(t,n))})))((({notifications:e,reminders:t,applications:n,streams:r,platforms:o,searchMode:i,searchQuery:a,visible:c,errors:u,category:f,clearSearch:h,removeNotifications:M,setSearchMode:S,searchNotifications:j,closeCenter:k,dismissError:P,raiseAnalyticsEvent:T,mode:D})=>{const L=l.useContext(C.HistoryContext),A=l.useContext(w.WindowContext);l.useEffect((()=>{void 0!==A&&"desktop"===D&&(A.document.title="Center")}),[D]);const I=l.useCallback((()=>{M("reminders"===f?t:e),null==T||T({type:"Center",action:"Clear All",skipValueHashing:!0})}),[e,t,M,f]),R=i?()=>S(!1):void 0;return l.createElement(O,{flexDirection:"column",flexGrow:1,"data-testid":"notifications-panel-container"},l.createElement(x.GlobalProviderStyles,null),l.createElement(m.Header,{title:"Notifications",onBack:R,onClose:k,badgeCount:e.length},l.createElement(d.HeaderButton,{"aria-label":"Search",onClick:()=>{S(!i),null==T||T({type:"Center",action:"Select Search",skipValueHashing:!0})}},l.createElement(s.Icon,{icon:"MagnifyingGlassIcon",size:"base"})),l.createElement(d.HeaderButton,{"aria-label":"Settings",onClick:()=>{i&&S(!1),L.push(_.ROUTES.SETTINGS)}},l.createElement(s.Icon,{icon:"GearIcon",size:"base"}))),l.createElement(p.ErrorPanel,{errors:u,onDismiss:e=>{P(e)}}),l.createElement(v.PlatformsPanel,null),i?l.createElement(E,null,l.createElement(b.TextInput,{onChange:e=>{e.value.length>0?j(e.value.trim()):h()},clearControl:!0,focusOnMount:!0,icon:"MagnifyingGlassIcon",placeholder:"Search within your Notifications"})):l.createElement(y.CategoriesPanel,{onClearAll:I}),c?l.createElement(g.NotificationView,{id:"notification-panel-view",reminders:t,notifications:e,searchMode:i,searchString:a,applications:n,streams:r,platforms:o}):l.createElement(l.Fragment,null))}))},6405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tzPattern=void 0,t.tzPattern=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/},6633:(e,t,n)=>{"use strict";t.AMPMParser=void 0;var r=n(5513),o=n(93771);class i extends r.Parser{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,o.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}t.AMPMParser=i},6686:(e,t,n)=>{"use strict";t.lightFormat=function(e,t){const n=(0,i.toDate)(e);if(!(0,o.isValid)(n))throw new RangeError("Invalid time value");const u=t.match(a);return u?u.map((e=>{if("''"===e)return"'";const t=e[0];if("'"===t)return function(e){const t=e.match(s);return t?t[1].replace(l,"'"):e}(e);const o=r.lightFormatters[t];if(o)return o(n,e);if(t.match(c))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join(""):""},Object.defineProperty(t,"lightFormatters",{enumerable:!0,get:function(){return r.lightFormatters}});var r=n(88441),o=n(27489),i=n(34446);const a=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,l=/''/g,c=/[a-zA-Z]/},6736:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BindingCount=void 0,function(e){e[e.MultipleBindingsAvailable=2]="MultipleBindingsAvailable",e[e.NoBindingsAvailable=0]="NoBindingsAvailable",e[e.OnlyOneBindingAvailable=1]="OnlyOneBindingAvailable"}(n||(t.BindingCount=n={}))},6808:(e,t,n)=>{"use strict";t.fromUnixTime=function(e,t){return(0,r.toDate)(1e3*e,t?.in)};var r=n(34446)},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7044:(e,t,n)=>{"use strict";t.getTime=function(e){return+(0,r.toDate)(e)};var r=n(34446)},7083:(e,t)=>{"use strict";t.longFormatters=void 0;const n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{const o=e.match(/(P+)(p+)?/)||[],i=o[1],a=o[2];if(!a)return n(e,t);let s;switch(i){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",n(i,t)).replace("{{time}}",r(a,t))}}},7181:(e,t,n)=>{"use strict";t.formatLong=void 0;var r=n(35624);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},7261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeNotification=void 0;const r=n(98883);t.removeNotification=new r.Signal(r.Aggregators.AWAIT_VOID)},7374:(e,t,n)=>{"use strict";t.nextMonday=function(e,t){return(0,r.nextDay)(e,1,t)};var r=n(70064)},7425:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ErrorMessage:()=>Kn,FastField:()=>Qn,Field:()=>Nn,FieldArray:()=>qn,Form:()=>Hn,Formik:()=>Pn,FormikConsumer:()=>fn,FormikContext:()=>un,FormikProvider:()=>dn,connect:()=>Bn,getActiveElement:()=>xn,getIn:()=>On,insert:()=>zn,isEmptyArray:()=>pn,isEmptyChildren:()=>Cn,isFunction:()=>mn,isInputEvent:()=>_n,isInteger:()=>vn,isNaN:()=>bn,isObject:()=>gn,isPromise:()=>wn,isString:()=>yn,move:()=>$n,prepareDataForValidation:()=>Ln,replace:()=>Un,setIn:()=>En,setNestedObjectValues:()=>Mn,swap:()=>Zn,useField:()=>Fn,useFormik:()=>kn,useFormikContext:()=>hn,validateYupSchema:()=>Dn,withFormik:()=>Vn,yupToFormErrors:()=>Tn});var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=i(e[t],n)})),Object.keys(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=s(e[o],t[o],n):r[o]=i(t[o],n)})),r}(e,t,n):i(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};const l=s,c="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const d=c||u||Function("return this")(),f=d.Symbol;var h=Object.prototype,p=h.hasOwnProperty,m=h.toString,g=f?f.toStringTag:void 0;var v=Object.prototype.toString;var y=f?f.toStringTag:void 0;const b=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":y&&y in Object(e)?function(e){var t=p.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch(e){}var o=m.call(e);return r&&(t?e[g]=n:delete e[g]),o}(e):function(e){return v.call(e)}(e)},C=function(e,t){return function(n){return e(t(n))}},w=C(Object.getPrototypeOf,Object),_=function(e){return null!=e&&"object"==typeof e};var x=Function.prototype,O=Object.prototype,E=x.toString,M=O.hasOwnProperty,S=E.call(Object);const j=function(e){if(!_(e)||"[object Object]"!=b(e))return!1;var t=w(e);if(null===t)return!0;var n=M.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&E.call(n)==S},k=function(e,t){return e===t||e!=e&&t!=t},P=function(e,t){for(var n=e.length;n--;)if(k(e[n][0],t))return n;return-1};var T=Array.prototype.splice;function D(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}D.prototype.clear=function(){this.__data__=[],this.size=0},D.prototype.delete=function(e){var t=this.__data__,n=P(t,e);return!(n<0||(n==t.length-1?t.pop():T.call(t,n,1),--this.size,0))},D.prototype.get=function(e){var t=this.__data__,n=P(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return P(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=P(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const L=D,A=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},I=function(e){if(!A(e))return!1;var t=b(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},R=d["__core-js_shared__"];var F,N=(F=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"";var H=Function.prototype.toString;const V=function(e){if(null!=e){try{return H.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var B=/^\[object .+?Constructor\]$/,$=Function.prototype,Z=Object.prototype,z=$.toString,U=Z.hasOwnProperty,W=RegExp("^"+z.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const G=function(e){return!(!A(e)||(t=e,N&&N in t))&&(I(e)?W:B).test(V(e));var t},Y=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return G(n)?n:void 0},q=Y(d,"Map"),K=Y(Object,"create");var Q=Object.prototype.hasOwnProperty;var X=Object.prototype.hasOwnProperty;function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}J.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Q.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:X.call(t,e)},J.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this};const ee=J,te=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ne.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(q||L),string:new ee}},ne.prototype.delete=function(e){var t=te(this,e).delete(e);return this.size-=t?1:0,t},ne.prototype.get=function(e){return te(this,e).get(e)},ne.prototype.has=function(e){return te(this,e).has(e)},ne.prototype.set=function(e,t){var n=te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const re=ne;function oe(e){var t=this.__data__=new L(e);this.size=t.size}oe.prototype.clear=function(){this.__data__=new L,this.size=0},oe.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},oe.prototype.get=function(e){return this.__data__.get(e)},oe.prototype.has=function(e){return this.__data__.has(e)},oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof L){var r=n.__data__;if(!q||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new re(r)}return n.set(e,t),this.size=n.size,this};const ie=oe,ae=function(){try{var e=Y(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),se=function(e,t,n){"__proto__"==t&&ae?ae(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var le=Object.prototype.hasOwnProperty;const ce=function(e,t,n){var r=e[t];le.call(e,t)&&k(r,n)&&(void 0!==n||t in e)||se(e,t,n)},ue=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?se(n,s,l):ce(n,s,l)}return n},de=function(e){return _(e)&&"[object Arguments]"==b(e)};var fe=Object.prototype,he=fe.hasOwnProperty,pe=fe.propertyIsEnumerable;const me=de(function(){return arguments}())?de:function(e){return _(e)&&he.call(e,"callee")&&!pe.call(e,"callee")},ge=Array.isArray;var ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,ye=ve&&"object"==typeof module&&module&&!module.nodeType&&module,be=ye&&ye.exports===ve?d.Buffer:void 0;const Ce=(be?be.isBuffer:void 0)||function(){return!1};var we=/^(?:0|[1-9]\d*)$/;const _e=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t},xe=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Oe={};Oe["[object Float32Array]"]=Oe["[object Float64Array]"]=Oe["[object Int8Array]"]=Oe["[object Int16Array]"]=Oe["[object Int32Array]"]=Oe["[object Uint8Array]"]=Oe["[object Uint8ClampedArray]"]=Oe["[object Uint16Array]"]=Oe["[object Uint32Array]"]=!0,Oe["[object Arguments]"]=Oe["[object Array]"]=Oe["[object ArrayBuffer]"]=Oe["[object Boolean]"]=Oe["[object DataView]"]=Oe["[object Date]"]=Oe["[object Error]"]=Oe["[object Function]"]=Oe["[object Map]"]=Oe["[object Number]"]=Oe["[object Object]"]=Oe["[object RegExp]"]=Oe["[object Set]"]=Oe["[object String]"]=Oe["[object WeakMap]"]=!1;const Ee=function(e){return function(t){return e(t)}};var Me="object"==typeof exports&&exports&&!exports.nodeType&&exports,Se=Me&&"object"==typeof module&&module&&!module.nodeType&&module,je=Se&&Se.exports===Me&&c.process;const ke=function(){try{return Se&&Se.require&&Se.require("util").types||je&&je.binding&&je.binding("util")}catch(e){}}();var Pe=ke&&ke.isTypedArray;const Te=Pe?Ee(Pe):function(e){return _(e)&&xe(e.length)&&!!Oe[b(e)]};var De=Object.prototype.hasOwnProperty;const Le=function(e,t){var n=ge(e),r=!n&&me(e),o=!n&&!r&&Ce(e),i=!n&&!r&&!o&&Te(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!De.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_e(c,l))||s.push(c);return s};var Ae=Object.prototype;const Ie=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)},Re=C(Object.keys,Object);var Fe=Object.prototype.hasOwnProperty;const Ne=function(e){return null!=e&&xe(e.length)&&!I(e)},He=function(e){return Ne(e)?Le(e):function(e){if(!Ie(e))return Re(e);var t=[];for(var n in Object(e))Fe.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)};var Ve=Object.prototype.hasOwnProperty;const Be=function(e){if(!A(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ie(e),n=[];for(var r in e)("constructor"!=r||!t&&Ve.call(e,r))&&n.push(r);return n},$e=function(e){return Ne(e)?Le(e,!0):Be(e)};var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,ze=Ze&&"object"==typeof module&&module&&!module.nodeType&&module,Ue=ze&&ze.exports===Ze?d.Buffer:void 0,We=Ue?Ue.allocUnsafe:void 0;const Ge=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Ye=function(){return[]};var qe=Object.prototype.propertyIsEnumerable,Ke=Object.getOwnPropertySymbols;const Qe=Ke?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(Ke(e),(function(t){return qe.call(e,t)})))}:Ye,Xe=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},Je=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Xe(t,Qe(e)),e=w(e);return t}:Ye,et=function(e,t,n){var r=t(e);return ge(e)?r:Xe(r,n(e))},tt=function(e){return et(e,He,Qe)},nt=function(e){return et(e,$e,Je)},rt=Y(d,"DataView"),ot=Y(d,"Promise"),it=Y(d,"Set"),at=Y(d,"WeakMap");var st="[object Map]",lt="[object Promise]",ct="[object Set]",ut="[object WeakMap]",dt="[object DataView]",ft=V(rt),ht=V(q),pt=V(ot),mt=V(it),gt=V(at),vt=b;(rt&&vt(new rt(new ArrayBuffer(1)))!=dt||q&&vt(new q)!=st||ot&&vt(ot.resolve())!=lt||it&&vt(new it)!=ct||at&&vt(new at)!=ut)&&(vt=function(e){var t=b(e),n="[object Object]"==t?e.constructor:void 0,r=n?V(n):"";if(r)switch(r){case ft:return dt;case ht:return st;case pt:return lt;case mt:return ct;case gt:return ut}return t});const yt=vt;var bt=Object.prototype.hasOwnProperty;const Ct=d.Uint8Array,wt=function(e){var t=new e.constructor(e.byteLength);return new Ct(t).set(new Ct(e)),t};var _t=/\w*$/;var xt=f?f.prototype:void 0,Ot=xt?xt.valueOf:void 0;const Et=function(e,t,n){var r,o,i,a=e.constructor;switch(t){case"[object ArrayBuffer]":return wt(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?wt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?wt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(i=new(o=e).constructor(o.source,_t.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return r=e,Ot?Object(Ot.call(r)):{}}};var Mt=Object.create;const St=function(){function e(){}return function(t){if(!A(t))return{};if(Mt)return Mt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var jt=ke&&ke.isMap;const kt=jt?Ee(jt):function(e){return _(e)&&"[object Map]"==yt(e)};var Pt=ke&&ke.isSet;const Tt=Pt?Ee(Pt):function(e){return _(e)&&"[object Set]"==yt(e)};var Dt="[object Arguments]",Lt="[object Function]",At="[object Object]",It={};It[Dt]=It["[object Array]"]=It["[object ArrayBuffer]"]=It["[object DataView]"]=It["[object Boolean]"]=It["[object Date]"]=It["[object Float32Array]"]=It["[object Float64Array]"]=It["[object Int8Array]"]=It["[object Int16Array]"]=It["[object Int32Array]"]=It["[object Map]"]=It["[object Number]"]=It[At]=It["[object RegExp]"]=It["[object Set]"]=It["[object String]"]=It["[object Symbol]"]=It["[object Uint8Array]"]=It["[object Uint8ClampedArray]"]=It["[object Uint16Array]"]=It["[object Uint32Array]"]=!0,It["[object Error]"]=It[Lt]=It["[object WeakMap]"]=!1;const Rt=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!A(t))return t;var d=ge(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&bt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return Ge(t,s)}else{var f=yt(t),h=f==Lt||"[object GeneratorFunction]"==f;if(Ce(t))return function(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==At||f==Dt||h&&!i){if(s=c||h?{}:function(e){return"function"!=typeof e.constructor||Ie(e)?{}:St(w(e))}(t),!l)return c?function(e,t){return ue(e,Je(e),t)}(t,function(e,t){return e&&ue(t,$e(t),e)}(s,t)):function(e,t){return ue(e,Qe(e),t)}(t,function(e,t){return e&&ue(t,He(t),e)}(s,t))}else{if(!It[f])return i?t:{};s=Et(t,f,l)}}a||(a=new ie);var p=a.get(t);if(p)return p;a.set(t,s),Tt(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):kt(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var m=d?void 0:(u?c?nt:tt:c?$e:He)(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(m||t,(function(o,i){m&&(o=t[i=o]),ce(s,i,e(o,n,r,i,t,a))})),s},Ft=function(e){return Rt(e,5)};var Nt=n(96540),Ht=n(30115),Vt=n.n(Ht);const Bt=function(e,t){},$t=function(e){return Rt(e,4)},Zt=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},zt=function(e){return"symbol"==typeof e||_(e)&&"[object Symbol]"==b(e)};function Ut(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ut.Cache||re),n}Ut.Cache=re;var Wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/\\(\\)?/g;const Yt=(qt=Ut((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Wt,(function(e,n,r,o){t.push(r?o.replace(Gt,"$1"):n||e)})),t}),(function(e){return 500===Kt.size&&Kt.clear(),e})),Kt=qt.cache,qt);var qt,Kt;const Qt=function(e){if("string"==typeof e||zt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var Xt=f?f.prototype:void 0,Jt=Xt?Xt.toString:void 0;const en=function e(t){if("string"==typeof t)return t;if(ge(t))return Zt(t,e)+"";if(zt(t))return Jt?Jt.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},tn=function(e){return null==e?"":en(e)},nn=function(e){return ge(e)?Zt(e,Qt):zt(e)?[e]:Ge(Yt(tn(e)))};var rn=n(4146),on=n.n(rn);function an(){return an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},an.apply(this,arguments)}function sn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ln(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function cn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var un=(0,Nt.createContext)(void 0);un.displayName="FormikContext";var dn=un.Provider,fn=un.Consumer;function hn(){var e=(0,Nt.useContext)(un);return e||Bt(!1),e}var pn=function(e){return Array.isArray(e)&&0===e.length},mn=function(e){return"function"==typeof e},gn=function(e){return null!==e&&"object"==typeof e},vn=function(e){return String(Math.floor(Number(e)))===e},yn=function(e){return"[object String]"===Object.prototype.toString.call(e)},bn=function(e){return e!=e},Cn=function(e){return 0===Nt.Children.count(e)},wn=function(e){return gn(e)&&mn(e.then)},_n=function(e){return e&&gn(e)&&gn(e.target)};function xn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function On(e,t,n,r){void 0===r&&(r=0);for(var o=nn(t);e&&r<o.length;)e=e[o[r++]];return r===o.length||e?void 0===e?n:e:n}function En(e,t,n){for(var r=$t(e),o=r,i=0,a=nn(t);i<a.length-1;i++){var s=a[i],l=On(e,a.slice(0,i+1));if(l&&(gn(l)||Array.isArray(l)))o=o[s]=$t(l);else{var c=a[i+1];o=o[s]=vn(c)&&Number(c)>=0?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function Mn(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];gn(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},Mn(s,t,n,r[a])):r[a]=t}return r}var Sn={},jn={};function kn(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,o=void 0===r||r,i=e.validateOnMount,a=void 0!==i&&i,s=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,d=e.onSubmit,f=ln(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=an({validateOnChange:n,validateOnBlur:o,validateOnMount:a,onSubmit:d},f),p=(0,Nt.useRef)(h.initialValues),m=(0,Nt.useRef)(h.initialErrors||Sn),g=(0,Nt.useRef)(h.initialTouched||jn),v=(0,Nt.useRef)(h.initialStatus),y=(0,Nt.useRef)(!1),b=(0,Nt.useRef)({});(0,Nt.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var C=(0,Nt.useState)(0)[1],w=(0,Nt.useRef)({values:Ft(h.initialValues),errors:Ft(h.initialErrors)||Sn,touched:Ft(h.initialTouched)||jn,status:Ft(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),_=w.current,x=(0,Nt.useCallback)((function(e){var t=w.current;w.current=function(e,t){switch(t.type){case"SET_VALUES":return an({},e,{values:t.payload});case"SET_TOUCHED":return an({},e,{touched:t.payload});case"SET_ERRORS":return Vt()(e.errors,t.payload)?e:an({},e,{errors:t.payload});case"SET_STATUS":return an({},e,{status:t.payload});case"SET_ISSUBMITTING":return an({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return an({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return an({},e,{values:En(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return an({},e,{touched:En(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return an({},e,{errors:En(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return an({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return an({},e,{touched:Mn(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return an({},e,{isSubmitting:!1});default:return e}}(t,e),t!==w.current&&C((function(e){return e+1}))}),[]),O=(0,Nt.useCallback)((function(e,t){return new Promise((function(n,r){var o=h.validate(e,t);null==o?n(Sn):wn(o)?o.then((function(e){n(e||Sn)}),(function(e){r(e)})):n(o)}))}),[h.validate]),E=(0,Nt.useCallback)((function(e,t){var n=h.validationSchema,r=mn(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):Dn(e,r);return new Promise((function(e,t){o.then((function(){e(Sn)}),(function(n){"ValidationError"===n.name?e(Tn(n)):t(n)}))}))}),[h.validationSchema]),M=(0,Nt.useCallback)((function(e,t){return new Promise((function(n){return n(b.current[e].validate(t))}))}),[]),S=(0,Nt.useCallback)((function(e){var t=Object.keys(b.current).filter((function(e){return mn(b.current[e].validate)})),n=t.length>0?t.map((function(t){return M(t,On(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=En(e,t[r],n)),e}),{})}))}),[M]),j=(0,Nt.useCallback)((function(e){return Promise.all([S(e),h.validationSchema?E(e):{},h.validate?O(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return l.all([t,n,r],{arrayMerge:An})}))}),[h.validate,h.validationSchema,S,O,E]),k=Rn((function(e){return void 0===e&&(e=_.values),x({type:"SET_ISVALIDATING",payload:!0}),j(e).then((function(e){return y.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:e})),e}))}));(0,Nt.useEffect)((function(){a&&!0===y.current&&Vt()(p.current,h.initialValues)&&k(p.current)}),[a,k]);var P=(0,Nt.useCallback)((function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:h.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:h.initialTouched||{},o=e&&e.status?e.status:v.current?v.current:h.initialStatus;p.current=t,m.current=n,g.current=r,v.current=o;var i=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var a=h.onReset(_.values,q);wn(a)?a.then(i):i()}else i()}),[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);(0,Nt.useEffect)((function(){!0!==y.current||Vt()(p.current,h.initialValues)||u&&(p.current=h.initialValues,P(),a&&k(p.current))}),[u,h.initialValues,P,a,k]),(0,Nt.useEffect)((function(){u&&!0===y.current&&!Vt()(m.current,h.initialErrors)&&(m.current=h.initialErrors||Sn,x({type:"SET_ERRORS",payload:h.initialErrors||Sn}))}),[u,h.initialErrors]),(0,Nt.useEffect)((function(){u&&!0===y.current&&!Vt()(g.current,h.initialTouched)&&(g.current=h.initialTouched||jn,x({type:"SET_TOUCHED",payload:h.initialTouched||jn}))}),[u,h.initialTouched]),(0,Nt.useEffect)((function(){u&&!0===y.current&&!Vt()(v.current,h.initialStatus)&&(v.current=h.initialStatus,x({type:"SET_STATUS",payload:h.initialStatus}))}),[u,h.initialStatus,h.initialTouched]);var T=Rn((function(e){if(b.current[e]&&mn(b.current[e].validate)){var t=On(_.values,e),n=b.current[e].validate(t);return wn(n)?(x({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),x({type:"SET_ISVALIDATING",payload:!1})}))):(x({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return h.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),E(_.values,e).then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:On(t,e)}}),x({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),D=(0,Nt.useCallback)((function(e,t){var n=t.validate;b.current[e]={validate:n}}),[]),L=(0,Nt.useCallback)((function(e){delete b.current[e]}),[]),A=Rn((function(e,t){return x({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?k(_.values):Promise.resolve()})),I=(0,Nt.useCallback)((function(e){x({type:"SET_ERRORS",payload:e})}),[]),R=Rn((function(e,t){var r=mn(e)?e(_.values):e;return x({type:"SET_VALUES",payload:r}),(void 0===t?n:t)?k(r):Promise.resolve()})),F=(0,Nt.useCallback)((function(e,t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),N=Rn((function(e,t,r){return x({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?k(En(_.values,e,t)):Promise.resolve()})),H=(0,Nt.useCallback)((function(e,t){var n,r=t,o=e;if(!yn(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,a=i.type,s=i.name,l=i.id,c=i.value,u=i.checked,d=(i.outerHTML,i.options),f=i.multiple;r=t||s||l,o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))r=e,o=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);return t&&n&&!o?r.concat(n):o?r.slice(0,i).concat(r.slice(i+1)):r}(On(_.values,r),u,c):d&&f?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):c}r&&N(r,o)}),[N,_.values]),V=Rn((function(e){if(yn(e))return function(t){return H(t,e)};H(e)})),B=Rn((function(e,t,n){return void 0===t&&(t=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?o:n)?k(_.values):Promise.resolve()})),$=(0,Nt.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id,i=(n.outerHTML,t||r||o);B(i,!0)}),[B]),Z=Rn((function(e){if(yn(e))return function(t){return $(t,e)};$(e)})),z=(0,Nt.useCallback)((function(e){mn(e)?x({type:"SET_FORMIK_STATE",payload:e}):x({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),U=(0,Nt.useCallback)((function(e){x({type:"SET_STATUS",payload:e})}),[]),W=(0,Nt.useCallback)((function(e){x({type:"SET_ISSUBMITTING",payload:e})}),[]),G=Rn((function(){return x({type:"SUBMIT_ATTEMPT"}),k().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=K()))return}catch(e){throw e}return Promise.resolve(n).then((function(e){return y.current&&x({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw x({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(x({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=Rn((function(e){e&&e.preventDefault&&mn(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&mn(e.stopPropagation)&&e.stopPropagation(),G().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),q={resetForm:P,validateForm:k,validateField:T,setErrors:I,setFieldError:F,setFieldTouched:B,setFieldValue:N,setStatus:U,setSubmitting:W,setTouched:A,setValues:R,setFormikState:z,submitForm:G},K=Rn((function(){return d(_.values,q)})),Q=Rn((function(e){e&&e.preventDefault&&mn(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&mn(e.stopPropagation)&&e.stopPropagation(),P()})),X=(0,Nt.useCallback)((function(e){return{value:On(_.values,e),error:On(_.errors,e),touched:!!On(_.touched,e),initialValue:On(p.current,e),initialTouched:!!On(g.current,e),initialError:On(m.current,e)}}),[_.errors,_.touched,_.values]),J=(0,Nt.useCallback)((function(e){return{setValue:function(t,n){return N(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return F(e,t)}}}),[N,B,F]),ee=(0,Nt.useCallback)((function(e){var t=gn(e),n=t?e.name:e,r=On(_.values,n),o={name:n,value:r,onChange:V,onBlur:Z};if(t){var i=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===s&&l&&(o.value=o.value||[],o.multiple=!0)}return o}),[Z,V,_.values]),te=(0,Nt.useMemo)((function(){return!Vt()(p.current,_.values)}),[p.current,_.values]),ne=(0,Nt.useMemo)((function(){return void 0!==s?te?_.errors&&0===Object.keys(_.errors).length:!1!==s&&mn(s)?s(h):s:_.errors&&0===Object.keys(_.errors).length}),[s,te,_.errors,h]);return an({},_,{initialValues:p.current,initialErrors:m.current,initialTouched:g.current,initialStatus:v.current,handleBlur:Z,handleChange:V,handleReset:Q,handleSubmit:Y,resetForm:P,setErrors:I,setFormikState:z,setFieldTouched:B,setFieldValue:N,setFieldError:F,setStatus:U,setSubmitting:W,setTouched:A,setValues:R,submitForm:G,validateForm:k,validateField:T,isValid:ne,dirty:te,unregisterField:L,registerField:D,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:J,validateOnBlur:o,validateOnChange:n,validateOnMount:a})}function Pn(e){var t=kn(e),n=e.component,r=e.children,o=e.render,i=e.innerRef;return(0,Nt.useImperativeHandle)(i,(function(){return t})),(0,Nt.createElement)(dn,{value:t},n?(0,Nt.createElement)(n,t):o?o(t):r?mn(r)?r(t):Cn(r)?null:Nt.Children.only(r):null)}function Tn(e){var t={};if(e.inner){if(0===e.inner.length)return En(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;On(t,a.path)||(t=En(t,a.path,a.message))}}return t}function Dn(e,t,n,r){void 0===n&&(n=!1);var o=Ln(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r||o})}function Ln(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||j(e)?Ln(e):""!==e?e:void 0})):j(e[r])?t[r]=Ln(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function An(e,t,n){var r=e.slice();return t.forEach((function(t,o){if(void 0===r[o]){var i=!1!==n.clone&&n.isMergeableObject(t);r[o]=i?l(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[o]=l(e[o],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var In="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Nt.useLayoutEffect:Nt.useEffect;function Rn(e){var t=(0,Nt.useRef)(e);return In((function(){t.current=e})),(0,Nt.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function Fn(e){var t=hn(),n=t.getFieldProps,r=t.getFieldMeta,o=t.getFieldHelpers,i=t.registerField,a=t.unregisterField,s=gn(e)?e:{name:e},l=s.name,c=s.validate;(0,Nt.useEffect)((function(){return l&&i(l,{validate:c}),function(){l&&a(l)}}),[i,a,l,c]),l||Bt(!1);var u=(0,Nt.useMemo)((function(){return o(l)}),[o,l]);return[n(s),r(l),u]}function Nn(e){var t=e.validate,n=e.name,r=e.render,o=e.children,i=e.as,a=e.component,s=e.className,l=ln(e,["validate","name","render","children","as","component","className"]),c=ln(hn(),["validate","validationSchema"]),u=c.registerField,d=c.unregisterField;(0,Nt.useEffect)((function(){return u(n,{validate:t}),function(){d(n)}}),[u,d,n,t]);var f=c.getFieldProps(an({name:n},l)),h=c.getFieldMeta(n),p={field:f,form:c};if(r)return r(an({},p,{meta:h}));if(mn(o))return o(an({},p,{meta:h}));if(a){if("string"==typeof a){var m=l.innerRef,g=ln(l,["innerRef"]);return(0,Nt.createElement)(a,an({ref:m},f,g,{className:s}),o)}return(0,Nt.createElement)(a,an({field:f,form:c},l,{className:s}),o)}var v=i||"input";if("string"==typeof v){var y=l.innerRef,b=ln(l,["innerRef"]);return(0,Nt.createElement)(v,an({ref:y},f,b,{className:s}),o)}return(0,Nt.createElement)(v,an({},f,l,{className:s}),o)}var Hn=(0,Nt.forwardRef)((function(e,t){var n=e.action,r=ln(e,["action"]),o=null!=n?n:"#",i=hn(),a=i.handleReset,s=i.handleSubmit;return(0,Nt.createElement)("form",an({onSubmit:s,ref:t,onReset:a,action:o},r))}));function Vn(e){var t=e.mapPropsToValues,n=void 0===t?function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&"function"!=typeof e[n]&&(t[n]=e[n]);return t}:t,r=ln(e,["mapPropsToValues"]);return function(e){var t=e.displayName||e.name||e.constructor&&e.constructor.name||"Component",o=function(t){function o(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=t.call.apply(t,[this].concat(i))||this).validate=function(e){return r.validate(e,n.props)},n.validationSchema=function(){return mn(r.validationSchema)?r.validationSchema(n.props):r.validationSchema},n.handleSubmit=function(e,t){return r.handleSubmit(e,an({},t,{props:n.props}))},n.renderFormComponent=function(t){return(0,Nt.createElement)(e,an({},n.props,t))},n}return sn(o,t),o.prototype.render=function(){var e=ln(this.props,["children"]);return(0,Nt.createElement)(Pn,an({},e,r,{validate:r.validate&&this.validate,validationSchema:r.validationSchema&&this.validationSchema,initialValues:n(this.props),initialStatus:r.mapPropsToStatus&&r.mapPropsToStatus(this.props),initialErrors:r.mapPropsToErrors&&r.mapPropsToErrors(this.props),initialTouched:r.mapPropsToTouched&&r.mapPropsToTouched(this.props),onSubmit:this.handleSubmit,children:this.renderFormComponent}))},o}(Nt.Component);return o.displayName="WithFormik("+t+")",on()(o,e)}}function Bn(e){var t=function(t){return(0,Nt.createElement)(fn,null,(function(n){return n||Bt(!1),(0,Nt.createElement)(e,an({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",on()(t,e)}Hn.displayName="Form";var $n=function(e,t,n){var r=Wn(e),o=r[t];return r.splice(t,1),r.splice(n,0,o),r},Zn=function(e,t,n){var r=Wn(e),o=r[t];return r[t]=r[n],r[n]=o,r},zn=function(e,t,n){var r=Wn(e);return r.splice(t,0,n),r},Un=function(e,t,n){var r=Wn(e);return r[t]=n,r},Wn=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(an({},e,{length:t+1}))}return[]},Gn=function(e,t){var n="function"==typeof e?e:t;return function(e){if(Array.isArray(e)||gn(e)){var t=Wn(e);return n(t)}return e}},Yn=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o=Gn(r,e),a=Gn(t,e),s=En(n.values,i,e(On(n.values,i))),l=r?o(On(n.errors,i)):void 0,c=t?a(On(n.touched,i)):void 0;return pn(l)&&(l=void 0),pn(c)&&(c=void 0),an({},n,{values:s,errors:r?En(n.errors,i,l):n.errors,touched:t?En(n.touched,i,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(Wn(t),[Ft(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return Zn(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return $n(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return zn(n,e,t)}),(function(t){return zn(t,e,null)}),(function(t){return zn(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return Un(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(cn(n)),n.pop=n.pop.bind(cn(n)),n}sn(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Vt()(On(e.formik.values,e.name),On(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?Wn(n):[];return t||(t=r[e]),mn(r.splice)&&r.splice(e,1),mn(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,o=t.children,i=t.name,a=an({},e,{form:ln(t.formik,["validate","validationSchema"]),name:i});return n?(0,Nt.createElement)(n,a):r?r(a):o?"function"==typeof o?o(a):Cn(o)?null:Nt.Children.only(o):null},t}(Nt.Component);Yn.defaultProps={validateOnChange:!0};var qn=Bn(Yn),Kn=Bn(function(e){function t(){return e.apply(this,arguments)||this}sn(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return On(this.props.formik.errors,this.props.name)!==On(e.formik.errors,this.props.name)||On(this.props.formik.touched,this.props.name)!==On(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,o=e.children,i=e.name,a=ln(e,["component","formik","render","children","name"]),s=On(n.touched,i),l=On(n.errors,i);return s&&l?r?mn(r)?r(l):null:o?mn(o)?o(l):null:t?(0,Nt.createElement)(t,a,l):l:null},t}(Nt.Component)),Qn=Bn(function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.render,o=t.children,i=t.component,a=t.as;return t.name,r&&Bt(!1),i&&r&&Bt(!1),a&&o&&mn(o)&&Bt(!1),i&&o&&mn(o)&&Bt(!1),r&&o&&!Cn(o)&&Bt(!1),n}sn(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return this.props.shouldUpdate?this.props.shouldUpdate(e,this.props):e.name!==this.props.name||On(e.formik.values,this.props.name)!==On(this.props.formik.values,this.props.name)||On(e.formik.errors,this.props.name)!==On(this.props.formik.errors,this.props.name)||On(e.formik.touched,this.props.name)!==On(this.props.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length||e.formik.isSubmitting!==this.props.formik.isSubmitting},n.componentDidMount=function(){this.props.formik.registerField(this.props.name,{validate:this.props.validate})},n.componentDidUpdate=function(e){this.props.name!==e.name&&(this.props.formik.unregisterField(e.name),this.props.formik.registerField(this.props.name,{validate:this.props.validate})),this.props.validate!==e.validate&&this.props.formik.registerField(this.props.name,{validate:this.props.validate})},n.componentWillUnmount=function(){this.props.formik.unregisterField(this.props.name)},n.render=function(){var e=this.props,t=e.name,n=e.render,r=e.as,o=e.children,i=e.component,a=e.formik,s=ln(e,["validate","name","render","as","children","component","shouldUpdate","formik"]),l=ln(a,["validate","validationSchema"]),c=a.getFieldProps(an({name:t},s)),u={field:c,meta:{value:On(a.values,t),error:On(a.errors,t),touched:!!On(a.touched,t),initialValue:On(a.initialValues,t),initialTouched:!!On(a.initialTouched,t),initialError:On(a.initialErrors,t)},form:l};if(n)return n(u);if(mn(o))return o(u);if(i){if("string"==typeof i){var d=s.innerRef,f=ln(s,["innerRef"]);return(0,Nt.createElement)(i,an({ref:d},c,f),o)}return(0,Nt.createElement)(i,an({field:c,form:a},s),o)}var h=r||"input";if("string"==typeof h){var p=s.innerRef,m=ln(s,["innerRef"]);return(0,Nt.createElement)(h,an({ref:p},c,m),o)}return(0,Nt.createElement)(h,an({},c,s),o)},t}(Nt.Component))},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function C(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,C(e),!m)if(null!==r(c))m=!0,L(_);else{var t=r(u);null!==t&&A(w,t.startTime-e)}}function _(e,n){m=!1,g&&(g=!1,y(M),M=-1),p=!0;var i=h;try{for(C(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!k());){var a=f.callback;if("function"==typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&o(c),C(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&A(w,d.startTime-n),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,O=!1,E=null,M=-1,S=5,j=-1;function k(){return!(t.unstable_now()-j<S)}function P(){if(null!==E){var e=t.unstable_now();j=e;var n=!0;try{n=E(!0,e)}finally{n?x():(O=!1,E=null)}}else O=!1}if("function"==typeof b)x=function(){b(P)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,D=T.port2;T.port1.onmessage=P,x=function(){D.postMessage(null)}}else x=function(){v(P,0)};function L(e){E=e,O||(O=!0,x())}function A(e,n){M=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,L(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(y(M),M=-1):g=!0,A(w,i-a))):(e.sortIndex=s,n(c,e),m||p||(m=!0,L(_))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},7520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassMetadataPropertiesFromMetadataReader=function(e,t){const n=t.getPropertiesMetadata(e),o=new Map;for(const t of Reflect.ownKeys(n)){const i=n[t];o.set(t,(0,r.getPropertyMetadataFromLegacyMetadata)(e,t,i))}return o};const r=n(23498)},8256:(e,t,n)=>{"use strict";t.normalizeDates=function(e,...t){const n=r.constructFrom.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)};var r=n(92956)},8281:function(e,t,n){"use strict";var r,o=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},i=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.Store=void 0;const a=n(52650),s=n(5299),l=n(95785),c=n(84673);let u=class extends s.Store{constructor(e){super(e),this._initialized=new l.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};u=o([(0,a.injectable)(),i("design:paramtypes",["function"==typeof(r=void 0!==c.RootState&&c.RootState)?r:Object])],u),t.Store=u},8357:e=>{"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,n){return(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function m(e){return Array.isArray?Array.isArray(e):"[object Array]"===w(e)}function g(e){return"string"==typeof e}function v(e){return"number"==typeof e}function y(e){return"object"===r(e)}function b(e){return null!=e}function C(e){return!e.trim().length}function w(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var _=Object.prototype.hasOwnProperty,x=function(){function e(t){var n=this;o(this,e),this._keys=[],this._keyMap={};var r=0;t.forEach((function(e){var t=O(e);n._keys.push(t),n._keyMap[t.id]=t,r+=t.weight})),this._keys.forEach((function(e){e.weight/=r}))}return a(e,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}();function O(e){var t=null,n=null,r=null,o=1,i=null;if(g(e)||m(e))r=e,t=E(e),n=M(e);else{if(!_.call(e,"name"))throw new Error("Missing ".concat("name"," property in key"));var a=e.name;if(r=a,_.call(e,"weight")&&(o=e.weight)<=0)throw new Error(function(e){return"Property 'weight' in key '".concat(e,"' must be a positive integer")}(a));t=E(a),n=M(a),i=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:i}}function E(e){return m(e)?e:e.split(".")}function M(e){return m(e)?e.join("."):e}var S={useExtendedSearch:!1,getFn:function(e,t){var n=[],r=!1;return function e(t,o,i){if(b(t))if(o[i]){var a=t[o[i]];if(!b(a))return;if(i===o.length-1&&(g(a)||v(a)||function(e){return!0===e||!1===e||function(e){return y(e)&&null!==e}(e)&&"[object Boolean]"==w(e)}(a)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(a));else if(m(a)){r=!0;for(var s=0,l=a.length;s<l;s+=1)e(a[s],o,i+1)}else o.length&&e(a,o,i+1)}else n.push(t)}(e,g(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},j=n(n(n(n({},{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e,t){return e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),S),k=/[^ ]+/g,P=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,r=void 0===n?j.getFn:n,i=t.fieldNormWeight,a=void 0===i?j.fieldNormWeight:i;o(this,e),this.norm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var o=t.match(k).length;if(n.has(o))return n.get(o);var i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear:function(){n.clear()}}}(a,3),this.getFn=r,this.isCreated=!1,this.setIndexRecords()}return a(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();g(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}},{key:"getValueForItemAtKeyId",value:function(e,t){return e[this._keysMap[t]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,t){if(b(e)&&!C(e)){var n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}}},{key:"_addObject",value:function(e,t){var n=this,r={i:t,$:{}};this.keys.forEach((function(t,o){var i=t.getFn?t.getFn(e):n.getFn(e,t.path);if(b(i))if(m(i)){for(var a=[],s=[{nestedArrIndex:-1,value:i}];s.length;){var l=s.pop(),c=l.nestedArrIndex,u=l.value;if(b(u))if(g(u)&&!C(u)){var d={v:u,i:c,n:n.norm.get(u)};a.push(d)}else m(u)&&u.forEach((function(e,t){s.push({nestedArrIndex:t,value:e})}))}r.$[o]=a}else if(g(i)&&!C(i)){var f={v:i,n:n.norm.get(i)};r.$[o]=f}})),this.records.push(r)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e}();function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,o=void 0===r?j.getFn:r,i=n.fieldNormWeight,a=void 0===i?j.fieldNormWeight:i,s=new P({getFn:o,fieldNormWeight:a});return s.setKeys(e.map(O)),s.setSources(t),s.create(),s}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,o=t.currentLocation,i=void 0===o?0:o,a=t.expectedLocation,s=void 0===a?0:a,l=t.distance,c=void 0===l?j.distance:l,u=t.ignoreLocation,d=void 0===u?j.ignoreLocation:u,f=r/e.length;if(d)return f;var h=Math.abs(s-i);return c?f+h/c:h?1:f}var L=32;function A(e){for(var t={},n=0,r=e.length;n<r;n+=1){var o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}var I=String.prototype.normalize?function(e){return e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")}:function(e){return e},R=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.location,a=void 0===i?j.location:i,s=r.threshold,l=void 0===s?j.threshold:s,c=r.distance,u=void 0===c?j.distance:c,d=r.includeMatches,f=void 0===d?j.includeMatches:d,h=r.findAllMatches,p=void 0===h?j.findAllMatches:h,m=r.minMatchCharLength,g=void 0===m?j.minMatchCharLength:m,v=r.isCaseSensitive,y=void 0===v?j.isCaseSensitive:v,b=r.ignoreDiacritics,C=void 0===b?j.ignoreDiacritics:b,w=r.ignoreLocation,_=void 0===w?j.ignoreLocation:w;if(o(this,e),this.options={location:a,threshold:l,distance:u,includeMatches:f,findAllMatches:p,minMatchCharLength:g,isCaseSensitive:y,ignoreDiacritics:C,ignoreLocation:_},t=y?t:t.toLowerCase(),t=C?I(t):t,this.pattern=t,this.chunks=[],this.pattern.length){var x=function(e,t){n.chunks.push({pattern:e,alphabet:A(e),startIndex:t})},O=this.pattern.length;if(O>L){for(var E=0,M=O%L,S=O-M;E<S;)x(this.pattern.substr(E,L),E),E+=L;if(M){var k=O-L;x(this.pattern.substr(k),k)}}else x(this.pattern,0)}}return a(e,[{key:"searchIn",value:function(e){var t=this.options,n=t.isCaseSensitive,r=t.ignoreDiacritics,o=t.includeMatches;if(e=n?e:e.toLowerCase(),e=r?I(e):e,this.pattern===e){var i={isMatch:!0,score:0};return o&&(i.indices=[[0,e.length-1]]),i}var a=this.options,s=a.location,l=a.distance,c=a.threshold,u=a.findAllMatches,d=a.minMatchCharLength,h=a.ignoreLocation,p=[],m=0,g=!1;this.chunks.forEach((function(t){var n=t.pattern,r=t.alphabet,i=t.startIndex,a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.location,i=void 0===o?j.location:o,a=r.distance,s=void 0===a?j.distance:a,l=r.threshold,c=void 0===l?j.threshold:l,u=r.findAllMatches,d=void 0===u?j.findAllMatches:u,f=r.minMatchCharLength,h=void 0===f?j.minMatchCharLength:f,p=r.includeMatches,m=void 0===p?j.includeMatches:p,g=r.ignoreLocation,v=void 0===g?j.ignoreLocation:g;if(t.length>L)throw new Error("Pattern length exceeds max of ".concat(L,"."));for(var y,b=t.length,C=e.length,w=Math.max(0,Math.min(i,C)),_=c,x=w,O=h>1||m,E=O?Array(C):[];(y=e.indexOf(t,x))>-1;){var M=D(t,{currentLocation:y,expectedLocation:w,distance:s,ignoreLocation:v});if(_=Math.min(M,_),x=y+b,O)for(var S=0;S<b;)E[y+S]=1,S+=1}x=-1;for(var k=[],P=1,T=b+C,A=1<<b-1,I=0;I<b;I+=1){for(var R=0,F=T;R<F;)D(t,{errors:I,currentLocation:w+F,expectedLocation:w,distance:s,ignoreLocation:v})<=_?R=F:T=F,F=Math.floor((T-R)/2+R);T=F;var N=Math.max(1,w-F+1),H=d?C:Math.min(w+F,C)+b,V=Array(H+2);V[H+1]=(1<<I)-1;for(var B=H;B>=N;B-=1){var $=B-1,Z=n[e.charAt($)];if(O&&(E[$]=+!!Z),V[B]=(V[B+1]<<1|1)&Z,I&&(V[B]|=(k[B+1]|k[B])<<1|1|k[B+1]),V[B]&A&&(P=D(t,{errors:I,currentLocation:$,expectedLocation:w,distance:s,ignoreLocation:v}))<=_){if(_=P,(x=$)<=w)break;N=Math.max(1,2*w-x)}}if(D(t,{errors:I+1,currentLocation:w,expectedLocation:w,distance:s,ignoreLocation:v})>_)break;k=V}var z={isMatch:x>=0,score:Math.max(.001,P)};if(O){var U=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j.minMatchCharLength,n=[],r=-1,o=-1,i=0,a=e.length;i<a;i+=1){var s=e[i];s&&-1===r?r=i:s||-1===r||((o=i-1)-r+1>=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(E,h);U.length?m&&(z.indices=U):z.isMatch=!1}return z}(e,n,r,{location:s+i,distance:l,threshold:c,findAllMatches:u,minMatchCharLength:d,includeMatches:o,ignoreLocation:h}),v=a.isMatch,y=a.score,b=a.indices;v&&(g=!0),m+=y,v&&b&&(p=[].concat(f(p),f(b)))}));var v={isMatch:g,score:g?m/this.chunks.length:1};return g&&o&&(v.indices=p),v}}]),e}(),F=function(){function e(t){o(this,e),this.pattern=t}return a(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return N(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return N(e,this.singleRegex)}}]),e}();function N(e,t){var n=e.match(t);return n?n[1]:null}var H=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),n}(F),V=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(F),B=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(F),$=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(F),Z=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(F),z=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(F),U=function(e){l(n,e);var t=d(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.location,s=void 0===a?j.location:a,l=i.threshold,c=void 0===l?j.threshold:l,u=i.distance,d=void 0===u?j.distance:u,f=i.includeMatches,h=void 0===f?j.includeMatches:f,p=i.findAllMatches,m=void 0===p?j.findAllMatches:p,g=i.minMatchCharLength,v=void 0===g?j.minMatchCharLength:g,y=i.isCaseSensitive,b=void 0===y?j.isCaseSensitive:y,C=i.ignoreDiacritics,w=void 0===C?j.ignoreDiacritics:C,_=i.ignoreLocation,x=void 0===_?j.ignoreLocation:_;return o(this,n),(r=t.call(this,e))._bitapSearch=new R(e,{location:s,threshold:c,distance:d,includeMatches:h,findAllMatches:m,minMatchCharLength:v,isCaseSensitive:b,ignoreDiacritics:w,ignoreLocation:x}),r}return a(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(F),W=function(e){l(n,e);var t=d(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"search",value:function(e){for(var t,n=0,r=[],o=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);var i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(F),G=[H,W,B,$,z,Z,V,U],Y=G.length,q=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,K=new Set([U.type,W.type]),Q=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.isCaseSensitive,i=void 0===r?j.isCaseSensitive:r,a=n.ignoreDiacritics,s=void 0===a?j.ignoreDiacritics:a,l=n.includeMatches,c=void 0===l?j.includeMatches:l,u=n.minMatchCharLength,d=void 0===u?j.minMatchCharLength:u,f=n.ignoreLocation,h=void 0===f?j.ignoreLocation:f,p=n.findAllMatches,m=void 0===p?j.findAllMatches:p,g=n.location,v=void 0===g?j.location:g,y=n.threshold,b=void 0===y?j.threshold:y,C=n.distance,w=void 0===C?j.distance:C;o(this,e),this.query=null,this.options={isCaseSensitive:i,ignoreDiacritics:s,includeMatches:c,minMatchCharLength:d,findAllMatches:m,ignoreLocation:h,location:v,threshold:b,distance:w},t=i?t:t.toLowerCase(),t=s?I(t):t,this.pattern=t,this.query=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(q).filter((function(e){return e&&!!e.trim()})),r=[],o=0,i=n.length;o<i;o+=1){for(var a=n[o],s=!1,l=-1;!s&&++l<Y;){var c=G[l],u=c.isMultiMatch(a);u&&(r.push(new c(u,t)),s=!0)}if(!s)for(l=-1;++l<Y;){var d=G[l],f=d.isSingleMatch(a);if(f){r.push(new d(f,t));break}}}return r}))}(this.pattern,this.options)}return a(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches,o=n.isCaseSensitive,i=n.ignoreDiacritics;e=o?e:e.toLowerCase(),e=i?I(e):e;for(var a=0,s=[],l=0,c=0,u=t.length;c<u;c+=1){var d=t[c];s.length=0,a=0;for(var h=0,p=d.length;h<p;h+=1){var m=d[h],g=m.search(e),v=g.isMatch,y=g.indices,b=g.score;if(!v){l=0,a=0,s.length=0;break}if(a+=1,l+=b,r){var C=m.constructor.type;K.has(C)?s=[].concat(f(s),f(y)):s.push(y)}}if(a){var w={isMatch:!0,score:l/a};return r&&(w.indices=s),w}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(e,t){return t.useExtendedSearch}}]),e}(),X=[];function J(e,t){for(var n=0,r=X.length;n<r;n+=1){var o=X[n];if(o.condition(e,t))return new o(e,t)}return new R(e,t)}var ee="$and",te="$path",ne=function(e){return!(!e[ee]&&!e.$or)},re=function(e){return s({},ee,Object.keys(e).map((function(t){return s({},t,e[t])})))};function oe(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n;return ne(e)||(e=re(e)),function e(n){var o=Object.keys(n),i=function(e){return!!e[te]}(n);if(!i&&o.length>1&&!ne(n))return e(re(n));if(function(e){return!m(e)&&y(e)&&!ne(e)}(n)){var a=i?n[te]:o[0],s=i?n.$val:n[a];if(!g(s))throw new Error(function(e){return"Invalid value for key ".concat(e)}(a));var l={keyId:M(a),pattern:s};return r&&(l.searcher=J(s,t)),l}var c={children:[],operator:o[0]};return o.forEach((function(t){var r=n[t];m(r)&&r.forEach((function(t){c.children.push(e(t))}))})),c}(e)}function ie(e,t){var n=e.matches;t.matches=[],b(n)&&n.forEach((function(e){if(b(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function ae(e,t){t.score=e.score}var se=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;o(this,e),this.options=n(n({},j),r),this.options.useExtendedSearch,this._keyStore=new x(this.options.keys),this.setCollection(t,i)}return a(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof P))throw new Error("Incorrect 'index' type");this._myIndex=t||T(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){b(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n<r;n+=1){var o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).limit,n=void 0===t?-1:t,r=this.options,o=r.includeMatches,i=r.includeScore,a=r.shouldSort,s=r.sortFn,l=r.ignoreFieldNorm,c=g(e)?g(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){var n=t.ignoreFieldNorm,r=void 0===n?j.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,o=e.norm,i=e.score,a=n?n.weight:null;t*=Math.pow(0===i&&a?Number.EPSILON:i,(a||1)*(r?1:o))})),e.score=t}))}(c,{ignoreFieldNorm:l}),a&&c.sort(s),v(n)&&n>-1&&(c=c.slice(0,n)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,o=void 0===r?j.includeMatches:r,i=n.includeScore,a=void 0===i?j.includeScore:i,s=[];return o&&s.push(ie),a&&s.push(ae),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return s.length&&s.forEach((function(t){t(e,r)})),r}))}(c,this._docs,{includeMatches:o,includeScore:i})}},{key:"_searchStringList",value:function(e){var t=J(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,o=e.i,i=e.n;if(b(n)){var a=t.searchIn(n),s=a.isMatch,l=a.score,c=a.indices;s&&r.push({item:n,idx:o,matches:[{score:l,value:n,norm:i,indices:c}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=oe(e,this.options),r=function e(n,r,o){if(!n.children){var i=n.keyId,a=n.searcher,s=t._findMatches({key:t._keyStore.get(i),value:t._myIndex.getValueForItemAtKeyId(r,i),searcher:a});return s&&s.length?[{idx:o,item:r,matches:s}]:[]}for(var l=[],c=0,u=n.children.length;c<u;c+=1){var d=e(n.children[c],r,o);if(d.length)l.push.apply(l,f(d));else if(n.operator===ee)return[]}return l},o=this._myIndex.records,i={},a=[];return o.forEach((function(e){var t=e.$,o=e.i;if(b(t)){var s=r(n,t,o);s.length&&(i[o]||(i[o]={idx:o,item:t,matches:[]},a.push(i[o])),s.forEach((function(e){var t,n=e.matches;(t=i[o].matches).push.apply(t,f(n))})))}})),a}},{key:"_searchObjectList",value:function(e){var t=this,n=J(e,this.options),r=this._myIndex,o=r.keys,i=r.records,a=[];return i.forEach((function(e){var r=e.$,i=e.i;if(b(r)){var s=[];o.forEach((function(e,o){s.push.apply(s,f(t._findMatches({key:e,value:r[o],searcher:n})))})),s.length&&a.push({idx:i,item:r,matches:s})}})),a}},{key:"_findMatches",value:function(e){var t=e.key,n=e.value,r=e.searcher;if(!b(n))return[];var o=[];if(m(n))n.forEach((function(e){var n=e.v,i=e.i,a=e.n;if(b(n)){var s=r.searchIn(n),l=s.isMatch,c=s.score,u=s.indices;l&&o.push({score:c,key:t,value:n,idx:i,norm:a,indices:u})}}));else{var i=n.v,a=n.n,s=r.searchIn(i),l=s.isMatch,c=s.score,u=s.indices;l&&o.push({score:c,key:t,value:i,norm:a,indices:u})}return o}}]),e}();se.version="7.1.0",se.createIndex=T,se.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?j.getFn:n,o=t.fieldNormWeight,i=void 0===o?j.fieldNormWeight:o,a=e.keys,s=e.records,l=new P({getFn:r,fieldNormWeight:i});return l.setKeys(a),l.setIndexRecords(s),l},se.config=j,se.parseQuery=oe,function(){X.push.apply(X,arguments)}(Q);var le=se;e.exports=le},8505:(e,t,n)=>{var r=n(9375);e.exports=function e(t,n,o){return r(n)||(o=n||o,n=[]),o=o||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(t,n):r(t)?function(t,n,r){for(var o=[],i=0;i<t.length;i++)o.push(e(t[i],n,r).source);return d(new RegExp("(?:"+o.join("|")+")",f(r)),n)}(t,n,o):function(e,t,n){return h(i(e,n),t,n)}(t,n,o)},e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=h;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,s=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],h=n.index;if(l+=e.slice(s,h),s=h+d.length,f)l+=f[1];else{var p=e[s],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],C=n[7];l&&(r.push(l),l="");var w=null!=m&&null!=p&&p!==m,_="+"===b||"*"===b,x="?"===b||"*"===b,O=m||c,E=v||y,M=m||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||i++,prefix:m||"",delimiter:O,optional:x,repeat:_,partial:w,asterisk:!!C,pattern:E?u(E):C?".*":a(O,M)})}}return s<e.length&&(l+=e.substr(s)),l&&r.push(l),r}function a(e,t){return!t||t.indexOf(e)>-1?"[^"+c(e)+"]+?":c(t)+"|(?:(?!"+c(t)+")[^"+c(e)+"])+?"}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",a=t||{},l=(o||{}).pretty?s:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=a[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(d=l(f[h]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===h?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function h(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"==typeof l)a+=c(l);else{var u=c(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+u+h+")*"),a+=h=l.optional?l.partial?u+"("+h+")?":"(?:"+u+"("+h+"))?":u+"("+h+")"}}var p=c(n.delimiter||"/"),m=a.slice(-p.length)===p;return o||(a=(m?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+p+"|$)",d(new RegExp("^"+a,f(n)),t)}},8701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectBase=function(e){return t=>(n,a,s)=>{if(void 0===t){const e="function"==typeof n?n.name:n.constructor.name;throw new Error((0,r.UNDEFINED_INJECT_ANNOTATION)(e))}(0,i.createTaggedDecorator)(new o.Metadata(e,t))(n,a,s)}};const r=n(35007),o=n(4045),i=n(33353)},8835: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.getFactoryDetails=t.ensureFullyBound=t.multiBindToService=void 0;const s=a(n(35007)),l=n(9117),c=n(56272),u=n(88053);t.multiBindToService=e=>t=>(...n)=>{n.forEach((n=>{e.bind(n).toService(t)}))},t.ensureFullyBound=e=>{let t=null;switch(e.type){case l.BindingTypeEnum.ConstantValue:case l.BindingTypeEnum.Function:t=e.cache;break;case l.BindingTypeEnum.Constructor:case l.BindingTypeEnum.Instance:t=e.implementationType;break;case l.BindingTypeEnum.DynamicValue:t=e.dynamicValue;break;case l.BindingTypeEnum.Provider:t=e.provider;break;case l.BindingTypeEnum.Factory:t=e.factory}if(null===t){const t=(0,c.getServiceIdentifierAsString)(e.serviceIdentifier);throw new Error(`${s.INVALID_BINDING_TYPE} ${t}`)}},t.getFactoryDetails=e=>{switch(e.type){case l.BindingTypeEnum.Factory:return{factory:e.factory,factoryType:u.FactoryType.Factory};case l.BindingTypeEnum.Provider:return{factory:e.provider,factoryType:u.FactoryType.Provider};case l.BindingTypeEnum.DynamicValue:return{factory:e.dynamicValue,factoryType:u.FactoryType.DynamicValue};default:throw new Error(`Unexpected factory type ${e.type}`)}}},8841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassMetadataFromMetadataReader=function(e,t){const n=(0,r.getReflectMetadata)(e,o.POST_CONSTRUCT),s=(0,r.getReflectMetadata)(e,o.PRE_DESTROY);return{constructorArguments:(0,i.getClassMetadataConstructorArgumentsFromMetadataReader)(e,t),lifecycle:{postConstructMethodName:n?.value,preDestroyMethodName:s?.value},properties:(0,a.getClassMetadataPropertiesFromMetadataReader)(e,t)}};const r=n(59517),o=n(83313),i=n(86249),a=n(7520)},9004: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.Header=void 0;const o=n(47250),i=r(n(96540)),a=r(n(35830));t.Header=({title:e,hasControls:t=!1,itemCount:n,isExpandable:r=!1,isExpanded:o=!1,onToggleExpanded:a,onClearAll:g,onPopOutFrame:v,onKeyDown:y})=>{const b=o?"Show Fewer":`Show All (${n})`;return i.default.createElement(s,null,i.default.createElement(l,{"data-testid":"group-title",tabIndex:t?0:-1,onKeyDown:t?e=>null==y?void 0:y(e.nativeEvent):void 0,"aria-label":`Notifications from ${e}`,role:t?"listitem":void 0},v&&i.default.createElement(c,{onClick:v,icon:"ExternalLinkIcon"}),t?i.default.createElement(p,null,e):i.default.createElement(m,null,e),t&&i.default.createElement(u,null,r&&i.default.createElement(i.default.Fragment,null,i.default.createElement(f,{onClick:a,width:107,"aria-label":`${b} notifications from ${e}`},b),i.default.createElement(h,null)),i.default.createElement(d,{onClick:g,"data-testid":"clear","aria-label":`Clear all notifications from ${e}`},"Clear"))))};const s=(0,a.default)(o.Box)`
|
|
32
32
|
margin-bottom: ${({theme:e})=>e.px.base};
|
|
33
33
|
height: ${({theme:e})=>e.px.xlarge};
|
|
34
34
|
align-items: center;
|
|
@@ -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.0-alpha-4146";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.0-alpha-4173";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;
|