@openfin/web-notifications 2.9.1-alpha-3944

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.
@@ -0,0 +1,2927 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("reselect"),require("react-dom"),require("lodash"),require("formik"),require("react-router"),require("reflect-metadata"),require("react-transition-group"),require("react-router-dom"),require("react-calendar"),require("styled-components"),require("history"),require("openfin-service-signal"),require("yup"),require("inversify"),require("date-fns"),require("date-fns-tz"),require("react"),require("openfin-service-async"),require("@radix-ui/react-icons"),require("@openfin/predux"),require("lodash.noop"),require("fuse.js"),require("markdown-it"),require("lodash.clamp"),require("semver-compare"),require("framer-motion"),require("react-redux"),require("lodash.throttle")):"function"==typeof define&&define.amd?define(["reselect","react-dom","lodash","formik","react-router","reflect-metadata","react-transition-group","react-router-dom","react-calendar","styled-components","history","openfin-service-signal","yup","inversify","date-fns","date-fns-tz","react","openfin-service-async","@radix-ui/react-icons","@openfin/predux","lodash.noop","fuse.js","markdown-it","lodash.clamp","semver-compare","framer-motion","react-redux","lodash.throttle"],t):"object"==typeof exports?exports["here-web-notifications"]=t(require("reselect"),require("react-dom"),require("lodash"),require("formik"),require("react-router"),require("reflect-metadata"),require("react-transition-group"),require("react-router-dom"),require("react-calendar"),require("styled-components"),require("history"),require("openfin-service-signal"),require("yup"),require("inversify"),require("date-fns"),require("date-fns-tz"),require("react"),require("openfin-service-async"),require("@radix-ui/react-icons"),require("@openfin/predux"),require("lodash.noop"),require("fuse.js"),require("markdown-it"),require("lodash.clamp"),require("semver-compare"),require("framer-motion"),require("react-redux"),require("lodash.throttle")):e["here-web-notifications"]=t(e.reselect,e["react-dom"],e.lodash,e.formik,e["react-router"],e["reflect-metadata"],e["react-transition-group"],e["react-router-dom"],e["react-calendar"],e["styled-components"],e.history,e["openfin-service-signal"],e.yup,e.inversify,e["date-fns"],e["date-fns-tz"],e.react,e["openfin-service-async"],e["@radix-ui/react-icons"],e["@openfin/predux"],e["lodash.noop"],e["fuse.js"],e["markdown-it"],e["lodash.clamp"],e["semver-compare"],e["framer-motion"],e["react-redux"],e["lodash.throttle"])}(this,((e,t,n,i,o,r,a,l,s,c,u,d,f,p,h,m,b,g,v,y,_,x,O,C,w,j,S,P)=>{return M={0:t=>{"use strict";t.exports=e},67:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCalendarModalDialog=void 0;const i=n(7581);t.useCalendarModalDialog=(e,t,n,o,r,a,l,s,c)=>(0,i.useModalDialog)(t,n,o,((e,t,n)=>Object.assign(Object.assign({type:"Calendar",position:n,width:t.clientWidth},e),{initialValue:a,minDate:l,maxDate:s})),(t=>t?e(t):r()),c,"date")},79:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomLocation=t.CustomLocationComponent=void 0;const o=i(n(5932)),r=i(n(2230)),a=n(7250),l=n(4084),s=n(9130),c=n(930),u=n(7451);t.CustomLocationComponent=({state:e,onChange:t,requestNewCustomPosition:n,raiseAnalyticsEvent:i})=>o.default.createElement(f,null,o.default.createElement(l.SettingsToggle,{title:"Custom Position",onChange:e=>{t(e.target.checked),null==i||i({type:"Settings",action:"Toggle Toast Custom Position",value:`${e.target.checked}`,skipValueHashing:!0})},toggleId:"custom-position-toggle",state:"custom"===(null==e?void 0:e.position)}),o.default.createElement(d,{size:a.Size.base},"You can set where your desktop notifications appear more precisely"),"custom"===(null==e?void 0:e.position)&&o.default.createElement(a.Button,{kind:"primary",onClick:n},"Change Position"));const d=(0,r.default)(a.Text).attrs({as:"label"})`
3
+ margin-bottom: ${({theme:e})=>e.px.large};
4
+ color: ${({theme:e})=>e.palette.textHelp};
5
+ `,f=(0,r.default)(a.Box)`
6
+ flex-direction: column;
7
+ margin-top: ${({theme:e})=>e.px.large};
8
+ `;t.CustomLocation=(0,s.connect)(void 0,(e=>({requestNewCustomPosition:()=>e(new c.RequestNewCustomToastPosition),raiseAnalyticsEvent:async(t,n)=>e(new u.RaiseAnalyticsEvent(t,n))})))(t.CustomLocationComponent)},94:e=>{"use strict";e.exports=t},96:e=>{"use strict";e.exports=n},136:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIMethodHandler=void 0;const i=n(4673),o=n(6012),r=n(8320),a=n(7451),l=n(2753),s=n(5425),c=n(707),u=n(2984),d=n(7234),f=n(4138),p=n(8917);t.APIMethodHandler=class{constructor(e,t){this._store=e,this._scheduler=t}async createNotification(e,t){const n=(0,o.hydrateNotification)(e,{type:"desktop",identity:this.translateIdentity(t),origin:await this.getOrigin(t)});return e.reminder&&e.reminder>Date.now()?await this._store.dispatch(new r.SetReminder(Object.assign(Object.assign({},n),{modifiers:{reminder:e.reminder}}))):await this._store.dispatch(new a.CreateNotification(n)),(0,i.mutable)(n.notification)}async updateNotification(e,t){const n=await this.getOrigin(t),r=(0,o.getAllStoredNotifications)(this._store.state).find((t=>t.notification.id===e.id&&this.isAllowed(t.source,n)));if(!r)throw new Error(`Cannot find existing notification to update with id: ${e.id}`);const s=(0,o.hydrateUpdateNotification)(e,(0,l.getUpdateValidateOptions)(null==r?void 0:r.notification));await this._store.dispatch(new a.UpdateNotification(s));const c=(0,o.getAllStoredNotifications)(this._store.state).find((t=>t.notification.id===e.id&&this.isAllowed(t.source,n)));if(!c)throw new Error(`Cannot find updated notification with id: ${e.id}`);return(0,i.mutable)(c.notification)}async clearNotification(e,t){if("string"!=typeof e.id)throw new Error("Invalid argument passed to clear: argument must be a string");const n=await this.getOrigin(t),i=this.translateIdentity(t),r=(0,o.encodeId)(e.id,i),l=(0,o.getAllStoredNotifications)(this._store.state).find((e=>e.id===r&&this.isAllowed(e.source,n)));return!!l&&(await this._store.dispatch(new a.RemoveNotifications([l])),!0)}async fetchAppNotifications(e,t){const n=await this.getOrigin(t),o=this.translateIdentity(t);return this.getAppNotifications(o.uuid,n).map((e=>(0,i.mutable)(e.notification)))}async clearAppNotifications(e,t){const n=await this.getOrigin(t),i=this.translateIdentity(t),o=this.getAppNotifications(i.uuid,n);return await this._store.dispatch(new a.InitiateRemoveAllNotifications(o)),o.length}getAppNotifications(e,t){return this._store.state.notifications.filter((n=>"desktop"===n.source.type&&n.source.identity.uuid===e&&this.isAllowed(n.source,t)))}async showNotificationCenter(e){const t=(null==e?void 0:e.navigateToAll)&&(0,s.shouldNavigateToAll)(this._store.getState());await this._store.dispatch(new a.ShowCenter(t))}async hideNotificationCenter(){await this._store.dispatch(new a.HideCenter)}async toggleNotificationCenter(){await this._store.dispatch(new a.ToggleCenterVisibility(a.ToggleCenterVisibilitySource.API))}async getNotificationsCount(){return this._store.state.notifications.length}async getNotificationCenterSettings(e){if(e===c.UserSettings.SOUND_ENABLED)return this._store.state.settings.notificationSoundEnabled;throw new Error("Invalid setting requested")}getStatus(){return{connected:!0,version:(0,u.getVersion)(),templateAPIVersion:(0,u.getTemplateAPIVersion)()}}async setDefaultPlatformShortcut(e){const t=this._store.state.settings.platformDefaultShortcut;""===t?await this._store.dispatch(new d.SetPlatformDefaultShortcut(e)):console.warn(`Notifications: Default Platform Shortcut has previously been set to ${t} and cannot be changed`)}async setFormValidationErrors(e,t){const n=this.translateIdentity(t),i=(0,o.encodeId)(e.notificationId,n),r=await this.getOrigin(t);if(!(0,o.getAllStoredNotifications)(this._store.state).find((t=>t.notification.id===e.notificationId&&this.isAllowed(t.source,r))))throw new Error(`Attempted to set form validation errors for notification ${i} but the sender does not have permission`);await this._store.dispatch(new f.SetNotificationFormCustomValidationErrors(i,e.errors))}async setFormStatus(e,t){var n,i;const r=this.translateIdentity(t),a=(0,o.encodeId)(e._notificationId,r),l=Object.assign(Object.assign({},e),{_notificationId:a}),s=await this.getOrigin(t);if(!(0,o.getAllStoredNotifications)(this._store.state).find((t=>t.notification.id===e._notificationId&&this.isAllowed(t.source,s))))throw new Error(`Attempted to set form status for notification source: ${JSON.stringify(t)} but the sender does not have permission`);(null===(i=null===(n=this._store.state.activeForms)||void 0===n?void 0:n.forms)||void 0===i?void 0:i.find((e=>e.notificationId===a&&"submitted"===e.formStatusOptions.formStatus)))||await this._store.dispatch(new p.SetNotificationFormStatusOptions(l))}}},164:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationForm=void 0;const o=i(n(5932)),r=n(258),a=n(7250),l=n(597),s=n(4382),c=n(8768),u=n(9636),d=n(6430),f=n(6075),p=n(8684),h=n(723),m=n(6766);t.NotificationForm=e=>{const{notification:t,onSubmit:n}=e,[i,b]=(0,c.useFormData)(t.notification.form),g=(0,l.buildFormSchema)(i),v=(0,m.getInitialFormValues)(i),y=(0,f.useDispatchRequestCustomValidationDebounced)(),_=(0,h.useNotificationFormAnalytics)(t.id,e.isToast);return o.default.createElement(r.Formik,{key:t.id,initialValues:v,validationSchema:g,validateOnBlur:!0,validateOnChange:!0,validateOnMount:!0,validate:e=>y(new p.RequestNotificationFormCustomValidation(t,e)),onSubmit:e=>{const i=t.notification.buttons.find((e=>e.submit));if(!i)throw Error(`Form was submitted without a submit button for notification ${t.notification.id}`);null==n||n(t,e,i)}},(n=>o.default.createElement(u.FormContainer,{templateContent:e.templateContent,fields:i,notificationId:t.id,formErrorsCount:(0,d.getFormikErrorCount)(n)},o.default.createElement(r.Form,{autoComplete:"off"},o.default.createElement(a.Box,{flexDirection:"column",gap:i.length>1?"base":void 0},i.map(((t,n)=>{const i=s.WidgetComponentMap[t.widget.type];return i?o.default.createElement(i,{tabIndexOverride:e.tabIndexOverride,formSettings:b,field:t,key:n,raiseAnalytics:_}):(console.error("Unable to render component",t),null)})))))))}},194:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Section=t.Transitions=void 0;const o=i(n(5932)),r=n(9130),a=n(7451),l=n(9004),s=n(4887),c=i(n(2230)),u=n(524),d=n(6460),f=n(4248);t.Transitions=(0,c.default)(u.TransitionGroup)`
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: ${({theme:e})=>e.px.base};
12
+ `,t.Section=(0,r.connect)(void 0,(e=>({remove:t=>e(new a.RemoveNotifications(t,"Clear")),raiseAnalyticsEvent:async(t,n)=>e(new a.RaiseAnalyticsEvent(t,n))})))((({hasControls:e,section:n,remove:i,raiseAnalyticsEvent:r,onKeyDown:a})=>{const{notifications:c,title:u}=n,[p,h]=o.default.useState(!1),m=c.slice(0,Math.min(s.groupMinimizedStackSize,c.length));return o.default.createElement(o.default.Fragment,null,o.default.createElement(l.Header,{hasControls:e,title:u,itemCount:c.length,onClearAll:()=>{i(c),r({type:"Center",action:"Clear",value:`${u}`,skipValueHashing:!0})},isExpandable:c.length>s.groupMinimizedStackSize,isExpanded:p,onToggleExpanded:()=>{h(!p),r({type:"Center",action:p?"Select Show Fewer":"Select Show All",value:`${u}`})},onKeyDown:null==a?void 0:a(null)}),o.default.createElement(t.Transitions,{"data-testid":"group-section",role:e?"list":void 0},(e&&!p?m:c).map((e=>o.default.createElement(d.FadeTransition,{key:`${e.id}${e.notification.date}`,timeout:200},o.default.createElement(f.NotificationCard,{notification:e,onKeyDown:null==a?void 0:a(e.id)}))))))}))},258:e=>{"use strict";e.exports=i},260:e=>{"use strict";e.exports=o},295:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},343:function(e,t,n){"use strict";var i,o,r,a,l,s=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},c=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Main=void 0;const d=n(4352),f=n(9603),p=n(7010),h=n(4854),m=n(6858),b=n(7202),g=n(2882),v=n(2716),y=n(9897),_=n(7451),x=n(2750),O=n(7250),C=n(4022),w=n(2984);let j=i=class extends v.APIExecutionDeferrer{constructor(e,t,n,i){super(e,t),this._apiHandler=n,this._clientController=i,this._webStore=e}async register(e){var t,n;await g.Injector.init();const i=null!==(t=e.customSoundUrl)&&void 0!==t?t:`https://cdn.openfin.co/release/system-apps/notification-center/${(0,w.getVersion)()}/ui/notification.wav`;try{this._notificationSound=new Audio(i),this._notificationSound.volume=.3}catch(e){console.error(`Unable to load notification sound from the url ${i}: ${e}`)}this._apiHandler.registerListeners({[f.APITopic.CREATE_NOTIFICATION]:this.defer(this.createNotification.bind(this),!0),[f.APITopic.UPDATE_NOTIFICATION]:this.defer(this.updateNotification.bind(this)),[f.APITopic.CLEAR_NOTIFICATION]:this.defer(this.clearNotification.bind(this)),[f.APITopic.CLEAR_APP_NOTIFICATIONS]:this.defer(this.clearAppNotifications.bind(this)),[f.APITopic.TOGGLE_NOTIFICATION_CENTER]:this.defer(this.toggleNotificationCenter.bind(this)),[f.APITopic.SHOW_NOTIFICATION_CENTER]:this.defer(this.showNotificationCenter.bind(this)),[f.APITopic.HIDE_NOTIFICATION_CENTER]:this.defer(this.hideNotificationCenter.bind(this)),[f.APITopic.GET_NOTIFICATIONS_COUNT]:this.getNotificationsCount.bind(this),[f.APITopic.GET_APP_NOTIFICATIONS]:this.fetchAppNotifications.bind(this),[f.APITopic.GET_PROVIDER_STATUS]:this.getStatus.bind(this),[f.APITopic.SET_FORM_STATUS_OPTIONS]:this.setFormStatus.bind(this),[f.APITopic.SET_FORM_VALIDATION_ERRORS]:this.setFormValidationErrors.bind(this),[f.APITopic.GET_USER_SETTINGS_STATUS]:this.getNotificationCenterSettings.bind(this),[f.APITopic.SET_DEFAULT_PLATFORM_SHORTCUT]:this.setDefaultPlatformShortcut.bind(this),[f.APITopic.ADD_EVENT_LISTENER]:this._clientController.onAddEventListener.bind(this._clientController),[f.APITopic.REMOVE_EVENT_LISTENER]:this._clientController.onRemoveEventListener.bind(this._clientController),[f.APITopic.REGISTER_PLATFORM]:()=>{this.notImplemented(f.APITopic.REGISTER_PLATFORM)},[f.APITopic.DEREGISTER_PLATFORM]:()=>{this.notImplemented(f.APITopic.DEREGISTER_PLATFORM)},[f.APITopic.SET_NOTIFICATION_SECURITY_RULE]:()=>{this.notImplemented(f.APITopic.SET_NOTIFICATION_SECURITY_RULE)}},e.finContext,e.serviceId),e.snapshot&&this._webStore.dispatch(new _.ApplySnapshot(e.snapshot));const o=document.createElement("notification-center");o.setProps({store:this._store}),e.container.appendChild(o),this._store.onAction.add(this.onStoreAction.bind(this)),(null===(n=e.theme)||void 0===n?void 0:n.palette)&&this.setTheme(e.theme),console.log("Notification Center Initialized.")}async onStoreAction(e){var t;e instanceof _.InitiateRemoveAllNotifications?await this._store.dispatch(new _.RemoveNotifications(e.notifications)):e instanceof _.CreateNotification?(i._countChangeSignal.emit(this._webStore.state.notifications.length),!this._store.state.centerMuted&&this._store.state.settings.notificationSoundEnabled&&"silent"!==(null===(t=e.notification.notification.soundOptions)||void 0===t?void 0:t.mode)&&this._notificationSound.play()):e instanceof _.RemoveNotifications?i._countChangeSignal.emit(this._webStore.state.notifications.length):(e instanceof _.ShowCenter||e instanceof _.HideCenter||e instanceof _.ToggleCenterVisibility)&&i._visibilityChangeSignal.emit(this._webStore.state.centerVisible)}async getOrigin(){return"web"}isAllowed(){return!0}translateIdentity(e){return this._clientController.translateClientIdentityToProviderIdentity(e)}notImplemented(e){throw new Error(`${e} API is not supported by this version of the OpenFin Web Notification Center.`)}async setTheme(e){const t=(0,O.createTheme)(e.palette);await this._webStore.dispatch(new x.SetTheme({themes:{light:t,dark:t}}))}getSnapshot(){const e=this._webStore.getState();return{applications:Array.from(e.applications.values()),streams:Array.from(e.streams.values()),notifications:e.notifications,reminders:e.reminders}}async applySnapshot(e){await this._webStore.dispatch(new _.ApplySnapshot(e)),i._countChangeSignal.emit(this._webStore.state.notifications.length)}async show(){await this._webStore.dispatch(new _.ShowCenter)}async hide(){await this._webStore.dispatch(new _.HideCenter)}};j._countChangeSignal=new C.Signal,j._visibilityChangeSignal=new C.Signal,j=i=s([(0,d.injectable)(),u(0,(0,d.inject)(b.Inject.STORE)),u(1,(0,d.inject)(b.Inject.SCHEDULER)),u(2,(0,d.inject)(b.Inject.API_HANDLER)),u(3,(0,d.inject)(b.Inject.CLIENT_CONTOLLER)),c("design:paramtypes",["function"==typeof(o=void 0!==m.WebStore&&m.WebStore)?o:Object,"function"==typeof(r=void 0!==p.Scheduler&&p.Scheduler)?r:Object,"function"==typeof(a=void 0!==h.APIHandler&&h.APIHandler)?a:Object,"function"==typeof(l=void 0!==y.ClientController&&y.ClientController)?l:Object])],j),t.Main=j},388:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCollapsibleCardHeaderEdgeCaseBehavior=void 0;const i=n(5932),o=n(1230);t.useCollapsibleCardHeaderEdgeCaseBehavior=(e,t,n,r)=>{const a=(0,o.useCollapsibleCardHeaderOffScreen)(e,t);(0,i.useEffect)((()=>{var n,i,o,l,s;let c;if(null===(o=null===(i=null===(n=null==t?void 0:t.current)||void 0===n?void 0:n.parentElement)||void 0===i?void 0:i.querySelector("[data-cloned-header]"))||void 0===o||o.remove(),(null==t?void 0:t.current)&&(t.current.style.maxHeight="400px"),a&&(null==e?void 0:e.current)&&(null==t?void 0:t.current)){c=e.current.cloneNode(!0),c.setAttribute("data-cloned-header","true");const n=null===(l=t.current.parentElement)||void 0===l?void 0:l.querySelector('[data-role="buttons-container"]');null===(s=t.current.parentElement)||void 0===s||s.insertBefore(c,n),t.current.style.maxHeight="360px",c.style.marginTop="-4px",c.style.marginBottom="-4px",c.style.cursor="pointer";const i=c.querySelector("#icon-container");i&&(i.style.marginRight="4px"),r&&c.addEventListener("click",r)}return()=>{var e,n,i;r&&c&&(c.removeEventListener("click",r),null===(i=null===(n=null===(e=null==t?void 0:t.current)||void 0===e?void 0:e.parentElement)||void 0===n?void 0:n.querySelector("[data-cloned-header]"))||void 0===i||i.remove())}}),[a,e,t,n])}},392:e=>{"use strict";e.exports=r},394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},428:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.NumberSpinner=void 0;const l=r(n(5932)),s=n(7250),c=a(n(2230)),u=a(n(7446));t.NumberSpinner=({onChange:e,value:t=0,min:n=Number.MIN_SAFE_INTEGER,max:i=Number.MAX_SAFE_INTEGER,suffix:o="",className:r=""})=>{const a={inputValue:t,displayValue:t.toString(),showSuffix:!0},[s,c]=(0,l.useState)(a),b=(0,l.useRef)(null),g=t=>{c((e=>({inputValue:t,displayValue:t.toString(),showSuffix:e.showSuffix}))),e&&e(t)};(0,l.useEffect)((()=>{const e=(0,u.default)(t,n,i);g(e)}),[t]);const v=e=>{const t=(0,u.default)(s.inputValue+(e?1:-1),n,i);t!==s.inputValue&&g(t)},y=()=>{const e=Number(s.displayValue);if(isNaN(e))c((e=>Object.assign(Object.assign({},e),{displayValue:""})));else{const t=(0,u.default)(e,n,i);g(t)}},_=(e,t)=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),v(t))};return l.default.createElement(d,{ref:b,role:"group","aria-labelledby":"spinner-label spinner-hidden",alignItems:"center",justifyContent:"space-between",className:r,tabIndex:0,onKeyUp:e=>{const{inputValue:t}=s;let o;switch(e.key){case"PageUp":e.preventDefault(),e.stopPropagation(),o=t+5>i?i:t+5;break;case"PageDown":e.preventDefault(),e.stopPropagation(),o=t-5<n?n:t-5;break;case"Home":e.preventDefault(),e.stopPropagation(),o=n;break;case"End":e.preventDefault(),e.stopPropagation(),o=i;break;case"ArrowDown":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),o=t-1<n?n:t-1;break;case"ArrowUp":case"ArrowRight":e.preventDefault(),e.stopPropagation(),o=t+1>i?i:t+1;break;default:return}o!==t&&g(o)},"aria-live":"assertive"},l.default.createElement(f,{id:"spinner-hidden"},"How long a notification will display before disappearing, Duration Time in seconds."),l.default.createElement(p,{role:"button",icon:"MinusIcon","aria-label":"decrement",onClick:()=>v(!1),onKeyDown:e=>_(e,!1),title:"Decrease Duration Time",tabIndex:0}),l.default.createElement(m,{onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),y(),b.current&&b.current.focus())},"aria-label":`Duration Time: ${s.inputValue} ${o}`,role:"spinbutton","aria-valuemin":n,"aria-valuemax":i,"aria-valuenow":t,"aria-valuetext":s.displayValue,value:`${s.displayValue}${s.showSuffix?" "+o:""}`,onChange:e=>{const t=e.target.value.trim();""===t?c((e=>Object.assign(Object.assign({},e),{displayValue:""}))):/^\d+$/.test(t)&&c((e=>Object.assign(Object.assign({},e),{displayValue:t})))},onFocus:()=>{c((e=>Object.assign(Object.assign({},e),{showSuffix:!1})))},onBlur:()=>{c((e=>Object.assign(Object.assign({},e),{showSuffix:!0}))),y()},title:"Duration Time"}),l.default.createElement(h,{onKeyDown:e=>_(e,!0),role:"button",icon:"PlusIcon","aria-label":"increment",onClick:()=>v(!0),title:"Increase Duration Time",tabIndex:0}))};const d=(0,c.default)(s.Box)`
13
+ position: relative;
14
+ background-color: ${({theme:e})=>e.palette.background6};
15
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
16
+ border-radius: ${({theme:e})=>e.radius.small};
17
+ border: none;
18
+ padding: 4px 0px;
19
+ height: ${({theme:e})=>e.px.xxlarge};
20
+ `,f=c.default.div`
21
+ clip: rect(0 0 0 0);
22
+ clip-path: inset(50%);
23
+ height: 1px;
24
+ overflow: hidden;
25
+ position: absolute;
26
+ white-space: nowrap;
27
+ width: 1px;
28
+ `,p=(0,c.default)(s.Icon)`
29
+ width: ${({theme:e})=>e.px.xxlarge};
30
+ height: ${({theme:e})=>e.px.xxlarge};
31
+ border: none;
32
+ &:active {
33
+ border: 1px solid ${({theme:e})=>e.palette.inputFocused};
34
+ }
35
+ border-top-left-radius: ${({theme:e})=>e.radius.small};
36
+ border-bottom-left-radius: ${({theme:e})=>e.radius.small};
37
+ `,h=(0,c.default)(s.Icon)`
38
+ width: ${({theme:e})=>e.px.xxlarge};
39
+ height: ${({theme:e})=>e.px.xxlarge};
40
+ border: none;
41
+ &:active {
42
+ border: 1px solid ${({theme:e})=>e.palette.inputFocused};
43
+ }
44
+ border-top-right-radius: ${({theme:e})=>e.radius.small};
45
+ border-bottom-right-radius: ${({theme:e})=>e.radius.small};
46
+ `,m=c.default.input`
47
+ border: none;
48
+ text-align: center;
49
+ padding: 0;
50
+ margin: 0;
51
+ height: ${({theme:e})=>e.px.xxlarge};
52
+ width: 54px;
53
+ background-color: ${({theme:e})=>e.palette.background6};
54
+ color: inherit;
55
+ &::-webkit-outer-spin-button,
56
+ &::-webkit-inner-spin-button {
57
+ appearance: none;
58
+ margin: 0;
59
+ }
60
+
61
+ &:hover,
62
+ &:focus-within {
63
+ outline: none;
64
+ border: 1px solid ${({theme:e})=>e.palette.inputFocused};
65
+ }
66
+ outline: none;
67
+ border-left: 1px solid ${({theme:e})=>e.palette.inputBorder};
68
+ border-right: 1px solid ${({theme:e})=>e.palette.inputBorder};
69
+ user-select: none;
70
+ ${s.Mixins.textOverflow};
71
+ `},436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CenterRoutes=void 0;const i=n(6345),o=n(8180),r=n(7586);t.CenterRoutes=[{Component:i.NotificationsPanel,exact:!0,path:r.ROUTES.NOTIFICATIONS},{Component:o.SettingsPanel,exact:!1,path:r.ROUTES.SETTINGS}]},512:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8364),t),o(n(1474),t),o(n(4415),t),o(n(5915),t)},524:e=>{"use strict";e.exports=a},545:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.ErrorItem=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(7250);t.ErrorItem=e=>{const{id:t,message:n,onDismiss:i}=e;return l.createElement(u,null,l.createElement(d,{icon:"ExclamationTriangleIcon"}),l.createElement(f,null,n),l.createElement(p,{icon:"Cross1Icon",onClick:()=>{i(t)}}))};const u=(0,s.default)(c.Box)`
72
+ display: grid;
73
+ grid-template-columns: 20px 1fr 20px;
74
+ grid-gap: ${({theme:e})=>e.px.large};
75
+ height: ${({theme:e})=>e.px.xxxxlarge};
76
+ width: 100%;
77
+ align-items: center;
78
+ padding: 0 ${({theme:e})=>e.px.large};
79
+ background-color: ${({theme:e})=>e.palette.background4};
80
+ `,d=(0,s.default)(c.Icon)`
81
+ color: ${({theme:e})=>e.palette.statusCritical};
82
+ `,f=s.default.span`
83
+ display: flex;
84
+ flex-direction: column;
85
+ align-items: center;
86
+ text-overflow: ellipsis;
87
+ overflow: hidden;
88
+ -webkit-line-clamp: 2;
89
+ font-size: ${({theme:e})=>e.fontSize.small};
90
+ margin-right: ${({theme:e})=>e.px.small};
91
+ user-select: none;
92
+ `,p=(0,s.default)(c.Icon)`
93
+ cursor: pointer;
94
+ `},597:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFormData=t.buildFormSchema=t.buildFieldSchema=t.FieldValidationFunctions=void 0;const a=r(n(4298)),l=n(3955),s=e=>null==e;t.FieldValidationFunctions={[l.FieldType.radioGroup]:Object.assign({},{required:(e,t)=>t.arg?e.required(t.invalidMessage):e}),[l.FieldType.checkboxGroup]:Object.assign({},{required:(e,t)=>t.arg?e.required(t.invalidMessage):e}),[l.FieldType.date]:Object.assign({},{required:(e,t)=>t.arg?e.required(t.invalidMessage):e}),[l.FieldType.time]:Object.assign({},{required:(e,t)=>t.arg?e.required(t.invalidMessage):e}),[l.FieldType.string]:Object.assign(Object.assign({min:(e,t)=>{var n;return e.min(null!==(n=t.arg)&&void 0!==n?n:0,t.invalidMessage)},max:(e,t)=>{var n;return e.max(null!==(n=t.arg)&&void 0!==n?n:0,t.invalidMessage)},length:(e,t)=>{var n;return e.length(null!==(n=t.arg)&&void 0!==n?n:0,t.invalidMessage)}},{required:(e,t)=>t.arg?e.required(t.invalidMessage):e}),{match:(e,t)=>{if(!t.arg)return e;const n=new RegExp(t.arg);return e.matches(n,{message:t.invalidMessage,excludeEmptyString:!0})}}),[l.FieldType.number]:{max:(e,t)=>s(t.arg)?e:e.max(t.arg,t.invalidMessage),min:(e,t)=>s(t.arg)?e:e.min(t.arg,t.invalidMessage),lessThan:(e,t)=>s(t.arg)?e:e.lessThan(t.arg,t.invalidMessage),moreThan:(e,t)=>s(t.arg)?e:e.moreThan(t.arg,t.invalidMessage),positive:(e,t)=>e.positive(t.invalidMessage),negative:(e,t)=>e.negative(t.invalidMessage),required:(e,t)=>e.required(t.invalidMessage)},[l.FieldType.boolean]:{}};const c={[l.FieldType.string]:a.StringSchema,[l.FieldType.number]:a.NumberSchema,[l.FieldType.boolean]:a.BooleanSchema,[l.FieldType.date]:a.ObjectSchema,[l.FieldType.checkboxGroup]:a.ArraySchema,[l.FieldType.radioGroup]:a.StringSchema,[l.FieldType.time]:a.ObjectSchema};function u(e){const n=t.FieldValidationFunctions[e.type];if(!n)throw new Error("Invalid field");let i=function(e){const{type:t}=e;return new(0,c[t])}(e);if(!e.validation)return i;const o=Object.entries(e.validation);for(const[t,r]of o){const o=n[t];if(o){let n=null;try{n=o(i,r)}catch(n){console.error(`Error parsing field ${t}`,r,e)}i=null!=n?n:i}}return e.label&&(i.spec.label=e.label),i}t.buildFieldSchema=u,t.buildFormSchema=function(e){const t={};for(const n of e)t[n.key]=u(n);return a.object().shape(t)},t.parseFormData=function(e){return e.map((e=>({initialValue:e.value,fieldData:e,widget:e.widget,schema:u(e)}))),[]}},611:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateSchema=void 0;const a=r(n(4298)),l=n(512),s=n(3694),c=n(6188),u=a.object({id:a.string().required(),buttons:c.ButtonsSchema.clone(),customData:a.object().optional().default({})}),d=u.clone().shape({template:a.mixed().required(),body:a.string().optional().default(null),form:s.templateMarkDownFormSchema}).label("Notification Update (Markdown)"),f=u.clone().shape({template:a.mixed().required(),list:a.mixed().optional().test({name:"List object",message:"Invalid list object",test:e=>{if(!e)return!0;if(e&&"object"!=typeof e)throw new Error("Not an object");return Object.entries(null!=e?e:{}).every((([e,t])=>"string"==typeof e&&"string"==typeof t))}})}).label("Update Notification (List)"),p=u.clone().shape({template:a.mixed().required(),form:s.templateCustomFormSchema,templateData:a.mixed().optional().test({name:"Temp object",message:"Invalid list object",test:function(e){var t,n;return!e||((null===(n=null===(t=this.options)||void 0===t?void 0:t.context)||void 0===n?void 0:n.fragments).presentationFragments.forEach((t=>{const n=e[t.dataKey];if(!t.optional&&!n)throw new Error(`templateData["${t.dataKey}"] is not optional and must exist in template data.`);if(n){if(("text"===t.type||"image"===t.type)&&"string"!=typeof n)throw new Error(`templateData["${t.dataKey}"] is referred by a ${t.type} fragment and must be a string type.`);if("list"===t.type&&(!Array.isArray(n)||n.some((e=>2!==e.length||"string"!=typeof e[0]||"string"!=typeof e[1]))))throw new Error(`templateData["${t.dataKey}"] is referred by a list fragment and must be a ListPairs (Array of [string, string]) type.`)}})),!0)}})}).label("Update Notification (Custom)"),h={[l.TemplateNames.markdown]:d,[l.TemplateNames.list]:f,[l.TemplateNames.custom]:p};t.getTemplateSchema=e=>{if(!e.template)throw new Error("Template type cannot be null");const t=h[null==e?void 0:e.template];if(!t)throw new Error(`Cannot find template type: ${e.template}`);return t}},660:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryContext=void 0;const a=r(n(5932));t.HistoryContext=a.createContext({})},697:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastPositionSelector=void 0;const a=r(n(5932)),l=n(7250),s=n(79),c=n(785);t.ToastPositionSelector=e=>a.createElement(a.Fragment,null,a.createElement(d,Object.assign({},e,{title:"Position",id:"toast-position"})),a.createElement(s.CustomLocation,{state:e.value,onChange:t=>{var n,i;null===(n=e.onChange)||void 0===n||n.call(e,{position:t?"custom":"bottom-right",customPosition:null===(i=e.value)||void 0===i?void 0:i.customPosition})}}));const u=["top-left","top-right","bottom-left","bottom-right"],d=({value:e,title:t,id:n="",onChange:i=()=>{}})=>{const o=t=>{i(Object.assign(Object.assign({},e||{}),{position:t}))};return a.createElement("div",{role:"radiogroup"},a.createElement(c.TitleElement,{htmlFor:n,size:l.Size.large},t),a.createElement(c.StyledSelectors,{tabIndex:0,onKeyUp:t=>{const n=u.findIndex((t=>t===(null==e?void 0:e.position)));switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),t.stopPropagation(),i(0===n?Object.assign(Object.assign({},e),{position:"bottom-right"}):Object.assign(Object.assign({},e),{position:u[n-1]}));break;case"ArrowDown":case"ArrowRight":t.preventDefault(),t.stopPropagation(),n===u.length-1?i(Object.assign(Object.assign({},e),{position:"top-left"})):i(Object.assign(Object.assign({},e),{position:u[n+1]}))}},id:n},u.map((t=>a.createElement(c.Selector,{key:t,position:t,onClick:o,active:(null==e?void 0:e.position)===t})))))}},707:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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)||i(t,e,n)},l=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[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 s=n(6455),c=n(3816),u=n(9603),d=n(3657),f=r(n(6451));t.provider=f;const p=n(8173),h=n(6865);Object.defineProperty(t,"NotificationIndicator",{enumerable:!0,get:function(){return h.NotificationIndicator}}),Object.defineProperty(t,"NotificationIndicatorWithCustomColor",{enumerable:!0,get:function(){return h.NotificationIndicatorWithCustomColor}}),Object.defineProperty(t,"NotificationIndicatorType",{enumerable:!0,get:function(){return h.IndicatorType}}),Object.defineProperty(t,"IndicatorColor",{enumerable:!0,get:function(){return h.IndicatorColor}});const m=n(4415);Object.defineProperty(t,"NotificationOptions",{enumerable:!0,get:function(){return m.NotificationOptions}});const b=r(n(6455));t.actions=b,a(n(6455),t),a(n(7204),t),a(n(295),t),a(n(8912),t),a(n(3154),t),a(n(5050),t),a(n(512),t),t.VERSION="2.9.1-alpha-3944";const g=(0,d.getEventRouter)();function v(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})})}g.registerDeserializer("notification-created",(e=>v(e))),g.registerDeserializer("notification-toast-dismissed",(e=>v(e))),g.registerDeserializer("notification-closed",(e=>v(e))),g.registerDeserializer("notification-action",(e=>{var t;const n=v(e),{controlSource:i,controlIndex:o}=n,r=l(n,["controlSource","controlIndex"]);return e.trigger===s.ActionTrigger.CONTROL?Object.assign(Object.assign({},r),{control:null===(t=e.notification[i])||void 0===t?void 0:t[o]}):r})),g.registerDeserializer("notifications-count-changed",(e=>e)),g.registerDeserializer("notification-reminder-created",(e=>{const t=v(e),{reminderDate:n}=t,i=l(t,["reminderDate"]);return Object.assign(Object.assign({},i),{reminderDate:new Date(n)})})),g.registerDeserializer("notification-reminder-removed",(e=>v(e))),g.registerDeserializer("notification-sound-toggled",(e=>e)),t.addEventListener=async function(e,t){(0,p.validateEnvironment)(),e=(0,p.sanitizeEventType)(e),t=(0,p.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,p.validateEnvironment)(),e=(0,p.sanitizeEventType)(e),t=(0,p.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})},714:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroupWidgetComponent=void 0;const o=i(n(5932)),r=n(7250),a=n(258),l=n(7260),s=n(1971),c=n(5232),u=n(5484);t.RadioGroupWidgetComponent=e=>o.default.createElement(a.Field,{name:e.field.key,component:d,radioGroupField:e.field,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics});const d=({raiseAnalytics:e,radioGroupField:t,field:n,form:i,formSettings:a})=>((0,u.useRaiseFieldAnalytics)(t,e),o.default.createElement(l.InputContainer,{flexDirection:"column"},o.default.createElement(r.RadioGroup,{onChange:e=>{i.setFieldTouched(t.key,!0),i.setFieldValue(t.key,e.target.value)},label:(0,c.getLabelText)(t,a),helperText:t.helperText,name:t.key,value:n.value,key:`${t.key}_${n.value}`},t.widget.group.map((e=>o.default.createElement(r.RadioInput,{key:`${t.key}_${e.value}`,label:e.label,value:e.value})))),o.default.createElement(s.ErrorLabel,{name:n.name})))},723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNotificationFormAnalytics=void 0;const i=n(5932),o=n(9130),r=n(7451);t.useNotificationFormAnalytics=(e,t)=>{const n=(0,o.useDispatch)();return(0,i.useCallback)(((i,o,a)=>{n(new r.RaiseAnalyticsEvent({type:t?"Toast":"Notification",action:o,value:a,data:{fieldLabel:i,notificationId:e}}))}),[e,n,t])}},746:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformIcon=void 0;const a=r(n(5932)),l=r(n(2230)),s=n(7250),c=n(8833);t.PlatformIcon=({id:e,icon:t,title:n,selected:i,count:o,onPlatformSelect:r})=>{var l,s;const h=(0,c.useLoaded)(t),m=!e,b=m?"All":null!==(l=null==n?void 0:n[0])&&void 0!==l?l:null==e?void 0:e[0];return a.createElement(f,{"data-testid":"platform-icon",onClick:()=>{r(e)},allIcon:m,title:`${m?"All":null!==(s=null!=n?n:e)&&void 0!==s?s:"Platform"} Notifications`},o>0&&a.createElement(u,{count:o,max:99}),a.createElement(d,{src:t},(h===c.LoadState.ERROR||h===c.LoadState.LOADING)&&b),i&&a.createElement(p,null))};const u=(0,l.default)(s.Badge)`
95
+ position: absolute;
96
+ right: 0;
97
+ top: -${({theme:e})=>e.px.small};
98
+ transform: scale(0.85);
99
+ user-select: none;
100
+ `,d=l.default.button`
101
+ align-items: center;
102
+ justify-content: center;
103
+ display: flex;
104
+ height: ${({theme:e})=>e.px.xxxlarge};
105
+ width: ${({theme:e})=>e.px.xxxlarge};
106
+ border: none;
107
+ border-radius: ${({theme:e})=>e.px.xsmall};
108
+ color: ${({theme:e})=>e.palette.background1};
109
+ background-color: ${({theme:e})=>e.palette.textDefault};
110
+ background-image: url(${({src:e})=>e});
111
+ background-size: cover;
112
+ background-position: center;
113
+ background-repeat: no-repeat;
114
+ cursor: pointer;
115
+ user-select: none;
116
+ text-transform: capitalize;
117
+ `,f=(0,l.default)(s.Box)`
118
+ display: flex;
119
+ flex-direction: column;
120
+ position: relative;
121
+ ${({allIcon:e})=>e?l.css`
122
+ margin-right: ${({theme:e})=>e.px.small};
123
+ `:l.css`
124
+ margin-left: ${({theme:e})=>e.px.small};
125
+ `}
126
+ `,p=(0,l.default)(s.Box)`
127
+ border-bottom: 1px ${({theme:e})=>e.palette.textDefault} solid;
128
+ width: ${({theme:e})=>e.px.xxxlarge};
129
+ margin-top: ${({theme:e})=>e.px.xsmall};
130
+ `},768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleTutorialButtonAction=t.isTutorialNotification=t.makeRemindersTutorialNotification=void 0;const i=n(7451),o=n(7527),r=n(5172),a={GoToReminders:{action:"goToReminders"}};t.makeRemindersTutorialNotification=function(e,t){return function(e,t){return Object.assign(Object.assign({},(0,r.hydrateNotification)(e,t)),{modifiers:{tutorial:!0}})}({id:"openfin-notifications-reminder-tutorial-card",date:Date.now(),title:"You have successfully set a reminder!",body:'You can find all notifications with a reminder in the Notification Center under the "Reminders" category.',allowReminder:!1,buttons:[{title:"View Reminders",cta:!0,onClick:a.GoToReminders}],icon:e},t)},t.isTutorialNotification=function(e){var t;return!!(null===(t=e.modifiers)||void 0===t?void 0:t.tutorial)},t.handleTutorialButtonAction=async function(e,t){if(e.action!==a.GoToReminders.action)throw new Error(`Unknown action for tutorial card button: ${e}`);await t.dispatch(new i.ShowCenter),await t.dispatch(new o.SetSelectedCategory("reminders"))}},785:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StyledSelectors=t.TitleElement=t.Selector=void 0;const s=r(n(5932)),c=l(n(2230)),u=n(7250);t.Selector=function(e){var{position:t,active:n=!1,onClick:i=()=>{}}=e,o=a(e,["position","active","onClick"]);return s.createElement(d,Object.assign({role:"radio",onClick:()=>i(t),onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),i(t))},"aria-checked":n,"aria-label":t},o),s.createElement(f,null,s.createElement(p,{quad:"top-left"===t||"top-right"===t||"bottom-left"===t||"bottom-right"===t,active:n,left:t.includes("left"),top:t.includes("top")})),s.createElement(h,null,t))},t.TitleElement=(0,c.default)(u.Text).attrs({as:"label"})`
131
+ margin-bottom: ${({theme:e})=>e.px.base};
132
+ `;const d=c.default.div`
133
+ display: flex;
134
+ flex-direction: column;
135
+ align-items: center;
136
+ height: 110px;
137
+ width: 154px;
138
+ padding: 7px;
139
+ border-radius: ${({theme:e})=>e.px.xsmall};
140
+ cursor: pointer;
141
+ border: 1px solid transparent;
142
+ transition: background 125ms ease-in;
143
+
144
+ &:focus {
145
+ outline: none;
146
+ border-color: ${({theme:e})=>e.palette.inputFocused};
147
+ }
148
+
149
+ &[aria-checked='true'] {
150
+ background: ${({theme:e})=>e.palette.background6};
151
+ cursor: auto;
152
+ }
153
+
154
+ &:hover:not([aria-checked='true']) {
155
+ background: ${({theme:e})=>e.palette.background5};
156
+ }
157
+ `,f=c.default.div`
158
+ display: flex;
159
+ border-radius: ${({theme:e})=>e.px.xsmall};
160
+ background: ${({theme:e})=>e.palette.background1};
161
+ min-height: 78px;
162
+ width: 140px;
163
+ padding: 6px;
164
+ `,p=c.default.div`
165
+ margin-left: ${({left:e})=>e?"unset":"auto"};
166
+ margin-right: ${({left:e})=>e?"auto":"unset"};
167
+
168
+ margin-top: ${({top:e})=>e?"unset":"auto"};
169
+ margin-bottom: ${({top:e})=>e?"auto":"unset"};
170
+
171
+ border-radius: 1px;
172
+ width: ${({theme:e})=>e.px.xlarge};
173
+ height: 100%;
174
+ background: ${({active:e,theme:t})=>e?t.palette.brandPrimary:t.palette.background6};
175
+ transition: background 125ms ease-in;
176
+
177
+ ${({quad:e})=>e?"max-height: 15px;":""}
178
+ `,h=c.default.div`
179
+ font-size: ${({theme:e})=>e.px.base};
180
+ font-style: normal;
181
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
182
+ line-height: ${({theme:e})=>e.lineHeight.text};
183
+ letter-spacing: 0px;
184
+ text-align: left;
185
+ margin: 5px 0;
186
+ text-transform: capitalize;
187
+ `;t.StyledSelectors=c.default.div`
188
+ display: grid;
189
+ grid-gap: ${({theme:e})=>e.px.xsmall};
190
+ grid-template-columns: 1fr 1fr;
191
+ `},790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTemplateData=void 0;const i=n(9611),o=n(4692),r=n(2984),a=n(6188);t.validateTemplateData=function(e,t){var n;const l=e.templateOptions,s=l.body,c=(0,i.pickBestComposition)(s.compositions);if(!c&&!s.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,r.getTemplateAPIVersion)()})`);s.compositions=[],c&&(a.CustomTemplateDataSchema.validateSync(e.templateData,{context:{fragments:(0,o.flattenLayout)(c.layout)}}),s.compositions.push(c)),t&&e.indicator&&(null===(n=l.indicator)||void 0===n?void 0:n.color)&&(e.indicator.color=l.indicator.color)}},925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalProviderStyles=void 0;const i=n(7250),o=n(2230);t.GlobalProviderStyles=o.createGlobalStyle`
192
+ body {
193
+ width: 100vw;
194
+ height: 100vh;
195
+ overflow: hidden;
196
+
197
+ font-family: ${({theme:e})=>e.fontFamily};
198
+ font-size: ${({theme:e})=>e.fontSize.base};
199
+ line-height: ${({theme:e})=>e.lineHeight.text};
200
+ color: ${({theme:e})=>e.palette.textDefault};
201
+ background-color: ${({theme:e})=>e.palette.background2};
202
+ caret-color: ${({theme:e})=>e.palette.textDefault};
203
+ }
204
+
205
+ #toast-container {
206
+ padding: 0 !important;
207
+ margin: 0;
208
+ overflow: hidden !important;
209
+ }
210
+
211
+ * {
212
+ padding: 0;
213
+ margin: 0;
214
+ box-sizing: border-box;
215
+ }
216
+
217
+ ul,
218
+ li {
219
+ list-style: none;
220
+ }
221
+
222
+ &, * {
223
+ ${i.Mixins.scrollbar.base}
224
+ }
225
+
226
+ .notification-center {
227
+ width: ${"345px"};
228
+ display: flex;
229
+ flex-flow: column;
230
+ height: 100%;
231
+ background-color: ${({theme:e})=>e.palette.background2};
232
+ }
233
+
234
+ #react-app {
235
+ height: 100%;
236
+ }
237
+
238
+ .no-select {
239
+ user-select: none;
240
+ }
241
+
242
+ .single-line {
243
+ white-space: nowrap;
244
+ text-overflow: ellipsis;
245
+ overflow: hidden;
246
+ word-wrap: break-word;
247
+ color: ${({theme:e})=>e.palette.textDefault};
248
+ }
249
+
250
+ @keyframes fadeIn {
251
+ 0% {
252
+ opacity: 0;
253
+ }
254
+
255
+ 100% {
256
+ opacity: 1;
257
+ }
258
+ }
259
+
260
+ @keyframes fadeOut {
261
+ 0% {
262
+ opacity: 1;
263
+ }
264
+
265
+ 100% {
266
+ opacity: 0;
267
+ }
268
+ }
269
+
270
+ @keyframes fadeOutRight {
271
+ 0% {
272
+ opacity: 1;
273
+ transform: translate3d(0, 0, 0);
274
+ }
275
+
276
+ 100% {
277
+ opacity: 0;
278
+ transform: translate3d(200%, 0, 0);
279
+ perspective: 1000;
280
+ }
281
+ }
282
+ `},930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastPositionerValidStateChange=t.ToastPositionerDragChange=t.RequestSetToastLocation=t.ExitSetCustomToastPosition=t.RequestNewCustomToastPosition=void 0;const i=n(6566);class o extends i.Action{constructor(){super()}reduce(e){return Object.assign(Object.assign({},e),{centerVisible:!1,toastPositioning:Object.assign(Object.assign({},e.toastPositioning),{isSettingPosition:!0})})}}t.RequestNewCustomToastPosition=o;class r extends i.Action{constructor(){super()}reduce(e){return Object.assign(Object.assign({},e),{centerVisible:!0,toastPositioning:Object.assign(Object.assign({},e.toastPositioning),{isSettingPosition:!1})})}}t.ExitSetCustomToastPosition=r;class a extends i.Action{constructor(e){super(),this.position=e}}t.RequestSetToastLocation=a;class l extends i.KeyedAction{constructor(e){super("toastPositioning"),this.state=e}reduce(e){return Object.assign(Object.assign({},e),{isDragging:this.state})}}t.ToastPositionerDragChange=l;class s extends i.KeyedAction{constructor(e){super("toastPositioning"),this.state=e}reduce(e){return Object.assign(Object.assign({},e),{validPosition:this.state})}}t.ToastPositionerValidStateChange=s},978:e=>{"use strict";e.exports=l},1037:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterPositionSelector=void 0;const a=r(n(5932)),l=n(7250),s=n(785);t.CenterPositionSelector=e=>{const{value:t,title:n,id:i="",onChange:o=()=>{}}=e;return a.createElement("div",{role:"radiogroup"},a.createElement(s.TitleElement,{htmlFor:i,size:l.Size.large},n),a.createElement(s.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:i},a.createElement(s.Selector,{position:"left",onClick:o,active:"left"===t}),a.createElement(s.Selector,{position:"right",onClick:o,active:"right"===t})))}},1168:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateListComponent=void 0;const o=i(n(5932)),r=i(n(2230)),a=n(7250);t.TemplateListComponent=e=>{const{notification:t}=e;return o.default.createElement(l,null,o.default.createElement(a.DefinitionList,{definitions:new Map(Object.entries(t.notification.list))}))};const l=r.default.div`
283
+ flex: 1;
284
+ width: 100%;
285
+ `},1230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCollapsibleCardHeaderOffScreen=void 0;const i=n(5932),o=(e,t)=>{const n=null==e?void 0:e.current,i=null==t?void 0:t.current;if(n&&i){const e=n.getBoundingClientRect(),t=i.getBoundingClientRect(),o=e.top-t.top,r=e.bottom-t.top,a=t.bottom-t.top;return o<0||r>a+40}return!1};t.useCollapsibleCardHeaderOffScreen=(e,t)=>{const[n,r]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const n=()=>r(o(e,t));return(null==t?void 0:t.current)&&t.current.addEventListener("scroll",n),()=>{(null==t?void 0:t.current)&&t.current.removeEventListener("scroll",n)}}),[e,t]),(0,i.useEffect)((()=>r(o(e,t))),[e,t]),n}},1270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCollapsibleCardHeaderScroll=void 0;const i=n(5932);t.useCollapsibleCardHeaderScroll=(e,t,n)=>{(0,i.useEffect)((()=>{var i;n&&(null==t?void 0:t.current)&&(null==e?void 0:e.current)&&(t.current.scrollTop=null==e?void 0:e.current.offsetTop,t.current.scroll({behavior:"auto",top:null===(i=e.current.parentElement)||void 0===i?void 0:i.offsetTop}))}),[n,e,t])}},1351:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxWidgetComponent=void 0;const o=n(7250),r=n(258),a=i(n(5932)),l=i(n(2230)),s=n(5232),c=n(5484);t.CheckboxWidgetComponent=e=>((0,c.useRaiseFieldAnalytics)(e.field,e.raiseAnalytics),a.default.createElement(r.Field,{name:e.field.key},(({field:t})=>a.default.createElement(u,null,a.default.createElement(o.Checkbox,Object.assign({},t,{checked:t.value,label:(0,s.getLabelText)(e.field,e.formSettings),tabIndex:e.tabIndexOverride,helperText:e.field.helperText}))))));const u=(0,l.default)(o.Box)`
286
+ width: 100%;
287
+ `},1413:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateComponentMap=void 0;const i=n(4415),o=n(6812),r=n(6684),a=n(1168);t.TemplateComponentMap={[i.TemplateNames.markdown]:r.TemplateMarkdownComponent,[i.TemplateNames.list]:a.TemplateListComponent,[i.TemplateNames.custom]:o.TemplateCustomComponent}},1474:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1569:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTooltip=t.isElementOverflown=void 0;const i=n(5932);function o(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}t.isElementOverflown=o,t.useTooltip=e=>(0,i.useCallback)((t=>{t&&e&&(o(t)?t.title=e:t.title="")}),[e])},1656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMenuModalDialog=void 0;const i=n(7581);t.useMenuModalDialog=(e,t,n,o,r,a,l,s,c)=>(0,i.useModalDialog)(t,n,r,((e,t,n)=>Object.assign(Object.assign({type:"Menu",position:n,width:t.clientWidth,options:[o]},e),{selectedOption:l})),(t=>t?e(t):a()),s,c)},1827:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationFormEditStart=void 0;const i=n(6566),o=n(7451);class r extends i.Action{constructor(e){super(),this.notificationId=e}async call(e,t){await e.dispatch(new o.Freeze),await t()}reduce(e){var t,n,i,o;const r=null!==(n=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==n?n:[];return Object.assign(Object.assign({},e),{activeForms:{focusedFormNotificationId:this.notificationId,createNotificationsCount:null!==(o=null===(i=e.activeForms)||void 0===i?void 0:i.createNotificationsCount)&&void 0!==o?o:0,forms:[{notificationId:this.notificationId,formStatusOptions:{formStatus:"not-submitted"}},...r.filter((e=>e.notificationId!==this.notificationId))]}})}}t.NotificationFormEditStart=r},1922:e=>{"use strict";e.exports=s},1971:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorLabel=void 0;const o=i(n(5932)),r=n(258),a=n(7250);t.ErrorLabel=e=>{const{name:t}=e,{errors:n,touched:i}=(0,r.useFormikContext)(),l=n[t],s=!!l,c=i[t];return s&&c?o.default.createElement("div",{"data-test-id":"validation-error"},o.default.createElement(a.ValidationError,null,"string"==typeof l?l:"Invalid value")):null}},2124:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.InfoBanner=t.IndicatorBanner=void 0;const a=n(7250),l=r(n(5932)),s=r(n(2230)),c=n(6865),u=n(1569),d=n(9872);t.IndicatorBanner=e=>{const{indicator:t,children:n,alignment:i}=e,o="center"===i?h.horizontal:h.vertical,r=t.text||t.type,a=(0,u.useTooltip)(r);return l.createElement(o.Container,{className:"indicator","data-testid":"indicator",indicator:t,alignment:i,alignItems:"center",key:`${i}-indicator`},l.createElement(o.TextWrapper,null,l.createElement(o.Message,{ref:a,indicator:t,alignment:i,"data-testid":"text"},n||r)))},t.InfoBanner=({text:e})=>l.createElement(t.IndicatorBanner,{indicator:{text:e,color:c.IndicatorColor.GRAY},alignment:"center"});const f=s.css`
288
+ color: ${({indicator:e,theme:t})=>(0,d.getIndicatorColor)("foreground",e,t)};
289
+ `,p=s.css`
290
+ background: ${({indicator:e,theme:t})=>(0,d.getIndicatorColor)("background",e,t)};
291
+ `,h={horizontal:{CountWrapper:(0,s.default)(a.Box)`
292
+ min-width: ${e=>e.theme.px.xxxxlarge};
293
+ width: ${e=>e.theme.px.xxxxlarge};
294
+ z-index: 100;
295
+ `,TextWrapper:(0,s.default)(a.Box)`
296
+ width: ${({shift:e,theme:t})=>e?`calc(100% - ${t.px.xxxxlarge})`:"100%"};
297
+ & > * {
298
+ width: ${({shift:e,theme:t})=>e?`calc(100% - ${t.px.xxlarge})`:"100%"} !important;
299
+ margin-left: 0;
300
+ &:not([title]) {
301
+ margin-left: -${({shift:e,theme:t})=>e?t.unit.xxlarge/2+"px":"0"};
302
+ }
303
+ }
304
+ `,StackCount:(0,s.default)(a.Badge)`
305
+ background: rgba(0, 0, 0, 0.25);
306
+ border-radius: ${e=>e.theme.radius.small};
307
+ justify-self: flex-start;
308
+ box-shadow: none;
309
+ `,Message:(0,s.default)(a.Text)`
310
+ text-align: center;
311
+ width: 100%;
312
+ text-transform: uppercase;
313
+ ${a.Mixins.textOverflow};
314
+ ${f}
315
+ `,Container:(0,s.default)(a.Box)`
316
+ user-select: none;
317
+ position: relative;
318
+ width: 100%;
319
+ height: ${e=>e.theme.px.xxlarge};
320
+ padding: 0 ${e=>e.theme.px.small};
321
+ border-top-left-radius: ${e=>e.theme.px.small};
322
+ border-top-right-radius: ${e=>e.theme.px.small};
323
+ ${p}
324
+ `},vertical:{CountWrapper:(0,s.default)(a.Box)`
325
+ z-index: 100;
326
+ `,TextWrapper:(0,s.default)(a.Box)`
327
+ justify-content: center;
328
+ flex: 1;
329
+ width: ${({theme:e})=>e.px.xlarge};
330
+ writing-mode: vertical-rl;
331
+ padding-top: ${({theme:e})=>e.px.xsmall};
332
+ overflow: hidden;
333
+ `,Message:(0,s.default)(a.Text)`
334
+ transform: ${({alignment:e})=>"left"===e?"rotate(180deg)":""};
335
+ text-align: center;
336
+ text-transform: uppercase;
337
+ ${a.Mixins.textOverflow};
338
+ ${f}
339
+ `,StackCount:(0,s.default)(a.Badge)`
340
+ background: rgba(0, 0, 0, 0.25);
341
+ border-radius: ${({theme:e})=>e.radius.small};
342
+ box-shadow: none;
343
+ align-self: center;
344
+ /* next 3 values are not in theme.px */
345
+ margin-left: ${({alignment:e})=>"left"===e?"1px":"0"};
346
+ margin-right: ${({alignment:e})=>"right"===e?"1px":"0"};
347
+ width: 22px;
348
+ `,Container:(0,s.default)(a.Box)`
349
+ border-top-left-radius: ${({theme:e,alignment:t})=>"left"===t?e.px.small:"0"};
350
+ border-top-right-radius: ${({theme:e,alignment:t})=>"right"===t?e.px.small:"0"};
351
+ border-bottom-left-radius: ${({theme:e,alignment:t})=>"left"===t?e.px.small:"0"};
352
+ border-bottom-right-radius: ${({theme:e,alignment:t})=>"right"===t?e.px.small:"0"};
353
+ user-select: none;
354
+ position: relative;
355
+ width: ${({theme:e})=>e.px.xxlarge};
356
+ height: 100%;
357
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.xsmall}`};
358
+ flex-direction: column;
359
+ ${p}
360
+ `}}},2191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortDate=t.generateGroups=t.getPriorityTitle=t.getGroupTitle=t.isLayered=t.GroupTypeNames=t.PriorityTitles=void 0;const i=n(4887),o=n(3363),r=n(2207);function a(e,t){return"date"===t?(0,r.getDateTitle)(f(e)):l(e)}function l(e){var n;const i=null!==(n=e.notification.priority)&&void 0!==n?n:1;return t.PriorityTitles[i-1]}function s(e,t,n){const i=d(e,(e=>function(e){var t,n;const i=e.source;return"desktop"===i.type?null!==(n=null===(t=e.notification.stream)||void 0===t?void 0:t.id)&&void 0!==n?n:i.identity.uuid:""}(e)));return Array.from(i.keys()).map((e=>{var o,r,a,l;const s=null!==(o=i.get(e))&&void 0!==o?o:[],d=c(s,t,n),f=d.reduce(((e,t)=>e+t.notifications.length),0);return{key:e,title:null!==(a=null===(r=s[0])||void 0===r?void 0:r.title)&&void 0!==a?a:e,count:f,sections:d,preview:u(d),isStream:!!(null===(l=s[0])||void 0===l?void 0:l.notification.stream)}})).sort(((e,t)=>e.title.localeCompare(t.title)))}function c(e,t,n){const i=d(e,(e=>a(e,t)));return Array.from(i.keys()).map((e=>{var o;const r="date"===t,a=null!==(o=i.get(e))&&void 0!==o?o:[],l=a[0];return r&&a.sort(((e,t)=>"ascending"===n?f(e)-f(t):f(t)-f(e))),{key:e,title:e,sortValue:r?f(l):l.notification.priority,notifications:a}})).sort(((e,t)=>"ascending"===n?e.sortValue-t.sortValue:t.sortValue-e.sortValue))}function u(e){let t=0;const n=[];for(const o of e){if(t+o.notifications.length<=i.groupMinimizedStackSize)n.push(o),t+=o.notifications.length;else{const e=i.groupMinimizedStackSize-t;n.push(Object.assign(Object.assign({},o),{notifications:o.notifications.slice(0,e)})),t+=e}if(t>=i.groupMinimizedStackSize)break}return{sections:n}}function d(e,t){const n=new Map;return e.forEach((e=>{const i=t(e),o=n.get(i);o?o.push(e):n.set(i,[e])})),n}function f(e){var t,n;return null!==(n=null===(t=e.modifiers)||void 0===t?void 0:t.reminder)&&void 0!==n?n:e.notification.date}t.PriorityTitles=["Uncategorized","Low","Medium","High"],t.GroupTypeNames={Flat:"Flat",Layered:"Layered"},t.isLayered=function(e){return e.type===t.GroupTypeNames.Layered},t.getGroupTitle=a,t.getPriorityTitle=l,t.generateGroups=function(e){const{notifications:n,applications:i,streams:r,selectedCategory:a,sortType:l,sortDirection:u}=e,d="needs-attention"===a,f="sender"===a;let p=n.map((e=>{var t,n;return Object.assign(Object.assign({},e),{title:null!==(n=(0,o.getStreamTitle)(r,null===(t=e.notification.stream)||void 0===t?void 0:t.id))&&void 0!==n?n:(0,o.getSourceTitle)(e.source,i)})}));return d&&(p=p.filter((e=>"sticky"===e.notification.toast||"sticky"===e.notification.sticky))),f?{type:t.GroupTypeNames.Layered,layers:s(p,l,u)}:{sections:c(p,l,u)}},t.getSortDate=f},2200:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonLabel=void 0;const o=i(n(5932)),r=i(n(2230)),a=n(7250),l={"not-submitted":e=>o.default.createElement(s,null,e.buttonText),submitted:e=>o.default.createElement(o.default.Fragment,null,o.default.createElement(c,null),o.default.createElement(s,null,e.buttonText)),submitting:e=>o.default.createElement(o.default.Fragment,null,o.default.createElement(u,null),o.default.createElement(s,null,e.buttonText))};t.ButtonLabel=({overrides:e,button:t})=>t.submit&&e.hasOverrides?l[e.formStatus](e):l["not-submitted"](e);const s=r.default.span`
361
+ white-space: nowrap;
362
+ text-overflow: ellipsis;
363
+ display: block;
364
+ overflow: hidden;
365
+ height: ${({theme:e})=>e.unit.base+1}px;
366
+ `,c=(0,r.default)(a.Icon).attrs({icon:"CheckIcon",size:"base"})``,u=(0,r.default)(a.Loader).attrs({size:"base"})``},2207:(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 i=n(5738),o=n(5904);function r(e,t){const n=new Date(e),o=new Date,r=Math.abs((0,i.differenceInMinutes)(n,o));return r<1?"now":r<60||!t&&n>o?function(e,t){const n=(0,i.formatDistanceStrict)(e,t,{addSuffix:!0}).replace(/ minutes| minute/g,"m");return"60m ago"===n?(0,i.format)(e,"p"):"in 60m"===n?"in 1 hour":n}(n,o):function(e,t,n){const o=(0,i.differenceInHours)(t,e),r=(0,i.differenceInCalendarDays)(t,e);return Math.abs((0,i.differenceInMinutes)(t,e))>=60&&0===r?`${n?"at ":""}${(0,i.format)(e,"p")}`:1===r||o>24&&r<=6?`${n?"at ":""}${(0,i.format)(e,n?"p, EEE":"EEE, p")}`:`${n?"at ":""}${(0,i.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,i.differenceInCalendarDays)(n,t);return 0===o?"Today":1===o?"Yesterday":-1===o?"Tomorrow":o>0&&o<=6?`Last ${(0,i.format)(t,"EEEE")}`:o<0&&o>=-6?(0,i.format)(t,"EEEE"):(0,i.format)(t,"MMMM d, yyyy")},t.getDate=r,t.formatLines=function(e,t){if(t){if(t>=Date.now()){const e=r(t,!0);return"at"===e.substring(0,2)?["Reminding at",e.substring(3)]:[`Reminding ${e}`,null]}return[`Reminded ${r(t,!0)}`,`Sent ${r(e,!0)}`]}return[r(e),null]},t.localDateString=function(e){const t=null!=e?e:Date.now();return(0,i.formatISO)(a(t)).substring(0,10)},t.localTimeString=function(e){const t=null!=e?e:Date.now();return(0,i.formatISO)(a(t)).substring(11,16)},t.getZonedDate=a},2230:e=>{"use strict";e.exports=c},2362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hydrateUpdateNotification=void 0;const i=n(2867),o=n(5996),r=n(611);t.hydrateUpdateNotification=function(e,t){const n=(0,r.getTemplateSchema)(e).validateSync(e,t),a=(0,o.isTemplate)(n,"markdown")?(0,i.getMarkdownTextContent)(n.body):"";return Object.assign(Object.assign({},n),{bodyText:a,body:n.body})}},2373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0,t.Timer=class{constructor(e){this._duration=e}start(e){this.clear(),this._timeoutHandle=window.setTimeout((()=>{this._timeoutHandle=void 0,null==e||e()}),this._duration)}clear(){void 0!==this._timeoutHandle&&window.clearTimeout(this._timeoutHandle),this._timeoutHandle=void 0}get running(){return void 0!==this._timeoutHandle}}},2391:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6630),t),o(n(2874),t)},2425:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makePresetTimeSpanOptions=t.isPresetTimeSpan=void 0;const i=n(5738);t.isPresetTimeSpan=function(e){return e&&"object"==typeof e&&"timeSpan"in e&&"event"in e},t.makePresetTimeSpanOptions=function(e){return[[{title:"5 min",value:{event:"5 min",timeSpan:(0,i.minutesToMilliseconds)(5)}},{title:"15 min",value:{event:"15 min",timeSpan:(0,i.minutesToMilliseconds)(15)}},{title:"30 min",value:{event:"30 min",timeSpan:(0,i.minutesToMilliseconds)(30)}},{title:"1 hour",value:{event:"1 hour",timeSpan:(0,i.minutesToMilliseconds)(60)}},{title:"Custom",value:"custom"}],...e?[[{title:"Cancel Reminder",value:"cancel"}]]:[]]}},2471:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SetSearchMode=t.SetSearching=t.ClearSearch=t.SearchNotifications=t.searchKeys=t.initialSearchState=void 0;const o=n(6566),r=i(n(7342)),a=n(2191);t.initialSearchState={searchMode:!1,searching:!1,query:"",ready:!1,results:[]},t.searchKeys=["notification.title","bodyText","title","notification.indicator.text"],"undefined"!=typeof window&&(window.search={minLength:1,useQueryLength:!0,queryLengthMinus:0,threshold:.4,distance:500,useExtendedSearch:!1,logging:!1});class l extends o.Action{constructor(e){super(),this.text=e}async call(e,n){const{notifications:i}=e.state,o=i.map((e=>{var t,n,i;let o=e;return o.notification.indicator&&(o=Object.assign(Object.assign({},o),{notification:Object.assign(Object.assign({},o.notification),{indicator:Object.assign(Object.assign({},null===(t=e.notification)||void 0===t?void 0:t.indicator),{text:(null===(n=e.notification.indicator)||void 0===n?void 0:n.text)||(null===(i=e.notification.indicator)||void 0===i?void 0:i.type)})})})),o})),l=new r.default(o,{keys:t.searchKeys,includeMatches:!0,includeScore:!0,useExtendedSearch:window.search.useExtendedSearch,minMatchCharLength:window.search.useQueryLength?this.text.length-window.search.queryLengthMinus:window.search.minLength,threshold:window.search.threshold,distance:window.search.distance,sortFn:(e,t)=>e.score===t.score?(0,a.getSortDate)(o[t.idx])-(0,a.getSortDate)(o[e.idx]):e.score-t.score});await e.dispatch(new c),new Promise((()=>{this.result=l.search(this.text.trim(),{limit:300}),window.search.logging&&console.log(this.result),n()}))}reduce(e){return Object.assign(Object.assign({},e),{search:Object.assign(Object.assign({},e.search),{searching:!1,query:this.text,ready:!0,results:this.result})})}}t.SearchNotifications=l;class s extends o.Action{reduce(e){return Object.assign(Object.assign({},e),{search:Object.assign(Object.assign({},e.search),{query:"",searching:!1,ready:!1,results:[]})})}}t.ClearSearch=s;class c extends o.Action{constructor(){super()}reduce(e){return Object.assign(Object.assign({},e),{search:Object.assign(Object.assign({},e.search),{searching:!0})})}}t.SetSearching=c;class u extends o.Action{constructor(e){super(),this.mode=e}async call(e,t){await e.dispatch(new s),await t()}reduce(e){return Object.assign(Object.assign({},e),{search:Object.assign(Object.assign({},e.search),{searchMode:this.mode})})}}t.SetSearchMode=u},2551:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCardComponent=void 0;const a=r(n(5932)),l=n(6455),s=n(1413),c=n(6012),u=n(2124),d=n(3873),f=n(9690),p=n(7207),h=n(7250),m=r(n(2230)),b=n(4858),g=n(5996),v=n(2773),y=n(2425),_=n(4990),x=n(3565),O=n(9136),C=n(6415);t.NotificationCardComponent=e=>{var t,n,i,o,r,h,m;const{style:E,senderTitle:T,isFormExpanded:k,isToast:I=!1,clickAction:D,remove:$,minimize:N,submitForm:A,clickButtonAction:F,showReminderModal:R,setReminder:B,cancelReminder:L,raiseAnalyticsEvent:z,clickFragment:H,revisionNumber:V,onKeyDown:W,focusedNotification:U}=e,{setIsMenuModalOpen:G,setMenuConfig:q,setIsCustomReminderModalOpen:K,setCustomReminderConfig:Z,setModalType:Y}=(0,a.useContext)(C.WebModalContext),[X,Q]=(0,a.useState)(-1),[J,ee]=(0,a.useState)(!1),[te,ne]=(0,v.useIsStateUpdate)(V,((e,t)=>J&&e!==t)),ie=(0,c.isStoredNotification)(e.notification)?e.notification:e.notification.item,oe=ie.notification,re=null===(t=ie.modifiers)||void 0===t?void 0:t.reminder,ae=T||ie.title,le=(0,g.isTemplate)(oe,"custom")?null===(n=oe.templateOptions.buttons)||void 0===n?void 0:n.align:void 0,se=(0,g.isTemplate)(oe,"custom")&&(null===(i=oe.templateOptions.indicator)||void 0===i?void 0:i.align)||"center",ce=(e=>{var t,n,i;return e.indicator?(0,g.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===(i=e.templateOptions.indicator)||void 0===i?void 0:i.color}):e.indicator:null})(oe),ue=!!re&&re>Date.now(),de=ie.notification.allowReminder,{raiseAnalyticsEventDelayed:fe,cancelAnalyticsEventTimer:pe}=(0,_.useAnalyticsDebounce)(1e3,z),he=(0,a.useRef)(null),me=a.default.useContext(O.WindowContext),be=a.default.useRef(null);(0,a.useEffect)((()=>{var e;ie.id===(null==U?void 0:U.notificationId)&&(null===(e=be.current)||void 0===e||e.focus())}),[U,ie.id,be.current]);const ge=(e,t)=>{null==B||B(Object.assign(Object.assign({},ie),{modifiers:Object.assign(Object.assign({},ie),{reminder:null!=t?t:Date.now()+e})}))},ve=s.TemplateComponentMap[ie.notification.template];if(!ve)return console.error(`Unable to render ${ie.id}. Unknown template ${ie.notification.template}.`,ie),null;const ye=()=>ne(),_e=[{title:"OK",cta:!0,index:0,iconUrl:"",submit:!1,type:"button",onClick:ye,formOptions:null}],xe=te&&oe.buttons.length>0?_e:oe.buttons,Oe=a.default.createElement(a.default.Fragment,null,a.default.createElement(f.CardHeader,{sender:ae,icon:oe.icon,uuid:null!==(r=null===(o=oe.stream)||void 0===o?void 0:o.id)&&void 0!==r?r:JSON.stringify(ie.source),creationDate:oe.date,reminderDate:re,isToast:I,"data-testid":"header",showReminderButton:de,onDismiss:e=>{e.stopPropagation(),e.preventDefault(),te||(I?(console.log(`Toast dismiss button clicked. (Nfn ID:${ie.id})`),null==N||N(ie)):(null==W||W(new KeyboardEvent("keydown",{key:"_Delete"})),console.log(`Notification remove button clicked. (Nfn ID:${ie.id})`),null==$||$(ie)))},onShowReminderModal:t=>{const n={x:t.screenX,y:t.screenY},i={identity:{id:"custom-reminder-select-menu-modal"},type:"CustomReminderModal",position:n,notification:ie,isToast:I,onDismiss:t=>{"web"===e.mode&&K(!1),"number"==typeof t&&(ge(0,t),null==z||z({type:I?"Toast":"Notification",action:"Set Custom Reminder",value:`${t+Date.now()}`,data:ie.id,skipValueHashing:!0}))}},o={type:"Menu",position:n,width:140,header:"Remind me in...",options:(0,y.makePresetTimeSpanOptions)(ue),onDismiss:t=>{(0,y.isPresetTimeSpan)(t)?(ge(t.timeSpan),G(!1),null==z||z({type:I?"Toast":"Notification",action:"Select preset Reminder",value:`${t.timeSpan+Date.now()}`,data:ie.id,skipValueHashing:!0})):"string"==typeof t&&("cancel"===t?(null==L||L(ie),"web"===e.mode&&G(!1),null==z||z({type:"Notification",action:"Cancel Reminder",data:ie.id,skipValueHashing:!0})):"custom"===t&&("web"===e.mode?(G(!1),K(!0),Y("reminder"),Z(i)):null==R||R(i)))}};if("desktop"===e.mode)null==R||R(o);else if("web"===e.mode)return G(!0),q(o),void Y("reminder");null==z||z({type:I?"Toast":"Notification",action:"Select Reminder Button",data:{id:ie.id},skipValueHashing:!0})},raiseAnalyticsEvent:z,tabIndex:X,notificationID:ie.id,mode:e.mode}),oe.title&&a.default.createElement(M,null,a.default.createElement(b.SingleLine,{weight:"bold","data-testid":"notification-title"},oe.title)),a.default.createElement(P,{ref:he,"data-scrollable-container":"true",flexDirection:"column","data-testid":"template-content"},a.default.createElement(ve,{notification:ie,submitForm:A,clickButtonAction:F,clickFragment:async(e,t)=>{t.onClick&&(e.stopPropagation(),e.preventDefault(),await(null==H?void 0:H(ie,t,I)))},templateContent:he,tabIndexOverride:X,isToast:I}))),Ce=I?"Click to dismiss":"Click to clear",we=(null===(h=ie.notification.onSelect)||void 0===h?void 0:h.BODY_CLICK)===l.ActionBodyClickType.DISMISS_EVENT&&!(null===(m=ie.notification.buttons)||void 0===m?void 0:m.length),je=xe.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(p.Card,{title:we?Ce:"",onClick:async e=>{(0,g.isTemplate)(oe,"markdown")&&oe.form||(e.stopPropagation(),e.preventDefault(),te||await(null==D?void 0:D(ie)))},"data-testid":"notification-card","data-id":ie.id,style:E,hasButtons:xe.length>0,isTall:je.primary>3||je.secondary>3,tabIndex:X,onMouseEnter:()=>{ee(!0),fe({type:I?"Toast":"Notification",action:"Hover",skipValueHashing:!0})},onMouseLeave:()=>{ee(!1),ne(),pe()},isToast:I,isFormExpanded:k,onFocus:()=>Q(0),onBlur:e=>{const t=e.currentTarget;requestAnimationFrame((()=>{t.contains(me.document.activeElement)||Q(-1)}))},onKeyDown:e=>null==W?void 0:W(e.nativeEvent),ref:be,role:"listitem",mode:e.mode},a.default.createElement(x.FormikProxyProvider,null,ce&&a.default.createElement(w,{alignment:se},te?a.default.createElement(u.InfoBanner,{text:"Notification Updated"}):a.default.createElement(u.IndicatorBanner,{indicator:ce,alignment:se})),a.default.createElement(S,{flexDirection:"column",gap:"xsmall"},te?a.default.createElement(j,{"data-testid":"update-overlay",gap:"xsmall"},Oe):Oe,xe.length>0&&a.default.createElement(d.ButtonsContainer,{alignment:le,buttonData:xe,onClick:te?ye:async(e,t)=>{if(!t.submit){e.stopPropagation(),e.preventDefault();const n=t.index||0;await(null==F?void 0:F(ie,n))}},tabIndexOverride:X,notificationId:ie.id,isToast:I,raiseAnalyticsEvent:z})))))};const w=(0,m.default)(h.Box)`
367
+ position: absolute;
368
+ ${e=>{switch(e.alignment){case"center":return m.css`
369
+ top: 0;
370
+ width: 100%;
371
+
372
+ & + * {
373
+ margin-top: ${e=>e.theme.px.xxlarge};
374
+ }
375
+ `;case"left":return m.css`
376
+ left: 0;
377
+ height: 100%;
378
+
379
+ & + * {
380
+ margin-left: ${e=>e.theme.px.xxlarge};
381
+ padding: ${({theme:e})=>`0 ${e.px.base}`};
382
+ }
383
+ `;case"right":return m.css`
384
+ right: 0;
385
+ height: 100%;
386
+
387
+ & + * {
388
+ margin-right: ${e=>e.theme.px.xxlarge};
389
+ padding: ${({theme:e})=>`0 ${e.px.base}`};
390
+ }
391
+ `}}};
392
+ `,j=(0,m.default)(h.Box)`
393
+ width: 100%;
394
+ opacity: 0.5;
395
+ z-index: 99;
396
+ display: flex;
397
+ flex-direction: column;
398
+ `,S=(0,m.default)(h.Box)`
399
+ flex: 1;
400
+ width: 100%;
401
+ padding-bottom: ${e=>e.theme.px.base};
402
+ `,P=(0,m.default)(h.Box)`
403
+ position: relative;
404
+ flex: 1;
405
+ max-height: 400px;
406
+ overflow-x: hidden;
407
+ overflow-y: overlay;
408
+ `,M=(0,m.default)(h.Box)`
409
+ padding-right: ${e=>e.theme.px.base};
410
+ padding-left: ${e=>e.theme.px.base};
411
+ `},2645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InjectorBase=void 0;const i=n(5966);class o{static get initialized(){return o._initialized.promise}}t.InjectorBase=o,o._initialized=new i.DeferredPromise},2716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APIExecutionDeferrer=void 0;const i=n(136),o=n(4128),r=n(6476),a=n(7451);class l extends i.APIMethodHandler{constructor(e,t){super(e,t),this._waitQueue=new r.WaitQueue}defer(e,t=!1){return async(n,i)=>{var r,a;this._waitQueue.isLocked&&t&&await this._store.dispatch(new o.SetNotificationFormEditBannerCount((null!==(a=null===(r=this._store.state.activeForms)||void 0===r?void 0:r.createNotificationsCount)&&void 0!==a?a:0)+1));const l=await this._waitQueue.lock(),s=await e(n,i);return this._waitQueue.release(l),s}}registerStoreActions(){this._store.onAction.add(this.onAction.bind(this))}async onAction(e){e instanceof a.Freeze?this._waitQueue.wait():e instanceof a.Unfreeze&&this._waitQueue.signal()}}t.APIExecutionDeferrer=l},2750:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetTheme=void 0;const i=n(6566);class o extends i.Action{constructor(e){super(),this.theme=e}reduce(e){return Object.assign(Object.assign({},e),{theme:this.theme?Object.assign({},this.theme):void 0})}}t.SetTheme=o},2753:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUpdateValidateOptions=void 0;const i=n(4692),o=n(5996);t.getUpdateValidateOptions=function(e){if(e&&(0,o.isTemplate)(e,"custom")){const t=e.templateOptions.body.compositions;if(t.length>0)return{context:{fragments:(0,i.flattenLayout)(t[0].layout)}}}}},2773:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8728),t)},2867:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMarkdownTextContent=t.renderMarkdown=void 0;const o=(0,i(n(7344)).default)("zero",{breaks:!0});function r(e){return o.render(e)}o.enable("hr"),o.enable("paragraph"),o.enable("newline"),o.enable("heading"),o.enable("lheading"),o.enable("list"),o.enable("blockquote"),o.enable("emphasis"),o.enable("image"),t.renderMarkdown=r,t.getMarkdownTextContent=function(e){const t=r(e),n=document.createElement("span");n.innerHTML=t;const i=n.textContent||"";return n.remove(),i}},2874:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NumberWidgetComponent=t.clamp=void 0;const o=i(n(5932)),r=n(258),a=n(8912),l=n(7260),s=n(1971),c=n(7250),u=n(5232),d=n(5484);t.clamp=(e,t,n)=>Math.min(Math.max(e,null!=t?t:Number.NEGATIVE_INFINITY),null!=n?n:Number.POSITIVE_INFINITY),t.NumberWidgetComponent=e=>o.default.createElement(r.Field,{name:e.field.key,component:f,numberField:e.field,formSettings:e.formSettings,tabIndex:e.tabIndexOverride,raiseAnalytics:e.raiseAnalytics});const f=e=>{const{raiseAnalytics:n,field:i,form:r,numberField:f,formSettings:p}=e,{placeholder:h,min:m,max:b,step:g=1,currencyChar:v}=f.widget;(0,d.useRaiseFieldAnalytics)(f,n);const y=r.errors[i.name]&&r.touched[i.name]?"critical":void 0;return o.default.createElement(l.InputContainer,{flexDirection:"column"},o.default.createElement(c.NumberInput,{label:(0,u.getLabelText)(f,p),onChangeCapture:()=>{r.touched[i.name]||r.setFieldTouched(i.name)},onChange:e=>r.setFieldValue(i.name,e.target.value),autoComplete:"off",placeholder:h,helperText:f.helperText,min:m,max:b,prependString:v,onTakeStep:e=>{const n=i.value?Number(i.value):null,o=m||0==m?Number(m):void 0,a=b?Number(b):void 0,l=(0,t.clamp)((null!=n?n:0)+g*e,o,a);r.setFieldTouched(i.name,!0),r.setFieldValue(i.name,l,!0)},"data-type":a.NumberWidgetType.Number,value:i.value||0,status:y}),o.default.createElement(s.ErrorLabel,{name:i.name}))}},2882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Injector=void 0;const i=n(4352),o=n(5966),r=n(6858),a=n(7202),l=n(3769),s=n(7010),c=n(4854),u=n(9897),d=n(2645),f={[a.Inject.STORE]:r.WebStore,[a.Inject.SCHEDULER]:s.Scheduler,[a.Inject.API_HANDLER]:c.APIHandler,[a.Inject.CLIENT_CONTOLLER]:u.ClientController};class p extends d.InjectorBase{static async init(){const e=p._container,t=[];return Object.keys(f).forEach((n=>{const i=n,o=e.get(a.Inject[i]);(o instanceof l.AsyncInit||o instanceof r.WebStore)&&t.push(o.delayedInit())})),await Promise.all(t),p._ready=!0,d.InjectorBase._initialized.resolve(),d.InjectorBase._initialized.promise}static rebind(e){return p._container.rebind(e)}static reset(){d.InjectorBase._initialized=new o.DeferredPromise,p._ready=!1,p._container=p.createContainer()}static get(e){if(!p._ready)throw new Error("Injector not initialised");return p._container.get(e)}static getClass(e){return p._container.resolve(e)}static createContainer(){const e=new i.Container({skipBaseClassChecks:!0});return Object.keys(f).forEach((t=>{const n=t;"function"==typeof f[n]?e.bind(a.Inject[n]).to(f[n]).inSingletonScope():e.bind(a.Inject[n]).toConstantValue(f[n])})),e}}t.Injector=p,p._ready=!1,p._container=p.createContainer()},2903:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initialState=void 0;const i=n(7527),o=n(7676),r=n(2471),a=n(8061),l=n(7234),s=n(7383),c=n(7451);t.initialState={categories:i.initialCategoryState,customManifest:!1,notifications:[],reminders:[],search:r.initialSearchState,stickyNotifications:[],sortedNotifications:o.initialSortedNotificationsState,applications:new Map,centerVisible:!1,centerLocked:!0,centerMuted:!1,display:a.initialDisplayState,errors:new Map,settings:l.initialSettingsState,securitySettings:s.initialSecuritySettingsState,streams:new Map,platform:c.initialPlatformState,frozen:!1,focusedNotification:{notificationId:null},mode:"desktop"}},2972:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateFragment=void 0;const o=i(n(5932)),r=i(n(2230)),a=n(7250),l=n(4415);t.TemplateFragment=e=>{var n;const{fragment:i,templateData:r,fragmentIndex:a,notificationKey:p,clickFragment:h,tabIndexOverride:m}=e,b=Object.assign({},i.style),g=`${p}-f-${a}`,v=(e,t)=>{t.onClick&&(null==h||h(e,t))},y=(e,t)=>{"Enter"!==e.key&&" "!==e.key||v(e,t)};if(i.type===l.TemplateFragmentNames.container)return o.default.createElement(s,{onClick:e=>v(e,i),onKeyDown:e=>y(e,i),tabIndex:-1!==m&&i.onClick?0:-1,role:i.onClick?"button":void 0,title:i.tooltipKey?r[i.tooltipKey]:"",fragment:i,style:b},null===(n=i.children)||void 0===n?void 0:n.map(((e,n)=>o.default.createElement(t.TemplateFragment,{fragment:e,templateData:r,fragmentIndex:a+1,notificationKey:p,key:`${g}-${n}`,clickFragment:h,tabIndexOverride:m}))));const _=r[i.dataKey];switch(i.type){case l.TemplateFragmentNames.text:return o.default.createElement(c,{style:b},_);case l.TemplateFragmentNames.actionableText:return o.default.createElement(f,{style:b,onClick:e=>v(e,i),onKeyDown:e=>y(e,i),tabIndex:-1!==m&&i.onClick?0:-1,title:i.tooltipKey?r[i.tooltipKey]:""},_);case l.TemplateFragmentNames.image:return o.default.createElement(u,{onClick:e=>v(e,i),onKeyDown:e=>y(e,i),style:b,src:_,tabIndex:-1!==m&&i.onClick?0:-1,role:i.onClick?"button":void 0,title:i.tooltipKey?r[i.tooltipKey]:"",fragment:i});case l.TemplateFragmentNames.list:return o.default.createElement(d,{style:b,definitions:new Map(_)});default:return o.default.createElement(o.default.Fragment,null)}};const s=r.default.div`
412
+ cursor: ${({fragment:e})=>e.onClick?"pointer":"default"};
413
+ `,c=r.default.span``,u=r.default.img`
414
+ cursor: ${({fragment:e})=>e.onClick?"pointer":"default"};
415
+ `,d=(0,r.default)(a.DefinitionList)``,f=r.default.span.attrs({role:"button"})`
416
+ cursor: pointer;
417
+ text-decoration: underline;
418
+ color: ${({theme:e})=>e.palette.linkDefault};
419
+
420
+ &:hover {
421
+ color: ${({theme:e})=>e.palette.linkHover};
422
+ }
423
+ `},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.9.1-alpha-3944"},t.getTemplateAPIVersion=function(){return"2"}},3051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFormCustomValidationErrors=void 0;const i=n(5932),o=n(9130);t.useFormCustomValidationErrors=(e,t)=>{const n=(0,o.useSelector)((e=>{var n,i;return null===(i=null===(n=e.activeForms)||void 0===n?void 0:n.forms.find((e=>e.notificationId===t)))||void 0===i?void 0:i.errors})),{setFieldError:r}=e;(0,i.useEffect)((()=>{for(const e in n)r(e,n[e])}),[n,r])}},3081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const i=n(5932);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,i.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,n;const i=null===(n=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.querySelector("input, textarea, button");i&&i.focus()}),500)}),[e,t])}},3082:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.NotificationCenterWebComponent=void 0;const l=a(n(5932)),s=n(5338),c=n(9130),u=n(5056),d=n(3764),f=r(n(2230)),p=n(9136),h=n(660),m=n(3083),b=n(6452),g=n(436),v=n(7586);class y extends HTMLElement{constructor(){super(),this.reactRoot=null,this.root=this.attachShadow({mode:"open"}),this.styleTarget=document.createElement("style"),this.styleTarget.setAttribute("type","text/css"),this.styleTarget.textContent="",this.root.appendChild(this.styleTarget)}setProps(e){this.props=e,this.render()}connectedCallback(){setTimeout((()=>{this.render()}),0)}render(){this.props&&this.props.store&&(this.props.store.subscribe((()=>{!1===this.props.store.getState().centerVisible?this.style.display="none":this.style.display="block"})),this.styleTarget.sheet?(this.reactRoot||(this.reactRoot=(0,s.createRoot)(this.root)),u.centerHistory.push(v.ROUTES.NOTIFICATIONS),this.reactRoot.render(l.default.createElement(c.Provider,{store:this.props.store},l.default.createElement(f.StyleSheetManager,{target:this.styleTarget},l.default.createElement(h.HistoryContext.Provider,{value:u.centerHistory},l.default.createElement(p.WindowProvider,{value:window},l.default.createElement(m.RootThemeProvider,null,l.default.createElement(d.GlobalWebStyles,null),l.default.createElement(_,{id:"here-notifications-panel"},l.default.createElement(b.Router,{routes:g.CenterRoutes,history:u.centerHistory}))))))))):setTimeout((()=>this.render()),0))}}t.NotificationCenterWebComponent=y;const _=f.default.div`
424
+ position: absolute;
425
+ top: 0;
426
+ left: 0;
427
+ width: 100%;
428
+ height: 100%;
429
+ overflow: hidden;
430
+ `},3083:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=i(n(5932)),r=n(9130),a=n(9183),l=n(7250);t.RootThemeProvider=(0,r.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:l.ColorScheme.dark},n)))},3087:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyContext=void 0;const i=n(5932);t.FormikProxyContext=(0,i.createContext)({})},3154:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeRefs=void 0,t.mergeRefs=function(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!==e&&(e.current=t)}))}}},3264:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextInput=void 0;const s=r(n(5932)),c=n(4656),u=n(3166),d=n(7250),f=l(n(2230));t.TextInput=s.forwardRef(((e,t)=>{const{clearControl:n,capitalize:i=!1,focusOnMount:o,icon:r,onChange:l,error:c}=e,f=a(e,["clearControl","capitalize","focusOnMount","icon","onChange","error"]),g=s.useRef(null);return s.useEffect((()=>{var e;o&&(null===(e=g.current)||void 0===e||e.focus())}),[g.current]),s.createElement(p,{error:c},r&&s.createElement(m,null,s.createElement(d.Icon,{icon:r})),s.createElement(h,Object.assign({type:"text",onChange:e=>{null==l||l({name:e.target.name,value:e.target.value})},ref:(0,u.mergeRefs)([g,t]),capitalize:i,clearControlPadding:n,iconPadding:void 0!==r},f)),n&&s.createElement(b,{icon:"Cross1Icon",onClick:()=>{g.current&&(null==l||l({name:f.name||"",value:""}),g.current.value="",g.current.focus())}}))})),t.TextInput.displayName="TextInput";const p=f.default.div`
431
+ display: inline-flex;
432
+ position: relative;
433
+ align-items: center;
434
+ width: 312px;
435
+ height: 30px;
436
+ margin: 10px 16px;
437
+ background-color: ${({theme:e})=>e.palette.background5};
438
+ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
439
+ border-radius: 4px;
440
+ border: solid transparent 1px;
441
+
442
+ &:hover,
443
+ &:focus-within {
444
+ outline: none;
445
+ border: solid ${({theme:e})=>e.palette.inputFocused} 1px;
446
+ }
447
+
448
+ ${({error:e,theme:t})=>e&&`border: solid ${t.palette.statusCritical} 1px;`}
449
+ `,h=f.default.input`
450
+ font-family: ${({theme:e})=>e.fontFamily};
451
+ font-size: ${({theme:e})=>e.fontSize.base};
452
+ line-height: 16px;
453
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
454
+ font-style: normal;
455
+ width: 100%;
456
+ resize: none;
457
+ background: none;
458
+ outline: none;
459
+ border: none;
460
+ color: ${({theme:e})=>e.palette.textDefault};
461
+ padding: 0px 2px;
462
+
463
+ ${({capitalize:e})=>e&&"text-transform: capitalize;"};
464
+ ${({iconPadding:e})=>e&&"padding-left: 29px;"};
465
+ ${({clearControlPadding:e})=>e&&"padding-right: 28px;"};
466
+ `,m=f.default.div`
467
+ left: 9px;
468
+ position: absolute;
469
+ height: 14px;
470
+ width: 14px;
471
+ display: flex;
472
+ align-items: center;
473
+ justify-content: center;
474
+ `,b=(0,f.default)(c.IconButton)`
475
+ position: absolute;
476
+ right: 3px;
477
+ `},3292:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.NotificationList=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(7250),u=n(4248),d=n(6012),f=n(8898),p=e=>{const t=(0,f.AnimatePresence)(e);return null!=t?t:null};t.default=p,t.NotificationList=({notifications:e})=>{const t={visible:{opacity:1,zIndex:2,y:0,scale:1},hidden:{opacity:0,zIndex:0,y:-200,scale:1}};return l.createElement(h,{flexDirection:"column"},l.createElement(f.LayoutGroup,null,l.createElement(m,{flexDirection:"column",as:f.motion.div,layout:!0},l.createElement(p,{initial:!1},e.map((e=>{const n=(0,d.isStoredNotification)(e)?e:e.item;return l.createElement(f.motion.div,{layout:!0,key:n.id,variants:t,initial:"hidden",animate:"visible",exit:"hidden",transition:{type:"spring",duration:.3,bounce:.25}},l.createElement(u.NotificationCard,{key:n.id,notification:n}))}))))))};const h=(0,s.default)(c.Box)`
478
+ position: relative;
479
+ flex: 1 1 auto;
480
+ overflow-y: overlay;
481
+ overflow-x: hidden;
482
+ width: 100%;
483
+ height: 100%;
484
+ padding-top: ${({theme:e})=>e.px.small};
485
+ `,m=(0,s.default)(c.Box)`
486
+ gap: ${({theme:e})=>e.px.base} 0;
487
+ padding-bottom: ${({theme:e})=>e.px.base};
488
+ margin: 0 auto;
489
+ `},3298:e=>{"use strict";e.exports=u},3363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStreamTitle=t.getSourceTitle=t.getApplicationTitle=t.getSourceApp=void 0,t.getSourceApp=function(e){return"desktop"===e.type?e.identity.uuid:null},t.getApplicationTitle=function(e,t){var n,i;return null!==(i=null===(n=t.get(e))||void 0===n?void 0:n.title)&&void 0!==i?i:""},t.getSourceTitle=function(e,t){var n;return"desktop"===e.type&&((null===(n=t.get(e.identity.uuid))||void 0===n?void 0:n.title)||e.identity.name)||""},t.getStreamTitle=function(e,t){var n;if(void 0!==t){const i=null===(n=e.get(t))||void 0===n?void 0:n.displayName;if(i)return i}}},3413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomUUID=void 0,t.randomUUID=function(){return void 0!==typeof crypto&&"randomUUID"in crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}},3420:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.SearchResults=void 0;const l=r(n(5932)),s=n(9130),c=a(n(2230)),u=n(7250),d=n(3292),f=n(5228),p=n(7451),h=(0,c.default)(u.Box)`
490
+ width: calc(100% + 4px);
491
+ flex: 1;
492
+ `;t.SearchResults=(0,s.connect)((e=>({results:(0,p.selectPlatformSearchResults)(e),searching:e.search.searching,query:e.search.query,applications:e.applications})))((e=>{const{results:t,searching:n,query:i}=e;return l.createElement(h,{className:"searchResults",flexDirection:"column"},n&&l.createElement(f.LoadingCard,{message:"Fetching results"}),!n&&0===t.length&&l.createElement(f.EmptyResultsListCard,{query:i}),t.length>0&&l.createElement(d.NotificationList,{notifications:t}))}))},3565:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=r(n(5932)),l=n(3087);t.FormikProxyProvider=e=>{const[t,n]=(0,a.useState)(null),i={formikProps:t,setFormikProps:n};return a.default.createElement(l.FormikProxyContext.Provider,{value:i},e.children)}},3657:function(e,t,n){"use strict";var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.getEventRouter=t.eventEmitter=t.EventRouter=void 0;const o=n(7007),r=n(3816),a=n(9603);class l{constructor(e){this._emitterProviders={},this._deserializers={},this._defaultEmitter=e}registerEmitterProvider(e,t){this._emitterProviders[e]=t}registerDeserializer(e,t){this._deserializers[e]=t}dispatchEvent(e){const{type:t,target:n}=e,o=i(e,["type","target"]);let l;if(!n)throw new Error("Invalid event, no target specified");if("default"===n)l=this._defaultEmitter;else{if(!this._emitterProviders[n.type])throw new Error(`Invalid target, no provider registered for '${n.type}'`);l=this._emitterProviders[n.type](n.id)}const s=Object.assign({type:t},o),c=this._deserializers[t];c?l.emit(t,c(s)):"notification-form-submitted"===t?function(e,t){let n=!1;e.preventDefault=()=>n=!0,t.emit("notification-form-submitted",e),n||(0,r.tryServiceDispatch)(a.APITopic.SET_FORM_STATUS_OPTIONS,{formStatus:"submitted",_notificationId:e.notification.id})}(s,l):l.emit(t,s)}}let s;t.EventRouter=l,t.eventEmitter=new o.EventEmitter,t.getEventRouter=function(){return s||(s=new l(t.eventEmitter)),s}},3694:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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=r(n(4298)),l=n(3955),s=n(5356);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(l.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([l.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(s.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([l.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(s.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([l.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(s.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([l.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(s.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([l.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(s.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([l.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(s.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([l.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(s.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=[],i=e.some((e=>{try{return e.validateSync(t)}catch(e){return n.push(e),!1}}));if(!i)throw new Error(n.map((e=>e.message)).join(".\n"));return i}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),p=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=p(f(Object.values(u))),t.templateCustomFormSchema=p(f(Object.values(d)))},3713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetType=t.TimeWidgetType=t.DateWidgetType=t.RadioGroupWidgetType=t.CheckboxGroupWidgetType=t.BooleanWidgetType=t.NumberWidgetType=t.StringWidgetType=void 0,t.StringWidgetType={Text:"Text",Dropdown:"Dropdown"},t.NumberWidgetType={Number:"Number"},t.BooleanWidgetType={Toggle:"Toggle",Checkbox:"Checkbox"},t.CheckboxGroupWidgetType={CheckboxGroup:"CheckboxGroup"},t.RadioGroupWidgetType={RadioGroup:"RadioGroup"},t.DateWidgetType={Date:"Date"},t.TimeWidgetType={Time:"Time"},t.WidgetType=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t.StringWidgetType),t.NumberWidgetType),t.BooleanWidgetType),t.CheckboxGroupWidgetType),t.RadioGroupWidgetType),t.DateWidgetType),t.TimeWidgetType)},3764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWebStyles=void 0;const i=n(2230);t.GlobalWebStyles=i.createGlobalStyle`
493
+ #here-notifications-panel {
494
+ position: absolute;
495
+ top: 0;
496
+ left: 0;
497
+ width: 100%;
498
+ height: 100%;
499
+ overflow: hidden;
500
+ z-index: 9999;
501
+
502
+ font-family: ${({theme:e})=>e.fontFamily};
503
+ font-size: ${({theme:e})=>e.fontSize.base};
504
+ line-height: ${({theme:e})=>e.lineHeight.text};
505
+ color: ${({theme:e})=>e.palette.textDefault};
506
+ background-color: ${({theme:e})=>e.palette.background2};
507
+ caret-color: ${({theme:e})=>e.palette.textDefault};
508
+ }
509
+ `},3769:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>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 r=n(4352),a=n(5966);let l=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}};l=i([(0,r.injectable)(),o("design:paramtypes",[])],l),t.AsyncInit=l},3786:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleWidgetComponent=void 0;const o=n(7250),r=n(258),a=i(n(5932)),l=i(n(2230)),s=n(5232),c=n(5484);t.ToggleWidgetComponent=e=>((0,c.useRaiseFieldAnalytics)(e.field,e.raiseAnalytics),a.default.createElement(r.Field,{name:e.field.key},(({field:t})=>a.default.createElement(u,null,a.default.createElement(o.Toggle,Object.assign({},t,{checked:t.value,label:(0,s.getLabelText)(e.field,e.formSettings),labelSide:"right",tabIndex:e.tabIndexOverride,helperText:e.field.helperText}))))));const u=(0,l.default)(o.Box)`
510
+ width: 100%;
511
+ `},3816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setDispatchMethod=t.tryServiceDispatch=void 0,t.tryServiceDispatch=async(e,t)=>{throw new Error("Environment is not initialized..")},t.setDispatchMethod=e=>{t.tryServiceDispatch=e}},3873:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.ButtonsContainer=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(7250),u=n(9205),d=e=>{switch(e){case"left":return"flex-start";case"right":return"flex-end";case"center":return"center"}};t.ButtonsContainer=e=>{const{notificationId:t,buttonData:n=[],alignment:i="right",onClick:o,tabIndexOverride:r,isToast:a,raiseAnalyticsEvent:s}=e,c=l.useMemo((()=>{const e=[[],[]];return null==n||n.forEach((t=>{const n=t.cta?0:1;e[n].push(Object.assign(Object.assign({},t),{onClick:o}))})),e}),[n]);return l.createElement(f,{"data-role":"buttons-container","data-testid":"buttons-container",justifyContent:d(i)},l.createElement(u.CardButtonGroup,{raiseAnalyticsEvent:s,isToast:a,notificationId:t,buttons:c[1],tabIndexOverride:r}),l.createElement(u.CardButtonGroup,{raiseAnalyticsEvent:s,isToast:a,notificationId:t,buttons:c[0],tabIndexOverride:r}))};const f=(0,s.default)(c.Box)`
512
+ margin-top: auto;
513
+ align-self: flex-end;
514
+ justify-self: flex-end;
515
+ width: 100%;
516
+ gap: ${e=>e.theme.px.base};
517
+ padding: ${e=>e.theme.px.base};
518
+ padding-top: 0;
519
+ padding-bottom: 0;
520
+ white-space: nowrap;
521
+ max-width: 100%;
522
+ display: flex;
523
+
524
+ & > div {
525
+ overflow-y: visible;
526
+ overflow-x: clip;
527
+ }
528
+
529
+ & > div > div {
530
+ display: flex;
531
+ }
532
+
533
+ & > div > div > button {
534
+ overflow: hidden;
535
+ }
536
+ `},3955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FieldType=void 0,t.FieldType={string:"string",number:"number",boolean:"boolean",date:"date",checkboxGroup:"checkboxGroup",radioGroup:"radioGroup",time:"time"}},4022:e=>{"use strict";e.exports=d},4084:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.SettingsToggle=void 0;const l=r(n(5932)),s=n(7250),c=n(5396),u=a(n(2230)),d=n(1569);t.SettingsToggle=({title:e,state:t,showLogo:n=!1,subToggle:i=!1,iconUrl:o,onChange:r,toggleId:a,disabled:u=!1})=>{const h=(0,d.useTooltip)(e);return l.createElement(f,{subToggle:i},n&&l.createElement(c.AppLogo,{size:"xlarge",src:null!=o?o:"",alt:e}),l.createElement(p,{as:"label",htmlFor:a,size:i?"base":"large",ref:h,disabled:u},e),l.createElement(s.Toggle,{id:a,checked:t,onChange:r,disabled:u}))};const f=(0,u.default)(s.Box)`
537
+ align-items: center;
538
+ margin-bottom: 1em;
539
+ width: 100%;
540
+
541
+ &:last-child {
542
+ margin-bottom: ${({subToggle:e})=>e?0:void 0};
543
+ }
544
+ `,p=(0,u.default)(s.Text)`
545
+ font-size: ${({theme:e})=>e.fontSize.large};
546
+ margin-right: auto;
547
+ max-width: 205px;
548
+ overflow: hidden;
549
+ text-overflow: ellipsis;
550
+ white-space: nowrap;
551
+ word-wrap: break-word;
552
+ color: ${({theme:e,disabled:t})=>t?e.palette.inputDisabled:e.palette.textDefault};
553
+ `},4116:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFormError=void 0;const i=n(9130),o=n(5932),r=n(7953);t.useFormError=e=>{const t=(0,i.useSelector)((e=>e.activeForms)),n=null==t?void 0:t.forms.find((t=>t.notificationId===e)),a=null==n?void 0:n.formStatusOptions.error,l=(0,o.useContext)(r.ResizeContext);return(0,o.useEffect)((()=>{"emitResize"in l&&l.emitResize()}),[a]),a}},4128:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormEditBannerCount=void 0;const i=n(6566);class o extends i.Action{constructor(e){super(),this.count=e}reduce(e){var t,n,i;return Object.assign(Object.assign({},e),{activeForms:{focusedFormNotificationId:null===(t=e.activeForms)||void 0===t?void 0:t.focusedFormNotificationId,forms:null!==(i=null===(n=e.activeForms)||void 0===n?void 0:n.forms)&&void 0!==i?i:[],createNotificationsCount:this.count}})}}t.SetNotificationFormEditBannerCount=o},4138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const i=n(6566);class o extends i.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,n;const i=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:[...i.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4182:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;const o=i(n(5932)),r=n(9628),a=n(194);t.Group=({source:e,isLayered:t,hasControls:n,onKeyDown:i})=>t?o.default.createElement(r.Layer,{layer:e,onKeyDown:i}):o.default.createElement(a.Section,{section:e,hasControls:n,onKeyDown:i})},4248:function(e,t,n){"use strict";var i=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(9130),r=i(n(5932)),a=n(7451),l=n(7676),s=n(2551),c=n(6012),u=n(8320),d=n(6415);t.NotificationCard=(0,o.connect)(((e,t)=>{var n;const{activeForms:i}=e,o=t.notification,r=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=i&&i.focusedFormNotificationId==(null==r?void 0:r.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(n=null==r?void 0:r.modifiers)||void 0===n?void 0:n.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var n,i,o,r,s,c,d,f,p,h;return{remove:null!==(n=t.remove)&&void 0!==n?n:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(i=t.minimize)&&void 0!==i?i:t=>e(new l.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(r=t.clickButtonAction)&&void 0!==r?r:async(t,n)=>e(new a.ClickButton(t,n)),clickFragment:null!==(s=t.clickFragment)&&void 0!==s?s:(t,n,i)=>e(new a.ClickFragment(t,n,i)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,n,i)=>e(new l.SubmitNotificationForm(t,n,i)),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!==(p=t.cancelReminder)&&void 0!==p?p:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(h=t.raiseAnalyticsEvent)&&void 0!==h?h:async(t,n)=>e(new a.RaiseAnalyticsEvent(t,n))}}))((e=>r.default.createElement(d.WebModalContextProvider,null,r.default.createElement(s.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4298:e=>{"use strict";e.exports=f},4352:e=>{"use strict";e.exports=p},4382:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const i=n(3713),o=n(2391),r=n(1351),a=n(3786),l=n(9594),s=n(6906),c=n(714),u=n(5718),d=n(6318);t.WidgetComponentMap={[i.WidgetType.Number]:o.NumberWidgetComponent,[i.WidgetType.Toggle]:a.ToggleWidgetComponent,[i.WidgetType.Checkbox]:r.CheckboxWidgetComponent,[i.WidgetType.Date]:l.DateWidgetComponent,[i.WidgetType.CheckboxGroup]:s.CheckboxGroupWidgetComponent,[i.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[i.WidgetType.Dropdown]:u.DropdownWidgetComponent,[i.WidgetType.Text]:o.TextWidgetComponent,[i.WidgetType.Time]:d.TimeWidgetComponent}},4415:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateFragmentNames=t.PresentationTemplateFragmentNames=t.ContainerTemplateFragmentNames=t.TemplateNames=void 0,t.TemplateNames={markdown:"markdown",list:"list",custom:"custom"},t.ContainerTemplateFragmentNames={container:"container"},t.PresentationTemplateFragmentNames={text:"text",image:"image",list:"list",actionableText:"actionableText"},t.TemplateFragmentNames=Object.assign(Object.assign({},t.ContainerTemplateFragmentNames),t.PresentationTemplateFragmentNames)},4515:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsibleCardTitle=void 0;const o=i(n(2230)),r=i(n(5932));t.CollapsibleCardTitle=({expanded:e,fieldTitles:t})=>r.default.createElement(a,null,r.default.createElement(l,null,"Form"),r.default.createElement(c,null,"|"),e?r.default.createElement(s,null,t.length," Fields"):r.default.createElement(s,null,t.join(", ")));const a=o.default.span``,l=o.default.span`
554
+ font-weight: 600;
555
+ `,s=o.default.span`
556
+ color: ${({theme:e})=>e.palette.textHelp};
557
+ `,c=o.default.span`
558
+ color: ${({theme:e})=>e.palette.background5};
559
+ margin-left: ${({theme:e})=>e.px.base};
560
+ margin-right: ${({theme:e})=>e.px.base};
561
+ `},4656:function(e,t,n){"use strict";var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IconButton=void 0;const r=n(7250),a=o(n(5932)),l=o(n(2230));t.IconButton=e=>{var{icon:t,dataId:n,onClick:o}=e,l=i(e,["icon","dataId","onClick"]);return a.default.createElement(s,Object.assign({onClick:o,"data-id":n},l),a.default.createElement(r.Icon,{icon:t}))};const s=l.default.div`
562
+ height: ${({theme:e})=>e.px.xxlarge};
563
+ width: ${({theme:e})=>e.px.xxlarge};
564
+ display: flex;
565
+ align-items: center;
566
+ justify-content: center;
567
+ transition: background 0.2s ease-in-out;
568
+ border-radius: 15px;
569
+ `},4673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mutable=void 0,t.mutable=function(e){return e}},4691:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureCompleteTimeFieldValue=t.ensureCompleteDateFieldValue=t.fieldValueAsString=t.fieldValueToDate=t.dateToFieldValue=t.convertTo24HourFormat=t.convertFrom24HourFormat=void 0,t.convertFrom24HourFormat=e=>{const t=e.split(":").map(Number);if(2!==t.length||t[0]<0||t[0]>23||t[1]<0||t[1]>59)throw new Error("Invalid time format");return{hour:t[0],minute:t[1]}},t.convertTo24HourFormat=e=>{const{hour:t=0,minute:n=0}=e;if(t<0||t>23||n<0||n>59)throw new Error("Invalid time format");return`${t<10?`0${t}`:t}:${n<10?`0${n}`:n}`},t.dateToFieldValue=e=>({date:e.getDate(),month:e.getMonth()+1,year:e.getFullYear()}),t.fieldValueToDate=e=>new Date(e.year,e.month-1,e.date),t.fieldValueAsString=e=>`${e.year}-${e.month.toString().padStart(2,"0")}-${e.date.toString().padStart(2,"0")}`,t.ensureCompleteDateFieldValue=e=>{var t,n,i;if(!e)return;const o=new Date;return{date:null!==(t=e.date)&&void 0!==t?t:o.getDate(),month:null!==(n=e.month)&&void 0!==n?n:o.getMonth()+1,year:null!==(i=e.year)&&void 0!==i?i:o.getFullYear()}},t.ensureCompleteTimeFieldValue=e=>{var t,n;if(e)return{hour:null!==(t=e.hour)&&void 0!==t?t:0,minute:null!==(n=e.minute)&&void 0!==n?n:0}}},4692:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenLayout=void 0,t.flattenLayout=function e(t,n){const i=null!=n?n:{containerFragments:[],presentationFragments:[]};return"container"===t.type?(i.containerFragments.push(t),Array.isArray(t.children)&&t.children.forEach((t=>{e(t,i)}))):i.presentationFragments.push(t),i}},4800:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderButton=void 0;const l=r(n(5932)),s=r(n(2230));t.HeaderButton=e=>{var{children:t}=e,n=a(e,["children"]);return l.createElement(c,Object.assign({},n),t)};const c=s.default.button`
570
+ background: transparent;
571
+ border: none;
572
+ color: ${({theme:e})=>e.palette.textDefault};
573
+ margin: 0;
574
+ height: ${({theme:e})=>e.px.xxxlarge};
575
+ width: ${({theme:e})=>e.px.xxxlarge};
576
+
577
+ display: flex;
578
+ flex-direction: row;
579
+ align-items: center;
580
+ justify-content: center;
581
+
582
+ ${({disabled:e})=>!e&&s.css`
583
+ &:focus {
584
+ outline: none;
585
+ }
586
+
587
+ &:hover {
588
+ background-color: ${({theme:e})=>e.palette.background4};
589
+ }
590
+
591
+ &:active {
592
+ background-color: ${({theme:e})=>e.palette.background6};
593
+ }
594
+
595
+ &:focus-visible {
596
+ outline: solid 1px ${({theme:e})=>e.palette.statusActive};
597
+ outline-offset: -1px;
598
+ }
599
+ `}
600
+ `},4854:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.APIHandler=void 0;const o=n(4352),r=n(4022),a=n(9603);let l=class{constructor(){this.onConnection=new r.Signal,this.onDisconnection=new r.Signal}get channel(){return this._providerChannel}isClientConnection(e){return this._providerChannel.connections.some((t=>e.uuid===t.uuid&&e.name===t.name))}getClientConnections(){return this._providerChannel.connections}async dispatchMessage(e,t,n){return this._providerChannel.dispatch(e,t,n)}async dispatchEvent(e,t){return console.debug("Dispatching event to window",{targetWindow:e,eventTransport:t}),this._providerChannel.dispatch(e,"event",t)}async publishMessage(e,t){return this._providerChannel.publish(e,t)}async publishEvent(e){return Promise.all(this._providerChannel.publish("event",e)).then((()=>{}))}async registerListeners(e,t,n=null){this._finContext=t,this._providerChannel=await this._finContext.InterApplicationBus.Channel.create(null!=n?n:(0,a.getChannelName)(this._finContext.me.uuid)),this._providerChannel.onConnection(this.onConnectionHandler.bind(this)),this._providerChannel.onDisconnection(this.onDisconnectionHandler.bind(this));for(const t in e)Object.hasOwnProperty.call(e,t)&&this._providerChannel.register(t,e[t])}onConnectionHandler(e,t){t&&t.version&&t.version.length>0?console.log(`Connection from client: ${e.name}, version: ${t.version}`):console.log(`Connection from client: ${e.name}, unable to determine version`),setTimeout((()=>{this.onConnection.emit(e,null==t?void 0:t.providerInfo)}))}onDisconnectionHandler(e){this.onDisconnection.emit(e)}};l=i([(0,o.injectable)()],l),t.APIHandler=l},4858:function(e,t,n){"use strict";var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SingleLine=void 0;const r=o(n(5932)),a=n(7250),l=o(n(2230)),s=n(1569);t.SingleLine=e=>{var{children:t}=e,n=i(e,["children"]);return r.default.createElement(c,Object.assign({ref:(0,s.useTooltip)(t)},n),t)};const c=(0,l.default)(a.Text)`
601
+ white-space: nowrap;
602
+ ${a.Mixins.textOverflow};
603
+ `},4887:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maxVisibleUserFacingErrors=t.minSearchStringLength=t.notificationCenterAnimationDuration=t.notificationCenterWidth=t.toastWindowName=t.settingsApplicationsCollapsedSize=t.groupMinimizedStackSize=void 0,t.groupMinimizedStackSize=3,t.settingsApplicationsCollapsedSize=11,t.toastWindowName="Notification-Toast",t.notificationCenterWidth=344,t.notificationCenterAnimationDuration=300,t.minSearchStringLength=1,t.maxVisibleUserFacingErrors=3},4896:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.ErrorPanel=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(524),u=n(545),d=n(6460);t.ErrorPanel=({errors:e,onDismiss:t})=>e.length?l.createElement(f,null,e.map(((e,n)=>l.createElement(d.FadeTransition,{timeout:200,key:`error-item-${n}`},l.createElement(u.ErrorItem,{id:e.id,message:e.message,onDismiss:t}))))):l.createElement(l.Fragment,null);const f=(0,s.default)(c.TransitionGroup)`
604
+ display: flex;
605
+ flex-direction: column;
606
+ `},4990:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAnalyticsDebounce=void 0;const i=n(2373),o=n(5932);t.useAnalyticsDebounce=(e,t)=>{const n=(0,o.useRef)(new i.Timer(e));return{raiseAnalyticsEventDelayed:e=>{t&&n.current.start((()=>t(e)))},cancelAnalyticsEventTimer:()=>{n.current.running&&n.current.clear()}}}},5046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const i=n(5932);t.useValidation=(e,t)=>{const[n,o]=(0,i.useState)(""),[r,a]=(0,i.useState)(!0),[l,s]=(0,i.useState)(t);return(0,i.useEffect)((()=>{const t=e(l);o(t),a(!t)}),[l,e]),{value:l,message:n,isValid:r,updateValue:s}}},5050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.centerHistory=void 0;const i=n(3298);t.centerHistory=(0,i.createMemoryHistory)()},5172:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6099),t),o(n(2362),t)},5228:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.LoadingCard=t.EmptyResultsListCard=t.EmptyNotificationListCard=t.MessageCard=void 0;const l=r(n(5932)),s=n(7250),c=a(n(2230));t.MessageCard=({children:e,title:t,subtitle:n})=>l.createElement(u,null,e,t&&l.createElement(s.Text,{size:"xlarge"},t),n&&l.createElement(s.Text,null,n)),t.EmptyNotificationListCard=()=>l.createElement(t.MessageCard,{title:"No Notifications",subtitle:"You're up to date!"},l.createElement(d,{size:"xxlarge",icon:"BellIcon"})),t.EmptyResultsListCard=e=>l.createElement(t.MessageCard,{title:`No results for "${e.query}"`,subtitle:"Please try again."},l.createElement(d,{size:"xxlarge",icon:"CrossCircledIcon"})),t.LoadingCard=({message:e="Loading"})=>l.createElement(t.MessageCard,{title:e},l.createElement(s.Loader,{size:"xxlarge"}));const u=(0,c.default)(s.Box)`
607
+ align-items: center;
608
+ background: ${({theme:e})=>e.palette.background4};
609
+ border-radius: ${({theme:e})=>e.radius.base};
610
+ box-shadow: ${({theme:e})=>e.shadow.base};
611
+ flex-direction: column;
612
+ justify-content: center;
613
+ min-height: 128px;
614
+ padding: ${({theme:e})=>e.px.xxlarge};
615
+ text-align: center;
616
+ user-select: none;
617
+ width: 312px;
618
+ `,d=(0,c.default)(s.Icon)`
619
+ margin-bottom: ${({theme:e})=>e.px.base};
620
+ `},5232:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLabelText=void 0,t.getLabelText=(e,t)=>{var n,i;return(null==t?void 0:t.displayFieldRequirementStatus)?`${e.label} ${i=null===(n=e.validation)||void 0===n?void 0:n.required.arg,i?"(required)":"(optional)"}`:e.label}},5338:(e,t,n)=>{"use strict";var i=n(94);t.createRoot=i.createRoot,t.hydrateRoot=i.hydrateRoot},5356:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.StringWidgetSchemaMap=t.CheckboxGroupWidgetSchemaMap=t.RadioGroupWidgetSchemaMap=t.TimeWidgetSchemaMap=t.DateWidgetSchemaMap=t.BooleanWidgetSchemaMap=t.NumberWidgetSchemaMap=void 0;const a=r(n(4298)),l=n(3713),s=a.object({type:a.mixed().required().oneOf(Object.keys(l.WidgetType))}).required(),c=s.clone().shape({type:a.string().equals([l.WidgetType.Text]).required(),placeholder:a.string().optional(),multiline:a.boolean().optional(),rows:a.number().optional()}),u=s.clone().shape({type:a.string().equals([l.WidgetType.Number]).required(),placeholder:a.string(),min:a.number(),max:a.number(),currencyChar:a.string().optional(),decimalPlaces:a.number().optional(),step:a.number().optional()});t.NumberWidgetSchemaMap={Number:u};const d=s.clone().shape({type:a.mixed().equals([l.WidgetType.Toggle]).required()}),f=s.clone().shape({type:a.mixed().equals([l.WidgetType.Checkbox]).required()});t.BooleanWidgetSchemaMap={Toggle:d,Checkbox:f};const p=s.clone().shape({type:a.mixed().equals([l.WidgetType.Date]).required(),minDate:a.date().optional(),maxDate:a.date().optional()}),h=s.clone().shape({type:a.mixed().equals([l.WidgetType.Time]).required()});t.DateWidgetSchemaMap={Date:p},t.TimeWidgetSchemaMap={Time:h};const m=a.array().of(a.object({value:a.string().required(),label:a.string().required()})).test("more-than-one-element","Must have more than one item",(e=>!!e&&e.length>1)),b=s.clone().shape({type:a.mixed().equals([l.WidgetType.RadioGroup]).required(),group:m});t.RadioGroupWidgetSchemaMap={RadioGroup:b};const g=s.clone().shape({type:a.mixed().equals([l.WidgetType.CheckboxGroup]).required(),group:m}),v=s.clone().shape({type:a.string().equals([l.WidgetType.Dropdown]).required(),options:m,placeholder:a.string().optional()});t.CheckboxGroupWidgetSchemaMap={CheckboxGroup:g},t.StringWidgetSchemaMap={Text:c,Dropdown:v}},5387:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStateButtonOptionsOverrides=void 0;const i=n(9130);t.useStateButtonOptionsOverrides=(e,t)=>{var n,o,r,a,l,s,c,u,d,f,p,h,m;const b=(0,i.useSelector)((e=>e.activeForms)),g=new Array,v=null==b?void 0:b.forms.find((t=>t.notificationId===e)),y=!v||"not-submitted"===(null===(n=v.formStatusOptions)||void 0===n?void 0:n.formStatus),_="submitted"===(null===(o=null==v?void 0:v.formStatusOptions)||void 0===o?void 0:o.formStatus),x=!!(null==v?void 0:v.formStatusOptions);for(const n of t){let t=n?n.title:"";n&&v&&n.submit&&v.notificationId==e&&v.formStatusOptions&&("submitting"===v.formStatusOptions.formStatus?t=null!==(a=null===(r=n.formOptions)||void 0===r?void 0:r.submittingTitle)&&void 0!==a?a:t:"submitted"===(null===(l=v.formStatusOptions)||void 0===l?void 0:l.formStatus)?t=null!==(c=null===(s=n.formOptions)||void 0===s?void 0:s.successTitle)&&void 0!==c?c:t:"not-submitted"===(null===(u=v.formStatusOptions)||void 0===u?void 0:u.formStatus)&&(null===(d=null==v?void 0:v.formStatusOptions)||void 0===d?void 0:d.error)&&(t=null!==(p=null===(f=n.formOptions)||void 0===f?void 0:f.errorTitle)&&void 0!==p?p:t)),g.push({canSubmit:y,isSubmitted:_,buttonText:t,hasOverrides:x,formStatus:null!==(m=null===(h=null==v?void 0:v.formStatusOptions)||void 0===h?void 0:h.formStatus)&&void 0!==m?m:"not-submitted"})}return g}},5396:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.AppLogo=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(7250),u=n(8833);t.AppLogo=({src:e,alt:t,uuid:n=e,tooltip:i,size:o,className:r})=>{const a=(0,u.useLoaded)(e),s=null==t?void 0:t.substr(0,1),c=!!e&&a!==u.LoadState.ERROR,f=!c&&i?t:void 0,p=c?"transparent":function(e,t=70,n=50){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i),i|=0;return`hsl(${i%360}, ${t}%, ${n}%)`}(n);return l.createElement(d,{src:e,size:o,className:r,backgroundColor:p,title:f,"aria-hidden":!0},!c&&s)};const d=(0,s.default)(c.Icon)`
621
+ flex-shrink: 0;
622
+ user-select: none;
623
+ border-radius: ${({theme:e})=>e.radius.small};
624
+ background-image: url(${({src:e})=>e});
625
+ background-size: cover;
626
+ background-position: center;
627
+ background-repeat: no-repeat;
628
+ background-color: ${({backgroundColor:e})=>e};
629
+ margin-right: ${({theme:e})=>e.px.small};
630
+ text-transform: uppercase;
631
+ text-align: center;
632
+ font-weight: bold;
633
+ font-size: ${({size:e})=>c.FontSize[e]};
634
+ place-content: center;
635
+ place-items: center;
636
+ `},5425:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldNavigateToAll=t.getDefaultPlatform=t.getTargetOrError=t.isTargetAvailable=void 0;const i=n(7451);function o(e,t){const n=t.platform;return n?e.state.platform.list.get(n):void 0}t.isTargetAvailable=function(e,t){const n=o(e,t);return!n||n.active},t.getTargetOrError=async function(e,t){const n=o(e,t),r=!n||n.active;if(!r){const t=(null==n?void 0:n.id)||"";await e.dispatch(new i.PushError(t,`Please start the ${null==n?void 0:n.title} platform and try again.`))}return r},t.getDefaultPlatform=function(e){const t=e.getState(),n=(0,i.selectActivePlatforms)(t),o=t.platform.selected;let r;if(1===n.length){const i=n[0].id;e.state.notifications.length===t.platform.counts.get(i)&&(r=i)}return r===o?null:r},t.shouldNavigateToAll=function(e){const t=(0,i.selectActivePlatforms)(e);return t.length>1||t.length>0&&e.platform.counts.get(t[0].id)!==e.notifications.length}},5484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRaiseFieldAnalytics=void 0;const i=n(258),o=n(5932),r=n(8912),a=n(96),l={[r.FieldType.string]:e=>{const t=e;return t.widget.type===r.WidgetType.Dropdown?"Select Form Dropdown":t.widget.multiline?"Enter Form Textarea Input":"Enter Form Text Input"},[r.FieldType.boolean]:(e,t)=>e.widget.type===r.WidgetType.Checkbox?t?"Select Form Checkbox":"Deselect Form Checkbox":"Select Form Toggle",[r.FieldType.date]:e=>"Enter Form Date Input",[r.FieldType.time]:e=>"Enter Form Time Input",[r.FieldType.number]:e=>"Enter Form Number Input",[r.FieldType.checkboxGroup]:(e,t)=>t?"Select Form Checkbox":"Deselect Form Checkbox",[r.FieldType.radioGroup]:e=>"Select Form Radio Button"};t.useRaiseFieldAnalytics=(e,t,n,r)=>{const s=(0,i.useFormikContext)(),c=s.getFieldProps(e.key),u=s.touched[e.key],d=(0,o.useCallback)((0,a.debounce)(t,1e3),[t]);(0,o.useEffect)((()=>{u&&(r?function(e,t,n,i){const o=e.current,r=new Set;t&&t.forEach((e=>{r.add(e)})),o.forEach(((e,t)=>{const a=r.has(e.value);e.clicked!==a&&(n(i.label||i.key,l[i.type](i,a),e.value),o[t].clicked=a)}))}(r,c.value,t,e):d(e.label||e.key,l[e.type](e,c.value),n?n(c):c.value))}),[c.value,u,e,d])}},5718:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownWidgetComponent=void 0;const a=r(n(5932)),l=n(258),s=n(7250),c=n(7451),u=n(9130),d=n(1656),f=n(6464),p=n(7260),h=n(1971),m=n(5232),b=n(5484),g=n(9816),v=n(6415),y=({stringField:e,field:t,form:n,showModal:i,hideModal:o,formSettings:r,raiseAnalytics:l,mode:c})=>{var u;const y=e.widget.options.map((e=>({title:e.label,value:e.value})));(0,b.useRaiseFieldAnalytics)(e,l);const[_,x,O]=(0,d.useMenuModalDialog)((t=>{n.setFieldTouched(e.key,!0),n.setFieldValue(e.key,t)}),i,o,y,(e=>{var t;return{width:null===(t=null==e?void 0:e.current)||void 0===t?void 0:t.clientWidth,height:f.dropdownModalHeight}}),(()=>n.setFieldTouched(e.key,!0)),y.find((e=>e.value==t.value)),c,"menu"),{modalType:C,isMenuModalOpen:w}=a.default.useContext(v.WebModalContext);(0,a.useEffect)((()=>{var e;null===(e=O.current)||void 0===e||e.setAttribute("type","button")}),[O]);const j=n.errors[t.name]&&n.touched[t.name]?"critical":void 0;return a.default.createElement(p.InputContainer,{flexDirection:"column"},a.default.createElement(s.DropdownButton,{label:(0,m.getLabelText)(e,r),placeholder:null!==(u=e.widget.placeholder)&&void 0!==u?u:"Select",handleClick:()=>{x(!_)},key:t.name,selected:y.find((e=>e.value===t.value)),expanded:_,helperText:e.helperText,ref:O,status:j}),"web"===c&&"widget"===C&&w&&a.default.createElement(g.WebModalComponent,{mode:c}),a.default.createElement(h.ErrorLabel,{name:t.name}))};t.DropdownWidgetComponent=(0,u.connect)((e=>({mode:e.mode})),(e=>({showModal:t=>e(new c.ShowModal(t)),hideModal:t=>e(new c.HideModal(t))})))((e=>a.default.createElement(l.Field,{name:e.field.key,component:y,stringField:e.field,showModal:e.showModal,hideModal:e.hideModal,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics,mode:e.mode})))},5724:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.Body=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(2867);t.Body=l.memo((e=>{var t;let n=null!==(t=e.text)&&void 0!==t?t:"";n=n.replace(/http:/g,"https:");const i=l.useCallback((e=>{e&&e.querySelectorAll("img").forEach((e=>{var t;if(e.complete&&e.naturalWidth>0)return void(e.style.visibility="visible");const n=u(e);null===(t=e.parentElement)||void 0===t||t.insertBefore(n,e.nextElementSibling),e.onload=()=>{n.remove(),e.style.visibility="visible"},e.onerror=()=>{n.querySelector(".img-error-msg").style.display="block",n.querySelector(".img-error-alt").style.display="block",n.querySelector(".spinner").style.display="none"}}))}),[n]);return l.createElement(d,{className:"text",key:n.length,ref:i,dangerouslySetInnerHTML:{__html:(0,c.renderMarkdown)(n)}})})),t.Body.displayName="Body";const u=e=>{const t=`\n <div class="image-error">\n <span class="img-error-msg">Unable to load image:</span>\n <span class="img-error-alt">${e.getAttribute("alt")}</span>\n <div class="spinner" />\n </div>\n `,n=document.createElement("div");return n.innerHTML=t,n},d=s.default.div`
637
+ display: block;
638
+ overflow-x: hidden;
639
+ overflow-y: overlay;
640
+ font-size: 12px;
641
+ font-style: normal;
642
+ font-weight: 400;
643
+ line-height: 16px;
644
+ letter-spacing: 0px;
645
+ text-align: left;
646
+
647
+ * {
648
+ margin-bottom: 4px;
649
+ }
650
+
651
+ h1,
652
+ h2,
653
+ h3,
654
+ h4,
655
+ h5,
656
+ h6 {
657
+ font-weight: 600;
658
+ font-size: 12px;
659
+ }
660
+
661
+ strong {
662
+ font-weight: 600;
663
+ }
664
+
665
+ em {
666
+ font-style: italic;
667
+ }
668
+
669
+ ul,
670
+ ol {
671
+ margin: 5px 0;
672
+ width: 100%;
673
+ }
674
+
675
+ li {
676
+ list-style-position: inside;
677
+ display: list-item;
678
+ list-style-type: disc;
679
+ width: 100%;
680
+
681
+ li {
682
+ margin-left: 18px;
683
+ }
684
+ }
685
+
686
+ ol {
687
+ list-style-type: decimal;
688
+ li {
689
+ list-style-type: decimal;
690
+ }
691
+ }
692
+
693
+ blockquote {
694
+ border-left: 0.25em solid ${({theme:e})=>e.palette.textDefault};
695
+ padding: 0 8px;
696
+ }
697
+
698
+ img {
699
+ max-width: 100%;
700
+ visibility: hidden;
701
+ }
702
+
703
+ .image-error {
704
+ font-size: 12px;
705
+ line-height: 16px;
706
+ font-weight: normal;
707
+ color: ${({theme:e})=>e.palette.textDefault};
708
+ min-height: 20px;
709
+ display: flex;
710
+ flex-direction: column;
711
+ justify-content: space-evenly;
712
+ align-items: center;
713
+ overflow: hidden;
714
+ text-overflow: ellipsis;
715
+ width: 263px;
716
+ height: 85px;
717
+ margin: 4px auto;
718
+ border: 1px solid ${({theme:e})=>e.palette.background6};
719
+ border-radius: 4px;
720
+ background: ${({theme:e})=>e.palette.background4};
721
+ text-align: center;
722
+
723
+ .img-error-msg {
724
+ font-weight: bold;
725
+ display: none;
726
+ }
727
+
728
+ .img-error-alt {
729
+ font-style: italic;
730
+ display: none;
731
+ }
732
+
733
+ .spinner {
734
+ border: 5px solid transparent;
735
+ border-top: 5px solid ${({theme:e})=>e.palette.background6};
736
+ border-radius: 50%;
737
+ width: 40px;
738
+ height: 40px;
739
+ animation: spin 2s linear infinite;
740
+ }
741
+
742
+ @keyframes spin {
743
+ 0% {
744
+ transform: rotate(0deg);
745
+ }
746
+
747
+ 100% {
748
+ transform: rotate(360deg);
749
+ }
750
+ }
751
+ }
752
+ `},5738:e=>{"use strict";e.exports=h},5898:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.SettingsView=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(9130),u=n(7250),d=n(4084),f=n(1037),p=n(697),h=n(7451),m=n(4990),b=n(7234),g=n(4887),v=n(428),y=n(9588),_=n(930),x=n(660),O=n(7586),C=n(8740),w=(0,s.default)(u.Box)`
753
+ color: ${({theme:e})=>e.palette.textDefault};
754
+ overflow-x: hidden;
755
+ overflow-y: auto;
756
+ user-select: none;
757
+ height: 100%;
758
+ `,j=(0,s.default)(u.Box)`
759
+ border-bottom: 1px solid ${({theme:e})=>e.palette.background4};
760
+ margin: ${({theme:e})=>`${e.px.large} 0 0`};
761
+ padding: ${({theme:e})=>`0 ${e.px.large} ${e.px.large}`};
762
+ flex-direction: column;
763
+
764
+ &:last-child {
765
+ border-bottom: none;
766
+ padding-bottom: 0;
767
+ }
768
+ `,S=(0,s.default)(u.H2)`
769
+ margin-bottom: ${({theme:e})=>e.px.base};
770
+ `,P=(0,s.default)(u.Text)`
771
+ cursor: pointer;
772
+ text-align: center;
773
+ margin-top: ${({theme:e})=>e.px.small};
774
+
775
+ &:hover {
776
+ text-decoration: underline;
777
+ }
778
+ `,M=(0,s.default)(u.Box)`
779
+ border-left: 1px solid ${({theme:e})=>e.palette.background4};
780
+ padding-left: ${({theme:e})=>e.px.xlarge};
781
+ margin-left: calc(${({theme:e})=>e.px.base} - 1px); /* Offset 1px border */
782
+ flex-direction: column;
783
+ margin-bottom: 1rem;
784
+ `,E=(0,s.default)(u.Box)`
785
+ margin-bottom: ${({theme:e})=>e.px.small};
786
+ & > ${u.Text} {
787
+ margin-right: auto;
788
+ }
789
+
790
+ .spinner {
791
+ /* Min size so it doesn't change size on smaller numbers */
792
+ min-width: 100px;
793
+ }
794
+ `;t.SettingsView=(0,c.connect)((e=>{const t=Array.from(e.applications.values()).map((e=>({application:e,streams:[]})));return e.streams.forEach((e=>{var n;const i=t.find((t=>t.application.id===e.appId));i&&(null===(n=i.streams)||void 0===n||n.push(e))})),{appManagers:t,centerLocked:e.centerLocked,centerMuted:e.centerMuted,centerPosition:e.settings.centerPosition,mode:e.mode,notificationSoundEnabled:e.settings.notificationSoundEnabled,toastPosition:(0,b.selectActiveDisplayToastPosition)(e),toastDuration:e.settings.toastDuration}}),(e=>({toggleCenterLocked:()=>e(new h.ToggleCenterLocked),toggleCenterMuted:()=>e(new h.ToggleCenterMuted),toggleNotificationSound:()=>e(new b.ToggleNotificationSound),setCenterPosition:t=>e(new b.SetCenterPosition(t)),setToastPosition:t=>e(new _.RequestSetToastLocation(t)),updateAppMuteState:(t,n)=>e(new h.UpdateAppMuteState(t,n)),updateStreamMuteState:(t,n)=>e(new h.UpdateStreamMuteState(t,n)),setToastDuration:t=>e(new b.SetToastDuration(t)),raiseAnalyticsEvent:async(t,n)=>e(new h.RaiseAnalyticsEvent(t,n))})))((({appManagers:e,centerLocked:t,centerMuted:n,centerPosition:i,mode:o,notificationSoundEnabled:r,toastPosition:a,setToastPosition:s,setCenterPosition:c,toggleCenterLocked:h,toggleCenterMuted:b,toggleNotificationSound:_,updateAppMuteState:T,updateStreamMuteState:k,toastDuration:I,setToastDuration:D,raiseAnalyticsEvent:$})=>{const[N,A]=l.useState(!1),F=l.useContext(x.HistoryContext),R=e.length>g.settingsApplicationsCollapsedSize&&!N?g.settingsApplicationsCollapsedSize:e.length,B=e.slice(0,R),{raiseAnalyticsEventDelayed:L}=(0,m.useAnalyticsDebounce)(1e3,$);return l.createElement(w,{flexDirection:"column"},l.createElement(j,null,l.createElement(S,null,"Notification Center"),"desktop"===o&&l.createElement(l.Fragment,null,l.createElement(d.SettingsToggle,{title:"Auto-hide Center",state:!t,onChange:()=>{h(),null==$||$({type:"Settings",action:"Toggle Autohide",value:`${t}`,skipValueHashing:!0})},toggleId:"lock-link"}),l.createElement(d.SettingsToggle,{title:"Do Not Disturb",state:n,onChange:()=>{b(),null==$||$({type:"Settings",action:"Toggle Do Not Disturb",value:`${!n}`,skipValueHashing:!0})},toggleId:"mute-link"})),l.createElement(d.SettingsToggle,{title:"Play Sound For Notifications",state:!n&&r,onChange:()=>{_(),null==$||$({type:"Settings",action:"Toggle Play Sound",value:`${!r}`,skipValueHashing:!0})},toggleId:"notification-sound",disabled:n})),"desktop"===o&&l.createElement(l.Fragment,null,l.createElement(j,null,l.createElement(C.SettingsNavigationTitle,{title:"Advanced Settings",onClick:()=>{F.push(O.ROUTES.ADVANCED_SETTINGS)}})),l.createElement(j,null,l.createElement(y.DisplaySelector,{title:"Default Display",description:"This is the display where Notification Center will launch and all new notifications will appear.",raiseAnalyticsEvent:$})),l.createElement(j,null,l.createElement(f.CenterPositionSelector,{title:"Notification Center Position",id:"center-position",value:i,onChange:e=>{c(e),null==$||$({type:"Settings",action:"Change Notification Center Position",value:`${e}`,skipValueHashing:!0})}})),l.createElement(j,null,l.createElement(S,null,"Notification Toasts"),l.createElement(E,{flexDirection:"row"},l.createElement(u.Text,{id:"spinner-label",size:"large","aria-hidden":"true"},"Duration Time"),l.createElement(v.NumberSpinner,{className:"spinner",value:I/1e3|0,suffix:"sec",min:4,max:16,onChange:e=>{D(1e3*e),null==L||L({type:"Settings",action:"Change Toast Duration",value:`${e}`,skipValueHashing:!0})}})),l.createElement(p.ToastPositionSelector,{value:a,onChange:e=>{s(e),"custom"!==e.position&&(null==$||$({type:"Settings",action:"Change Toast Position",value:`${e.position}`,skipValueHashing:!0}))}})),l.createElement(j,null,l.createElement(S,null,"Manage Applications "),e.length>0&&B.map((({application:e,streams:t=[]},n)=>l.createElement("div",{key:`SettingsToggle-${n}`},l.createElement(d.SettingsToggle,{key:`SettingsToggle-Application-${n}`,iconUrl:e.iconUrl,state:!e.muted,title:e.title,onChange:n=>{!function(e,t=[]){const n=!e.muted;T(e,n),t.length>0&&t.forEach((e=>k(e,n)))}(e,t),null==$||$({type:"Settings",action:n.target.checked?"Unmute Application":"Mute Application",value:`${e.title}`})},toggleId:`mute-app-toggle-${e.id}`,showLogo:!0}),t.length>0&&l.createElement(M,null,null==t?void 0:t.map(((e,t)=>l.createElement(d.SettingsToggle,{key:`SettingsToggle-Stream-${t}`,state:!e.muted,title:e.displayName,onChange:()=>function(e){k(e,!e.muted)}(e),toggleId:`mute-stream-toggle-${e.id}`,subToggle:!0}))))))),e.length>g.settingsApplicationsCollapsedSize&&l.createElement(P,{id:"show-less-more-button",onClick:()=>A(!N)},N?"Show Fewer":"Show More"))))}))},5904:e=>{"use strict";e.exports=m},5915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5932:e=>{"use strict";e.exports=b},5966:e=>{"use strict";e.exports=g},5996:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTemplate=void 0,t.isTemplate=(e,t)=>e.template===t},6012:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.getAllStoredNotifications=t.isSticky=t.isStoredNotification=t.normalizeCmdOrCtrl=t.checkTolerance=t.clamp=void 0,t.clamp=function(e,t,n){return e<=t?t:e>=n?n:e},t.checkTolerance=function(e,t,n){return t<n+e&&t>n-e},t.normalizeCmdOrCtrl=function(e){return e.replace(/CmdOrCtrl/g,(e=>e.includes("Cmd")?"Cmd":"Ctrl")).replace(/(Cmd|Ctrl)/g,"CmdOrCtrl")},t.isStoredNotification=function(e){return!!e.notification},t.isSticky=function(e){return e.toast?"sticky"===e.toast:"sticky"===e.sticky},t.getAllStoredNotifications=function(e){return[...e.notifications,...e.reminders]},o(n(5172),t)},6075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const i=n(5932),o=n(9130);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,i.useRef)(null);return(0,i.useCallback)((n=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(n)}),500)}),[e])}},6099:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeId=t.hydrateNotification=void 0;const i=n(2867),o=n(512),r=n(5996),a=n(790),l=n(6188);function s(e,t){return`${t.uuid}:${e}`}t.hydrateNotification=function(e,t,n){var c,u;null!==(c=e.template)&&void 0!==c||(e.template="markdown");const d=l.TemplateSchemaMap[e.template];if(!d)throw new Error(`Unrecognized notification template name, must be one of: ${Object.values(o.TemplateNames).join(",")}`);const f=d.validateSync(e),p=null!=n?n:"desktop"===t.type?s(f.id,t.identity):f.id,h=(0,r.isTemplate)(f,"markdown")?(0,i.getMarkdownTextContent)(f.body):"";return(0,r.isTemplate)(f,"custom")&&(0,a.validateTemplateData)(f,!(null===(u=e.indicator)||void 0===u?void 0:u.color)),{id:p,notification:f,source:t,bodyText:h,title:""}},t.encodeId=s},6188:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.generateId=t.TemplateSchemaMap=t.CustomTemplateDataSchema=t.ButtonsSchema=t.ButtonOptionsSchema=t.IndicatorSchema=t.StreamSchema=void 0;const a=r(n(4298)),l=n(6865),s=n(3694),c=n(4415),u=n(2984),d=n(3413);t.StreamSchema=a.object({displayName:a.string().required(),id:a.string().required(),appId:a.string().required()}).label("Stream");const f=a.mixed().oneOf(Object.values(l.IndicatorType)).optional(),p=a.mixed().optional().when("type",((e,t)=>t.default(e))),h=a.mixed().oneOf(Object.values(l.IndicatorColor)).optional().when("type",((e,t)=>{switch(e){case l.IndicatorType.FAILURE:return t.default(l.IndicatorColor.RED);case l.IndicatorType.WARNING:return t.default(l.IndicatorColor.YELLOW);case l.IndicatorType.SUCCESS:return t.default(l.IndicatorColor.GREEN)}})).default(l.IndicatorColor.RED),m=a.string().required().default(l.IndicatorColor.RED),b=a.mixed().oneOf(Object.values(l.IndicatorColor)).required(),g=a.object({type:f,text:p,color:h}),v=a.object({type:f,text:p,color:m,fallback:b});t.IndicatorSchema=a.mixed().when({is:e=>{return(null==e?void 0:e.color)&&(t=null==e?void 0:e.color)&&!Object.values(l.IndicatorColor).includes(t);var t},then:v.optional().default(null).nullable(),otherwise:g.optional().default(null).nullable()}).label("Indicator"),t.ButtonOptionsSchema=a.object({type:a.mixed().default("button"),title:a.string().required(),cta:a.boolean().default(!1),iconUrl:a.string().default(""),index:a.number(),onClick:a.mixed().nullable(),submit:a.boolean().default(!1),formOptions:a.object({submittingTitle:a.string().nullable(),errorTitle:a.string().nullable(),successTitle:a.string().nullable()}).nullable()}).label("ButtonOptions"),t.ButtonsSchema=a.array().of(t.ButtonOptionsSchema).transform(((e=[])=>e.map(((e,t)=>Object.assign(Object.assign({},e),{type:"button",index:t}))))).test("Max 8 buttons","Max 8 buttons allowed",((e=[])=>e.length<=8)).test("Max 4 CTA buttons","Max 4 CTA buttons allowed",((e=[])=>(null==e?void 0:e.filter((e=>e.cta)).length)<=4)).test("Max 4 non-CTA buttons","Max 4 non-CTA buttons allowed",((e=[])=>(null==e?void 0:e.filter((e=>!e.cta)).length)<=4)).default([]);const y=a.object({id:a.string().default((()=>C())),template:a.mixed().oneOf(Object.values(c.TemplateNames)).optional().default("markdown"),title:a.string().defined(),category:a.string().optional().default("default"),allowReminder:a.boolean().default(!0),indicator:t.IndicatorSchema,icon:a.string().default(""),priority:a.number().min(1).max(4).default(1),customData:a.object().optional().default({}),sticky:a.mixed(),toast:a.mixed(),date:a.number().default((()=>Date.now())),expires:a.number().nullable().default(null),stream:t.StreamSchema.nullable().optional().default(null),platform:a.string().nullable().optional(),onSelect:a.object().nullable().default(null),onClose:a.object().nullable().default(null),onExpire:a.object().nullable().default(null),buttons:t.ButtonsSchema.clone(),soundOptions:a.object({mode:a.mixed().required().default("default")}).default({mode:"default"})}).transform((e=>(e.sticky||e.toast||(e.toast="transient"),e))).required(),_=y.clone().omit(["form"]).shape({template:a.mixed().required(),body:a.string().defined(),form:s.templateMarkDownFormSchema}).label("Notification (Markdown)"),x=y.clone().omit(["template"]).shape({template:a.mixed().required(),list:a.mixed().required().test({name:"List object",message:"Invalid list object",test:e=>{if("object"!=typeof e)throw new Error("Not an object");return Object.entries(null!=e?e:{}).every((([e,t])=>"string"==typeof e&&"string"==typeof t))}})}).label("Notification (List)"),O=y.clone().omit(["template","form"]).shape({template:a.mixed().required(),form:s.templateCustomFormSchema,templateOptions:a.object().shape({body:a.object().shape({fallbackText:a.string().optional(),compositions:a.array().required().min(1).of(a.object().shape({minTemplateAPIVersion:a.string().required().test({name:"Template API Version",message:"Minimum Template API version must be a positive integer",test:e=>/^[0-9]+$/.test(e||"")&&"0"!==e}),layout:a.mixed().required()}))}).required(),indicator:a.object({align:a.mixed().oneOf(["center","left","right"]).optional(),color:a.mixed().oneOf(Object.values(l.IndicatorColor)).optional()}).optional(),buttons:a.object({align:a.mixed().oneOf(["center","left","right"]).optional()}).optional()}).required(),templateData:a.object().required()}).label("Notification (Custom)");function C(){return(0,d.randomUUID)()}t.CustomTemplateDataSchema=a.mixed().test({name:"Custom Template Data",message:"Custom Template Data Validation Error",test:function(e){var t,n;const i=null===(n=null===(t=this.options)||void 0===t?void 0:t.context)||void 0===n?void 0:n.fragments,o=null!=e?e:{},r=Object.values(c.TemplateFragmentNames).filter((e=>"container"!=e)),a=e=>{if(e.style){if(e.style.constructor!==Object)throw new Error('"style" property must be an object type.');for(const t in e.style){const n=e.style[t];if("string"!=typeof n&&"number"!=typeof n)throw new Error('"style" object\'s values must be a string or a number type.');if("string"==typeof n&&"position"===t.trim()&&"fixed"===n.trim())throw new Error(`"${t}: ${n}" style is not allowed in fragments.`)}}};return i.containerFragments.forEach((e=>{if(e.children&&!Array.isArray(e.children))throw new Error('container fragment\'s "children" property must be an array type.');a(e)})),i.presentationFragments.forEach((e=>{if(!r.includes(e.type))throw new Error(`Unsupported fragment type (${e.type}) in composition. (Template API Version: ${(0,u.getTemplateAPIVersion)()})`);if(!e.dataKey||"string"!=typeof e.dataKey)throw new Error('"dataKey" property must be a string type and is required field for all presentation fragment types.');if(e.optional&&"boolean"!=typeof e.optional)throw new Error('"optional" property must be a boolean type.');const t=o[e.dataKey];if(!e.optional&&!t)throw new Error(`templateData["${e.dataKey}"] is not optional and must exist in template data.`);if(t){if(("text"===e.type||"image"===e.type)&&"string"!=typeof t)throw new Error(`templateData["${e.dataKey}"] is referred by a ${e.type} fragment and must be a string type.`);if("list"===e.type&&(!Array.isArray(t)||t.some((e=>2!==e.length||"string"!=typeof e[0]||"string"!=typeof e[1]))))throw new Error(`templateData["${e.dataKey}"] is referred by a list fragment and must be a ListPairs (Array of [string, string]) type.`)}a(e)})),!0}}).label("Custom Template Data"),t.TemplateSchemaMap={[c.TemplateNames.markdown]:_,[c.TemplateNames.list]:x,[c.TemplateNames.custom]:O},t.generateId=C},6318:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TimeWidgetComponent=t.TimeWidgetComponentConnected=void 0;const o=i(n(5932)),r=n(9130),a=n(7451),l=n(258),s=n(7250),c=n(1656),u=n(6464),d=n(4691),f=n(7260),p=n(1971),h=n(5232),m=n(5484),b=n(9816),g=n(6415),v=Array.from(Array(24).keys()).map((e=>({title:`${e%12||12}:00 ${e>=12?"PM":"AM"}`,value:`${e.toString().padStart(2,"0")}:00`})));t.TimeWidgetComponentConnected=e=>o.default.createElement(l.Field,{name:e.field.key,component:y,timeField:e.field,showModal:e.showModal,hideModal:e.hideModal,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics,mode:e.mode});const y=({field:e,showModal:t,hideModal:n,timeField:i,form:r,formSettings:a,raiseAnalytics:l,mode:y})=>{const _=e.value?(0,d.convertTo24HourFormat)(e.value):void 0;(0,m.useRaiseFieldAnalytics)(i,l,(e=>(0,d.convertTo24HourFormat)(e.value)));const[x,O,C,w]=(0,c.useMenuModalDialog)((e=>{r.setFieldTouched(i.key,!0),r.setFieldValue(i.key,(0,d.convertFrom24HourFormat)(e))}),t,n,v,(e=>{var t;return{width:null===(t=null==e?void 0:e.current)||void 0===t?void 0:t.clientWidth,height:u.dropdownModalHeight}}),(()=>r.setFieldTouched(i.key,!0)),v.find((t=>e.value&&t.value==_)),y,"time"),{modalType:j,isTimePickerModalOpen:S}=o.default.useContext(g.WebModalContext),P=r.errors[e.name]&&r.touched[e.name]?"critical":void 0;return o.default.createElement(f.InputContainer,{flexDirection:"column"},o.default.createElement(s.DateInput,{label:(0,h.getLabelText)(i,a),key:`${i.key}-${w}`,value:_,type:"time",ref:C,helperText:i.helperText,onExpand:()=>O(!x),expanded:x,status:P,onChange:e=>r.setFieldValue(i.key,(0,d.convertFrom24HourFormat)(e.target.value))}),"web"===y&&"widget"===j&&S&&o.default.createElement(b.WebModalComponent,{mode:y}),o.default.createElement(p.ErrorLabel,{name:e.name}))};t.TimeWidgetComponent=(0,r.connect)((e=>({mode:e.mode})),(e=>({showModal:t=>e(new a.ShowModal(t)),hideModal:t=>e(new a.HideModal(t))})))(t.TimeWidgetComponentConnected)},6345:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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 l=n(7250),s=r(n(5932)),c=n(9130),u=a(n(2230)),d=n(4800),f=n(7451),p=n(2471),h=n(4896),m=n(6764),b=n(6834),g=n(8318),v=n(8904),y=n(3264),_=n(660),x=n(9136),O=n(7586),C=n(925),w=(0,u.default)(l.Box)`
795
+ background: ${({theme:e})=>e.palette.background2};
796
+ border: 1px solid ${({theme:e})=>e.palette.background4};
797
+ height: 100%;
798
+
799
+ &:after {
800
+ position: absolute;
801
+ content: '';
802
+ pointer-events: none;
803
+ top: 1px;
804
+ left: 1px;
805
+ right: 1px;
806
+ bottom: 1px;
807
+ box-shadow: 0 0 1px 1px ${({theme:e})=>e.palette.background4};
808
+ }
809
+ `,j=u.default.div`
810
+ margin: ${({theme:e})=>e.px.large} auto;
811
+ `;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 p.SetSearchMode(t)),searchNotifications:t=>e(new p.SearchNotifications(t)),clearSearch:()=>e(new p.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:i,platforms:o,searchMode:r,searchQuery:a,visible:c,errors:u,category:f,clearSearch:p,removeNotifications:S,setSearchMode:P,searchNotifications:M,closeCenter:E,dismissError:T,raiseAnalyticsEvent:k})=>{const I=s.useContext(_.HistoryContext),D=s.useContext(x.WindowContext);s.useEffect((()=>{D.document.title="Center"}),[]);const $=s.useCallback((()=>{S("reminders"===f?t:e),null==k||k({type:"Center",action:"Clear All",skipValueHashing:!0})}),[e,t,S,f]),N=r?()=>P(!1):void 0;return s.createElement(w,{flexDirection:"column",flexGrow:1,"data-testid":"notifications-panel-container"},s.createElement(C.GlobalProviderStyles,null),s.createElement(m.Header,{title:"Notifications",onBack:N,onClose:E,badgeCount:e.length},s.createElement(d.HeaderButton,{"aria-label":"Search",onClick:()=>{P(!r),null==k||k({type:"Center",action:"Select Search",skipValueHashing:!0})}},s.createElement(l.Icon,{icon:"MagnifyingGlassIcon",size:"base"})),s.createElement(d.HeaderButton,{"aria-label":"Settings",onClick:()=>{r&&P(!1),I.push(O.ROUTES.SETTINGS)}},s.createElement(l.Icon,{icon:"GearIcon",size:"base"}))),s.createElement(h.ErrorPanel,{errors:u,onDismiss:e=>{T(e)}}),s.createElement(g.PlatformsPanel,null),r?s.createElement(j,null,s.createElement(y.TextInput,{onChange:e=>{e.value.length>0?M(e.value.trim()):p()},clearControl:!0,focusOnMount:!0,icon:"MagnifyingGlassIcon",placeholder:"Search within your Notifications"})):s.createElement(v.CategoriesPanel,{onClearAll:$}),c?s.createElement(b.NotificationView,{id:"notification-panel-view",reminders:t,notifications:e,searchMode:r,searchString:a,applications:n,streams:i,platforms:o}):s.createElement(s.Fragment,null))}))},6370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFormContainerExpander=void 0;const i=n(9130),o=n(5932),r=n(7953),a=n(7216),l=n(1827);t.useFormContainerExpander=e=>{const t=(0,i.useSelector)((e=>e.activeForms)),n=t&&t.focusedFormNotificationId==e,s=(0,i.useDispatch)(),c=(0,o.useContext)(r.ResizeContext);return(0,o.useEffect)((()=>{"emitResize"in c&&setTimeout((()=>c.emitResize()),200)}),[c,n]),(0,o.useEffect)((()=>()=>{n&&s(new a.NotificationFormEditComplete)}),[]),[!!n,()=>s(n?new a.NotificationFormEditComplete:new l.NotificationFormEditStart(e))]}},6406:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.AdvancedSettingsView=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(9130),u=n(7250),d=n(7234),f=n(7451),p=(0,s.default)(u.Box)`
812
+ background-color: ${({theme:e})=>e.palette.background6};
813
+ padding-left: ${({theme:e})=>e.px.small};
814
+ padding-right: ${({theme:e})=>e.px.small};
815
+ `,h=(0,s.default)(u.Box)`
816
+ border-top: 1px solid ${({theme:e})=>e.palette.background4};
817
+ flex-direction: column;
818
+ gap: ${({theme:e})=>e.px.large};
819
+ padding: ${({theme:e})=>`${e.px.large} ${e.px.large}`};
820
+ `,m=(0,s.default)(u.Box)`
821
+ align-items: center;
822
+ justify-content: space-between;
823
+ flex-direction: flex;
824
+ gap: ${({theme:e})=>e.px.large};
825
+ `,b=(0,s.default)(u.Box)`
826
+ flex-direction: column;
827
+ gap: ${({theme:e})=>e.px.large};
828
+ `,g=(0,s.default)(u.Text).attrs({weight:"bold"})`
829
+ margin-bottom: ${({theme:e})=>`${e.px.xsmall}`};
830
+ `,v=(0,s.default)(u.Box)`
831
+ padding: ${({theme:e})=>`${e.px.large} ${e.px.large} 0 ${e.px.large}`};
832
+ flex-direction: column;
833
+ `;t.AdvancedSettingsView=(0,c.connect)((e=>({clearFiltersOnCenterShow:e.settings.clearFiltersOnCenterShow,clearFiltersOnShortcutCenterShow:e.settings.clearFiltersOnShortcutCenterShow,userDefaultShortcut:e.settings.userDefaultShortcut,platformDefaultShortcut:e.settings.platformDefaultShortcut,keyboardShortcutToOpenEnabled:e.settings.keyboardShortcutToOpenEnabled})),(e=>({toggleClearFiltersOnCenterShow:t=>e(new d.ToggleClearFiltersOnCenterShow(t)),toggleClearFiltersOnShortcutCenterShow:t=>e(new d.ToggleClearFiltersOnShortcutCenterShow(t)),toggleKeyboardShortcutToOpenEnabled:t=>e(new d.ToggleKeyboardShortcutToOpenEnabled(t)),setUserDefaultShortcut:(t,n)=>e(new d.SetUserDefaultShortcut(t,n)),raiseAnalyticsEvent:async t=>e(new f.RaiseAnalyticsEvent(t))})))((({clearFiltersOnCenterShow:e,toggleClearFiltersOnCenterShow:t,raiseAnalyticsEvent:n,toggleClearFiltersOnShortcutCenterShow:i,toggleKeyboardShortcutToOpenEnabled:o,userDefaultShortcut:r,setUserDefaultShortcut:a,platformDefaultShortcut:s,keyboardShortcutToOpenEnabled:c,clearFiltersOnShortcutCenterShow:f})=>{const[y,_]=l.useState(!1),[x,O]=l.useState(new Set),C=l.useRef(null),w=e=>window.navigator.userAgent.toLowerCase().includes("windows")?e.replace("CmdOrCtrl","Ctrl"):e.replace("CmdOrCtrl","Cmd"),j=w(s||d.openFinDefaultShortcut),S=w(r||j),[P,M]=l.useState(w(S));return l.useEffect((()=>{y&&C.current&&(C.current.focus(),O(new Set))}),[y]),l.createElement(b,null,l.createElement(v,null,l.createElement(g,null,"Notification Center Behavior when opened"),l.createElement(u.RadioGroup,{direction:"column",name:"clear-filters-on-open",value:e?"reset":"remember",onChange:e=>{var i;t("reset"===e.target.value),i="reset"!==e.target.value,null==n||n({type:"Settings",action:"Keep Filters",value:i?"True":"False",skipValueHashing:!0})}},l.createElement(u.RadioInput,{label:"Remember previous state",value:"remember"}),l.createElement(u.RadioInput,{label:"Reset to default",value:"reset"}))),l.createElement(v,null,l.createElement(m,null,l.createElement(g,null,"Enable keyboard shortcut to open Notification Center"),l.createElement(u.Toggle,{checked:c,onChange:()=>o(!c)})),c&&l.createElement(l.Fragment,null,l.createElement(m,null,l.createElement(p,null,P),l.createElement(u.Box,{display:"flex"},l.createElement(u.Button,{kind:"secondary",onClick:()=>{y?(_(!1),""!==P?a(P,r):M(S),_(!y)):_(!y)}},y?"Save Shortcut":l.createElement(l.Fragment,null,l.createElement(u.Icon,{size:"small",icon:"Pencil1Icon"})," Edit")))),y&&l.createElement(u.TextInput,{onKeyDown:e=>{if(x.size<4){e.preventDefault();const t=1===e.key.length?e.key.toUpperCase():e.key,n=new Set(x).add(t);O(n),(e=>{const t={Control:"Ctrl",Command:"Cmd"," ":"Space",ArrowUp:"Up",ArrowDown:"Down",ArrowLeft:"Left",ArrowRight:"Right"},n=Array.from(e).map((e=>t[e]||e)).join(" + ");M(n)})(n)}},onKeyUp:e=>{x.delete(1===e.key.length?e.key.toUpperCase():e.key),O(new Set(x))},ref:C,style:{marginTop:"5px"},value:P}))),c&&l.createElement(v,null,l.createElement(g,null,"Notification Center behavior when opened with a keyboard shortcut"),l.createElement(u.RadioGroup,{direction:"column",name:"clear-filters-on-shortcut-open",value:f?"reset":"remember",onChange:e=>i("reset"===e.target.value)},l.createElement(u.RadioInput,{label:"Remember previous state",value:"remember"}),l.createElement(u.RadioInput,{label:"Reset to default",value:"reset"}))),l.createElement(h,null,l.createElement(u.Button,{kind:"secondary",onClick:()=>{t(!1),i(!0),o(!0),a("",P),M(j)}},"Restore Default Preferences")))}))},6415:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.WebModalContextProvider=t.WebModalContext=void 0;const a=r(n(5932));t.WebModalContext=(0,a.createContext)({isMenuModalOpen:!1,setIsMenuModalOpen:()=>{},menuConfig:null,setMenuConfig:()=>{},isCustomReminderModalOpen:!1,setIsCustomReminderModalOpen:()=>{},customReminderConfig:null,setCustomReminderConfig:()=>{},isDatePickerModalOpen:!1,setIsDatePickerModalOpen:()=>{},datePickerConfig:null,setDatePickerConfig:()=>{},isTimePickerModalOpen:!1,setIsTimePickerModalOpen:()=>{},timePickerConfig:null,setTimePickerConfig:()=>{},modalType:null,setModalType:()=>{}}),t.WebModalContextProvider=({children:e})=>{const[n,i]=(0,a.useState)(!1),[o,r]=(0,a.useState)(null),[l,s]=(0,a.useState)(!1),[c,u]=(0,a.useState)(null),[d,f]=(0,a.useState)(!1),[p,h]=(0,a.useState)(null),[m,b]=(0,a.useState)(!1),[g,v]=(0,a.useState)(null),[y,_]=(0,a.useState)(null);return a.default.createElement(t.WebModalContext.Provider,{value:{isMenuModalOpen:n,menuConfig:o,setIsMenuModalOpen:i,setMenuConfig:r,isCustomReminderModalOpen:l,customReminderConfig:c,setIsCustomReminderModalOpen:s,setCustomReminderConfig:u,isDatePickerModalOpen:d,datePickerConfig:p,setIsDatePickerModalOpen:f,setDatePickerConfig:h,isTimePickerModalOpen:m,timePickerConfig:g,setIsTimePickerModalOpen:b,setTimePickerConfig:v,modalType:y,setModalType:_}},e)}},6430:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFormikErrorCount=void 0,t.getFormikErrorCount=e=>{const{errors:t,touched:n}=e;return Object.entries(t).map((([e])=>n[e])).filter((e=>e)).length}},6451:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isConnectedToAtLeast=t.getStatus=void 0;const o=i(n(7530)),r=n(5966),a=n(3816),l=n(9603);function s(){return(0,r.withStrictTimeout)(500,(0,a.tryServiceDispatch)(l.APITopic.GET_PROVIDER_STATUS,void 0),"").catch((()=>({connected:!1,version:null,templateAPIVersion:null})))}t.getStatus=s,t.isConnectedToAtLeast=async function(e){const t=await s();if(t.connected&&null!==t.version){const n=(0,o.default)(t.version,e);if(0===n||1===n)return!0}return!1}},6452:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Router=void 0;const a=r(n(5932)),l=n(260),s=n(978);t.Router=({history:e,routes:t=[]})=>a.createElement(s.Router,{history:e},a.createElement(l.Switch,null,t.map(c)));const c=e=>{const{path:t,exact:n,Component:i}=e;return a.createElement(l.Route,{key:t,component:i,exact:n,path:t})}},6455:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ActionBodyClickType=t.ActionNoopType=t.ActionTrigger=void 0,(n=t.ActionTrigger||(t.ActionTrigger={})).CONTROL="control",n.SELECT="select",n.CLOSE="close",n.EXPIRE="expire",n.PROGRAMMATIC="programmatic",(t.ActionNoopType||(t.ActionNoopType={})).EVENT_DISMISS="event_dismiss",(t.ActionBodyClickType||(t.ActionBodyClickType={})).DISMISS_EVENT="dismiss_event"},6460:function(e,t,n){"use strict";var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FadeTransition=void 0;const r=o(n(5932)),a=o(n(2230)),l=n(524);t.FadeTransition=e=>{var{children:t}=e,n=i(e,["children"]);const o=r.default.useRef(null);return r.default.createElement(l.Transition,Object.assign({},n,{nodeRef:o}),(e=>r.default.createElement(s,{ref:o,state:e},t)))};const s=a.default.div`
834
+ transition: 200ms;
835
+ opacity: ${({state:e})=>"entered"===e?1:0};
836
+ display: ${({state:e})=>"exited"===e?"none":"block"};
837
+ `},6464:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultCalendarWidth=t.dropdownModalWidth=t.dropdownModalHeight=t.modalWidth=void 0,t.modalWidth=312,t.dropdownModalHeight=272,t.dropdownModalWidth=285,t.defaultCalendarWidth=230},6476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WaitQueue=void 0;const i=n(5966);t.WaitQueue=class{constructor(){this.waiting=!1,this.root=null,this.current=null}get isLocked(){return this.waiting}wait(){this.waiting=!0,this.root||(this.root=this.current=new i.DeferredPromise)}async signal(){this.waiting=!1,this.release(this.root);const e=this.current;this.root=this.current=null,await(null==e?void 0:e.promise)}async lock(){if(!this.waiting)return null;let e=null;const t=this.current;return t&&(this.current=e=new i.DeferredPromise,await t.promise),e}release(e){e&&e.resolve()}}},6542:e=>{"use strict";e.exports=v},6566:e=>{"use strict";e.exports=y},6630:function(e,t,n){"use strict";var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextWidgetComponent=void 0;const r=o(n(5932)),a=n(258),l=n(7260),s=n(8912),c=n(1971),u=n(7250),d=n(5232),f=n(5484);t.TextWidgetComponent=e=>{const{key:t}=e.field;return r.default.createElement(a.Field,{name:t,component:p,tabIndex:e.tabIndexOverride,formSettings:e.formSettings,notificationField:e.field,raiseAnalytics:e.raiseAnalytics})};const p=e=>{const{raiseAnalytics:t,field:n,form:o,notificationField:a,formSettings:p}=e,h=i(e,["raiseAnalytics","field","form","notificationField","formSettings"]),{placeholder:m,multiline:b,rows:g}=a.widget,v=o.errors[n.name];(0,f.useRaiseFieldAnalytics)(a,t);const y=()=>{o.touched[n.name]||o.setFieldTouched(n.name)};return r.default.createElement(l.InputContainer,{flexDirection:"column"},!b&&r.default.createElement(u.TextInput,Object.assign({label:(0,d.getLabelText)(a,p),"aria-label":(0,d.getLabelText)(a,p),type:"text",helperText:a.helperText,onChangeCapture:y,autoComplete:"off",placeholder:m,status:v&&o.touched[n.name]?"critical":void 0,"data-type":s.StringWidgetType.Text},h,n)),b&&r.default.createElement(u.TextArea,Object.assign({label:(0,d.getLabelText)(a,p),"aria-label":(0,d.getLabelText)(a,p),onChangeCapture:y,autoComplete:"off",placeholder:m,"data-type":s.StringWidgetType.Text,helperText:a.helperText,rows:g},h,n)),r.default.createElement(c.ErrorLabel,{name:n.name}))}},6684:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateMarkdownComponent=void 0;const o=n(7250),r=i(n(5932)),a=i(n(2230)),l=n(164),s=n(5724);t.TemplateMarkdownComponent=({notification:e,templateContent:t,submitForm:n=()=>null,tabIndexOverride:i,isToast:o})=>r.default.createElement(c,{flexDirection:"column"},r.default.createElement(u,null,r.default.createElement(s.Body,{text:e.notification.body})),e.notification.form&&r.default.createElement(l.NotificationForm,{templateContent:t,tabIndexOverride:i,notification:e,onSubmit:n,isToast:o}));const c=(0,a.default)(o.Box)`
838
+ width: 100%;
839
+ `,u=(0,a.default)(o.Box)`
840
+ padding-right: ${e=>e.theme.px.base};
841
+ padding-left: ${e=>e.theme.px.base};
842
+ `},6731:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Groups=void 0;const o=i(n(5932)),r=n(2191),a=i(n(2230)),l=n(6460),s=n(524),c=n(4182);t.Groups=({groupData:e,hasControls:t=!0,onKeyDown:n})=>{const i=(0,r.isLayered)(e),a=i?e.layers:e.sections;return o.default.createElement(u,null,a.map((e=>o.default.createElement(l.FadeTransition,{key:e.key,timeout:200},o.default.createElement(d,null,o.default.createElement(c.Group,{source:e,isLayered:i,hasControls:t,onKeyDown:null==n?void 0:n(e.key)}))))))};const u=(0,a.default)(s.TransitionGroup)`
843
+ display: flex;
844
+ flex-direction: column;
845
+ gap: ${({theme:e})=>e.px.xsmall};
846
+ `,d=a.default.div`
847
+ align-self: center;
848
+ width: 100%;
849
+ position: sticky;
850
+ &:not(:first-child) {
851
+ margin-top: ${({theme:e})=>e.px.small};
852
+ }
853
+ &:last-of-type {
854
+ margin-bottom: ${({theme:e})=>e.px.large};
855
+ }
856
+ `},6764:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.Header=t.NonDraggableHeader=t.DraggableHeader=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(7250),u=n(5396),d=n(4800);t.DraggableHeader=e=>{var t;return l.createElement(b,null,l.createElement(g,{justifyContent:"space-between",alignItems:"center"},l.createElement(y,{alignItems:"center",windowDrag:!0},e.icon&&l.createElement(f,{size:"xlarge",src:e.icon,"aria-label":"logo",alt:null!==(t=e.title)&&void 0!==t?t:""}),l.createElement(v,{as:"h1",size:"large",leftPad:!e.icon,weight:"bold"},e.title),!!e.badgeCount&&e.badgeCount>0&&l.createElement(c.Badge,{count:e.badgeCount,className:"badge",max:99}),l.createElement(h,{href:"#notification-panel-view","aria-label":`${e.badgeCount} notifications - skip to content`})),l.createElement(m,{justifyContent:"center",alignItems:"center"},e.onClose&&l.createElement(d.HeaderButton,{onClick:e.onClose,"aria-label":"close",className:"closeButton"},l.createElement(c.Icon,{icon:"Cross1Icon",size:"base"})))))},t.NonDraggableHeader=e=>l.createElement(b,null,l.createElement(g,{justifyContent:"space-between",alignItems:"center"},l.createElement(y,{alignItems:"center"},e.onBack&&l.createElement(p,null,l.createElement(d.HeaderButton,{autoFocus:!0,"aria-label":"back",onClick:e.onBack},l.createElement(c.Icon,{icon:"ArrowLeftIcon",size:"base"}))),l.createElement(v,{as:"h1",size:"large",leftPad:!e.onBack,weight:"bold"},e.title),!!e.badgeCount&&e.badgeCount>0&&l.createElement(c.Badge,{count:e.badgeCount,className:"badge",max:99}),l.createElement(h,{href:"#notification-panel-view","aria-label":`${e.badgeCount} notifications - skip to content`})),l.createElement(m,{justifyContent:"center",alignItems:"center"},e.children,e.onClose&&l.createElement(d.HeaderButton,{onClick:e.onClose,"aria-label":"close",className:"closeButton"},l.createElement(c.Icon,{icon:"Cross1Icon",size:"base"}))))),t.Header=e=>e.draggable?l.createElement(t.DraggableHeader,Object.assign({},e)):l.createElement(t.NonDraggableHeader,Object.assign({},e));const f=(0,s.default)(u.AppLogo)`
857
+ margin-left: ${({theme:e})=>e.px.small};
858
+ `,p=s.default.div`
859
+ margin-right: ${({theme:e})=>e.px.small};
860
+ `,h=s.default.a`
861
+ clip: rect(0 0 0 0);
862
+ clip-path: inset(50%);
863
+ height: 1px;
864
+ overflow: hidden;
865
+ position: absolute;
866
+ white-space: nowrap;
867
+ width: 1px;
868
+ list-style: none;
869
+ `,m=(0,s.default)(c.Box)`
870
+ margin-left: ${({theme:e})=>e.px.small};
871
+ height: ${({theme:e})=>e.px.xxxlarge};
872
+ `,b=(0,s.default)(c.Box)`
873
+ padding: 0 0;
874
+ height: ${({theme:e})=>e.px.xxxlarge};
875
+ border-bottom: 1px solid ${({theme:e})=>e.palette.background4};
876
+ user-select: none;
877
+ width: 100%;
878
+
879
+ ${c.Icon} {
880
+ /* prevent icon from squishing when title text is too long. */
881
+ min-width: ${e=>e.theme.px.xlarge};
882
+ }
883
+
884
+ .badge {
885
+ margin-left: ${({theme:e})=>e.px.base};
886
+ margin-right: auto;
887
+ }
888
+ `,g=(0,s.default)(c.Box)`
889
+ height: 100%;
890
+ width: 100%;
891
+ `,v=(0,s.default)(c.Text)`
892
+ padding-left: ${({leftPad:e,theme:t})=>e?t.px.large:0};
893
+ ${c.Mixins.textOverflow};
894
+ `,y=(0,s.default)(c.Box)`
895
+ white-space: nowrap;
896
+ text-overflow: ellipsis;
897
+ overflow: hidden;
898
+ word-wrap: break-word;
899
+ -webkit-app-region: ${e=>e.windowDrag?"drag":"no-drag"};
900
+ flex: 1;
901
+ `},6766:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInitialFormValues=void 0;const i=n(8912),o=n(4691),r=new Map;r.set(i.FieldType.date,(e=>(0,o.ensureCompleteDateFieldValue)(e.value))),r.set(i.FieldType.time,(e=>(0,o.ensureCompleteTimeFieldValue)(e.value))),t.getInitialFormValues=function(e){const t={};for(const n of e)if(r.has(n.type)){const e=r.get(n.type);t[n.key]=e&&e(n)}else t[n.key]=n.value;return t}},6812:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateCustomComponent=void 0;const o=i(n(5932)),r=n(2972),a=n(164),l=i(n(2230));t.TemplateCustomComponent=e=>{var t;const{notification:n,clickFragment:i,tabIndexOverride:l}=e,c=n.notification,u=null===(t=c.templateOptions.body.compositions[0])||void 0===t?void 0:t.layout,d=c.templateOptions.body.fallbackText;return u?o.default.createElement(o.default.Fragment,null,o.default.createElement(s,null,o.default.createElement(r.TemplateFragment,{fragment:u,templateData:c.templateData,fragmentIndex:0,notificationKey:`${n.id}${n.notification.date}`,clickFragment:i,tabIndexOverride:l})),n.notification.form&&o.default.createElement(a.NotificationForm,{templateContent:e.templateContent,notification:n,onSubmit:e.submitForm,isToast:e.isToast})):d?o.default.createElement(o.default.Fragment,null," ",d," "):o.default.createElement(o.default.Fragment,null)};const s=l.default.div`
902
+ padding-right: ${e=>e.theme.px.base};
903
+ padding-left: ${e=>e.theme.px.base};
904
+ `},6834:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.NotificationView=void 0;const l=r(n(5932)),s=n(9130),c=a(n(2230)),u=n(7250),d=n(4887),f=n(2191),p=n(3420),h=n(5228),m=n(6731),b=n(6460),g=n(524),v=n(8602),y=n(9136),_=n(7451),x=(0,c.default)(u.Box)`
905
+ flex: 1;
906
+ user-select: none;
907
+ padding: ${({theme:e})=>e.px.large};
908
+ align-content: center;
909
+ flex-direction: column;
910
+ overflow-x: hidden;
911
+ overflow-y: overlay;
912
+ `;t.NotificationView=(0,s.connect)((e=>({platform:e.platform.selected,selectedCategory:e.categories.selectedCategory,sortMethod:e.categories.sortType,sortDirection:e.categories.sortDirection})),(e=>({setFocusedNotification:t=>{e(new v.SetFocusedNotification(t))},raiseAnalyticsEvent:async(t,n)=>e(new _.RaiseAnalyticsEvent(t,n))})))((({notifications:e,reminders:t,searchMode:n,searchString:i,applications:o,streams:r,id:a,selectedCategory:s,platform:c,setFocusedNotification:u,sortMethod:v,sortDirection:_,raiseAnalyticsEvent:O})=>{const C=(0,l.useMemo)((()=>(0,f.generateGroups)({notifications:"reminders"===s?t:e,applications:o,streams:r,selectedCategory:s,sortType:v,sortDirection:_})),[e,t,o,r,s,v,_]),w=l.default.useContext(y.WindowContext),j=(0,f.isLayered)(C)?C.layers.length:C.sections.length,S=`${c}-${s}-${v}-${_}-${!!j}`,P=(0,l.useCallback)((e=>t=>n=>{var i,o;const r=e=>{null==O||O({type:"Center",action:"Keystroke",value:e,skipValueHashing:!0})},a=(0,f.isLayered)(C)?null===(o=C.layers.find((t=>t.key===e)))||void 0===o?void 0:o.sections.reduce(((e,t)=>[...e,...t.notifications]),[]):null===(i=C.sections.find((t=>t.key===e)))||void 0===i?void 0:i.notifications;if(a)if(t){const e=a.findIndex((e=>e.id===t));if("ArrowDown"===n.key)n.preventDefault(),e!==a.length-1&&(u(a[e+1].id),r("ArrowDown"));else if("ArrowUp"===n.key)n.preventDefault(),0!==e&&(u(a[e-1].id),r("ArrowUp"));else if("_Delete"===n.key){const e=e=>e.flatMap((e=>e.notifications)),n=(0,f.isLayered)(C)?e(C.layers.flatMap((e=>e.sections))):e(C.sections),i=n.findIndex((e=>e.id===t)),o=n.filter((e=>e.id!==t)),a=o.length>=i+1?o[i]:o[o.length-1];u(null==a?void 0:a.id),r("_Delete")}}else"ArrowDown"===n.key&&(n.preventDefault(),u(a[0].id),r("ArrowDown"))}),[C]);return(0,l.useEffect)((()=>{const e=e=>{var t,n,i,o;if("t"===e.key&&e.ctrlKey){const e=(0,f.isLayered)(C)?null===(o=null===(i=C.layers[0])||void 0===i?void 0:i.sections[0].notifications)||void 0===o?void 0:o[0]:null===(n=null===(t=C.sections[0])||void 0===t?void 0:t.notifications)||void 0===n?void 0:n[0];e&&(u(e.id),null==O||O({type:"Notification",action:"Keystroke",value:"ctrl + t",skipValueHashing:!0}))}};return w.document.addEventListener("keydown",e),()=>{w.document.removeEventListener("keydown",e)}}),[C]),l.default.createElement(x,{"data-scrollable-container":"true",className:"view",id:a,tabIndex:-1,role:"list","aria-label":"Notifications Groups"},n&&i.length>=d.minSearchStringLength&&l.default.createElement(p.SearchResults,null),i.length<d.minSearchStringLength&&l.default.createElement(g.SwitchTransition,{mode:"out-in"},l.default.createElement(b.FadeTransition,{key:S,timeout:100,mountOnEnter:!0,unmountOnExit:!0},j?l.default.createElement(m.Groups,{groupData:C,onKeyDown:P}):l.default.createElement(h.EmptyNotificationListCard,null))))}))},6858:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>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.WebStore=void 0;const r=n(4352),a=n(2903),l=n(8281);let s=class extends l.Store{constructor(){super(Object.assign(Object.assign({},a.initialState),{centerVisible:!0,mode:"web"}))}async init(){}};s=i([(0,r.injectable)(),o("design:paramtypes",[])],s),t.WebStore=s},6865:(e,t)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.IndicatorColor=t.IndicatorType=void 0,(i=t.IndicatorType||(t.IndicatorType={})).FAILURE="failure",i.WARNING="warning",i.SUCCESS="success",(n=t.IndicatorColor||(t.IndicatorColor={})).RED="red",n.GREEN="green",n.YELLOW="yellow",n.BLUE="blue",n.PURPLE="purple",n.GRAY="gray",n.ORANGE="orange",n.MAGENTA="magenta",n.TEAL="teal"},6906:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroupWidgetComponent=void 0;const a=r(n(5932)),l=n(7250),s=n(258),c=n(7260),u=n(1971),d=n(5232),f=n(5484);t.CheckboxGroupWidgetComponent=e=>a.default.createElement(s.Field,{name:e.field.key,component:p,checkboxGroupField:e.field,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics});const p=({checkboxGroupField:e,field:t,form:n,formSettings:i,raiseAnalytics:o})=>{const r=e.widget.group.map((e=>({value:e.value,clicked:!1}))),s=(0,a.useRef)(r);return(0,f.useRaiseFieldAnalytics)(e,o,void 0,s),a.default.createElement(c.InputContainer,{flexDirection:"column"},a.default.createElement(l.CheckboxGroup,{label:(0,d.getLabelText)(e,i),helperText:e.helperText,onChange:t=>{n.setFieldTouched(e.key,!0),n.setFieldValue(e.key,t.length>0?t:void 0)},values:t.value,key:`${t.name}-${t.value}`},e.widget.group.map((n=>{var i;return a.default.createElement(l.Checkbox,{name:`${e.key}_${n.value}`,key:`${e.key}_${n.value}`,checked:-1!==(null===(i=t.value)||void 0===i?void 0:i.indexOf(n.value)),label:n.label,value:n.value})}))),a.default.createElement(u.ErrorLabel,{name:t.name}))}},6975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsubscribeScrollableContainers=t.subscribeScrollableContainers=void 0,t.subscribeScrollableContainers=(e,t)=>{let n=e.parentElement;for(;n;)"true"===n.getAttribute("data-scrollable-container")&&n.addEventListener("scroll",t),n=n.parentElement},t.unsubscribeScrollableContainers=(e,t)=>{let n=e.parentElement;for(;n;)"true"===n.getAttribute("data-scrollable-container")&&n.removeEventListener("scroll",t),n=n.parentElement}},6992:e=>{"use strict";e.exports=_},7007:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function r(){r.init.call(this)}e.exports=r,e.exports.once=function(e,t){return new Promise((function(n,i){function o(n){e.removeListener(t,r),i(n)}function r(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}m(e,t,r,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,o)}))},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var a=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function c(e,t,n,i){var o,r,a,c;if(l(n),void 0===(r=e._events)?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),r=e._events),a=r[t]),void 0===a)a=r[t]=n,++e._eventsCount;else if("function"==typeof a?a=r[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(o=s(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(i);return o.listener=n,i.wrapFn=o,o}function f(e,t,n){var i=e._events;if(void 0===i)return[];var o=i[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):h(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function m(e,t,n,i){if("function"==typeof e.on)i.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(r){i.once&&e.removeEventListener(t,o),n(r)}))}}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),r.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return s(this)},r.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,r=this._events;if(void 0!==r)o=o&&void 0===r.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var l=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw l.context=a,l}var s=r[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var c=s.length,u=h(s,c);for(n=0;n<c;++n)i(u[n],this,t)}return!0},r.prototype.addListener=function(e,t){return c(this,e,t,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(e,t){return c(this,e,t,!0)},r.prototype.once=function(e,t){return l(t),this.on(e,d(this,e,t)),this},r.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,d(this,e,t)),this},r.prototype.removeListener=function(e,t){var n,i,o,r,a;if(l(t),void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,r=n.length-1;r>=0;r--)if(n[r]===t||n[r].listener===t){a=n[r].listener,o=r;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,a||t)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(e){var t,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,r=Object.keys(n);for(i=0;i<r.length;++i)"removeListener"!==(o=r[i])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},r.prototype.listeners=function(e){return f(this,e,!0)},r.prototype.rawListeners=function(e){return f(this,e,!1)},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},r.prototype.listenerCount=p,r.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},7010:function(e,t,n){"use strict";var i,o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;const l=n(4352),s=n(6566),c=n(8004),u=n(7451),d=n(8320),f=n(2645),p=2147483646;let h=class{constructor(e){this._active=!0,this._nextAction=null,this._store=e,this._store.onAction.add(this.onAction,this),f.InjectorBase.initialized.then((()=>{this.scheduleEarliestAction(Date.now())}))}scheduleEarliestAction(e){const t=this.generateNextClassifier();null!==t&&this.scheduleAction(t,e)}scheduleAction(e,t){this._active&&(e.timestamp<=t?this.executeAction(e,t):(this._nextAction&&window.clearTimeout(this._nextAction.timerHandle),this._nextAction=Object.assign(Object.assign({},e),{timerHandle:this.safeDelay((()=>{this.executeAction(e,e.timestamp)}),e.timestamp,t)})))}async executeAction(e,t){this._nextAction&&this._nextAction.target.id===e.target.id&&(this._nextAction=null),"Expiry"===e.type?await this._store.dispatch(new u.ExpireNotification(e.target)):await this._store.dispatch(new d.TimeoutReminder(e.target.id)),this.scheduleEarliestAction(t)}async onAction(e){e instanceof u.CreateNotification?this.onAddNotification(e.notification):e instanceof u.RemoveNotifications?this.onRemoveNotifications(e.notifications):e instanceof d.SetReminder?this.onSetReminder(e.reminder,e.reminder.modifiers.reminder):e instanceof d.CancelReminder?this.onCancelReminder(e.reminder):e instanceof u.Freeze?this.onFreeze():e instanceof u.Unfreeze?this.onUnfreeze():e instanceof u.ApplySnapshot&&this.scheduleEarliestAction(Date.now())}onSetReminder(e,t){var n;(!this._nextAction||t<this._nextAction.timestamp)&&this.scheduleAction({type:"Reminder",target:Object.assign(Object.assign({},e),{modifiers:Object.assign(Object.assign({},null!==(n=e.modifiers)&&void 0!==n?n:{}),{reminder:t})}),timestamp:t},Date.now())}onCancelReminder(e){this._nextAction&&"Reminder"==this._nextAction.type&&this._nextAction.target.id===e.id&&this.reschedule()}onAddNotification(e){m(e)&&(!this._nextAction||e.notification.expires<this._nextAction.timestamp)&&this.scheduleAction({type:"Expiry",target:e,timestamp:e.notification.expires},Date.now())}onRemoveNotifications(e){const t=e.filter(m);this._nextAction&&t.some((e=>{var t;return e.id===(null===(t=this._nextAction)||void 0===t?void 0:t.target.id)}))&&this.reschedule()}reschedule(){var e;window.clearTimeout(null===(e=this._nextAction)||void 0===e?void 0:e.timerHandle),this._nextAction=null,this.scheduleEarliestAction(Date.now())}onFreeze(){this._active=!1,this._nextAction&&(window.clearTimeout(this._nextAction.timerHandle),this._nextAction=null)}onUnfreeze(){this._active=!0,this.scheduleEarliestAction(Date.now())}safeDelay(e,t,n){return t-n>p?window.setTimeout((()=>{this.safeDelay(e,t,n+p)}),p):window.setTimeout((()=>{e()}),t-n)}generateNextClassifier(){return[...this._store.state.notifications.filter(m).map((e=>({type:"Expiry",target:e,timestamp:e.notification.expires}))),...this._store.state.reminders.map((e=>({type:"Reminder",target:e,timestamp:e.modifiers.reminder})))].reduce(((e,t)=>!e||t.timestamp<e.timestamp?t:e),null)}};function m(e){return null!==e.notification.expires}h=o([(0,l.injectable)(),a(0,(0,l.inject)(c.Inject.STORE)),r("design:paramtypes",["function"==typeof(i=void 0!==s.Store&&s.Store)?i:Object])],h),t.Scheduler=h},7031:(e,t)=>{"use strict";function n(e,t){var n,i,o;return"list"===t.template&&"list"===e.template?{list:null!==(n=t.list)&&void 0!==n?n:e.list}:"markdown"===t.template&&"markdown"===e.template?{body:null!==(i=t.body)&&void 0!==i?i:e.body}:"custom"===t.template&&"custom"===e.template?{templateData:null!==(o=t.templateData)&&void 0!==o?o:e.templateData}:{}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateCollection=void 0,t.updateCollection=function(e,t){var i,o,r,a,l;const s=e.findIndex((e=>e.notification.id===t.id));if(-1===s)return null;const c=e[s],u=c.notification;return e[s]=Object.assign(Object.assign({},c),{bodyText:null!==(i=t.bodyText)&&void 0!==i?i:c.bodyText,notification:Object.assign(Object.assign(Object.assign({},u),{buttons:null!==(o=t.buttons)&&void 0!==o?o:u.buttons,customData:null!==(r=t.customData)&&void 0!==r?r:u.customData}),n(u,t)),modifiers:Object.assign(Object.assign({},c.modifiers),{revision:(null!==(l=null===(a=c.modifiers)||void 0===a?void 0:a.revision)&&void 0!==l?l:0)+1})}),e[s]}},7049:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePosition=void 0;const i=n(5932),o=n(8899),r=n(9136);t.usePosition=()=>{const e=(0,i.useContext)(r.WindowContext);return[(0,i.useCallback)((t=>{if(t){const n={left:e.screenX,top:e.screenY,width:e.outerWidth,height:e.outerHeight},i=t.getBoundingClientRect();return(0,o.alignModalToParent)(n,{left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top})}return null}),[e])]}},7202:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Inject=void 0,function(e){e[e.STORE=0]="STORE",e[e.SCHEDULER=1]="SCHEDULER",e[e.API_HANDLER=2]="API_HANDLER",e[e.CLIENT_CONTOLLER=3]="CLIENT_CONTOLLER"}(n||(n={})),t.Inject=Object.keys(n).filter((e=>"string"==typeof e)).reduce(((e,t)=>(e[t]=t,e)),{})},7204:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7207:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;const o=n(9690),r=n(7250),a=i(n(2230));t.Card=(0,a.default)(r.Box)`
913
+ flex-direction: column;
914
+ user-select: none;
915
+ width: 312px;
916
+ position: relative;
917
+ // if buttons exist, min-height is 128px if isTall is true min height is 160px
918
+ min-height: ${({hasButtons:e,isTall:t})=>e?t?"160px":"128px":"96px"};
919
+ align-items: center;
920
+ justify-content: center;
921
+ background: ${({theme:e,isFormExpanded:t})=>t?e.palette.background3:e.palette.background4};
922
+ box-shadow: ${({theme:e})=>e.shadow.base};
923
+ overflow: ${({mode:e})=>"desktop"===e?"hidden":"visible"};
924
+ border-radius: ${({theme:e,isToast:t})=>t?0:e.radius.base};
925
+
926
+ ${o.CardHeaderHover}
927
+
928
+ &:focus {
929
+ outline: 1px solid ${({theme:e})=>e.palette.textDefault};
930
+ }
931
+ `},7216:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationFormEditComplete=t.removeCurrentFormAndReplaceWithNext=void 0;const i=n(6566);t.removeCurrentFormAndReplaceWithNext=e=>{if(!e)return;const t=e.forms.findIndex((t=>t.notificationId===e.focusedFormNotificationId));if(-1===t)return e;const n=[...e.forms.slice(0,t),...e.forms.slice(t+1)],i=n[t]||n[t-1]||null;return{forms:n,focusedFormNotificationId:null==i?void 0:i.notificationId,createNotificationsCount:e.createNotificationsCount}};class o extends i.Action{reduce(e){return Object.assign(Object.assign({},e),{activeForms:(0,t.removeCurrentFormAndReplaceWithNext)(e.activeForms)})}}t.NotificationFormEditComplete=o},7230:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesSortingSelect=t.categoriesSortingMethods=void 0;const o=i(n(5932)),r=n(7527),a=n(7250),l=i(n(2230)),s=[{title:r.CategorySortTypesNamesMap["priority-descending"],value:{type:"priority",direction:"descending"}},{title:r.CategorySortTypesNamesMap["priority-ascending"],value:{type:"priority",direction:"ascending"}}];t.categoriesSortingMethods=[[{title:r.CategorySortTypesNamesMap["date-descending"],value:{type:"date",direction:"descending"}},{title:r.CategorySortTypesNamesMap["date-ascending"],value:{type:"date",direction:"ascending"}},...s]];const c=[[{title:"Date",value:{type:"date",direction:"ascending"}},...s]];t.CategoriesSortingSelect=({selectedCategory:e,onChange:n,selectedSortType:i,selectedSortDirection:r})=>{const l="reminders"===e?c:t.categoriesSortingMethods;return o.default.createElement(a.DropdownMenu,{selected:l[0].find((e=>e.value.type===i&&e.value.direction===r)),options:l,onChange:n,renderLabel:u,fitContent:!0})};const u=(e,t,n)=>o.default.createElement(d,{onClick:n,"data-testid":"sort-option"},o.default.createElement("span",null,"Sort by ",o.default.createElement("strong",null,e.title)),o.default.createElement(a.Icon,{icon:t?"ChevronUpIcon":"ChevronDownIcon"})),d=l.default.button`
932
+ background: transparent;
933
+ border: none;
934
+ color: ${({theme:e})=>e.palette.textDefault};
935
+ cursor: pointer;
936
+ font-size: ${({theme:e})=>e.fontSize.base};
937
+ user-select: none;
938
+ display: flex;
939
+ align-items: center;
940
+
941
+ column-gap: ${({theme:e})=>e.px.xsmall};
942
+ `},7234:function(e,t,n){"use strict";var i=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>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.SetUserDefaultShortcut=t.SetPlatformDefaultShortcut=t.ToggleKeyboardShortcutToOpenEnabled=t.ToggleClearFiltersOnShortcutCenterShow=t.ToggleClearFiltersOnCenterShow=t.RemindersTutorialComplete=t.SetToastPosition=t.SetCenterPosition=t.ToggleNotificationSound=t.SetToastDuration=t.selectActiveDisplayToastPosition=t.selectCurrentDisplayToastPosition=t.initialSettingsState=t.openFinDefaultShortcut=void 0;const r=n(6566);t.openFinDefaultShortcut="CmdOrCtrl + /",t.initialSettingsState={centerPosition:"right",clearFiltersOnCenterShow:!1,notificationSoundEnabled:!1,toastPosition:{default:{position:"bottom-right"}},toastDuration:1e4,tutorials:{reminders:!1},keyboardShortcutToOpenEnabled:!0,clearFiltersOnShortcutCenterShow:!1,userDefaultShortcut:"",platformDefaultShortcut:""},t.selectCurrentDisplayToastPosition=e=>{var t;return null!==(t=e.settings.toastPosition[e.display.selected])&&void 0!==t?t:{position:"bottom-right"}},t.selectActiveDisplayToastPosition=e=>{var t;return null!==(t=e.settings.toastPosition[e.display.active])&&void 0!==t?t:{position:"bottom-right"}};let a=class extends r.KeyedAction{constructor(e){super("settings"),this.duration=e}reduce(e){return Object.assign(Object.assign({},e),{toastDuration:this.duration})}};a=i([(0,r.actionType)("SetToastDuration"),o("design:paramtypes",[Number])],a),t.SetToastDuration=a;class l extends r.KeyedAction{constructor(){super("settings")}reduce(e){return Object.assign(Object.assign({},e),{notificationSoundEnabled:!e.notificationSoundEnabled})}}t.ToggleNotificationSound=l;class s extends r.KeyedAction{constructor(e){super("settings"),this.position=e}async call(e,t){e.state.settings.centerPosition!==this.position&&await t()}reduce(e){return Object.assign(Object.assign({},e),{centerPosition:this.position})}}t.SetCenterPosition=s;class c extends r.Action{constructor(e){super(),this.position=e}async call(e,t){const n=e.state.display.selected;e.state.settings.toastPosition[n]!==this.position&&await t()}reduce(e){return Object.assign(Object.assign({},e),{settings:Object.assign(Object.assign({},e.settings),{toastPosition:Object.assign(Object.assign({},e.settings.toastPosition),{[e.display.active]:this.position})})})}}t.SetToastPosition=c;class u extends r.KeyedAction{constructor(){super("settings")}reduce(e){return Object.assign(Object.assign({},e),{tutorials:Object.assign(Object.assign({},e.tutorials),{reminders:!0})})}}t.RemindersTutorialComplete=u;class d extends r.KeyedAction{constructor(e){super("settings"),this.clearFiltersOnShow=e}reduce(e){return Object.assign(Object.assign({},e),{clearFiltersOnCenterShow:this.clearFiltersOnShow})}}t.ToggleClearFiltersOnCenterShow=d;class f extends r.KeyedAction{constructor(e){super("settings"),this.clearFiltersOnShortcutCenterShow=e}reduce(e){return Object.assign(Object.assign({},e),{clearFiltersOnShortcutCenterShow:this.clearFiltersOnShortcutCenterShow})}}t.ToggleClearFiltersOnShortcutCenterShow=f;class p extends r.KeyedAction{constructor(e){super("settings"),this.toggle=e}reduce(e){return Object.assign(Object.assign({},e),{keyboardShortcutToOpenEnabled:this.toggle})}}t.ToggleKeyboardShortcutToOpenEnabled=p;class h extends r.KeyedAction{constructor(e){super("settings"),this.platformShortcut=e}reduce(e){return Object.assign(Object.assign({},e),{platformDefaultShortcut:this.platformShortcut})}}t.SetPlatformDefaultShortcut=h;class m extends r.KeyedAction{constructor(e,t){super("settings"),this.newShortcut=e,this.oldShortcut=t}reduce(e){return Object.assign(Object.assign({},e),{userDefaultShortcut:this.newShortcut})}}t.SetUserDefaultShortcut=m},7250:(e,t,n)=>{var i={1193:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var i=n(1601),o=n.n(i),r=n(6314),a=n.n(r)()(o());a.push([e.id,".react-calendar {\n width: 350px;\n max-width: 100%;\n background: white;\n border: 1px solid #a0a096;\n font-family: 'Arial', 'Helvetica', sans-serif;\n line-height: 1.125em;\n}\n\n.react-calendar--doubleView {\n width: 700px;\n}\n\n.react-calendar--doubleView .react-calendar__viewContainer {\n display: flex;\n margin: -0.5em;\n}\n\n.react-calendar--doubleView .react-calendar__viewContainer > * {\n width: 50%;\n margin: 0.5em;\n}\n\n.react-calendar,\n.react-calendar *,\n.react-calendar *:before,\n.react-calendar *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.react-calendar button {\n margin: 0;\n border: 0;\n outline: none;\n}\n\n.react-calendar button:enabled:hover {\n cursor: pointer;\n}\n\n.react-calendar__navigation {\n display: flex;\n height: 44px;\n margin-bottom: 1em;\n}\n\n.react-calendar__navigation button {\n min-width: 44px;\n background: none;\n}\n\n.react-calendar__navigation button:disabled {\n background-color: #f0f0f0;\n}\n\n.react-calendar__navigation button:enabled:hover,\n.react-calendar__navigation button:enabled:focus {\n background-color: #e6e6e6;\n}\n\n.react-calendar__month-view__weekdays {\n text-align: center;\n text-transform: uppercase;\n font: inherit;\n font-size: 0.75em;\n font-weight: bold;\n}\n\n.react-calendar__month-view__weekdays__weekday {\n padding: 0.5em;\n}\n\n.react-calendar__month-view__weekNumbers .react-calendar__tile {\n display: flex;\n align-items: center;\n justify-content: center;\n font: inherit;\n font-size: 0.75em;\n font-weight: bold;\n}\n\n.react-calendar__month-view__days__day--weekend {\n color: #d10000;\n}\n\n.react-calendar__month-view__days__day--neighboringMonth,\n.react-calendar__decade-view__years__year--neighboringDecade,\n.react-calendar__century-view__decades__decade--neighboringCentury {\n color: #757575;\n}\n\n.react-calendar__year-view .react-calendar__tile,\n.react-calendar__decade-view .react-calendar__tile,\n.react-calendar__century-view .react-calendar__tile {\n padding: 2em 0.5em;\n}\n\n.react-calendar__tile {\n max-width: 100%;\n padding: 10px 6.6667px;\n background: none;\n text-align: center;\n font: inherit;\n font-size: 0.833em;\n}\n\n.react-calendar__tile:disabled {\n background-color: #f0f0f0;\n color: #ababab;\n}\n\n.react-calendar__month-view__days__day--neighboringMonth:disabled,\n.react-calendar__decade-view__years__year--neighboringDecade:disabled,\n.react-calendar__century-view__decades__decade--neighboringCentury:disabled {\n color: #cdcdcd;\n}\n\n.react-calendar__tile:enabled:hover,\n.react-calendar__tile:enabled:focus {\n background-color: #e6e6e6;\n}\n\n.react-calendar__tile--now {\n background: #ffff76;\n}\n\n.react-calendar__tile--now:enabled:hover,\n.react-calendar__tile--now:enabled:focus {\n background: #ffffa9;\n}\n\n.react-calendar__tile--hasActive {\n background: #76baff;\n}\n\n.react-calendar__tile--hasActive:enabled:hover,\n.react-calendar__tile--hasActive:enabled:focus {\n background: #a9d4ff;\n}\n\n.react-calendar__tile--active {\n background: #006edc;\n color: white;\n}\n\n.react-calendar__tile--active:enabled:hover,\n.react-calendar__tile--active:enabled:focus {\n background: #1087ff;\n}\n\n.react-calendar--selectRange .react-calendar__tile--hover {\n background-color: #e6e6e6;\n}\n",""]);const l=a},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,o,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);i&&a[u[0]]||(void 0!==r&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1601:e=>{e.exports=function(e){return e[1]}},4708:(e,t,n)=>{function i(e){return i="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},i(e)}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(o=function(){return!!e})()}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function l(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}var s=n(2015),c=n(5556),u=n(2697).createFocusTrap,d=n(9054).isFocusable,f=function(e){function t(e){var n,a,s,c;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t,n){return t=r(t),function(e,t){if(t&&("object"==i(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)}(e,o()?Reflect.construct(t,n||[],r(e).constructor):t.apply(e,n))}(this,t,[e]),a=n,c=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var i=arguments.length,o=new Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];n=n.apply(void 0,o)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,l=n;if("string"==typeof n&&!(l=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(s=l(s="getNodeForOption"))in a?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var u=e.focusTrapOptions;for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&("returnFocusOnDeactivate"!==d&&"onDeactivate"!==d&&"onPostDeactivate"!==d&&"checkCanReturnFocus"!==d&&"clickOutsideDeactivates"!==d?n.internalOptions[d]=u[d]:n.originalOptions[d]=u[d]);return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),n=t,(c=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||d(e.outsideClick.target,e.internalOptions.tabbableOptions))),i=e.internalOptions.preventScroll,o=void 0!==i&&i;n&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,i=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();i&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?s.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===s.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return s.cloneElement(t,{ref:function(n){var i=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=i||[n]}})}return null}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}(n.prototype,c),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,c}(s.Component),p="undefined"==typeof Element?Function:Element;f.propTypes={active:c.bool,paused:c.bool,focusTrapOptions:c.shape({document:c.object,onActivate:c.func,onPostActivate:c.func,checkCanFocusTrap:c.func,onPause:c.func,onPostPause:c.func,onUnpause:c.func,onPostUnpause:c.func,onDeactivate:c.func,onPostDeactivate:c.func,checkCanReturnFocus:c.func,initialFocus:c.oneOfType([c.instanceOf(p),c.string,c.bool,c.func]),fallbackFocus:c.oneOfType([c.instanceOf(p),c.string,c.func]),escapeDeactivates:c.oneOfType([c.bool,c.func]),clickOutsideDeactivates:c.oneOfType([c.bool,c.func]),returnFocusOnDeactivate:c.bool,setReturnFocus:c.oneOfType([c.instanceOf(p),c.string,c.bool,c.func]),allowOutsideClick:c.oneOfType([c.bool,c.func]),preventScroll:c.bool,tabbableOptions:c.shape({displayCheck:c.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:c.oneOfType([c.bool,c.func])}),trapStack:c.array,isKeyForward:c.func,isKeyBackward:c.func}),containerElements:c.arrayOf(c.instanceOf(p)),children:c.oneOfType([c.element,c.instanceOf(p)])},f.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:u},e.exports=f},2697:(e,t,n)=>{n.r(t),n.d(t,{createFocusTrap:()=>m});var i=n(9054);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!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:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},c=function(e){return s(e)&&!e.shiftKey},u=function(e){return s(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},f=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},p=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},h=[],m=function(e,t){var n,r=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||h,m=l({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:c,isKeyBackward:u},t),b={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},g=function(e,t,n){return e&&void 0!==e[t]?e[t]:m[n||t]},v=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return b.containerGroups.findIndex((function(t){var i=t.container,o=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||o.find((function(t){return t===e}))}))},y=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.hasFallback,a=void 0!==i&&i,l=n.params,s=void 0===l?[]:l,c=m[e];if("function"==typeof c&&(c=c.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(t=s)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.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)?o(e,t):void 0}}(t)||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.")}())),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=c;if("string"==typeof c){try{u=r.querySelector(c)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!u&&!a)throw new Error("`".concat(e,"` as selector refers to no known node"))}return u},_=function(){var e=y("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,i.isFocusable)(e,m.tabbableOptions))if(v(r.activeElement)>=0)e=r.activeElement;else{var t=b.tabbableGroups[0];e=t&&t.firstTabbableNode||y("fallbackFocus")}else null===e&&(e=y("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(b.containerGroups=b.containers.map((function(e){var t=(0,i.tabbable)(e,m.tabbableOptions),n=(0,i.focusable)(e,m.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return(0,i.isTabbable)(e)})),l=n.slice().reverse().find((function(e){return(0,i.isTabbable)(e)})),s=!!t.find((function(e){return(0,i.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:a,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find((function(e){return(0,i.isTabbable)(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return(0,i.isTabbable)(e)})):t[r+(o?1:-1)]}}})),b.tabbableGroups=b.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),b.tabbableGroups.length<=0&&!y("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(b.containerGroups.find((function(e){return e.posTabIndexesFound}))&&b.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?O(t.shadowRoot):t},C=function(e){!1!==e&&e!==O(document)&&(e&&e.focus?(e.focus({preventScroll:!!m.preventScroll}),b.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):C(_()))},w=function(e){var t=y("setReturnFocus",{params:[e]});return t||!1!==t&&e},j=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||p(n),x();var a=null;if(b.tabbableGroups.length>0){var l=v(t,n),c=l>=0?b.containerGroups[l]:void 0;if(l<0)a=r?b.tabbableGroups[b.tabbableGroups.length-1].lastTabbableNode:b.tabbableGroups[0].firstTabbableNode;else if(r){var u=b.tabbableGroups.findIndex((function(e){var n=e.firstTabbableNode;return t===n}));if(u<0&&(c.container===t||(0,i.isFocusable)(t,m.tabbableOptions)&&!(0,i.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=l),u>=0){var d=0===u?b.tabbableGroups.length-1:u-1,f=b.tabbableGroups[d];a=(0,i.getTabIndex)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else s(n)||(a=c.nextTabbableNode(t,!1))}else{var h=b.tabbableGroups.findIndex((function(e){var n=e.lastTabbableNode;return t===n}));if(h<0&&(c.container===t||(0,i.isFocusable)(t,m.tabbableOptions)&&!(0,i.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t))&&(h=l),h>=0){var g=h===b.tabbableGroups.length-1?0:h+1,_=b.tabbableGroups[g];a=(0,i.getTabIndex)(t)>=0?_.firstTabbableNode:_.firstDomTabbableNode}else s(n)||(a=c.nextTabbableNode(t))}}else a=y("fallbackFocus");return a},S=function(e){var t=p(e);v(t,e)>=0||(f(m.clickOutsideDeactivates,e)?n.deactivate({returnFocus:m.returnFocusOnDeactivate}):f(m.allowOutsideClick,e)||e.preventDefault())},P=function(e){var t=p(e),n=v(t,e)>=0;if(n||t instanceof Document)n&&(b.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(b.mostRecentlyFocusedNode)if((0,i.getTabIndex)(b.mostRecentlyFocusedNode)>0){var a=v(b.mostRecentlyFocusedNode),l=b.containerGroups[a].tabbableNodes;if(l.length>0){var s=l.findIndex((function(e){return e===b.mostRecentlyFocusedNode}));s>=0&&(m.isKeyForward(b.recentNavEvent)?s+1<l.length&&(o=l[s+1],r=!1):s-1>=0&&(o=l[s-1],r=!1))}}else b.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,i.getTabIndex)(e)>0}))}))||(r=!1);else r=!1;r&&(o=j({target:b.mostRecentlyFocusedNode,isBackward:m.isKeyBackward(b.recentNavEvent)})),C(o||b.mostRecentlyFocusedNode||_())}b.recentNavEvent=void 0},M=function(e){(m.isKeyForward(e)||m.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];b.recentNavEvent=e;var n=j({event:e,isBackward:t});n&&(s(e)&&e.preventDefault(),C(n))}(e,m.isKeyBackward(e))},E=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===f(m.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},T=function(e){var t=p(e);v(t,e)>=0||f(m.clickOutsideDeactivates,e)||f(m.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(b.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)}(a,n),b.delayInitialFocusTimer=m.delayInitialFocus?d((function(){C(_())})):C(_()),r.addEventListener("focusin",P,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",T,{capture:!0,passive:!1}),r.addEventListener("keydown",M,{capture:!0,passive:!1}),r.addEventListener("keydown",E),n},I=function(){if(b.active)return r.removeEventListener("focusin",P,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",T,!0),r.removeEventListener("keydown",M,!0),r.removeEventListener("keydown",E),n},D="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===b.mostRecentlyFocusedNode}))}))&&C(_())})):void 0,$=function(){D&&(D.disconnect(),b.active&&!b.paused&&b.containers.map((function(e){D.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return b.active},get paused(){return b.paused},activate:function(e){if(b.active)return this;var t=g(e,"onActivate"),n=g(e,"onPostActivate"),i=g(e,"checkCanFocusTrap");i||x(),b.active=!0,b.paused=!1,b.nodeFocusedBeforeActivation=r.activeElement,null==t||t();var o=function(){i&&x(),k(),$(),null==n||n()};return i?(i(b.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!b.active)return this;var t=l({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},e);clearTimeout(b.delayInitialFocusTimer),b.delayInitialFocusTimer=void 0,I(),b.active=!1,b.paused=!1,$(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}(a,n);var i=g(t,"onDeactivate"),o=g(t,"onPostDeactivate"),r=g(t,"checkCanReturnFocus"),s=g(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var c=function(){d((function(){s&&C(w(b.nodeFocusedBeforeActivation)),null==o||o()}))};return s&&r?(r(w(b.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(e){if(b.paused||!b.active)return this;var t=g(e,"onPause"),n=g(e,"onPostPause");return b.paused=!0,null==t||t(),I(),$(),null==n||n(),this},unpause:function(e){if(!b.paused||!b.active)return this;var t=g(e,"onUnpause"),n=g(e,"onPostUnpause");return b.paused=!1,null==t||t(),x(),k(),$(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return b.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),b.active&&x(),$(),this}}).updateContainerElements(e),n}},2694:(e,t,n)=>{var i=n(6925);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1020:(e,t,n)=>{var i=n(2015),o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var i,r={},c=null,u=null;for(i in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,i)&&!s.hasOwnProperty(i)&&(r[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===r[i]&&(r[i]=t[i]);return{$$typeof:o,type:e,key:c,ref:u,props:r,_owner:l.current}}t.Fragment=r,t.jsx=c,t.jsxs=c},4848:(e,t,n)=>{e.exports=n(1020)},9054:(e,t,n)=>{n.r(t),n.d(t,{focusable:()=>x,getTabIndex:()=>f,isFocusable:()=>w,isTabbable:()=>O,tabbable:()=>_});var i=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=i.join(","),r="undefined"==typeof Element,a=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!r&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},s=function e(t,n){var i;void 0===n&&(n=!0);var o=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},c=function(e,t,n){if(s(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&a.call(e,o)&&i.unshift(e),i.filter(n)},u=function e(t,n,i){for(var r=[],l=Array.from(t);l.length;){var c=l.shift();if(!s(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,i);i.flatten?r.push.apply(r,d):r.push({scopeParent:c,candidates:d})}else{a.call(c,o)&&i.filter(c)&&(n||!t.includes(c))&&r.push(c);var f=c.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(c),p=!s(f,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(c));if(f&&p){var h=e(!0===f?c.children:f.children,!0,i);i.flatten?r.push.apply(r,h):r.push({scopeParent:c,candidates:h})}else l.unshift.apply(l,c.children)}}return r},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!d(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},m=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},b=function(e,t){return!(t.disabled||s(t)||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof i){for(var r=e;e;){var s=e.parentElement,c=l(e);if(s&&!s.shadowRoot&&!0===i(s))return m(e);e=e.assignedSlot?e.assignedSlot:s||c===e.ownerDocument?s:c.host}e=r}if(function(e){var t,n,i,o,r=e&&l(e),a=null===(t=r)||void 0===t?void 0:t.host,s=!1;if(r&&r!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(a)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!s&&a;){var c,u,d;s=!(null===(u=a=null===(c=r=l(a))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!a.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},g=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||l(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||f(t)<0||!b(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},y=function e(t){var n=[],i=[];return t.forEach((function(t,o){var r=!!t.scopeParent,a=r?t.scopeParent:t,l=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n}(a,r),s=r?e(t.candidates):a;0===l?r?n.push.apply(n,s):n.push(a):i.push({documentOrder:o,tabIndex:l,item:t,isScope:r,content:s})})),i.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},_=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):c(e,t.includeContainer,g.bind(null,t)),y(n)},x=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:b.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,b.bind(null,t))},O=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&g(t,e)},C=i.concat("iframe").join(","),w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,C)&&b(t,e)}},8869:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fonts=void 0;const o=i(n(9294)),r=i(n(9802)),a=i(n(3325)),l=i(n(2773));t.Fonts={regular:o.default,italic:r.default,semiBold:a.default,semiBoldItalic:l.default}},3092:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8869),t)},5415:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonTextOnly=t.ButtonSecondary=t.ButtonPrimary=t.Button=void 0;const r=n(4848),a=o(n(2770)),l=n(2094),s=n(532),c=n(549);t.Button=e=>{var{label:t,children:n,size:o="base",shape:a="square",kind:l="primary",layout:s="fit",href:c}=e,f=i(e,["label","children","size","shape","kind","layout","href"]);return(0,r.jsx)(u,Object.assign({as:c?"a":"button",size:o,shape:a,kind:l,layout:s},f,{children:t?(0,r.jsx)(d,{alignItems:"center",justifyContent:"center",children:t}):n}))};const u=a.default.button`
943
+ /* Default values that get overridden by variants */
944
+ background: ${({theme:e})=>e.palette.inputBackground};
945
+ border: 1px solid ${({theme:e})=>e.palette.inputBackground};
946
+ color: ${({theme:e})=>e.palette.brandPrimaryText};
947
+
948
+ /* Inject variants */
949
+ ${(0,s.getVariantCSS)(c.variants,c.Variant.size)}
950
+ ${(0,s.getVariantCSS)(c.variants,c.Variant.shape)}
951
+ ${(0,s.getVariantCSS)(c.variants,c.Variant.kind)}
952
+ ${(0,s.getVariantCSS)(c.variants,c.Variant.layout)}
953
+
954
+ display: inline-flex;
955
+ align-items: center;
956
+ gap: ${({theme:e})=>e.px.small};
957
+ outline: none;
958
+ text-decoration: none;
959
+ white-space: nowrap;
960
+ line-height: ${({theme:e})=>e.lineHeight.ui};
961
+ font-weight: ${({theme:e})=>e.fontWeight.bold};
962
+ transition: border-color var(--openfin-ui-globalTransition);
963
+
964
+ &:not(:disabled) {
965
+ cursor: pointer;
966
+ }
967
+
968
+ &:disabled,
969
+ &:active:disabled {
970
+ background: ${({theme:e})=>e.palette.inputDisabled};
971
+ border-color: ${({theme:e})=>e.palette.inputDisabled};
972
+ color: ${({theme:e})=>e.palette.inputPlaceholder};
973
+ cursor: not-allowed;
974
+ }
975
+ `,d=(0,a.default)(l.Box)`
976
+ padding: ${({theme:e})=>`0 ${e.px.xsmall}`};
977
+ `;t.ButtonPrimary=e=>(0,r.jsx)(t.Button,Object.assign({},e,{kind:"primary"})),t.ButtonSecondary=e=>(0,r.jsx)(t.Button,Object.assign({},e,{kind:"secondary"})),t.ButtonTextOnly=e=>(0,r.jsx)(t.Button,Object.assign({},e,{kind:"textOnly"}))},549:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.variants=t.ButtonShape=t.ButtonLayout=t.ButtonSize=t.ButtonKind=t.Variant=void 0;const i=n(2770);t.Variant={shape:"shape",size:"size",kind:"kind",layout:"layout"},t.ButtonKind={primary:"primary",secondary:"secondary",textOnly:"textOnly"},t.ButtonSize={small:"small",base:"base",large:"large"},t.ButtonLayout={fit:"fit",full:"full"},t.ButtonShape={square:"square",pill:"pill"},t.variants={[t.Variant.size]:{[t.ButtonSize.base]:i.css`
978
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.large}`};
979
+ font-size: ${({theme:e})=>e.fontSize.base};
980
+ `,[t.ButtonSize.small]:i.css`
981
+ padding: ${({theme:e})=>`${e.px.xsmall} ${e.px.base}`};
982
+ font-size: ${({theme:e})=>e.fontSize.small};
983
+ `,[t.ButtonSize.large]:i.css`
984
+ padding: ${({theme:e})=>`${e.px.base} ${e.px.xlarge}`};
985
+ font-size: ${({theme:e})=>e.fontSize.large};
986
+ `},[t.Variant.shape]:{[t.ButtonShape.square]:i.css`
987
+ border-radius: ${({theme:e})=>e.radius.small};
988
+ `,[t.ButtonShape.pill]:i.css`
989
+ border-radius: ${({theme:e})=>e.radius.pill};
990
+ `},[t.Variant.layout]:{[t.ButtonLayout.fit]:i.css`
991
+ width: fit-content;
992
+ `,[t.ButtonLayout.full]:i.css`
993
+ width: 100%;
994
+ `},[t.Variant.kind]:{[t.ButtonKind.primary]:i.css`
995
+ background: ${({theme:e})=>e.palette.brandPrimary};
996
+ border-color: ${({theme:e})=>e.palette.brandPrimary};
997
+
998
+ &:hover {
999
+ background: ${({theme:e})=>e.palette.brandPrimaryHover};
1000
+ }
1001
+
1002
+ &:active {
1003
+ background: ${({theme:e})=>e.palette.brandPrimaryActive};
1004
+ }
1005
+
1006
+ &:focus {
1007
+ border-color: ${({theme:e})=>e.palette.brandPrimaryFocused};
1008
+ }
1009
+ `,[t.ButtonKind.secondary]:i.css`
1010
+ background: ${({theme:e})=>e.palette.brandSecondary};
1011
+ border-color: ${({theme:e})=>e.palette.brandSecondary};
1012
+ color: ${({theme:e})=>e.palette.brandSecondaryText};
1013
+
1014
+ &:hover {
1015
+ background: ${({theme:e})=>e.palette.brandSecondaryHover};
1016
+ }
1017
+
1018
+ &:active {
1019
+ background: ${({theme:e})=>e.palette.brandSecondaryActive};
1020
+ }
1021
+
1022
+ &:focus {
1023
+ border-color: ${({theme:e})=>e.palette.brandSecondaryFocused};
1024
+ }
1025
+ `,[t.ButtonKind.textOnly]:i.css`
1026
+ background: transparent;
1027
+ border-color: transparent;
1028
+ color: ${({theme:e})=>e.palette.textDefault};
1029
+
1030
+ &:active {
1031
+ opacity: 0.8;
1032
+ }
1033
+
1034
+ &:focus {
1035
+ border-color: ${({theme:e})=>e.palette.inputFocused};
1036
+ }
1037
+ `}}},2367:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5415),t),o(n(549),t)},7544:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CardContainer=void 0;const o=n(4848),r=i(n(2770)),a=n(532),l=n(2094);t.CardContainer=e=>(0,o.jsx)(s,{style:{maxHeight:e.maxHeight,overflowY:"auto"},id:"card-container","data-testid":"card-container",children:(0,o.jsx)(c,{children:e.children})});const s=(0,r.default)(l.Box)`
1038
+ display: block;
1039
+ background: ${({theme:e})=>e.palette.background3};
1040
+ border-bottom: 1px solid ${({theme:e})=>e.palette.background5};
1041
+ padding: ${({theme:e})=>e.px.xsmall} ${({theme:e})=>e.px.xsmall}
1042
+ ${({theme:e})=>e.px.large} 0px;
1043
+ width: 100%;
1044
+ ${a.Mixins.scrollbar.base};
1045
+ gap: ${({theme:e})=>e.px.base};
1046
+ `,c=r.default.div`
1047
+ padding: ${({theme:e})=>e.px.small} ${({theme:e})=>e.px.small} 0px
1048
+ ${({theme:e})=>e.px.base};
1049
+ width: 100%;
1050
+ `},2361:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsibleCardStateless=t.CollapsibleCard=void 0;const o=n(4848),r=n(2015),a=i(n(2770)),l=n(3189),s=n(5917),c=n(2094),u=n(7544),d=n(5963),f=n(532);t.CollapsibleCard=(0,r.forwardRef)(((e,n)=>{const[i,a]=(0,r.useState)(e.expanded||!1);return(0,o.jsx)(t.CollapsibleCardStateless,Object.assign({},e,{ref:n,expanded:i,onExpand:e=>a(!e)}))})),t.CollapsibleCard.displayName="CollapsibleCard",t.CollapsibleCardStateless=(0,r.forwardRef)(((e,t)=>{var n,i;return(0,o.jsxs)(p,{"data-testid":"collapsible-card",children:[(0,o.jsxs)(m,{"aria-expanded":e.expanded,"data-testid":"heading-container",ref:t,zIndex:null===(n=e.headerSettings)||void 0===n?void 0:n.zIndex,fixedHeader:null===(i=e.headerSettings)||void 0===i?void 0:i.fixedHeader,onClick:()=>e.onExpand(e.expanded),tabIndex:0,onKeyDown:t=>{switch(t.code){case"Enter":case"Space":t.preventDefault(),e.onExpand(e.expanded)}},children:[(0,o.jsx)(h,{children:e.title}),(0,o.jsxs)("div",{id:"icon-container",children:[void 0!==e.badgeText&&(0,o.jsx)(l.Badge,{count:e.badgeText,id:"collapsible-card-heading-badge","data-testid":"collapsible-card-heading-badge"}),(0,o.jsx)(s.Icon,{icon:e.expanded?"ChevronUpIcon":"ChevronDownIcon"})]})]}),e.expanded&&(0,o.jsx)(u.CardContainer,{maxHeight:e.maxHeight||"none",children:(0,o.jsx)("div",{children:e.children})})]})})),t.CollapsibleCardStateless.displayName="CollapsibleCardStateless";const p=a.default.div`
1051
+ position: relative;
1052
+ display: inline-block;
1053
+ width: 100%;
1054
+ `,h=(0,a.default)(d.Text)`
1055
+ color: ${({theme:e})=>e.palette.textDefault};
1056
+ ${f.Mixins.textOverflow};
1057
+ text-decoration: none;
1058
+ display: block;
1059
+ overflow: hidden;
1060
+ `,m=(0,a.default)(c.Box)`
1061
+ position: ${({fixedHeader:e})=>e?"sticky":"relative"};
1062
+ top: ${({fixedHeader:e})=>e?0:void 0};
1063
+ z-index: ${({zIndex:e})=>e};
1064
+ align-items: center;
1065
+ background: ${({theme:e})=>e.palette.background3};
1066
+ border-top: 1px solid ${({theme:e})=>e.palette.background5};
1067
+ border-bottom: 1px solid ${({theme:e})=>e.palette.background5};
1068
+ cursor: pointer;
1069
+ display: inline-flex;
1070
+ gap: ${({theme:e})=>e.px.small};
1071
+ justify-content: space-between;
1072
+ line-height: ${({theme:e})=>e.lineHeight.heading};
1073
+ outline: none;
1074
+ padding: ${({theme:e})=>e.px.base};
1075
+ transition: border-color var(--openfin-ui-globalTransition);
1076
+ width: 100%;
1077
+ white-space: nowrap;
1078
+
1079
+ #icon-container {
1080
+ display: flex;
1081
+ align-items: center;
1082
+ margin-left: 10px;
1083
+ }
1084
+
1085
+ #collapsible-card-heading-badge {
1086
+ background-color: ${({theme:e})=>e.palette.brandPrimary};
1087
+ margin-right: 10px;
1088
+ }
1089
+
1090
+ &:hover {
1091
+ background-color: ${({theme:e})=>e.palette.background2};
1092
+ border-top: 1px solid ${({theme:e})=>e.palette.background5};
1093
+ border-bottom: 1px solid ${({theme:e})=>e.palette.background5};
1094
+ }
1095
+
1096
+ &:focus {
1097
+ border-top: 1px solid ${({theme:e})=>e.palette.borderNeutral};
1098
+ border-bottom: 1px solid ${({theme:e})=>e.palette.borderNeutral};
1099
+ }
1100
+ `},7787:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2361),t)},6588:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandDirection=void 0,function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(n||(t.ExpandDirection=n={}))},4947:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandableButton=void 0;const o=n(4848),r=n(2015),a=n(2367),l=i(n(2770)),s=n(5917),c=n(5322),u=n(1953),d=n(2094),f=n(6588);t.ExpandableButton=e=>{var t,n,i,l,s,p;const[_,x]=(0,r.useState)({show:!1,requestedByCollapse:!1}),O={size:e.size,kind:e.kind,disabled:e.disabled,tabIndex:e.tabIndex},C=Object.assign(Object.assign({},e),{shape:a.ButtonShape.square,"aria-label":null!==(t=e["aria-label"])&&void 0!==t?t:`Primary Button ${e.title}`}),w=null!==(n=e.expandDirection)&&void 0!==n?n:f.ExpandDirection.Down;return(0,r.useEffect)((()=>{if(!_.requestedByCollapse)return;const e=setTimeout((()=>x({requestedByCollapse:!1,show:!1})),200);return()=>clearTimeout(e)}),[_.requestedByCollapse]),(0,o.jsxs)(y,{children:[(0,o.jsxs)(v,{children:[(0,o.jsx)(m,Object.assign({},C,{children:(0,o.jsx)(b,{children:null!==(i=e.children)&&void 0!==i?i:C.title})})),e.secondaryButtons&&e.secondaryButtons.length>0&&(0,o.jsx)(d.Box,{id:"dropdown-container",children:(0,o.jsxs)(g,Object.assign({},O,{role:"combobox",onClick:()=>{_.requestedByCollapse||x({requestedByCollapse:!1,show:!_.show})},"aria-label":"Expand Secondary Buttons Panel","aria-expanded":_.show,children:[w===f.ExpandDirection.Down&&(0,o.jsx)(h,{kind:null!==(l=e.kind)&&void 0!==l?l:a.ButtonKind.primary,icon:"CaretDownIcon"}),w===f.ExpandDirection.Up&&(0,o.jsx)(h,{kind:null!==(s=e.kind)&&void 0!==s?s:a.ButtonKind.primary,icon:"CaretUpIcon"})]}))})]}),e.secondaryButtons&&e.secondaryButtons.length>0&&(0,o.jsx)(c.AnimatePresence,{children:_.show&&(0,o.jsx)(u.ExpandablePanel,{expandDirection:w,secondaryButtons:null!==(p=e.secondaryButtons)&&void 0!==p?p:[],stretch:e.stretchExpandablePanel,closePanelOnSecondaryButtonClick:e.closePanelOnSecondaryButtonClick,onCollapseRequest:()=>x({show:!1,requestedByCollapse:!0}),buttonSize:e.size,document:e.document})})]})};const p={[a.ButtonKind.primary]:e=>e.palette.brandPrimaryText,[a.ButtonKind.secondary]:e=>e.palette.brandSecondaryText,[a.ButtonKind.textOnly]:e=>e.palette.textDefault},h=(0,l.default)(s.Icon)`
1101
+ svg path {
1102
+ color: ${({theme:e,kind:t})=>p[t](e)};
1103
+ }
1104
+ line-height: ${({theme:e})=>e.lineHeight.ui};
1105
+ font-weight: ${({theme:e})=>e.fontWeight.bold};
1106
+ `,m=(0,l.default)(a.Button)`
1107
+ margin-right: ${({theme:e})=>e.px.xsmall};
1108
+ `,b=(0,l.default)(d.Box)`
1109
+ white-space: nowrap;
1110
+ text-overflow: ellipsis;
1111
+ display: block;
1112
+ overflow: hidden;
1113
+ `,g=(0,l.default)(a.Button)`
1114
+ width: ${e=>e.theme.px.xxlarge};
1115
+ padding: 0;
1116
+ display: flex;
1117
+ justify-content: center;
1118
+ align-items: center;
1119
+ `,v=l.default.div`
1120
+ display: inline-flex;
1121
+ flex-direction: row;
1122
+ position: relative;
1123
+ `,y=l.default.div`
1124
+ position: relative;
1125
+ display: inline-block;
1126
+ `},4032:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setupExpandablePanel=void 0;const i=n(6588);t.setupExpandablePanel=(e,t,n=!1)=>{if(!e||0===e.childNodes.length)return;const o=e.parentElement,r=null==o?void 0:o.getBoundingClientRect(),a=e.getBoundingClientRect();if(!r)return;const l=a.height,s=a.width<=r.width||n?a.width:r.width,c=r.x+s>document.body.clientWidth||s<r.width;e.style.width=`${s}px`,e.style.opacity="1",c?e.style.right="0px":e.style.left="0px",t===i.ExpandDirection.Down&&(e.style.top=`${r.height}px`),t===i.ExpandDirection.Up&&(e.style.top=-1*l+"px")}},1953:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandablePanel=void 0;const o=n(4848),r=i(n(2770)),a=n(5322),l=n(2367),s=n(2094),c=n(4032),u=i(n(4708)),d={type:"spring",duration:.2,bounce:.25};t.ExpandablePanel=e=>{var t;const n=`${e.panelId}-expandable-panel`;return(0,o.jsx)(u.default,{focusTrapOptions:{fallbackFocus:`#${n}`,clickOutsideDeactivates:!0,onDeactivate:e.onCollapseRequest,initialFocus:!1,document:e.document,returnFocusOnDeactivate:!1},children:(0,o.jsx)(h,{ref:t=>(0,c.setupExpandablePanel)(t,e.expandDirection,e.stretch),tabIndex:0,id:n,initial:"initial",exit:"hidden",buttonSize:null!==(t=e.buttonSize)&&void 0!==t?t:l.ButtonSize.base,animate:"visible",role:"menu",transition:d,onMouseOver:()=>{var e;return null===(e=document.activeElement)||void 0===e?void 0:e.blur()},children:e.secondaryButtons.map(((t,n)=>(0,o.jsx)(l.Button,{className:"menu-item",tabIndex:n+1,title:t.title,role:"menuitem",size:e.buttonSize,disabled:t.disabled,kind:"textOnly",onClick:n=>((t,n)=>{e.closePanelOnSecondaryButtonClick?(n.onClick(t),e.onCollapseRequest()):n.onClick(t,(()=>e.onCollapseRequest()))})(n,t),"aria-label":t.title,children:(0,o.jsx)(f,{"aria-label":t.title,children:t.title})},n)))},"expandablePanel")})};const f=(0,r.default)(s.Box)`
1127
+ padding-bottom: 1px;
1128
+ padding-top: 1px;
1129
+ white-space: nowrap;
1130
+ text-overflow: ellipsis;
1131
+ display: block;
1132
+ overflow: hidden;
1133
+ `,p={[l.ButtonSize.small]:e=>e.px.small,[l.ButtonSize.base]:e=>e.px.base,[l.ButtonSize.large]:e=>e.px.large},h=(0,r.default)(a.motion.div)`
1134
+ border-radius: ${({theme:e})=>e.radius.small};
1135
+ opacity: 0;
1136
+ display: flex;
1137
+ flex-direction: column;
1138
+ position: absolute;
1139
+ bottom: ${e=>e.theme.px.xxxlarge};
1140
+ max-width: max-content;
1141
+ min-width: 80px;
1142
+ background: ${e=>e.theme.palette.background4};
1143
+ box-shadow: ${e=>e.theme.shadow.base};
1144
+ height: max-content;
1145
+ z-index: 100;
1146
+
1147
+ .menu-item {
1148
+ border-radius: unset;
1149
+ background: none;
1150
+ border: transparent;
1151
+ text-overflow: ellipsis;
1152
+ width: 100%;
1153
+ display: block;
1154
+ overflow: clip;
1155
+ & > * {
1156
+ text-align: left;
1157
+ }
1158
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
1159
+ padding-top: ${({theme:e,buttonSize:t})=>p[t](e)};
1160
+ padding-bottom: ${({theme:e,buttonSize:t})=>p[t](e)};
1161
+ padding-left: ${({theme:e})=>e.px.small};
1162
+ padding-right: ${({theme:e})=>e.px.small};
1163
+
1164
+ :first-child {
1165
+ border-top-left-radius: ${({theme:e})=>e.radius.small};
1166
+ border-top-right-radius: ${({theme:e})=>e.radius.small};
1167
+ }
1168
+
1169
+ :last-child {
1170
+ border-bottom-left-radius: ${({theme:e})=>e.radius.small};
1171
+ border-bottom-right-radius: ${({theme:e})=>e.radius.small};
1172
+ }
1173
+
1174
+ &:focus,
1175
+ &:hover {
1176
+ outline: none;
1177
+ border-color: transparent;
1178
+ background: ${e=>e.theme.palette.background2};
1179
+ }
1180
+
1181
+ &:disabled,
1182
+ &:active:disabled {
1183
+ color: ${({theme:e})=>e.palette.textInactive};
1184
+ background: ${e=>e.theme.palette.background4};
1185
+ opacity: unset;
1186
+ }
1187
+ }
1188
+ `},5825:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4947),t),o(n(6588),t)},6368:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenu=t.findPathToItemWithId=void 0;const o=n(4848),r=n(2015),a=n(1255),l=i(n(2770)),s=n(2094);t.findPathToItemWithId=(e,n,i)=>{if(e.id===i)return n;if(e.children)for(let o=0;o<e.children.length;++o){const r=e.children[o];n.push(r.id);const a=(0,t.findPathToItemWithId)(r,n,i);if(a)return a;n.pop()}},t.ContentMenu=({structure:e,handleClickItem:n,handleBookmarkItem:i,targetId:l})=>{const[s,u]=(0,r.useState)([]),[d,f]=(0,r.useState)(),p=(0,r.useRef)(null),h=(0,r.useCallback)((()=>{p.current&&p.current.scrollTo({left:p.current.scrollWidth,behavior:"smooth"})}),[]);return(0,r.useEffect)((()=>{if(l){const n=(0,t.findPathToItemWithId)({id:"",children:e},[],l);if(n)return u(n),void f(`content-menu-item-${l}`)}f(void 0)}),[l]),(0,r.useEffect)((()=>{h()}),[s]),(0,o.jsx)(c,{ref:p,children:(0,o.jsx)(a.ContentMenuColumn,{entries:e,depth:0,path:s,targetItemId:d,setCurrentlySelectedPath:u,handleClickItem:n,handleBookmarkItem:i})})};const c=(0,l.default)(s.Box)`
1189
+ height: 100%;
1190
+ width: 100%;
1191
+
1192
+ background-color: ${({theme:e})=>e.palette.background1};
1193
+ display: flex;
1194
+
1195
+ overflow-x: auto;
1196
+ overflow-y: hidden;
1197
+ `},1255:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenuColumn=void 0;const o=n(4848),r=i(n(2770)),a=n(6418),l=n(2015),s=n(8307);t.ContentMenuColumn=({entries:e,depth:n,path:i,targetItemId:r,setCurrentlySelectedPath:a,handleClickItem:d,handleBookmarkItem:f})=>{const p=(0,l.useRef)(null),h=i[n],m=h?e.find((e=>e.id===h)):void 0;(0,l.useEffect)((()=>{if(r&&m){const e=document.getElementById(`content-menu-item-${m.id}`);if(e&&p.current){const t=e.getBoundingClientRect().top-p.current.children[0].getBoundingClientRect().top;p.current.scrollTo({top:t,behavior:"smooth"})}}}),[r]);const b=(0,l.useCallback)((e=>{a((t=>e?(t[n]=e,t.slice(0,n+1)):t.slice(0,n)))}),[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{ref:p,children:e.length>0?(0,o.jsx)("div",{children:e.map((e=>(0,o.jsx)(s.ContentMenuItem,{entry:e,active:"folder"===e.type&&e.id===h,handleClick:(e,t)=>{"folder"===e.type?b(e.id):d(e,t)},handleBookmark:f},e.id)))}):(0,o.jsx)(u,{children:"No content available."})}),m&&"folder"===m.type&&(0,o.jsx)(t.ContentMenuColumn,{entries:m.children,depth:n+1,path:i,targetItemId:r,setCurrentlySelectedPath:a,handleClickItem:d,handleBookmarkItem:f})]})};const c=(0,r.default)(a.MenuFrame).attrs({className:"content-menu-column-frame"})`
1198
+ height: 100%;
1199
+ width: 241px;
1200
+ padding: ${({theme:e})=>e.px.xsmall};
1201
+ overflow-y: auto;
1202
+
1203
+ position: unset;
1204
+ flex-shrink: 0;
1205
+
1206
+ border-right: 1px solid ${({theme:e})=>e.palette.background5};
1207
+ `,u=r.default.div`
1208
+ height: 100%;
1209
+
1210
+ display: flex;
1211
+ justify-content: center;
1212
+ align-items: center;
1213
+
1214
+ user-select: none;
1215
+ `},8307:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.ContentMenuItemContainer=t.ContentMenuItem=void 0;const l=n(4848),s=a(n(2770)),c=n(6418),u=n(5917),d=n(5699);t.ContentMenuItem=({entry:e,active:n,handleClick:i,handleBookmark:o})=>{const{label:r,type:a}=e;return(0,l.jsxs)(t.ContentMenuItemContainer,{id:`content-menu-item-${e.id}`,onClick:t=>i(e,t),active:n,children:["item"===a&&(0,l.jsx)(d.IconWithFallback,{iconUrl:e.icon}),(0,l.jsx)(f,{size:"base",weight:"normal",children:r}),(0,l.jsx)(p,{side:"right",bookmarked:e.bookmarked,onClick:t=>{null==t||t.stopPropagation(),o&&o(e)},"data-testid":`content-menu-item-${e.id}-bookmark-icon`,children:e.bookmarked?(0,l.jsx)(u.Icon,{icon:"StarFilledIcon"}):(0,l.jsx)(u.Icon,{icon:"StarIcon"})}),"folder"===a&&(0,l.jsx)(c.MenuItemIconContainer,{side:"right","data-testid":`content-menu-item-${e.id}-chevron-icon`,children:(0,l.jsx)(c.MenuItemRightIcon,{icon:"ChevronRightIcon"})})]})};const f=(0,s.default)(c.MenuItemText)`
1216
+ padding-right: ${({theme:e})=>e.px.large};
1217
+ `,p=(0,s.default)(c.MenuItemIconContainer)`
1218
+ ${({bookmarked:e})=>e?s.css`
1219
+ & + ${c.MenuItemIconContainer} {
1220
+ margin-left: unset;
1221
+ }
1222
+ `:s.css`
1223
+ display: none;
1224
+ `};
1225
+
1226
+ svg {
1227
+ height: ${({theme:e})=>e.px.large};
1228
+ width: ${({theme:e})=>e.px.large};
1229
+ }
1230
+ `;t.ContentMenuItemContainer=(0,s.default)(c.MenuItemInnerContainer).attrs((({active:e})=>({className:["content-menu-item-container",e?"content-menu-item-container-active":""].filter(Boolean).join(" ")})))`
1231
+ ${({theme:e,active:t})=>t&&s.css`
1232
+ background-color: ${e.palette.background3};
1233
+ `}
1234
+ &:hover {
1235
+ background-color: ${({theme:e})=>e.palette.background2};
1236
+
1237
+ ${p} {
1238
+ display: block;
1239
+ }
1240
+
1241
+ ${p} + ${c.MenuItemIconContainer} {
1242
+ margin-left: unset;
1243
+ }
1244
+ }
1245
+ `},5699:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IconWithFallback=void 0;const o=n(4848),r=i(n(2770)),a=n(1491),l=n(5917);t.IconWithFallback=({iconUrl:e,alt:t})=>{const n=(0,a.useImageLoader)(e);return"error"===n?(0,o.jsx)(s,{children:(0,o.jsx)(l.Icon,{icon:"FallbackGlobeIcon"})}):"loading"===n?(0,o.jsx)(c,{}):(0,o.jsx)(u,{src:e,alt:t})};const s=r.default.div`
1246
+ height: ${({theme:e})=>e.px.large};
1247
+ width: ${({theme:e})=>e.px.large};
1248
+ margin-left: ${({theme:e})=>e.px.small};
1249
+
1250
+ border-radius: ${({theme:e})=>e.radius.small};
1251
+ `,c=r.default.div`
1252
+ height: ${({theme:e})=>e.px.large};
1253
+ width: ${({theme:e})=>e.px.large};
1254
+ margin-left: ${({theme:e})=>e.px.small};
1255
+ `,u=r.default.img`
1256
+ height: ${({theme:e})=>e.px.large};
1257
+ width: ${({theme:e})=>e.px.large};
1258
+ margin-left: ${({theme:e})=>e.px.small};
1259
+
1260
+ border-radius: ${({theme:e})=>e.radius.small};
1261
+
1262
+ user-select: none;
1263
+ `},1491:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useImageLoader=void 0;const i=n(2015);t.useImageLoader=e=>{const[t,n]=(0,i.useState)("loading");return(0,i.useEffect)((()=>{if(!e)return void n("error");n("loading");const t=new Image,i=()=>{n("success")},o=()=>{n("error")};return t.addEventListener("load",i),t.addEventListener("error",o),t.src=e,()=>{t.removeEventListener("load",i),t.removeEventListener("error",o)}}),[e]),t}},4810:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6368),t)},244:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomContextMenu=t.CONTEXT_MENU_ANIMATION_DURATION=t.PRIOR_CONTEXT_MENU_CLASS=t.BASE_CONTEXT_MENU=t.ACTIVE_CONTEXT_MENU_CLASS=t.CONTEXT_MENU_FRAME_ID=void 0;const o=n(4848),r=n(2015),a=i(n(2770)),l=n(9005),s=n(68),c=n(6972),u=n(8666),d=n(3247),f=n(8429),p=n(6418);t.CONTEXT_MENU_FRAME_ID="context_menu_frame",t.ACTIVE_CONTEXT_MENU_CLASS="active_context_menu",t.BASE_CONTEXT_MENU="base_context_menu",t.PRIOR_CONTEXT_MENU_CLASS="previous_context_menu",t.CONTEXT_MENU_ANIMATION_DURATION=200,t.CustomContextMenu=({menuTemplate:e,onClick:n,icon:i,onMenuResize:a,onContextMenuReady:p,isWindows:b=!0})=>{var g;const v=(0,r.useRef)(null),[y,_]=(0,r.useState)(!1),[x,O]=(0,r.useState)({width:160,height:160}),[C,w]=(0,r.useState)(0),[j,S]=(0,r.useState)([]),[P,M]=(0,r.useState)(),[E,T]=(0,r.useState)([]),[k,I]=(0,r.useState)(e.map((e=>e.label||""))),[D,$]=(0,r.useState)(-1);(0,r.useEffect)((()=>{I(e.map((e=>e.label||""))),$(k.findIndex((e=>e===P)))}),[e]);const{width:N,height:A}=(0,s.useResizeContextMenu)(P),{handleNavigateToSubmenu:F,handleNavigateBackToParent:R,handleNavigateToBase:B}=(0,u.useContextMenuNavigation)(C,w,E,T,P,M,O,$,j,a);return(0,r.useEffect)((()=>{S((0,c.getMenuNavigationOrder)(e)),M(t.BASE_CONTEXT_MENU),T([]),O({width:N,height:A})}),[e]),(0,d.useContextMenuKeyboardNavigation)(null===(g=j.find((e=>e.parentLabel===P)))||void 0===g?void 0:g.menuTemplate,E,P,D,$,n,F,R,B),(0,r.useEffect)((()=>{v.current&&(y||(p&&p(),_(!0)))}),[v.current]),(0,o.jsx)(h,{id:t.CONTEXT_MENU_FRAME_ID,transitionSpeed:C,isWindows:b,children:j.map((({parentLabel:e,menuTemplate:r})=>(0,o.jsx)("div",{ref:e===P?v:void 0,children:(0,o.jsxs)(m,{className:(0,c.getClassName)(e,P,E),activeMenuWidth:x.width,transitionSpeed:C,id:e,children:[e!==t.BASE_CONTEXT_MENU?(0,o.jsx)(l.CustomContextMenuItem,{type:"submenuHeader",label:e,onBack:()=>R(e,"click"),onClose:B,showShouldHomeButton:E.slice(2).includes(e)||E.length>=2&&P===e,selected:-1===D},`${e}-submenu-header`):i&&(0,o.jsx)(f.RootMenuHeader,{icon:i}),r.map(((t,i)=>(0,o.jsx)(l.CustomContextMenuItem,Object.assign({onClick:e=>{t.hasSubMenu?F(t.label||""):n(e),$(-2)}},t,{selected:D===i}),`${e}-${t.label}-${i}`)))]})},e)))})};const h=a.default.div`
1264
+ position: relative;
1265
+ min-width: fit-content;
1266
+ min-height: fit-content;
1267
+ overflow: hidden;
1268
+
1269
+ background-color: ${({theme:e})=>e.palette.background1};
1270
+ transition: ${({transitionSpeed:e})=>`all ${e}ms linear`};
1271
+ border: ${({theme:e,isWindows:t})=>t&&`1px solid ${e.palette.background3}`};
1272
+ border-radius: ${({isWindows:e})=>!e&&"10px"};
1273
+ `,m=(0,a.default)(p.MenuFrame)`
1274
+ transform: translateX(${({activeMenuWidth:e})=>`${e}px`});
1275
+ transition: ${({transitionSpeed:e})=>`all ${e}ms cubic-bezier(0, 0, 0.58, 1)`};
1276
+ opacity: 0%;
1277
+
1278
+ &.active_context_menu {
1279
+ transform: unset;
1280
+ opacity: 100%;
1281
+ }
1282
+
1283
+ &.previous_context_menu {
1284
+ transform: translateX(-100%);
1285
+ opacity: 0%;
1286
+ }
1287
+ `},6374:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorLinkingContextMenuWidget=void 0;const o=n(4848),r=i(n(2770)),a=n(2094),l=n(5917);t.ColorLinkingContextMenuWidget=({config:e,onClick:t})=>(0,o.jsx)(u,{children:e.channels.map((e=>"color"in e?(0,o.jsx)(c,{title:e.label,color:e.color,onClick:()=>null==t?void 0:t(e.data),children:e.checked&&(0,o.jsx)(l.Icon,{icon:"CheckIcon",title:e.label,size:"base",color:"white"})},e.label):(0,o.jsx)(s,{onClick:()=>null==t?void 0:t(e.data),children:(0,o.jsx)(l.Icon,{icon:"LinkBreak1Icon",title:e.label,size:"base"})},e.label)))});const s=(0,r.default)(a.Box)`
1288
+ cursor: pointer;
1289
+ width: ${({theme:e})=>e.px.large};
1290
+ height: ${({theme:e})=>e.px.large};
1291
+ justify-content: center;
1292
+ `,c=(0,r.default)(a.Box)`
1293
+ background-color: ${({color:e})=>e};
1294
+ width: ${({theme:e})=>e.px.large};
1295
+ height: ${({theme:e})=>e.px.large};
1296
+ border-radius: 3px;
1297
+ cursor: pointer;
1298
+ justify-content: center;
1299
+ align-items: center;
1300
+ `,u=(0,r.default)(a.Box)`
1301
+ flex-direction: row;
1302
+ gap: ${({theme:e})=>e.px.small};
1303
+ /*
1304
+ * Container width is colorbox width * columnCount + # of gaps * gap width + side padding
1305
+ */
1306
+ width: calc(
1307
+ ${({theme:e})=>e.px.large} * 5 + 4 * ${({theme:e})=>e.px.small} + 2 *
1308
+ ${({theme:e})=>e.px.small}
1309
+ );
1310
+ flex-wrap: wrap;
1311
+ padding: ${({theme:e})=>e.px.small} ${({theme:e})=>e.px.small};
1312
+ `},9005:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.CustomContextMenuItem=void 0;const o=n(4848),r=n(2015),a=n(6554),l=n(2294),s=n(3741),c=n(4953),u={normal:l.NormalCustomContextMenuItem,checkbox:l.NormalCustomContextMenuItem,submenu:l.NormalCustomContextMenuItem,separator:a.SeparatorCustomContextMenuItem,submenuHeader:s.SubmenuHeaderCustomContextMenuItem,widget:c.WidgetCustomContextMenuItem};t.CustomContextMenuItem=e=>{var{type:t="normal",icon:n,label:a,enabled:l=!0,checked:s,hasSubMenu:c,showShouldHomeButton:d,onClick:f,onClose:p,onBack:h,selected:m}=e,b=i(e,["type","icon","label","enabled","checked","hasSubMenu","showShouldHomeButton","onClick","onClose","onBack","selected"]);let g;switch(t){case"normal":case"checkbox":{g=Object.assign(Object.assign({},b),{type:t,label:a,icon:n,enabled:l,checked:s,selected:m,onClick:f});const e=u[t];return(0,r.createElement)(e,Object.assign({},g,{key:a}))}case"submenu":{g=Object.assign(Object.assign({},b),{label:a,enabled:l,checked:s,submenu:c,selected:m,onClick:f});const e=u[t];return(0,r.createElement)(e,Object.assign({},g,{key:a}))}case"submenuHeader":{g={label:a,showShouldHomeButton:d,onClose:p,onBack:h,selected:m,onClick:f};const e=u[t];return(0,r.createElement)(e,Object.assign({},g,{key:a}))}case"separator":{const e=u[t];return(0,o.jsx)(e,{})}case"widget":{const e=Object.assign(Object.assign({},b),{onClick:f,label:a,enabled:l}),n=u[t];return(0,r.createElement)(n,Object.assign({},e,{key:a,onClick:f}))}default:return(0,o.jsx)(o.Fragment,{})}}},2294:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NormalCustomContextMenuItem=void 0;const o=n(4848),r=i(n(2770)),a=n(5917),l=n(6418);t.NormalCustomContextMenuItem=({type:e,label:t,enabled:n=!0,checked:i,submenu:r,onClick:a,selected:c,data:u})=>(0,o.jsx)(l.MenuItemContainer,{children:(0,o.jsxs)(l.MenuItemInnerContainer,{onClick:n?()=>null==a?void 0:a(u):void 0,enabled:n.toString(),selected:c,children:["checkbox"===e&&(0,o.jsx)(l.MenuItemIconContainer,{side:"left",children:(0,o.jsx)(s,{icon:"CheckIcon",enabled:n.toString(),checked:i})}),(0,o.jsx)(l.MenuItemText,{size:"base",weight:"normal",enabled:n,children:t}),r&&(0,o.jsx)(l.MenuItemIconContainer,{side:"right",children:(0,o.jsx)(l.MenuItemRightIcon,{icon:"ChevronRightIcon",enabled:n})})]})});const s=(0,r.default)(a.Icon)`
1313
+ svg path {
1314
+ fill: ${({theme:e,enabled:t,checked:n})=>"true"===t?n?e.palette.textDefault:"transparent":e.palette.textInactive};
1315
+ stroke-width: 1.25;
1316
+ }
1317
+ `},8429:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootMenuHeader=void 0;const o=n(4848),r=i(n(2770)),a=n(2094),l=n(6554);t.RootMenuHeader=({icon:e})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{children:e}),(0,o.jsx)(l.SeparatorCustomContextMenuItem,{})]});const s=(0,r.default)(a.Box)`
1318
+ width: 100%;
1319
+ height: 28px;
1320
+ display: flex;
1321
+ align-items: center;
1322
+ justify-content: flex-start;
1323
+ border-radius: ${({theme:e})=>e.radius.small};
1324
+ padding: ${({theme:e})=>`0 0 0 ${e.px.large}`};
1325
+ `},6554:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SeparatorCustomContextMenuItem=void 0;const o=n(4848),r=n(2094),a=i(n(2770));t.SeparatorCustomContextMenuItem=()=>(0,o.jsx)(l,{"data-testid":"custom-context-menu-separator",children:(0,o.jsx)(s,{})});const l=(0,a.default)(r.Box)`
1326
+ width: 100%;
1327
+ padding: ${({theme:e})=>e.px.small} 0;
1328
+ `,s=a.default.hr`
1329
+ width: 100%;
1330
+ height: 1px;
1331
+ border: none;
1332
+ background-color: ${({theme:e})=>e.palette.background3};
1333
+ `},3741:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SubmenuHeaderCustomContextMenuItem=void 0;const o=n(4848),r=n(2015),a=i(n(2770)),l=n(5917),s=n(5963),c=n(2094),u=n(6554);t.SubmenuHeaderCustomContextMenuItem=({label:e,showShouldHomeButton:t,onClose:n,onBack:i,selected:a})=>{const l=(0,r.useCallback)((e=>{e.stopPropagation(),null==i||i()}),[i]),s=(0,r.useCallback)((e=>{e.stopPropagation(),null==n||n()}),[n]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(d,{children:[(0,o.jsx)(f,{side:"left",selected:a,children:(0,o.jsx)(p,{icon:"ArrowLeftIcon",onClick:l,id:"back-icon",selected:a})}),(0,o.jsx)(h,{size:"base",weight:"normal",children:e}),t&&(0,o.jsx)(f,{side:"right",children:(0,o.jsx)(m,{icon:"Cross2Icon",onClick:s,id:"close-icon"})})]}),(0,o.jsx)(u.SeparatorCustomContextMenuItem,{})]})};const d=(0,a.default)(c.Box)`
1334
+ width: 100%;
1335
+ height: 28px;
1336
+ display: flex;
1337
+ align-items: center;
1338
+ justify-content: flex-start;
1339
+ border-radius: ${({theme:e})=>e.radius.small};
1340
+ padding: ${({theme:e})=>`0 ${e.px.small} 0 ${e.px.small}`};
1341
+ `,f=(0,a.default)(c.Box)`
1342
+ padding: ${({theme:e,side:t})=>"right"===t?`0 ${e.px.small} 0 0`:`0 0 0 ${e.px.small}`};
1343
+ margin-left: ${({side:e})=>"right"===e?"auto":0};
1344
+ `,p=(0,a.default)(l.Icon)`
1345
+ border-radius: ${({theme:e})=>e.radius.small};
1346
+ background-color: ${({selected:e,theme:t})=>e?t.palette.background3:"transparent"};
1347
+ color: ${({theme:e,selected:t})=>t?e.palette.textDefault:e.palette.textHelp};
1348
+ stroke: ${({theme:e,selected:t})=>t?e.palette.textDefault:e.palette.textHelp};
1349
+ stroke-width: 0.25;
1350
+
1351
+ &:hover {
1352
+ color: ${({theme:e})=>e.palette.textDefault};
1353
+ stroke: ${({theme:e})=>e.palette.textDefault};
1354
+ }
1355
+ `,h=(0,a.default)(s.Text)`
1356
+ color: ${({theme:e})=>e.palette.textHelp};
1357
+ padding: ${({theme:e})=>`0 ${e.px.xxxlarge} 0 ${e.px.small}`};
1358
+ cursor: default;
1359
+ `,m=(0,a.default)(l.Icon)`
1360
+ color: ${({theme:e})=>e.palette.textHelp};
1361
+ stroke: ${({theme:e})=>e.palette.textHelp};
1362
+ stroke-width: 0.25;
1363
+ margin-left: auto;
1364
+
1365
+ &:hover {
1366
+ color: ${({theme:e})=>e.palette.textDefault};
1367
+ stroke: ${({theme:e})=>e.palette.textDefault};
1368
+ }
1369
+ `},4953:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetCustomContextMenuItem=void 0;const o=n(4848),r=n(6418),a=i(n(2770)),l=n(2094),s=n(6374);t.WidgetCustomContextMenuItem=({label:e,enabled:t,onClick:n,config:i})=>(0,o.jsx)(r.MenuItemContainer,{children:(0,o.jsxs)(c,{enabled:(null!=t?t:"true").toString(),children:[(0,o.jsx)(r.MenuItemText,{size:"base",weight:"normal",enabled:t,children:e}),(0,o.jsx)(s.ColorLinkingContextMenuWidget,{config:i,onClick:n})]})});const c=(0,a.default)(l.Box)`
1370
+ display: flex;
1371
+ flex-direction: column;
1372
+ align-items: start;
1373
+ width: 100%;
1374
+ min-height: 28px;
1375
+ justify-content: flex-start;
1376
+ border-radius: ${({theme:e})=>e.radius.small};
1377
+ background-color: ${({theme:e,selected:t,enabled:n})=>"false"!==n&&t?e.palette.background3:"transparent"};
1378
+ `},759:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(244),t)},3247:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useContextMenuKeyboardNavigation=void 0;const i=n(2015),o=n(244);t.useContextMenuKeyboardNavigation=(e,t,n,r,a,l,s,c,u)=>{const d=t=>{var n,i,o;return"separator"===(null===(n=e[t])||void 0===n?void 0:n.type)||!1===(null===(i=e[t])||void 0===i?void 0:i.enabled)||!1===(null===(o=e[t])||void 0===o?void 0:o.visible)},f=(0,i.useCallback)((()=>{a((t=>{let n=t;do{if(n===(null==e?void 0:e.length)-1)break;n+=1}while(d(n));return d(n)?t:n}))}),[a,e]),p=(0,i.useCallback)((()=>{a((e=>{let t=e;do{if(n===o.BASE_CONTEXT_MENU&&0===t||-1===t)break;t-=1}while(d(t));return t}))}),[a,e]),h=(0,i.useCallback)((()=>{a(n===o.BASE_CONTEXT_MENU?0:-1)}),[a,n]),m=(0,i.useCallback)((()=>{a((t=>{for(let n=e.length-1;n>=t;n--)if(!d(n))return n;return t}))}),[null==e?void 0:e.length,a]),b=(0,i.useCallback)((()=>{var t,i;if(null===(t=e[r])||void 0===t?void 0:t.hasSubMenu)s((null===(i=e[r])||void 0===i?void 0:i.label)||"");else{if(-1===r)return void c(n,"keyboard");l(e[r].data)}a(-1)}),[a,l,s,e,r,c,n]),g=(0,i.useCallback)((()=>{var t,n;(null===(t=e[r])||void 0===t?void 0:t.hasSubMenu)&&(s((null===(n=e[r])||void 0===n?void 0:n.label)||""),a(-1))}),[a,s,e,r]),v=(0,i.useCallback)((()=>{(t.slice(1).includes(n)||(null==t?void 0:t.length)>=1)&&c(n,"keyboard")}),[c,t,n]),y=(0,i.useCallback)((()=>{t.slice(2).includes(n)||(null==t?void 0:t.length)>=2?u():l({type:"close"})}),[u,t,n]);(0,i.useEffect)((()=>{const e=e=>{switch(e.key){case"ArrowDown":f();break;case"ArrowUp":p();break;case"Home":case"PageUp":h();break;case"End":case"PageDown":m();break;case"Enter":b();break;case"ArrowRight":g();break;case"ArrowLeft":v();break;case"Escape":y()}};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f,p,h,m,b,g,v,y])}},8666:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useContextMenuNavigation=void 0;const i=n(2015),o=n(244);t.useContextMenuNavigation=(e,t,n,r,a,l,s,c,u,d)=>{const f=(0,i.useCallback)((e=>{const t=document.getElementById(e),n=null==t?void 0:t.getBoundingClientRect();return{height:(null==n?void 0:n.height)||0,width:(null==n?void 0:n.width)||0}}),[]);return{handleNavigateToSubmenu:(0,i.useCallback)((i=>{const{height:c,width:u}=f(i);d&&d(c,u),e||t(o.CONTEXT_MENU_ANIMATION_DURATION),s({width:u,height:c}),l(i),r([...n,a])}),[a,n,r,d,t,f]),handleNavigateBackToParent:(0,i.useCallback)(((e,t="click")=>{if(d){const e=1===n.length?o.BASE_CONTEXT_MENU:n[n.length-1],{height:t,width:i}=f(e);d(t,i)}const i=n,a=i.pop(),s=u.find((e=>e.parentLabel===a));l(a),r(i),c("keyboard"===t?(null==s?void 0:s.menuTemplate.findIndex((t=>t.label===e)))||0:-1)}),[n,r,c,f,d,u]),handleNavigateToBase:(0,i.useCallback)((()=>{if(d){const{height:e,width:t}=f(o.BASE_CONTEXT_MENU);d(e,t)}l(o.BASE_CONTEXT_MENU),r([]),c(-1)}),[l,r,c,f,d])}}},68:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useResizeContextMenu=void 0;const i=n(2015),o=n(244);t.useResizeContextMenu=e=>{const[t,n]=(0,i.useState)({height:160,width:160});return(0,i.useEffect)((()=>{const t=document.getElementById(e),i=document.getElementById(o.CONTEXT_MENU_FRAME_ID);if(!t)return;const r=new ResizeObserver((e=>{for(const t of e){const{width:e,height:o}=t.target.getBoundingClientRect();i&&(i.style.height=`${o}px`,i.style.width=`${e}px`,n({width:e,height:o}))}}));return r.observe(t),()=>{r.unobserve(t)}}),[e]),t}},6972:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMenuNavigationOrder=t.getClassName=void 0;const i=n(244);t.getClassName=(e,t,n)=>t===e?i.ACTIVE_CONTEXT_MENU_CLASS:n.includes(e)?i.PRIOR_CONTEXT_MENU_CLASS:"",t.getMenuNavigationOrder=e=>{if(!e)return[];const t=[{parentLabel:i.BASE_CONTEXT_MENU,template:e}],n=[];for(;t.length;){const{template:e,parentLabel:i}=t.pop();e.forEach((({submenu:n,label:i},o)=>{n&&(t.push({parentLabel:i||"",template:n}),delete e[o].submenu,e[o].hasSubMenu=!0)})),n.push({parentLabel:i,menuTemplate:e})}return n}},6418:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItemText=t.MenuItemRightIcon=t.MenuItemIconContainer=t.MenuItemInnerContainer=t.MenuItemContainer=t.MenuFrame=void 0;const o=i(n(2770)),r=n(2094),a=n(5917),l=n(5963);t.MenuFrame=(0,o.default)(r.Box)`
1379
+ display: flex;
1380
+ flex-direction: column;
1381
+ position: absolute;
1382
+ width: max-content;
1383
+ background-color: ${({theme:e})=>e.palette.background1};
1384
+ padding: ${({theme:e})=>`${e.px.small} 0 ${e.px.small} 0`};
1385
+ `,t.MenuItemContainer=(0,o.default)(r.Box)`
1386
+ width: 100%;
1387
+ padding: ${({theme:e})=>`0 ${e.px.small} 0 ${e.px.small}`};
1388
+ `,t.MenuItemInnerContainer=(0,o.default)(r.Box)`
1389
+ width: 100%;
1390
+ min-height: 28px;
1391
+ display: flex;
1392
+ align-items: center;
1393
+ justify-content: flex-start;
1394
+ border-radius: ${({theme:e})=>e.radius.small};
1395
+ background-color: ${({theme:e,selected:t,enabled:n})=>"false"!==n&&t?e.palette.background3:"transparent"};
1396
+
1397
+ &:hover {
1398
+ background-color: ${({theme:e,enabled:t})=>"false"!==t?e.palette.background3:"transparent"};
1399
+ }
1400
+ `,t.MenuItemIconContainer=(0,o.default)(r.Box)`
1401
+ margin-left: ${({side:e})=>"right"===e?"auto":0};
1402
+ padding: ${({theme:e,side:t})=>"right"===t?`0 ${e.px.small} 0 0`:`0 0 0 ${e.px.small}`};
1403
+ `,t.MenuItemRightIcon=(0,o.default)(a.Icon)`
1404
+ margin-left: auto;
1405
+
1406
+ svg path {
1407
+ fill: ${({theme:e,enabled:t})=>null==t||t?e.palette.textDefault:e.palette.textInactive};
1408
+ stroke: ${({theme:e,enabled:t})=>null==t||t?e.palette.textDefault:e.palette.textInactive};
1409
+ stroke-width: 0.5;
1410
+ }
1411
+ `,t.MenuItemText=(0,o.default)(l.Text)`
1412
+ color: ${({theme:e,enabled:t})=>null==t||t?e.palette.textDefault:e.palette.textInactive};
1413
+ cursor: default;
1414
+
1415
+ overflow: hidden;
1416
+ text-overflow: ellipsis;
1417
+ white-space: nowrap;
1418
+
1419
+ user-select: none;
1420
+ padding: ${({theme:e})=>`0 ${e.px.xxxlarge} 0 ${e.px.small}`};
1421
+ `},8577:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3803),t)},3803:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Toggle=void 0;const r=n(4848),a=n(2015),l=o(n(2770)),s=n(2649),c=n(2094),u=n(8820);t.Toggle=e=>{var{id:t,label:n,onChange:o,labelSide:l="right",type:s="checkbox",helperText:c}=e,m=i(e,["id","label","onChange","labelSide","type","helperText"]);const[b,g]=(0,a.useState)(m.checked);return(0,a.useEffect)((()=>{g(m.checked)}),[m.checked]),(0,r.jsxs)(d,{labelSide:l,children:[(n||c)&&(0,r.jsx)(u.Label,{htmlFor:t,text:n,helperText:c}),(0,r.jsxs)(f,{isChecked:b,children:[(0,r.jsx)(h,Object.assign({},m,{id:t,type:s,onChange:e=>{g(e.target.checked),null==o||o(e)}})),(0,r.jsx)(p,{tabIndex:-1,"aria-hidden":"true",isChecked:b})]})]})};const d=l.default.div`
1422
+ display: flex;
1423
+ gap: ${({theme:e})=>e.px.xlarge};
1424
+ flex-direction: ${({labelSide:e})=>"left"===e?"row":"row-reverse"};
1425
+ line-height: ${({theme:e})=>e.px.xlarge};
1426
+ `,f=(0,l.default)(c.Box)`
1427
+ --px-toggle: ${({theme:e})=>e.px.xlarge};
1428
+ --px-knob: ${({theme:e})=>e.px.base};
1429
+
1430
+ position: relative;
1431
+ height: var(--px-toggle);
1432
+ width: calc(2 * var(--px-toggle));
1433
+ border: 1px solid
1434
+ ${({isChecked:e,theme:t})=>e?t.palette.brandPrimary:t.palette.background6};
1435
+ border-radius: calc(0.5 * var(--px-toggle));
1436
+
1437
+ background: ${({isChecked:e,theme:t})=>e?t.palette.brandPrimary:t.palette.background6};
1438
+ transition: background var(--openfin-ui-globalTransition),
1439
+ border-color var(---openfin-ui-globalTransition);
1440
+
1441
+ &:focus-within {
1442
+ border-color: ${({theme:e})=>e.palette.inputFocused};
1443
+ }
1444
+ `,p=l.default.button`
1445
+ position: absolute;
1446
+ width: var(--px-knob);
1447
+ height: var(--px-knob);
1448
+ top: 50%;
1449
+ left: ${({theme:e})=>e.px.xsmall};
1450
+ transform: translateY(-50%);
1451
+ border-radius: 50%;
1452
+ background: ${({isChecked:e,theme:t})=>e?t.palette.brandPrimaryText:t.palette.inputColor};
1453
+ border: none;
1454
+ outline: none;
1455
+ transition: left var(--openfin-ui-globalTransition), background var(--openfin-ui-globalTransition);
1456
+ pointer-events: none; /* Allow pass-thru for native input */
1457
+ `,h=(0,l.default)(s.RawInput)`
1458
+ position: absolute;
1459
+ top: 0;
1460
+ left: 0;
1461
+ width: 100%;
1462
+ height: 100%;
1463
+ opacity: 0;
1464
+ border: none;
1465
+ outline: none;
1466
+ appearance: none;
1467
+ display: block;
1468
+
1469
+ &:checked + ${p} {
1470
+ left: calc(100% - ${({theme:e})=>e.px.large});
1471
+ }
1472
+ &:disabled + ${p} {
1473
+ background: ${({theme:e})=>e.palette.inputDisabled};
1474
+ }
1475
+ &:not(:disabled) {
1476
+ cursor: pointer;
1477
+ }
1478
+ `},9992:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Badge=void 0;const r=n(4848),a=o(n(2770)),l=n(2094),s=n(8543);t.Badge=e=>{var{count:t=0,max:n}=e,o=i(e,["count","max"]);let a=t.toString();return n&&t>n&&(a=`${n}+`),(0,r.jsx)(c,Object.assign({},o,{children:a}))};const c=(0,a.default)(l.Box)`
1479
+ background: ${({theme:e})=>e.palette.statusCritical};
1480
+ border-radius: ${({theme:e})=>e.radius.pill};
1481
+ color: ${s.Color.white};
1482
+ font-size: ${({theme:e})=>e.fontSize.small};
1483
+ min-width: ${({theme:e})=>e.px.xlarge};
1484
+ padding: 2px 6px;
1485
+ display: inline-flex;
1486
+ align-items: center;
1487
+ justify-content: center;
1488
+ box-shadow: ${({theme:e})=>e.shadow.base};
1489
+ `},3189:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9992),t)},2942:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t}),l=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Calendar=void 0;const c=n(4848),u=n(2015),d=s(n(2770)),f=n(9500),p=n(2367),h=n(2094),m=a(n(1193));t.Calendar=e=>{var{value:t,onChange:n,onDismiss:i}=e,o=l(e,["value","onChange","onDismiss"]);const[r]=(0,u.useState)(t),[a,s]=(0,u.useState)(t),d=(0,u.useCallback)((e=>{if(e instanceof Array){const t=e;s(t[0]),null==n||n(t[0])}else s(e),null==n||n(e)}),[]),p=(0,u.useCallback)((()=>{d(r||null),null==i||i()}),[]);return(0,c.jsxs)(v,{"data-testid":"react-calendar",children:[(0,c.jsx)(f.Calendar,Object.assign({value:a,onChange:d,calendarType:"gregory",defaultView:"month",minDetail:"year",next2Label:null,prev2Label:null,showFixedNumberOfWeeks:!0,selectRange:!1,allowPartialRange:!1},o)),(0,c.jsxs)(b,{children:[(0,c.jsx)(g,{"data-testid":"calendar-cancel-button","aria-label":"cancel-button",label:"Cancel",size:"base",kind:"textOnly",onClick:p}),(0,c.jsx)(g,{"data-testid":"calendar-apply-button","aria-label":"apply-button",label:"Apply",size:"base",kind:"primary",onClick:i})]})]})};const b=(0,d.default)(h.Box)`
1490
+ width: 100%;
1491
+ padding: ${({theme:e})=>`${e.px.small} 0px`};
1492
+ display: flex;
1493
+ align-items: center;
1494
+ justify-content: flex-end;
1495
+ margin-right: ${({theme:e})=>`${e.px.small}`};
1496
+ background-color: ${({theme:e})=>e.palette.background4};
1497
+ border: 1px solid ${({theme:e})=>e.palette.background6};
1498
+ border-top: none;
1499
+ `,g=(0,d.default)(p.Button)`
1500
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
1501
+ margin-right: ${({theme:e})=>`${e.px.small}`};
1502
+ `,v=(0,d.default)(h.Box)`
1503
+ ${m};
1504
+ flex-direction: column;
1505
+ font-style: normal;
1506
+ font-weight: 400;
1507
+ font-size: 12px;
1508
+ user-select: none;
1509
+
1510
+ .react-calendar {
1511
+ min-width: 230px;
1512
+ width: 100%;
1513
+ background-color: ${({theme:e})=>e.palette.background4};
1514
+ color: ${({theme:e})=>e.palette.textDefault};
1515
+ font-size: ${({theme:e})=>e.fontSize.base};
1516
+ border: 1px solid ${({theme:e})=>e.palette.background6};
1517
+ }
1518
+
1519
+ .react-calendar__navigation {
1520
+ background-color: ${({theme:e})=>e.palette.background4} !important;
1521
+ color: ${({theme:e})=>e.palette.textDefault};
1522
+ font-size: ${({theme:e})=>e.fontSize.base};
1523
+ margin: 0;
1524
+ }
1525
+
1526
+ .react-calendar__navigation__arrow {
1527
+ background-color: ${({theme:e})=>e.palette.background4} !important;
1528
+ color: ${({theme:e})=>e.palette.textDefault};
1529
+ font-size: ${({theme:e})=>e.fontSize.large};
1530
+
1531
+ :disabled {
1532
+ color: ${({theme:e})=>e.palette.inputDisabled};
1533
+ }
1534
+ }
1535
+
1536
+ .react-calendar__navigation__label {
1537
+ background-color: ${({theme:e})=>e.palette.background4} !important;
1538
+ color: ${({theme:e})=>e.palette.textDefault};
1539
+ font-size: ${({theme:e})=>e.fontSize.base};
1540
+ }
1541
+
1542
+ .react-calendar__viewContainer {
1543
+ background-color: ${({theme:e})=>e.palette.background4} !important;
1544
+ color: ${({theme:e})=>e.palette.inputColor};
1545
+ font-size: ${({theme:e})=>e.fontSize.base};
1546
+ }
1547
+
1548
+ .react-calendar__month-view__weekdays {
1549
+ text-decoration: none;
1550
+ text-transform: none;
1551
+ font-weight: normal;
1552
+ font-size: ${({theme:e})=>e.fontSize.base};
1553
+
1554
+ abbr {
1555
+ text-decoration: none;
1556
+ }
1557
+ }
1558
+
1559
+ .react-calendar__tile {
1560
+ display: flex;
1561
+ align-items: center;
1562
+ justify-content: center;
1563
+ background-color: ${({theme:e})=>e.palette.background4} !important;
1564
+ color: ${({theme:e})=>e.palette.textDefault};
1565
+ border-radius: 100px;
1566
+ aspect-ratio: 1/1;
1567
+ cursor: pointer;
1568
+
1569
+ :disabled {
1570
+ color: ${({theme:e})=>e.palette.textInactive};
1571
+ cursor: not-allowed;
1572
+
1573
+ :hover {
1574
+ border: none;
1575
+ }
1576
+ }
1577
+
1578
+ :hover {
1579
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
1580
+ border-radius: 100px;
1581
+ }
1582
+
1583
+ :focus {
1584
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
1585
+ border-radius: 100px;
1586
+ }
1587
+ }
1588
+
1589
+ .react-calendar__tile--now {
1590
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary} !important;
1591
+ border-radius: 100px;
1592
+ }
1593
+
1594
+ .react-calendar__tile--active {
1595
+ background-color: ${({theme:e})=>e.palette.brandPrimary} !important;
1596
+ color: ${({theme:e})=>e.palette.brandPrimaryText};
1597
+ border-radius: 100px;
1598
+
1599
+ :focus {
1600
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
1601
+ color: ${({theme:e})=>e.palette.textDefault};
1602
+ border-radius: 100px;
1603
+ }
1604
+ }
1605
+ `},4706:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2942),t)},2587:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownButton=void 0;const o=n(4848),r=n(2501),a=n(2821),l=n(5917),s=n(2015),c=i(n(2770)),u=n(2094),d=n(532),f=n(8820);t.DropdownButton=(0,s.forwardRef)(((e,t)=>{var n,i,l,s,c;return(0,o.jsx)(h,{children:(0,o.jsxs)(p,{children:[(e.label||e.helperText)&&(0,o.jsx)(f.Label,{text:e.label,helperText:e.helperText,htmlFor:e.name}),(0,o.jsxs)(b,{role:"comboxbox",ref:t,name:e.name,tabIndex:e.tabIndex,"aria-activedescendant":e.activeDescendant,status:e.status,"aria-expanded":e.expanded,"aria-haspopup":"listbox","aria-controls":"dropdown-listbox",onClick:()=>e.handleClick(),as:"button","data-testid":"dropdown-button",title:null!==(i=null===(n=e.selected)||void 0===n?void 0:n.title)&&void 0!==i?i:e.placeholder,children:[(null===(l=e.selected)||void 0===l?void 0:l.iconUrl)&&(0,o.jsx)(r.ButtonImage,{src:e.selected.iconUrl}),(0,o.jsx)(a.OptionTitle,{"aria-live":"polite","data-testid":"selected-option",children:null!==(c=null===(s=e.selected)||void 0===s?void 0:s.title)&&void 0!==c?c:e.placeholder}),(0,o.jsx)(m,{status:e.status,icon:e.expanded?"ChevronUpIcon":"ChevronDownIcon"})]})]})})})),t.DropdownButton.displayName="DropdownButton";const p=(0,c.default)(u.Box)`
1606
+ align-items: flex-start;
1607
+ flex-direction: column;
1608
+ justify-content: flex-start;
1609
+ width: 100%;
1610
+ `,h=(0,c.default)(u.Box)`
1611
+ font-size: ${({theme:e})=>e.fontSize.base};
1612
+ width: 100%;
1613
+ user-select: none;
1614
+ `,m=(0,c.default)(l.Icon)`
1615
+ color: ${({theme:e,status:t})=>(0,d.getStatusColor)(e,t,"textDefault")};
1616
+ `,b=(0,c.default)(u.Box)`
1617
+ align-items: center;
1618
+ background: ${({theme:e})=>e.palette.background4};
1619
+ border: 1px solid ${({theme:e})=>e.palette.inputBackground};
1620
+ border-radius: ${({theme:e})=>e.radius.small};
1621
+ color: ${({theme:e})=>e.palette.textDefault};
1622
+ cursor: pointer;
1623
+ border-color: ${({theme:e,status:t})=>(0,d.getStatusColor)(e,t,"inputBorder")};
1624
+ display: inline-flex;
1625
+ font-weight: ${({theme:e})=>e.fontWeight.bold};
1626
+ gap: ${({theme:e})=>e.px.small};
1627
+ justify-content: flex-start;
1628
+ line-height: ${({theme:e})=>e.lineHeight.ui};
1629
+ outline: none;
1630
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
1631
+ position: relative;
1632
+ text-decoration: none;
1633
+ transition: border-color var(--openfin-ui-globalTransition);
1634
+ width: 100%;
1635
+ white-space: nowrap;
1636
+
1637
+ ${l.Icon} {
1638
+ margin-left: auto;
1639
+ }
1640
+
1641
+ &:focus-within {
1642
+ border-color: ${({theme:e})=>e.palette.inputFocused};
1643
+ }
1644
+
1645
+ &:focus {
1646
+ outline: 0;
1647
+ border-color: ${({theme:e,status:t})=>(0,d.getStatusColor)(e,t,"inputFocused")};
1648
+ }
1649
+ `},926:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownMenu=void 0;const o=n(4848),r=n(2015),a=n(2094),l=i(n(2770)),s=n(2821),c=n(2501),u=n(6110),d=n(2587);t.DropdownMenu=(0,r.forwardRef)((({label:e,options:t=[[]],placeholder:n="Select an option",selected:i,onOptionHover:l,onChange:h,renderLabel:m,fitContent:b},g)=>{if(i&&!((e,t)=>e.some((e=>e.some((e=>e.value===t.value)))))(t,i))throw new Error(`The selected option ${i.value} is not present in the options array`);const[v,y]=(0,r.useState)(!1);(0,r.useEffect)((()=>{1===t[0].length&&_(!1)}),[t]);const _=e=>{y(null!=e?e:!v)},{focusedOption:x,handleKeyDown:O}=(0,u.useDropdownKeyboardNavigation)(t,i,v,_,h);return(0,o.jsx)(f,{ref:g,flexDirection:"column",onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||y(!1)},onKeyDown:O,children:(0,o.jsxs)(a.Box,{gap:"small",flexDirection:"column",style:{width:"100%"},children:[e&&(0,o.jsx)("label",{htmlFor:"dropdown-button",children:(0,o.jsx)(s.OptionTitle,{children:e})}),(0,o.jsxs)(p,{children:[m?(0,o.jsx)(r.Fragment,{children:m(i||{title:n,value:null},v,_,x)},`render-label-${i}`):(0,o.jsx)(d.DropdownButton,{tabIndex:0,activeDescendant:`menu-option-${null==x?void 0:x.value}`,expanded:v&&t[0].length>1,handleClick:()=>_(),selected:i,placeholder:n}),t.length&&t[0].length>1&&v&&(0,o.jsx)(c.Menu,{menuId:"dropdown-listbox",options:t,selected:i,handleExpandMenu:_,onOptionHover:l,onChange:h,fitContent:b,focusedOption:x,absolutePosition:!0})]})]})})})),t.DropdownMenu.displayName="DropdownMenu";const f=(0,l.default)(a.Box)`
1650
+ user-select: none;
1651
+ position: relative;
1652
+ `,p=(0,l.default)(a.Box)``},5918:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(926),t),o(n(2501),t),o(n(2587),t)},2501:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonImage=t.Menu=void 0;const o=n(4848),r=i(n(2015)),a=i(n(2770)),l=n(5917),s=n(2094),c=n(2821);t.Menu=({options:e,selected:n,menuId:i,handleExpandMenu:a,onOptionHover:l,onChange:s,width:m,height:b,header:g,focusedOption:v,absolutePosition:y,fitContent:_})=>{const x=e=>{null==l||l(e)};return(0,o.jsxs)(u,{role:"listbox",flexDirection:"column",onMouseLeave:()=>{x(null)},"data-testid":"menu",id:i,width:m,height:b,absolutePosition:y,fitContent:_,children:[g&&(0,o.jsxs)(r.default.Fragment,{children:[(0,o.jsx)(f,{children:(0,o.jsx)(c.OptionTitle,{children:g})}),(0,o.jsx)(h,{})]}),e.map(((e,i)=>(0,o.jsxs)(r.default.Fragment,{children:[0!==i&&(0,o.jsx)(h,{}),e.map(((e,i)=>(0,o.jsxs)(d,{role:"option",isFocused:(null==v?void 0:v.value)===e.value,"aria-selected":(null==n?void 0:n.value)===e.value,alignItems:"center",as:"button","data-testid":`menu-option-${i}`,id:`menu-option-${e.value}`,title:e.title,onClick:()=>{e.overrideOnClick?e.overrideOnClick(e):s(e),null==a||a()},onMouseOver:()=>x(e.value),children:[(null==e?void 0:e.iconUrl)&&(0,o.jsx)(t.ButtonImage,{src:e.iconUrl,style:{marginRight:"8px"}}),(0,o.jsx)(c.OptionTitle,{children:e.title}),(null==n?void 0:n.value)===e.value?(0,o.jsx)(p,{icon:"CheckIcon"}):(0,o.jsx)(p,{children:(0,o.jsx)(o.Fragment,{})})]},i)))]},i)))]})};const u=(0,a.default)(s.Box)`
1653
+ width: ${({width:e,fitContent:t})=>e||(t?"fit-content":"100%")};
1654
+ max-height: ${({height:e})=>null!=e?e:"fit-content"};
1655
+ top: ${({theme:e})=>`calc(100% + ${e.px.xsmall})`};
1656
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1657
+ background: ${({theme:e})=>e.palette.background4};
1658
+ color: ${({theme:e})=>e.palette.textDefault};
1659
+ z-index: 10;
1660
+ overflow-y: auto;
1661
+ border: 1px solid ${({theme:e})=>e.palette.inputBackground};
1662
+ position: ${({absolutePosition:e})=>e?"absolute":"initial"};
1663
+ `,d=(0,a.default)(s.Box)`
1664
+ display: inline-flex;
1665
+ align-items: center;
1666
+ justify-content: flex-start;
1667
+ border: ${({isFocused:e,theme:t})=>e?`1px solid ${t.palette.borderNeutral}`:"1px solid transparent"};
1668
+ background: transparent;
1669
+ outline: none;
1670
+ cursor: pointer;
1671
+ user-select: none;
1672
+ color: ${({theme:e})=>e.palette.textDefault};
1673
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
1674
+ &:hover {
1675
+ background: ${({theme:e})=>e.palette.background2};
1676
+ }
1677
+ `,f=(0,a.default)(s.Box)`
1678
+ display: inline-flex;
1679
+ align-items: center;
1680
+ justify-content: flex-start;
1681
+ background: transparent;
1682
+ border: transparent;
1683
+ color: ${({theme:e})=>e.palette.textHelp};
1684
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.small}`};
1685
+ `,p=(0,a.default)(l.Icon)`
1686
+ margin-left: auto;
1687
+ `,h=(0,a.default)(s.Box)`
1688
+ border-top: 1px solid ${({theme:e})=>e.palette.inputBackground};
1689
+ `;t.ButtonImage=a.default.img`
1690
+ height: ${({theme:e})=>e.iconSize.xlarge};
1691
+ width: ${({theme:e})=>e.iconSize.xlarge};
1692
+ border-radius: ${({theme:e})=>e.radius.small};
1693
+ `},2821:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useTooltip=t.OptionTitle=void 0,t.isElementOverflown=d;const r=n(4848),a=n(2015),l=n(5963),s=n(532),c=o(n(2770));t.OptionTitle=e=>{var{children:n}=e,o=i(e,["children"]);return(0,r.jsx)(u,Object.assign({ref:(0,t.useTooltip)(n)},o,{children:(0,r.jsx)("div",{children:n})}))};const u=(0,c.default)(l.Text)`
1694
+ ${s.Mixins.textOverflow};
1695
+ margin-left: ${({theme:e})=>e.px.xsmall};
1696
+ `;function d(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}t.useTooltip=e=>(0,a.useCallback)((t=>{t&&e&&d(t)&&(t.title=e)}),[])},3136:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;const r=n(4848),a=n(2015),l=o(n(2770)),s=n(2094),c=n(532),u=n(9438),d=(0,a.forwardRef)(((e,t)=>{var{tabIndex:n,icon:o,children:a,size:l="base",containerSize:s,"data-testid":c}=e,u=i(e,["tabIndex","icon","children","size","containerSize","data-testid"]);return(0,r.jsx)(p,Object.assign({},u,{iconSize:l,containerSize:s||l,justifyContent:"center",alignItems:"center","data-testid":c,tabIndex:n,ref:t,children:o?(0,r.jsx)(f,Object.assign({ariaLabel:u["aria-label"],icon:o},u)):a}))}));d.displayName="Icon",t.Icon=(0,l.default)(d)``;const f=(0,l.default)((e=>{var{icon:t,ariaLabel:n}=e,o=i(e,["icon","ariaLabel"]);const a=c.IconSet[t];return(0,r.jsx)(a,Object.assign({role:"img","aria-label":n},o))}))``,p=(0,l.default)(s.Box)`
1697
+ /**
1698
+ * 1. Initialize local variables with reasonable defaults
1699
+ */
1700
+ --px-default: ${({theme:e})=>e.iconSize.base};
1701
+
1702
+ /**
1703
+ * 2. Inject variants -- ? What are Variants
1704
+ */
1705
+ ${(0,c.getVariantCSS)(u.variants,u.Variant.containerSize)}
1706
+ ${(0,c.getVariantCSS)(u.variants,u.Variant.iconSize)}
1707
+
1708
+ width: var(--px-container, var(--px-default));
1709
+ height: var(--px-container, var(--px-default));
1710
+
1711
+ /* SVG Asset */
1712
+
1713
+ & > *,
1714
+ ${f} {
1715
+ display: block;
1716
+ width: var(--px-icon, var(--px-default));
1717
+ height: var(--px-icon, var(--px-default));
1718
+ border-radius: inherit;
1719
+ }
1720
+ `},9438:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.variants=t.Variant=void 0;const i=n(2770);t.Variant={iconSize:"iconSize",containerSize:"containerSize"},t.variants={[t.Variant.iconSize]:{xsmall:i.css`
1721
+ --px-icon: ${({theme:e})=>e.iconSize.xsmall};
1722
+ `,small:i.css`
1723
+ --px-icon: ${({theme:e})=>e.iconSize.small};
1724
+ `,base:i.css`
1725
+ --px-icon: ${({theme:e})=>e.iconSize.base};
1726
+ `,large:i.css`
1727
+ --px-icon: ${({theme:e})=>e.iconSize.large};
1728
+ `,xlarge:i.css`
1729
+ --px-icon: ${({theme:e})=>e.iconSize.xlarge};
1730
+ `,xxlarge:i.css`
1731
+ --px-icon: ${({theme:e})=>e.iconSize.xxlarge};
1732
+ `,xxxlarge:i.css`
1733
+ --px-icon: ${({theme:e})=>e.iconSize.xxxlarge};
1734
+ `},[t.Variant.containerSize]:{xsmall:i.css`
1735
+ --px-container: ${({theme:e})=>e.iconSize.xsmall};
1736
+ `,small:i.css`
1737
+ --px-container: ${({theme:e})=>e.iconSize.small};
1738
+ `,base:i.css`
1739
+ --px-container: ${({theme:e})=>e.iconSize.base};
1740
+ `,large:i.css`
1741
+ --px-container: ${({theme:e})=>e.iconSize.large};
1742
+ `,xlarge:i.css`
1743
+ --px-container: ${({theme:e})=>e.iconSize.xlarge};
1744
+ `,xxlarge:i.css`
1745
+ --px-container: ${({theme:e})=>e.iconSize.xxlarge};
1746
+ `,xxxlarge:i.css`
1747
+ --px-container: ${({theme:e})=>e.iconSize.xxxlarge};
1748
+ `}}},5917:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3136),t)},2953:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.BellFilledIcon=void 0;const o=n(4848);t.BellFilledIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C11.2296 2 10.5845 2.58379 10.5078 3.35041C10.4952 3.47677 10.4057 3.58157 10.2846 3.61971C8.06554 4.31851 6.42238 6.33796 6.30033 8.77893L6.12382 12.3091C6.09936 12.7982 5.81331 13.2362 5.3753 13.4552L4.60739 13.8392C4.14761 14.0691 3.85718 14.539 3.85718 15.0531V16.25C3.85718 16.6248 4.16098 16.9286 4.53575 16.9286H19.4643C19.8391 16.9286 20.1429 16.6248 20.1429 16.25V15.0531C20.1429 14.539 19.8525 14.0691 19.3927 13.8392L18.6247 13.4552C18.1867 13.2362 17.9006 12.7982 17.8762 12.3091L17.6997 8.77893C17.5776 6.33796 15.9344 4.31851 13.7154 3.61972C13.5942 3.58157 13.5048 3.47678 13.4922 3.35041C13.4155 2.5838 12.7704 2 12 2Z",fill:t}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.28571 18.2857C9.28571 19.7848 10.5009 21 12 21C13.4991 21 14.7143 19.7848 14.7143 18.2857L9.28571 18.2857Z",fill:t})]}))}},2665:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.BellIcon=void 0;const o=n(4848);t.BellIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.47306 1.22943C6.5193 1.22943 5.87291 1.98399 5.65371 2.72697C5.65207 2.72932 5.64921 2.73303 5.64485 2.73756C5.6392 2.74342 5.63264 2.74896 5.62599 2.75355C5.61926 2.75819 5.61452 2.7604 5.613 2.76102L5.61265 2.76117C5.05088 2.99251 4.39193 3.36022 3.87697 4.03357C3.35815 4.71196 3.01949 5.65571 3.01945 6.97749L5.65371 2.72697L3.01945 6.97776C3.01866 8.30165 2.87871 9.0313 2.67091 9.53439C2.48879 9.97531 2.24889 10.2658 1.912 10.6738L1.91185 10.674C1.86263 10.7336 1.81135 10.7957 1.75787 10.8612C1.14923 11.606 1.72729 12.6419 2.65986 12.6419H5.09019C5.21191 12.98 5.40726 13.2906 5.66618 13.5495C6.12827 14.0116 6.75499 14.2712 7.40848 14.2712C8.06197 14.2712 8.6887 14.0116 9.15078 13.5495C9.40971 13.2906 9.60505 12.98 9.72678 12.6419H12.2894C13.2234 12.6419 13.792 11.6008 13.1884 10.8613L13.1883 10.8612C13.1348 10.7957 13.0835 10.7336 13.0342 10.674C12.6973 10.2659 12.4574 9.9754 12.2755 9.53451C12.0678 9.03147 11.9282 8.30182 11.9282 6.97776C11.9282 5.65688 11.5891 4.71299 11.0703 4.03433C10.5553 3.36075 9.89652 2.99234 9.33499 2.76115L9.33467 2.76102C9.33409 2.76079 9.32982 2.75888 9.32313 2.75424C9.31655 2.74967 9.30981 2.74394 9.30382 2.7377C9.29875 2.73241 9.29545 2.72803 9.29363 2.72531C9.07264 1.98378 8.42691 1.22943 7.47306 1.22943ZM8.68654 12.6419H6.13042C6.1876 12.7295 6.25403 12.8115 6.3291 12.8866C6.61537 13.1729 7.00363 13.3337 7.40848 13.3337C7.81333 13.3337 8.2016 13.1729 8.48787 12.8866C8.56293 12.8115 8.62937 12.7295 8.68654 12.6419ZM6.55145 2.99716C6.69571 2.50085 7.07121 2.16693 7.47306 2.16693C7.87492 2.16693 8.2505 2.50061 8.3966 2.99785L8.39695 2.99904C8.48499 3.29575 8.72843 3.52538 8.97809 3.62806C9.45625 3.82492 9.94894 4.11119 10.3255 4.60373C10.6982 5.09119 10.9907 5.82486 10.9907 6.97776C10.9907 8.35506 11.1337 9.2255 11.4089 9.89217C11.6483 10.4723 11.9823 10.8749 12.3167 11.278C12.3653 11.3366 12.4139 11.3951 12.4622 11.4542C12.5016 11.5025 12.5046 11.5552 12.4793 11.605C12.4553 11.6524 12.3996 11.7044 12.2894 11.7044H2.65986C2.54604 11.7044 2.48955 11.6509 2.46588 11.6045C2.44119 11.5562 2.44325 11.504 2.4838 11.4544L2.48383 11.4544C2.53215 11.3952 2.58075 11.3366 2.62934 11.2781L2.62946 11.2779C2.96389 10.8748 3.29785 10.4723 3.5374 9.89229C3.81273 9.22571 3.95615 8.35533 3.95695 6.97803V6.97776C3.95695 5.82341 4.24928 5.08999 4.62165 4.60309C4.99792 4.1111 5.49044 3.82537 5.96963 3.62805C6.21661 3.52645 6.46257 3.30002 6.55111 2.99833L6.55145 2.99716Z",fill:t,role:"img"})}))}},5090:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockedIcon=void 0;const o=n(4848);t.BlockedIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99985 1.6665C5.3972 1.6665 1.66602 5.39769 1.66602 10.0003C1.66602 14.6029 5.3972 18.3342 9.99985 18.3342C14.6025 18.3342 18.3337 14.603 18.3337 10.0003C18.3337 5.39769 14.6025 1.6665 9.99985 1.6665ZM3.94666 10.0003C3.94666 6.65725 6.65677 3.94714 9.99985 3.94714C11.1976 3.94714 12.314 4.295 13.2537 4.89519L4.89471 13.2542C4.29451 12.3145 3.94666 11.198 3.94666 10.0003ZM6.40896 14.8739C7.41352 15.6153 8.65551 16.0535 9.99985 16.0535C13.3429 16.0535 16.053 13.3434 16.053 10.0003C16.053 8.656 15.6148 7.41401 14.8734 6.40945L6.40896 14.8739Z",role:"img",fill:t})}))}},6049:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.BookmarkFilled=void 0;const o=n(4848);t.BookmarkFilled=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.80005 1.17578C2.52391 1.17578 2.30005 1.39964 2.30005 1.67578V10.4758C2.30005 10.6669 2.40904 10.8414 2.58086 10.9252C2.75267 11.009 2.95723 10.9875 3.10787 10.8698L5.84614 8.73052C5.93658 8.65986 6.06352 8.65986 6.15396 8.73052L8.89223 10.8698C9.04287 10.9875 9.24742 11.009 9.41924 10.9252C9.59105 10.8414 9.70005 10.6669 9.70005 10.4758V1.67578C9.70005 1.39964 9.47619 1.17578 9.20005 1.17578H2.80005Z",fill:t})}))}},7463:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.BookmarkOutlined=void 0;const o=n(4848);t.BookmarkOutlined=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.29999 1.67578C2.29999 1.39964 2.52385 1.17578 2.79999 1.17578H9.19999C9.47613 1.17578 9.69999 1.39964 9.69999 1.67578V10.4758C9.69999 10.6669 9.59099 10.8414 9.41918 10.9252C9.24736 11.009 9.04281 10.9875 8.89217 10.8698L6.1539 8.73052C6.06346 8.65986 5.93652 8.65986 5.84608 8.73052L3.10781 10.8698C2.95717 10.9875 2.75261 11.009 2.5808 10.9252C2.40898 10.8414 2.29999 10.6669 2.29999 10.4758V1.67578ZM3.29999 2.17578V9.45066L5.23043 7.9425C5.68265 7.58921 6.31733 7.5892 6.76954 7.9425L8.69999 9.45066V2.17578H3.29999Z",fill:t})}))}},2353:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.BrokenLinkIcon=void 0;const o=n(4848);t.BrokenLinkIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.3335 3.7002C6.05735 3.7002 5.8335 3.92405 5.8335 4.2002V27.8002C5.8335 28.0763 6.05735 28.3002 6.3335 28.3002H25.6668C25.943 28.3002 26.1668 28.0763 26.1668 27.8002V12.2335H18.1335C17.8574 12.2335 17.6335 12.0097 17.6335 11.7335V3.7002H6.3335ZM18.6335 4.4073L25.4597 11.2335H18.6335V4.4073ZM4.8335 4.2002C4.8335 3.37177 5.50507 2.7002 6.3335 2.7002H18.1335C18.2661 2.7002 18.3933 2.75287 18.487 2.84664L27.0204 11.38C27.1141 11.4737 27.1668 11.6009 27.1668 11.7335V27.8002C27.1668 28.6286 26.4953 29.3002 25.6668 29.3002H6.3335C5.50507 29.3002 4.8335 28.6286 4.8335 27.8002V4.2002Z",fill:t}),(0,o.jsx)("path",{d:"M14.248 21.9084V21.8409C14.2528 21.4006 14.2966 21.0502 14.3794 20.7898C14.4647 20.5294 14.5854 20.3187 14.7417 20.1577C14.8979 19.9967 15.0861 19.8499 15.3063 19.7173C15.4483 19.6274 15.5762 19.5268 15.6898 19.4155C15.8034 19.3042 15.8934 19.1764 15.9597 19.032C16.026 18.8875 16.0591 18.7277 16.0591 18.5526C16.0591 18.3419 16.0094 18.1596 15.91 18.0057C15.8105 17.8518 15.678 17.7334 15.5123 17.6506C15.3489 17.5653 15.1666 17.5227 14.9654 17.5227C14.7831 17.5227 14.6091 17.5606 14.4434 17.6364C14.2776 17.7121 14.1403 17.8305 14.0314 17.9915C13.9225 18.1501 13.8598 18.3549 13.8432 18.6058H12.7637C12.7802 18.1797 12.888 17.8198 13.0868 17.5263C13.2857 17.2304 13.5485 17.0066 13.8752 16.8551C14.2042 16.7036 14.5676 16.6278 14.9654 16.6278C15.401 16.6278 15.7821 16.7095 16.1088 16.8729C16.4355 17.0339 16.6889 17.2599 16.8688 17.5511C17.0511 17.84 17.1422 18.1773 17.1422 18.5632C17.1422 18.8284 17.1008 19.0675 17.0179 19.2805C16.9351 19.4912 16.8167 19.6795 16.6628 19.8452C16.5113 20.0109 16.329 20.1577 16.1159 20.2855C15.9147 20.411 15.7514 20.5412 15.6259 20.6761C15.5028 20.8111 15.4128 20.9709 15.356 21.1555C15.2992 21.3402 15.2684 21.5687 15.2637 21.8409V21.9084H14.248ZM14.7843 24.0675C14.5901 24.0675 14.4232 23.9988 14.2836 23.8615C14.1439 23.7218 14.074 23.5537 14.074 23.3572C14.074 23.1631 14.1439 22.9974 14.2836 22.8601C14.4232 22.7204 14.5901 22.6506 14.7843 22.6506C14.976 22.6506 15.1417 22.7204 15.2814 22.8601C15.4235 22.9974 15.4945 23.1631 15.4945 23.3572C15.4945 23.4875 15.4614 23.607 15.3951 23.7159C15.3311 23.8224 15.2459 23.9077 15.1394 23.9716C15.0328 24.0355 14.9145 24.0675 14.7843 24.0675Z",fill:t})]}))}},3551:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronDownIcon=void 0;const o=n(4848);t.ChevronDownIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M5.05282 9.88707C5.33612 9.58489 5.81075 9.56958 6.11293 9.85287L12 15.372L17.887 9.85287C18.1892 9.56958 18.6638 9.58489 18.9471 9.88707C19.2304 10.1893 19.2151 10.6639 18.9129 10.9472L12.5129 16.9472C12.2244 17.2176 11.7755 17.2176 11.487 16.9472L5.08702 10.9472C4.78484 10.6639 4.76952 10.1893 5.05282 9.88707Z",fill:t},n))})}},1364:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronLeftIcon=void 0;const o=n(4848);t.ChevronLeftIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M14.1127 5.05272C14.4149 5.33601 14.4302 5.81064 14.1469 6.11282L8.62784 11.9999L14.1469 17.8869C14.4302 18.1891 14.4149 18.6637 14.1127 18.947C13.8106 19.2303 13.3359 19.215 13.0526 18.9128L7.05264 12.5128C6.78218 12.2243 6.78218 11.7754 7.05264 11.4869L13.0526 5.08691C13.3359 4.78473 13.8106 4.76942 14.1127 5.05272Z",fill:t},n))})}},9431:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronRightIcon=void 0;const o=n(4848);t.ChevronRightIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M9.88762 5.05256C10.1898 4.76926 10.6644 4.78457 10.9477 5.08676L16.9477 11.4868C17.2182 11.7753 17.2182 12.2242 16.9477 12.5127L10.9477 18.9127C10.6644 19.2149 10.1898 19.2302 9.88762 18.9469C9.58543 18.6636 9.57012 18.1889 9.85342 17.8868L15.3725 11.9997L9.85342 6.11267C9.57012 5.81049 9.58544 5.33586 9.88762 5.05256Z",fill:t},n))})}},8044:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronUpIcon=void 0;const o=n(4848);t.ChevronUpIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",Object.assign({fillRule:"evenodd",clipRule:"evenodd",d:"M5.05285 14.1129C5.33615 14.4151 5.81078 14.4304 6.11296 14.1471L12 8.62802L17.887 14.1471C18.1892 14.4304 18.6639 14.4151 18.9472 14.1129C19.2305 13.8107 19.2151 13.3361 18.913 13.0528L12.513 7.05282C12.2245 6.78236 11.7755 6.78236 11.4871 7.05282L5.08705 13.0528C4.78487 13.3361 4.76956 13.8107 5.05285 14.1129Z",fill:t},n))})}},5482:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.EnterpriseGlobeIcon=void 0;const o=n(4848);t.EnterpriseGlobeIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M21.6211 7.80002C20.3905 4.99598 17.9682 2.82878 14.9983 1.94153C15.9266 3.39315 16.5775 5.49525 16.9329 7.80002H21.6211ZM22.1656 14.625C22.383 13.7855 22.5 12.9067 22.5 12C22.5 11.0933 22.383 10.2145 22.1656 9.37502H17.1256C17.2069 10.2439 17.25 11.1254 17.25 12C17.25 12.8747 17.2069 13.7561 17.1256 14.625H22.1656ZM6.75002 12C6.75002 11.1254 6.79307 10.2439 6.87444 9.37502H1.83442C1.61707 10.2145 1.5 11.0933 1.5 12C1.5 12.9067 1.61707 13.7855 1.83442 14.625H6.87444C6.79307 13.7561 6.75002 12.8747 6.75002 12ZM15.675 12C15.675 11.0844 15.6252 10.2098 15.5427 9.37502H8.45731C8.37489 10.2098 8.32502 11.0844 8.32502 12C8.32502 12.9156 8.37489 13.7903 8.45731 14.625H15.5427C15.6252 13.7903 15.675 12.9156 15.675 12ZM15.34 7.80002C14.7111 4.0158 13.2983 1.5 12 1.5C10.7017 1.5 9.28892 4.0158 8.65997 7.80002H15.34ZM8.65997 16.2C9.28892 19.9842 10.7022 22.5 12 22.5C13.2978 22.5 14.7111 19.9842 15.34 16.2H8.65997ZM7.06712 7.80002C7.42254 5.49525 8.07354 3.39315 9.00174 1.94153C6.0318 2.82878 3.60945 4.99598 2.37885 7.80002H7.06712ZM16.9329 16.2C16.5775 18.5048 15.9266 20.6069 14.9983 22.0584C17.9682 21.1712 20.3905 19.0046 21.6211 16.2H16.9329ZM2.37885 16.2C3.60945 19.004 6.0318 21.1712 9.00174 22.0584C8.07354 20.6069 7.42254 18.5048 7.06712 16.2H2.37885Z",fill:t})}))}},5931:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExclamationCircledFilledIcon=void 0;const i=n(4848);t.ExclamationCircledFilledIcon=e=>(0,i.jsxs)("svg",Object.assign({width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:[(0,i.jsx)("path",{d:"M7.99988 15.3317C11.7729 15.3317 14.8316 12.2731 14.8316 8.50007C14.8316 4.72704 11.7729 1.6684 7.99988 1.6684C4.22686 1.6684 1.16821 4.72704 1.16821 8.50007C1.16821 12.2731 4.22686 15.3317 7.99988 15.3317Z",fill:"red"}),(0,i.jsx)("mask",{id:"path-2-inside-1_6_262033",fill:"white",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99993 4.37384C7.57525 4.37384 7.23564 4.72676 7.25196 5.15113L7.42296 9.59706C7.43489 9.90708 7.68968 10.1523 7.99993 10.1523C8.31019 10.1523 8.56498 9.90708 8.5769 9.59706L8.7479 5.15113C8.76422 4.72676 8.42461 4.37384 7.99993 4.37384ZM7.99993 12.6406C8.46022 12.6406 8.83335 12.2675 8.83335 11.8072C8.83335 11.3469 8.46022 10.9738 7.99993 10.9738C7.53964 10.9738 7.1665 11.3469 7.1665 11.8072C7.1665 12.2675 7.53964 12.6406 7.99993 12.6406Z"})}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99993 4.37384C7.57525 4.37384 7.23564 4.72676 7.25196 5.15113L7.42296 9.59706C7.43489 9.90708 7.68968 10.1523 7.99993 10.1523C8.31019 10.1523 8.56498 9.90708 8.5769 9.59706L8.7479 5.15113C8.76422 4.72676 8.42461 4.37384 7.99993 4.37384ZM7.99993 12.6406C8.46022 12.6406 8.83335 12.2675 8.83335 11.8072C8.83335 11.3469 8.46022 10.9738 7.99993 10.9738C7.53964 10.9738 7.1665 11.3469 7.1665 11.8072C7.1665 12.2675 7.53964 12.6406 7.99993 12.6406Z",fill:"white"}),(0,i.jsx)("path",{d:"M7.25196 5.15113L5.64874 5.21279L5.64874 5.21279L7.25196 5.15113ZM7.42296 9.59706L9.02618 9.5354L9.02618 9.5354L7.42296 9.59706ZM8.5769 9.59706L10.1801 9.65872L8.5769 9.59706ZM8.7479 5.15113L10.3511 5.21279L10.3511 5.21279L8.7479 5.15113ZM8.85519 5.08947C8.87385 5.5747 8.48553 5.97825 7.99993 5.97825V2.76943C6.66498 2.76943 5.59744 3.87882 5.64874 5.21279L8.85519 5.08947ZM9.02618 9.5354L8.85519 5.08947L5.64874 5.21279L5.81974 9.65872L9.02618 9.5354ZM7.99993 8.54786C8.55177 8.54786 9.00498 8.98396 9.02618 9.5354L5.81974 9.65872C5.8648 10.8302 6.82758 11.7567 7.99993 11.7567V8.54786ZM6.97368 9.5354C6.99489 8.98396 7.44809 8.54786 7.99993 8.54786V11.7567C9.17228 11.7567 10.1351 10.8302 10.1801 9.65872L6.97368 9.5354ZM7.14468 5.08947L6.97368 9.5354L10.1801 9.65872L10.3511 5.21279L7.14468 5.08947ZM7.99993 5.97825C7.51434 5.97825 7.12602 5.5747 7.14468 5.08947L10.3511 5.21279C10.4024 3.87882 9.33489 2.76943 7.99993 2.76943V5.97825ZM7.22895 11.8072C7.22895 11.3814 7.57413 11.0362 7.99993 11.0362V14.245C9.34631 14.245 10.4378 13.1536 10.4378 11.8072H7.22895ZM7.99993 12.5782C7.57413 12.5782 7.22895 12.233 7.22895 11.8072H10.4378C10.4378 10.4608 9.34631 9.36937 7.99993 9.36937V12.5782ZM8.77091 11.8072C8.77091 12.233 8.42573 12.5782 7.99993 12.5782V9.36937C6.65355 9.36937 5.5621 10.4608 5.5621 11.8072H8.77091ZM7.99993 11.0362C8.42573 11.0362 8.77091 11.3814 8.77091 11.8072H5.5621C5.5621 13.1536 6.65355 14.245 7.99993 14.245V11.0362Z",fill:"white",mask:"url(#path-2-inside-1_6_262033)"})]}))},9687:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackGlobeIcon=void 0;const o=n(4848);t.FallbackGlobeIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M14.4141 5.19998C13.5937 3.33062 11.9788 1.88582 9.99886 1.29432C10.6177 2.26207 11.0517 3.66347 11.2886 5.19998H14.4141ZM14.7771 9.74998C14.922 9.19033 15 8.60443 15 7.99998C15 7.39553 14.922 6.80963 14.7771 6.24998H11.4171C11.4713 6.82923 11.5 7.41688 11.5 7.99998C11.5 8.58308 11.4713 9.17073 11.4171 9.74998H14.7771ZM4.50001 7.99998C4.50001 7.41688 4.52871 6.82923 4.58296 6.24998H1.22295C1.07805 6.80963 1 7.39553 1 7.99998C1 8.60443 1.07805 9.19033 1.22295 9.74998H4.58296C4.52871 9.17073 4.50001 8.58308 4.50001 7.99998ZM10.45 7.99998C10.45 7.38958 10.4168 6.80648 10.3618 6.24998H5.63821C5.58326 6.80648 5.55001 7.38958 5.55001 7.99998C5.55001 8.61038 5.58326 9.19348 5.63821 9.74998H10.3618C10.4168 9.19348 10.45 8.61038 10.45 7.99998ZM10.2267 5.19998C9.80741 2.67717 8.86556 0.999969 8.00001 0.999969C7.13446 0.999969 6.19261 2.67717 5.77331 5.19998H10.2267ZM5.77331 10.8C6.19261 13.3228 7.13481 15 8.00001 15C8.86521 15 9.80741 13.3228 10.2267 10.8H5.77331ZM4.71141 5.19998C4.94836 3.66347 5.38236 2.26207 6.00116 1.29432C4.0212 1.88582 2.4063 3.33062 1.5859 5.19998H4.71141ZM11.2886 10.8C11.0517 12.3365 10.6177 13.7379 9.99886 14.7056C11.9788 14.1141 13.5937 12.6697 14.4141 10.8H11.2886ZM1.5859 10.8C2.4063 12.6693 4.0212 14.1141 6.00116 14.7056C5.38236 13.7379 4.94836 12.3365 4.71141 10.8H1.5859Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"})}))}},7474:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.FilledCircleIcon=void 0;const o=n(4848);t.FilledCircleIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("g",{id:".Slot",children:(0,o.jsx)("circle",{id:"Ellipse 1",cx:"8",cy:"8",r:"8",fill:t})})}))}},8424:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.FilterIcon=void 0;const o=n(4848);t.FilterIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"7",viewBox:"0 0 12 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M4 6.5C4 6.36739 4.05268 6.24021 4.14645 6.14645C4.24021 6.05268 4.36739 6 4.5 6H7.5C7.63261 6 7.75979 6.05268 7.85355 6.14645C7.94732 6.24021 8 6.36739 8 6.5C8 6.63261 7.94732 6.75979 7.85355 6.85355C7.75979 6.94732 7.63261 7 7.5 7H4.5C4.36739 7 4.24021 6.94732 4.14645 6.85355C4.05268 6.75979 4 6.63261 4 6.5ZM2 3.5C2 3.36739 2.05268 3.24021 2.14645 3.14645C2.24021 3.05268 2.36739 3 2.5 3H9.5C9.63261 3 9.75979 3.05268 9.85355 3.14645C9.94732 3.24021 10 3.36739 10 3.5C10 3.63261 9.94732 3.75979 9.85355 3.85355C9.75979 3.94732 9.63261 4 9.5 4H2.5C2.36739 4 2.24021 3.94732 2.14645 3.85355C2.05268 3.75979 2 3.63261 2 3.5ZM0 0.5C0 0.367392 0.0526785 0.240215 0.146447 0.146447C0.240215 0.0526785 0.367392 0 0.5 0H11.5C11.6326 0 11.7598 0.0526785 11.8536 0.146447C11.9473 0.240215 12 0.367392 12 0.5C12 0.632608 11.9473 0.759785 11.8536 0.853553C11.7598 0.947321 11.6326 1 11.5 1H0.5C0.367392 1 0.240215 0.947321 0.146447 0.853553C0.0526785 0.759785 0 0.632608 0 0.5Z",fill:t})}))}},1387:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.FloppyDiskIcon=void 0;const o=n(4848);t.FloppyDiskIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M1.875 2.1875C1.875 2.15298 1.90298 2.125 1.9375 2.125H8.23039C8.24697 2.125 8.26287 2.13158 8.27459 2.14331L9.98169 3.85041C9.99341 3.86213 10 3.87803 10 3.89461V10.1875C10 10.222 9.97202 10.25 9.9375 10.25H1.9375C1.90298 10.25 1.875 10.222 1.875 10.1875V2.1875ZM1.9375 1.25C1.41973 1.25 1 1.66973 1 2.1875V10.1875C1 10.7053 1.41973 11.125 1.9375 11.125H9.9375C10.4553 11.125 10.875 10.7053 10.875 10.1875V3.89461C10.875 3.64597 10.7762 3.40751 10.6004 3.23169L8.89331 1.52459C8.71749 1.34877 8.47903 1.25 8.23039 1.25H1.9375ZM2.84924 3.4081C2.84924 3.23754 2.98751 3.09927 3.15807 3.09927H7.4816C7.65215 3.09927 7.79042 3.23754 7.79042 3.4081V4.64339C7.79042 4.81395 7.65215 4.95221 7.4816 4.95221H3.15807C2.98751 4.95221 2.84924 4.81395 2.84924 4.64339V3.4081ZM4.5368 6.63977C4.82638 6.35019 5.21913 6.18751 5.62865 6.18751C6.03818 6.18751 6.43093 6.35019 6.72051 6.63977C7.01009 6.92935 7.17277 7.3221 7.17277 7.73163C7.17277 8.14115 7.01009 8.5339 6.72051 8.82348C6.43093 9.11306 6.03818 9.27574 5.62865 9.27574C5.21913 9.27574 4.82638 9.11306 4.5368 8.82348C4.24722 8.5339 4.08454 8.14115 4.08454 7.73163C4.08454 7.3221 4.24722 6.92935 4.5368 6.63977Z",fill:t,role:"img"})}))}},9173:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentsIcon=void 0;const o=n(4848);t.FragmentsIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M8.80001 4.80002H4.80001C3.91761 4.80002 3.20001 5.51762 3.20001 6.40002V10.4C3.20001 11.2824 3.91761 12 4.80001 12H8.80001C9.68241 12 10.4 11.2824 10.4 10.4V6.40002C10.4 5.51762 9.68241 4.80002 8.80001 4.80002ZM20.3592 6.46882L17.5312 3.64002C16.908 3.01602 15.892 3.01602 15.2688 3.64002L12.4408 6.46882C11.8168 7.09282 11.8168 8.10722 12.4408 8.73122L15.2688 11.56C15.5808 11.872 15.9904 12.028 16.4 12.028C16.8096 12.028 17.2192 11.872 17.5312 11.56L20.3592 8.73122C20.9832 8.10722 20.9832 7.09282 20.3592 6.46882ZM8.80001 13.6H4.80001C3.91761 13.6 3.20001 14.3176 3.20001 15.2V19.2C3.20001 20.0824 3.91761 20.8 4.80001 20.8H8.80001C9.68241 20.8 10.4 20.0824 10.4 19.2V15.2C10.4 14.3176 9.68241 13.6 8.80001 13.6ZM17.6 13.6H13.6C12.7176 13.6 12 14.3176 12 15.2V19.2C12 20.0824 12.7176 20.8 13.6 20.8H17.6C18.4824 20.8 19.2 20.0824 19.2 19.2V15.2C19.2 14.3176 18.4824 13.6 17.6 13.6Z",fill:t})}))}},8387:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.LightBulbFilledIcon=void 0;const o=n(4848);t.LightBulbFilledIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:[(0,o.jsx)("path",{d:"M1.83 1.31008C2.24409 0.891667 2.73768 0.560307 3.28174 0.335504C3.82581 0.110701 4.40934 -0.00300333 4.998 0.00108291C6.18628 -0.00310785 7.32905 0.457733 8.182 1.28508C8.59881 1.68719 8.93046 2.16903 9.15723 2.70194C9.384 3.23485 9.50125 3.80793 9.502 4.38708C9.502 5.68008 8.917 6.83008 7.883 7.82508L7.577 9.00008H2.466L2.236 8.03708C1.154 6.90708 0.556 5.81908 0.5 4.58208V4.54408C0.54 3.24808 1.033 2.12108 1.831 1.31108L1.83 1.31008Z",fill:t}),(0,o.jsx)("path",{d:"M2.7041 10L2.9371 10.978L2.9451 11C3.0451 11.297 3.2371 11.544 3.4791 11.717C3.7301 11.897 4.0371 11.999 4.3611 11.999H4.3631L5.7461 11.995L5.7671 11.993C6.07587 11.9669 6.36913 11.8465 6.6071 11.648C6.8381 11.454 7.0131 11.188 7.0871 10.874L7.3161 10H2.7041V10Z",fill:t})]}))}},7901:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.LightBulbOutlinedIcon=void 0;const o=n(4848);t.LightBulbOutlinedIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M4.99766 0.00100149C3.76866 0.00100149 2.64766 0.482002 1.82966 1.311C1.03166 2.121 0.539657 3.248 0.499657 4.544L0.498657 4.563V4.583C0.555657 5.819 1.15366 6.907 2.23566 8.037L2.93766 10.978L2.94466 11C3.04466 11.297 3.23666 11.544 3.47866 11.717C3.72966 11.897 4.03666 11.999 4.36166 11.999L5.74566 11.995L5.76666 11.993C6.07542 11.9669 6.36869 11.8465 6.60666 11.648C6.83766 11.454 7.01266 11.188 7.08666 10.874L7.88266 7.824C8.91666 6.83 9.50066 5.68 9.50066 4.387C9.49991 3.80785 9.38266 3.23477 9.15589 2.70186C8.92912 2.16895 8.59746 1.68711 8.18066 1.285C7.32796 0.457894 6.18559 -0.00292788 4.99766 0.00100149ZM2.54266 2.013C2.86344 1.68871 3.24596 1.43198 3.66762 1.258C4.08928 1.08401 4.54153 0.996283 4.99766 1C5.92514 0.995784 6.81744 1.35471 7.48366 2C7.80471 2.30904 8.06023 2.67957 8.23496 3.08951C8.40969 3.49945 8.50005 3.94038 8.50066 4.386C8.50066 5.377 8.04766 6.312 7.09666 7.191L6.98866 7.291L6.54266 9H3.49366L3.14466 7.536L3.04766 7.436C1.99966 6.372 1.54766 5.48 1.49866 4.557C1.53666 3.509 1.93266 2.632 2.54266 2.014V2.013ZM3.73266 10H6.28266L6.11766 10.627L6.11466 10.64C6.09211 10.7342 6.03944 10.8185 5.96466 10.88C5.88873 10.9435 5.79595 10.9834 5.69766 10.995L4.36066 11C4.25321 11.0003 4.14833 10.9671 4.06066 10.905C3.9877 10.8536 3.93139 10.782 3.89866 10.699L3.73166 10H3.73266Z",fill:t})}))}},264:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.LockedClosedFilledIcon=void 0;const o=n(4848);t.LockedClosedFilledIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M5.00003 4.63623C5.00003 3.76052 5.24222 3.10561 5.64327 2.67378C6.03938 2.24727 6.64585 1.97852 7.50143 1.97852C8.35748 1.97852 8.96309 2.24673 9.35827 2.6723C9.75841 3.10321 10 3.75729 10 4.63346V6.50021H11V4.63346C11 3.57917 10.7076 2.65578 10.0911 1.99183C9.46955 1.32254 8.57586 0.978516 7.50143 0.978516C6.42678 0.978516 5.53255 1.3235 4.91052 1.99328C4.29342 2.65775 4.00003 3.58169 4.00003 4.63623V6.50021H5.00003V4.63623ZM3 6.50021C2.72386 6.50021 2.5 6.72407 2.5 7.00021V13.0002C2.5 13.2764 2.72386 13.5002 3 13.5002H12C12.2761 13.5002 12.5 13.2764 12.5 13.0002V7.00021C12.5 6.72407 12.2761 6.50021 12 6.50021H3Z",fill:t,role:"img"})}))}},686:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.MinimizeIcon=void 0;const o=n(4848);t.MinimizeIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.16602 12C2.16602 11.7239 2.38987 11.5 2.66602 11.5H13.3327C13.6088 11.5 13.8327 11.7239 13.8327 12C13.8327 12.2761 13.6088 12.5 13.3327 12.5H2.66602C2.38987 12.5 2.16602 12.2761 2.16602 12Z",fill:t,role:"img"})}))}},245:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.OpenFinIcon=void 0;const o=n(4848);t.OpenFinIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M14.2685 5.73916C14.1785 5.64906 14.0817 5.56592 13.979 5.49047L13.9412 5.46429C13.9196 5.44919 13.8984 5.43358 13.8763 5.41898C13.8541 5.40438 13.8284 5.38878 13.8048 5.37418L13.7715 5.35354C13.7418 5.33592 13.7116 5.3193 13.6814 5.30319L13.6638 5.29363C13.3065 5.10618 12.9091 5.00807 12.5057 5.00768C11.8417 5.00715 11.2052 4.74291 10.7362 4.2731C10.2671 3.8033 10.004 3.16642 10.0046 2.50262C10.0065 1.49222 9.39933 0.580219 8.46634 0.191911C7.53335 -0.196397 6.45826 0.015466 5.74244 0.728701C5.02661 1.44194 4.81103 2.51607 5.19621 3.4502C5.5814 4.38433 6.4915 4.99447 7.5021 4.9961C8.16603 4.99664 8.80256 5.26088 9.27161 5.73068C9.74066 6.20049 10.0038 6.83736 10.0031 7.50117C10.0026 8.16497 9.7383 8.80137 9.2684 9.27032C8.7985 9.73928 8.1615 10.0024 7.49756 10.0017C6.83413 10.0022 6.19772 9.73894 5.72865 9.26987C5.25958 8.8008 4.99636 8.16447 4.99703 7.50117C4.99703 6.12155 3.87841 5.00315 2.49852 5.00315C1.11862 5.00315 0 6.12155 0 7.50117C0 8.88078 1.11862 9.99918 2.49852 9.99918C3.87841 9.99918 4.99703 11.1176 4.99703 12.4972C4.99703 13.8795 6.1178 15 7.50033 15C8.88287 15 10.0036 13.8795 10.0036 12.4972C10.0036 11.1176 11.1223 9.99918 12.5021 9.99918C12.9482 9.99948 13.3862 9.88022 13.7705 9.65383C13.8038 9.6342 13.8365 9.61356 13.8712 9.59241L13.8783 9.58788C13.9085 9.56775 13.9387 9.5466 13.9679 9.52546L13.981 9.5164C14.0072 9.49727 14.0314 9.47662 14.0591 9.45598L14.0812 9.43887C14.1054 9.41923 14.1286 9.39859 14.1522 9.37795L14.1779 9.3558C14.2081 9.32862 14.2378 9.30042 14.267 9.27123L14.2716 9.2672C14.3794 9.15887 14.4772 9.04091 14.5636 8.9148C14.5824 8.88761 14.6005 8.86009 14.618 8.83223C15.237 7.84584 15.092 6.56267 14.2685 5.73916Z",fill:t,role:"img"})}))}},7867:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.PageIcon=void 0;const o=n(4848);t.PageIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M11.9997 0.666992H1.99967C1.08051 0.666992 0.333008 1.41449 0.333008 2.33366V15.667C0.333008 16.5862 1.08051 17.3337 1.99967 17.3337H11.9997C12.9188 17.3337 13.6663 16.5862 13.6663 15.667V2.33366C13.6663 1.41449 12.9188 0.666992 11.9997 0.666992ZM7.41634 8.16699H3.24967C3.01967 8.16699 2.83301 7.98033 2.83301 7.75033V6.91699C2.83301 6.68699 3.01967 6.50033 3.24967 6.50033H7.41634C7.64634 6.50033 7.83301 6.68699 7.83301 6.91699V7.75033C7.83301 7.98033 7.64634 8.16699 7.41634 8.16699ZM10.7497 4.83366H3.24967C3.01967 4.83366 2.83301 4.64699 2.83301 4.41699V3.58366C2.83301 3.35366 3.01967 3.16699 3.24967 3.16699H10.7497C10.9797 3.16699 11.1663 3.35366 11.1663 3.58366V4.41699C11.1663 4.64699 10.9797 4.83366 10.7497 4.83366Z",fill:t})}))}},6224:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.RedDotIcon=void 0;const o=n(4848);t.RedDotIcon=e=>{var t=i(e,[]);return(0,o.jsx)("svg",Object.assign({width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,o.jsx)("rect",{x:"0.5",y:"0.5",width:"7",height:"7",rx:"3.5",fill:"#C21313"})}))}},5598:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.StackIcon=void 0;const o=n(4848);t.StackIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M14.2178 3.00092C14.1504 3.00514 14.0839 3.01844 14.02 3.04047L3.51986 6.4287C3.36864 6.47743 3.23681 6.57291 3.14335 6.70138C3.04989 6.82986 2.99964 6.98469 2.99983 7.14356V15.754C2.99843 15.8534 3.01679 15.9521 3.05385 16.0443C3.09091 16.1366 3.14593 16.2205 3.21571 16.2913C3.2855 16.3621 3.36865 16.4183 3.46035 16.4566C3.55204 16.495 3.65045 16.5147 3.74984 16.5147C3.84924 16.5147 3.94764 16.495 4.03934 16.4566C4.13103 16.4183 4.21419 16.3621 4.28397 16.2913C4.35375 16.2205 4.40878 16.1366 4.44584 16.0443C4.4829 15.9521 4.50126 15.8534 4.49985 15.754V7.68849L14.48 4.46725C14.649 4.41529 14.7942 4.30532 14.89 4.15674C14.9858 4.00815 15.026 3.8305 15.0036 3.65514C14.9812 3.47977 14.8975 3.31797 14.7674 3.19827C14.6373 3.07857 14.4691 3.00868 14.2925 3.00092C14.2676 2.99967 14.2427 2.99967 14.2178 3.00092ZM17.2178 5.25095C17.1504 5.25517 17.0839 5.26848 17.0201 5.2905L6.5199 8.67874C6.36869 8.72746 6.23685 8.82294 6.14339 8.95142C6.04993 9.07989 5.99968 9.23472 5.99988 9.39359V18.0041C5.99847 18.1035 6.01683 18.2021 6.05389 18.2944C6.09095 18.3866 6.14597 18.4705 6.21576 18.5413C6.28554 18.6121 6.3687 18.6683 6.46039 18.7066C6.55209 18.745 6.65049 18.7648 6.74989 18.7648C6.84928 18.7648 6.94769 18.745 7.03938 18.7066C7.13108 18.6683 7.21423 18.6121 7.28402 18.5413C7.3538 18.4705 7.40882 18.3866 7.44588 18.2944C7.48294 18.2021 7.5013 18.1035 7.4999 18.0041V9.93852L17.48 6.71728C17.649 6.66533 17.7942 6.55535 17.89 6.40677C17.9858 6.25818 18.0261 6.08054 18.0036 5.90517C17.9812 5.72981 17.8976 5.568 17.7675 5.4483C17.6374 5.32861 17.4691 5.25871 17.2925 5.25095C17.2676 5.24971 17.2427 5.24971 17.2178 5.25095ZM20.193 7.50538C20.1344 7.50982 20.0758 7.52197 20.0186 7.54053L9.51848 10.9288C9.20948 11.0293 8.99992 11.3181 8.99992 11.6436V20.2541C8.99992 20.4979 9.11829 20.7262 9.3178 20.8664C9.44605 20.9572 9.59693 21.0041 9.74993 21.0041C9.83468 21.0041 9.92014 20.9894 10.0019 20.9602L20.502 17.2101C20.8006 17.1044 21.0001 16.8213 21.0001 16.504V8.25392C21.0001 8.01467 20.8853 7.78922 20.691 7.64747C20.5459 7.54172 20.3688 7.49205 20.193 7.50538Z",fill:t})}))}},1686:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.StorefrontIcon=void 0;const o=n(4848);t.StorefrontIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsx)("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{children:(0,o.jsx)("path",{d:"M5 3C4.448 3 4 3.448 4 4C4 4.552 4.448 5 5 5H19C19.552 5 20 4.552 20 4C20 3.448 19.552 3 19 3H5ZM4.61719 7C4.23819 7 3.89361 7.21373 3.72461 7.55273L2.10547 10.7891C2.03547 10.9281 2 11.0813 2 11.2363V12C2 12.552 2.448 13 3 13V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V13C21.552 13 22 12.552 22 12V11.2363C22 11.0813 21.9645 10.9281 21.8945 10.7891L20.2754 7.55273C20.1064 7.21373 19.7618 7 19.3828 7H4.61719ZM6 13H18C18.552 13 19 13.448 19 14V18C19 18.552 18.552 19 18 19H6C5.448 19 5 18.552 5 18V14C5 13.448 5.448 13 6 13Z",fill:t})}))}},6253:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceIcon=void 0;const o=n(4848);t.WorkspaceIcon=e=>{var{color:t="currentColor"}=e,n=i(e,["color"]);return(0,o.jsxs)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},n,{children:[(0,o.jsx)("path",{d:"M6.73811 2.8125H3.53137C3.13442 2.8125 2.81262 3.1343 2.81262 3.53125V7.51204C2.81262 7.909 3.13442 8.23079 3.53137 8.23079H6.73811C7.13506 8.23079 7.45686 7.909 7.45686 7.51204V3.53125C7.45686 3.1343 7.13506 2.8125 6.73811 2.8125Z",fill:t}),(0,o.jsx)("path",{d:"M12.1565 6.26758H8.94971C8.75123 6.26758 8.59033 6.42848 8.59033 6.62696V11.3818C8.59033 11.5803 8.75123 11.7412 8.94971 11.7412H12.1565C12.3549 11.7412 12.5158 11.5803 12.5158 11.3818V6.62696C12.5158 6.42848 12.3549 6.26758 12.1565 6.26758Z",stroke:t,strokeWidth:"0.718753"}),(0,o.jsx)("path",{d:"M12.1564 2.8125H8.94971C8.55275 2.8125 8.23096 3.1343 8.23096 3.53125V4.41587C8.23096 4.81283 8.55275 5.13463 8.94971 5.13463H12.1564C12.5534 5.13463 12.8752 4.81283 12.8752 4.41587V3.53125C12.8752 3.1343 12.5534 2.8125 12.1564 2.8125Z",fill:t}),(0,o.jsx)("path",{d:"M6.73798 9.00488H3.53125C3.1343 9.00488 2.8125 9.32668 2.8125 9.72364V11.3823C2.8125 11.7793 3.1343 12.1011 3.53125 12.1011H6.73798C7.13494 12.1011 7.45674 11.7793 7.45674 11.3823V9.72364C7.45674 9.32668 7.13494 9.00488 6.73798 9.00488Z",fill:t})]}))}},6283:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(245),t),o(n(2665),t),o(n(6253),t),o(n(264),t),o(n(686),t),o(n(8387),t),o(n(7901),t),o(n(8424),t),o(n(2353),t),o(n(1387),t),o(n(5598),t),o(n(2953),t),o(n(1686),t),o(n(9173),t),o(n(9431),t),o(n(1364),t),o(n(8044),t),o(n(3551),t),o(n(5931),t),o(n(7474),t),o(n(7867),t),o(n(6224),t),o(n(6049),t),o(n(7463),t),o(n(9687),t),o(n(5090),t),o(n(5482),t)},228:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IconWithBadge=void 0;const r=n(4848),a=o(n(2770)),l=n(3136),s=n(3189),c=n(2094);t.IconWithBadge=e=>{var{count:t=0,max:n}=e,o=i(e,["count","max"]);return(0,r.jsxs)(u,{children:[(0,r.jsx)(l.Icon,Object.assign({},o)),t>0&&(0,r.jsx)(d,{count:t,max:n})]})};const u=(0,a.default)(c.Box)`
1749
+ position: relative;
1750
+ `,d=(0,a.default)(s.Badge)`
1751
+ position: absolute;
1752
+ transform: scale(70%);
1753
+ right: -${({theme:e})=>e.px.base};
1754
+ top: -${({theme:e})=>e.px.small};
1755
+ `},4416:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(228),t)},8820:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Label=void 0;const o=n(4848),r=i(n(2770)),a=n(2094),l=n(5963),s=n(5917);t.Label=({icon:e,text:t,helperText:n,htmlFor:i,inline:r})=>(0,o.jsxs)(f,{inline:r,children:[(0,o.jsxs)("div",{style:{display:"flex"},children:["function"==typeof e?e():e?(0,o.jsx)(d,{icon:e}):null,(0,o.jsx)(u,{as:"label",htmlFor:i,weight:"bold",children:t})]}),n&&(0,o.jsx)(c,{children:n})]});const c=(0,r.default)(l.Text)`
1756
+ size: ${({theme:e})=>e.fontSize.base};
1757
+ color: ${({theme:e})=>e.palette.textHelp};
1758
+ `,u=(0,r.default)(l.Text)`
1759
+ text-transform: capitalize;
1760
+ color: ${({theme:e})=>e.palette.textDefault};
1761
+ `,d=(0,r.default)(s.Icon)`
1762
+ margin-right: ${({theme:e})=>e.px.xsmall};
1763
+ min-width: ${({theme:e})=>e.iconSize.small};
1764
+ min-height: ${({theme:e})=>e.iconSize.small};
1765
+ align-self: center;
1766
+ `,f=(0,r.default)(a.Box)`
1767
+ display: flex;
1768
+ flex-direction: column;
1769
+ margin-bottom: ${({theme:e})=>e.px.small};
1770
+
1771
+ ${({inline:e,theme:t})=>e&&`cursor: pointer;\n margin-bottom: 0;\n margin-left: ${t.px.small};\n font-weight: ${t.fontWeight.normal};\n `}
1772
+ `},2387:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5136),t),o(n(2799),t)},5136:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Loader=void 0;const r=n(4848),a=o(n(2770)),l=n(5917);t.Loader=(0,a.default)((e=>{var t=i(e,[]);return(0,r.jsx)(l.Icon,Object.assign({},t,{children:(0,r.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",children:(0,r.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,r.jsxs)("g",{transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsx)("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),(0,r.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:(0,r.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})})]})})})}))}))``},2799:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t}),l=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.OpenfinLoader=void 0;const s=n(4848),c=a(n(2770)),u=n(5917);t.OpenfinLoader=(0,c.default)((e=>{var t=l(e,[]);return(0,s.jsx)(u.Icon,Object.assign({},t,{children:(0,s.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)(d,{d:"\n M 17.1222 6.887\n C 17.0141 6.77887 16.898 6.67911 16.7748 6.58856\n L 16.7295 6.55715\n C 16.7035 6.53903 16.6781 6.5203 16.6515 6.50278\n C 16.625 6.48526 16.5941 6.46653 16.5657 6.44901\n L 16.5259 6.42424\n C 16.4902 6.4031 16.454 6.38316 16.4177 6.36383\n L 16.3966 6.35236\n C 15.9678 6.12742 15.491 6.00968 15.0068 6.00922\n C 14.2101 6.00858 13.4463 5.69149 12.8834 5.12772\n C 12.3205 4.56395 12.0048 3.79971 12.0056 3.00314\n C 12.0078 1.79066 11.2792 0.696263 10.1596 0.230293\n C 9.04002 -0.235676 7.74992 0.0185592 6.89093 0.874441\n C 6.03194 1.73032 5.77323 3.01928 6.23546 4.14024\n C 6.69768 5.26119 7.7898 5.99337 9.00251 5.99532\n C 9.79924 5.99596 10.5631 6.31305 11.1259 6.87682\n C 11.6888 7.44059 12.0046 8.20484 12.0038 9.0014\n C 12.0031 9.79797 11.686 10.5616 11.1221 11.1244\n C 10.5582 11.6871 9.7938 12.0028 8.99708 12.002\n C 8.20096 12.0027 7.43727 11.6867 6.87438 11.1238\n C 6.3115 10.561 5.99564 9.79736 5.99644 9.0014\n C 5.99644 7.34586 4.65409 6.00378 2.99822 6.00378\n C 1.34235 6.00378 0 7.34586 0 9.0014\n C 0 10.6569 1.34235 11.999 2.99822 11.999\n C 4.65409 11.999 5.99644 13.3411 5.99644 14.9966\n C 5.99644 16.6553 7.34136 18 9.0004 18\n C 10.6594 18 12.0044 16.6553 12.0044 14.9966\n C 12.0044 13.3411 13.3467 11.999 15.0026 11.999\n C 15.5379 11.9994 16.0635 11.8563 16.5247 11.5846\n C 16.5645 11.561 16.6038 11.5363 16.6455 11.5109\n L 16.654 11.5055\n C 16.6902 11.4813 16.7265 11.4559 16.7615 11.4305\n L 16.7772 11.4197\n C 16.8086 11.3967 16.8376 11.372 16.8709 11.3472\n L 16.8975 11.3266\n C 16.9265 11.3031 16.9543 11.2783 16.9827 11.2535\n L 17.0135 11.227\n C 17.0497 11.1943 17.0854 11.1605 17.1204 11.1255\n L 17.1259 11.1206\n C 17.2553 10.9906 17.3726 10.8491 17.4763 10.6978\n C 17.4989 10.6651 17.5206 10.6321 17.5416 10.5987\n C 18.2843 9.415 18.1104 7.8752 17.1222 6.887Z\n ",fill:"currentColor"}),(0,s.jsx)(f,{cx:"9",cy:"3",r:"2.9",fill:"currentColor",angle:0}),(0,s.jsx)(f,{cx:"15",cy:"9",r:"2.75",fill:"currentColor",angle:-90}),(0,s.jsx)(f,{cx:"9",cy:"15",r:"2.5",fill:"currentColor",angle:-180}),(0,s.jsx)(f,{cx:"3",cy:"9",r:"2.25",fill:"currentColor",angle:-270})]})}))}))``;const d=c.default.path`
1773
+ @keyframes logoAnimation {
1774
+ 0% {
1775
+ opacity: 1;
1776
+ }
1777
+ 25% {
1778
+ opacity: 1;
1779
+ }
1780
+ 35% {
1781
+ opacity: 0;
1782
+ }
1783
+ 60% {
1784
+ opacity: 0;
1785
+ }
1786
+ 75% {
1787
+ opacity: 1;
1788
+ }
1789
+ 100% {
1790
+ opacity: 1;
1791
+ }
1792
+ }
1793
+
1794
+ animation: logoAnimation 2s ease-in-out infinite;
1795
+ `,f=c.default.circle`
1796
+ transform-origin: center;
1797
+ animation: ${({angle:e})=>(e=>c.keyframes`
1798
+ 0% {
1799
+ transform: rotate(0deg);
1800
+ opacity: 0;
1801
+ }
1802
+ 25% {
1803
+ transform: rotate(0deg);
1804
+ opacity: 1;
1805
+ }
1806
+ 30% {
1807
+ transform: rotate(0deg);
1808
+ opacity: 1;
1809
+ }
1810
+ 50% {
1811
+ transform: rotate(${e}deg);
1812
+ opacity: 1;
1813
+ }
1814
+ 70% {
1815
+ transform: rotate(-360deg);
1816
+ opacity: 1;
1817
+ }
1818
+ 75% {
1819
+ transform: rotate(-360deg);
1820
+ opacity: 0;
1821
+ }
1822
+ 100% {
1823
+ transform: rotate(-360deg);
1824
+ opacity: 0;
1825
+ }
1826
+ `)(e)} 2s ease-in-out infinite;
1827
+ `},3679:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationError=void 0;const o=n(4848),r=i(n(2770)),a=n(5963),l=n(5917);t.ValidationError=({children:e})=>(0,o.jsxs)(s,{children:[(0,o.jsx)(l.Icon,{icon:"ExclamationCircledFilledIcon"}),(0,o.jsx)(c,{children:e})]});const s=r.default.div`
1828
+ display: flex;
1829
+ gap: ${({theme:e})=>e.px.xsmall};
1830
+ align-items: center;
1831
+ text-align: center;
1832
+ margin-top: ${({theme:e})=>e.px.small};
1833
+ `,c=(0,r.default)(a.Text)`
1834
+ color: ${({theme:e})=>e.palette.textHelp};
1835
+ `},1167:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StyledInputField=t.BaseInput=void 0;const r=n(4848),a=n(2015),l=o(n(2770)),s=n(2094),c=n(532),u=n(5963),d=n(3679),f=n(8820);t.BaseInput=(0,a.forwardRef)(((e,n)=>{var{className:o,renderInput:a,message:l,label:s,status:c,name:u,icon:b,type:g="text",helperText:v,placeholder:y}=e,_=i(e,["className","renderInput","message","label","status","name","icon","type","helperText","placeholder"]);const x="checkbox"===g||"radio"===g;return(0,r.jsxs)(m,{flexDirection:"column",alignItems:"flex-start",children:[(0,r.jsxs)(p,{inline:x,children:[!!s&&(0,r.jsx)(f.Label,{inline:x,icon:b,text:s,helperText:v,htmlFor:u}),!!a&&a(Object.assign({name:u,status:c,type:g},_)),!a&&(0,r.jsx)(t.StyledInputField,Object.assign({className:o,name:u,placeholder:y,status:c,type:g},_,{ref:n}))]}),l&&("critical"===c?(0,r.jsx)(d.ValidationError,{children:l}):(0,r.jsx)(h,{status:c,children:l}))]})})),t.BaseInput.displayName="BaseInput";const p=(0,l.default)(s.Box)`
1836
+ align-items: ${({inline:e})=>e?"center":"flex-start"};
1837
+ flex-direction: ${({inline:e})=>e?"row-reverse":"column"};
1838
+ justify-content: ${({inline:e})=>e?"flex-end":"flex-start"};
1839
+ width: 100%;
1840
+ `,h=(0,l.default)(u.Text)`
1841
+ color: ${({theme:e,status:t})=>(0,c.getStatusColor)(e,t,"textHelp")};
1842
+ `,m=(0,l.default)(s.Box)`
1843
+ font-size: ${({theme:e})=>e.fontSize.base};
1844
+ user-select: none;
1845
+ `;t.StyledInputField=l.default.input`
1846
+ background: ${({theme:e})=>e.palette.background4};
1847
+ border: 1px solid ${({theme:e})=>e.palette.background6};
1848
+ border-color: ${({theme:e,status:t})=>(0,c.getStatusColor)(e,t,c.Palette.inputBorder)};
1849
+ border-radius: ${({theme:e})=>e.radius.small};
1850
+ box-shadow: ${({theme:e})=>e.shadow.base};
1851
+ color: ${({theme:e})=>e.palette.inputColor};
1852
+ font-size: ${({theme:e})=>e.fontSize.base};
1853
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.base}`};
1854
+ transition: border-color var(--openfin-ui-globalTransition);
1855
+ width: 100%;
1856
+
1857
+ &:focus {
1858
+ outline: 0;
1859
+ border-color: ${({theme:e,status:t})=>(0,c.getStatusColor)(e,t,c.Palette.inputFocused)};
1860
+ }
1861
+
1862
+ &:disabled {
1863
+ cursor: not-allowed;
1864
+ }
1865
+
1866
+ &:disabled::placeholder {
1867
+ color: ${({theme:e})=>e.palette.inputDisabled};
1868
+ }
1869
+
1870
+ /**
1871
+ * This is a hack to invert the calendar icon. This only works in dark mode.
1872
+ * Until either light mode is a thing or we get a datetime picker design, this will do.
1873
+ */
1874
+
1875
+ ::-webkit-calendar-picker-indicator {
1876
+ filter: invert(1);
1877
+ }
1878
+ `},114:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1167),t)},5567:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t}),l=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;const c=n(4848),u=a(n(2015)),d=s(n(2770)),f=n(114),p=n(5917),h=n(532);t.Checkbox=u.forwardRef(((e,t)=>{var{status:n}=e,i=l(e,["status"]);return(0,c.jsx)(f.BaseInput,Object.assign({},i,{type:"checkbox",status:n,renderInput:e=>{var i=l(e,[]);return(0,c.jsxs)(m,{children:[(0,c.jsx)(v,Object.assign({ref:t,id:i.name,type:"checkbox"},i)),(0,c.jsx)(b,{status:n,children:(0,c.jsx)(g,{})})]})}}))})),t.Checkbox.displayName="Checkbox";const m=d.default.div`
1879
+ display: inline-block;
1880
+ position: relative;
1881
+ `,b=d.default.div`
1882
+ display: flex;
1883
+ align-items: center;
1884
+ justify-content: center;
1885
+ height: ${({theme:e})=>e.px.base};
1886
+ width: ${({theme:e})=>e.px.base};
1887
+ border: 1px solid ${({theme:e})=>e.palette.textDefault};
1888
+ border-color: ${({theme:e,status:t})=>(0,h.getStatusColor)(e,t,"textDefault")};
1889
+ border-radius: 2px;
1890
+ pointer-events: none;
1891
+ `,g=(0,d.default)(p.Icon).attrs({icon:"CheckIcon",size:"small"})`
1892
+ opacity: 0;
1893
+ `,v=d.default.input`
1894
+ opacity: 0;
1895
+ position: absolute;
1896
+ width: 100%;
1897
+ height: 100%;
1898
+ cursor: pointer;
1899
+
1900
+ &:checked + ${b+" "+g} {
1901
+ opacity: 1;
1902
+ }
1903
+
1904
+ &:hover + ${b} {
1905
+ box-shadow: 0 0 1px 1px ${({theme:e})=>e.palette.inputFocused};
1906
+ }
1907
+
1908
+ &:focus + ${b} {
1909
+ box-shadow: 0 0 1px 1px ${({theme:e})=>e.palette.inputFocused};
1910
+ }
1911
+
1912
+ &:disabled {
1913
+ cursor: not-allowed;
1914
+ }
1915
+
1916
+ &:disabled + ${b} {
1917
+ opacity: 0.5;
1918
+ }
1919
+ `},9990:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5567),t)},9555:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroup=void 0;const l=n(4848),s=a(n(2015)),c=a(n(2770)),u=n(2094),d=n(5963),f=n(9990),p=n(3679);t.CheckboxGroup=({disabled:e,gap:t="small",helperText:n,label:i,message:o,children:r,validationErrorMessage:a,values:c,onChange:u})=>{const[d,_]=s.useState(null!=c?c:[]),x=e=>{const t=e.target.value,n=d.includes(t)?d.filter((e=>e!==t)):[...d,t];_(n),u&&u(n)};return(0,l.jsxs)(g,{children:[i&&(0,l.jsxs)(h,{children:[(0,l.jsx)(m,{weight:"bold",children:i}),n&&(0,l.jsx)(b,{children:n})]}),(0,l.jsx)(v,{gap:t,children:s.Children.map(r,(t=>{const n=t;return n.type===f.Checkbox?s.cloneElement(n,{disabled:e,onChange:x,checked:d.includes(n.props.value)}):n}))}),!d.length&&a&&(0,l.jsx)(p.ValidationError,{children:a}),o?(0,l.jsx)(y,{disabled:e,children:o}):null]})};const h=(0,c.default)(u.Box)`
1920
+ display: flex;
1921
+ flex-direction: column;
1922
+ margin-bottom: ${({theme:e})=>e.px.small};
1923
+ `,m=(0,c.default)(d.Text)`
1924
+ text-transform: capitalize;
1925
+ `,b=(0,c.default)(d.Text)`
1926
+ size: ${({theme:e})=>e.fontSize.base};
1927
+ color: ${({theme:e})=>e.palette.textHelp};
1928
+ `,g=(0,c.default)(u.Box)`
1929
+ display: flex;
1930
+ flex-direction: column;
1931
+ width: max-content;
1932
+ `,v=(0,c.default)(u.Box)`
1933
+ display: flex;
1934
+ flex-direction: column;
1935
+ align-items: start;
1936
+ width: fit-content;
1937
+ `,y=(0,c.default)(d.Text)`
1938
+ color: ${({theme:e})=>e.palette.inputPlaceholder};
1939
+ margin-top: ${({theme:e})=>e.px.base};
1940
+
1941
+ ${({disabled:e})=>e&&c.css`
1942
+ color: ${({theme:e})=>e.palette.inputDisabled};
1943
+ `}
1944
+ `},8045:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9555),t)},5887:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DateInput=void 0;const r=n(4848),a=n(2015),l=o(n(2770)),s=n(5917),c=n(2094),u=n(114);t.DateInput=(0,a.forwardRef)(((e,t)=>{var{value:n="",type:o="date",expanded:l=!1,onChange:s}=e,c=i(e,["value","type","expanded","onChange"]);const[f,p]=(0,a.useState)(n);return(0,a.useEffect)((()=>p(n)),[]),(0,r.jsx)(u.BaseInput,Object.assign({type:o},c,{renderInput:e=>{var n=i(e,[]);return(0,r.jsx)(d,Object.assign({ref:t,type:o,onChange:e=>{const{value:t}=e.target;t&&p(t),null==s||s(e)},value:f,expanded:l},n))}}))})),t.DateInput.displayName="DateInput";const d=(0,a.forwardRef)(((e,t)=>{var{type:n,expanded:o,onExpand:a}=e,l=i(e,["type","expanded","onExpand"]);return(0,r.jsxs)(f,{children:[(0,r.jsx)(h,{children:(0,r.jsx)(s.Icon,{icon:"time"===n?"ClockIcon":"CalendarIcon"})}),(0,r.jsx)(b,Object.assign({ref:t,type:n,onKeyDown:e=>{" "===e.key&&e.preventDefault()}},l)),(0,r.jsx)(m,{flexDirection:"column",disabled:l.disabled,onClick:a,children:(0,r.jsx)(s.Icon,{icon:o?"ChevronUpIcon":"ChevronDownIcon"})})]})}));d.displayName="StyledDateInput";const f=l.default.div`
1945
+ position: relative;
1946
+ overflow: hidden;
1947
+ border-radius: ${({theme:e})=>e.radius.small};
1948
+ width: 100%;
1949
+ `,p=(0,l.default)(c.Box)`
1950
+ flex-direction: column;
1951
+ justify-content: center;
1952
+ align-items: center;
1953
+ position: absolute;
1954
+ top: 1px;
1955
+ overflow: hidden;
1956
+ height: calc(100% - 2px);
1957
+ `,h=(0,l.default)(p)`
1958
+ left: ${({theme:e})=>e.px.small};
1959
+ pointer-events: none;
1960
+ `,m=(0,l.default)(p)`
1961
+ right: ${({theme:e})=>e.px.small};
1962
+ pointer-events: ${({disabled:e})=>e?"none":void 0};
1963
+ border-left: 1px solid ${({theme:e})=>e.palette.background6};
1964
+ padding-left: ${({theme:e})=>e.px.small};
1965
+ `,b=(0,l.default)(u.StyledInputField)`
1966
+ appearance: textfield;
1967
+ padding-right: ${({theme:e})=>e.px.xxxlarge};
1968
+ padding-left: ${({theme:e})=>e.px.xxxlarge};
1969
+ ::-webkit-inner-spin-button,
1970
+ ::-webkit-calendar-picker-indicator {
1971
+ display: none;
1972
+ appearance: none;
1973
+ }
1974
+ `},6841:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5887),t)},3842:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1511),t)},1511:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NumberInput=t.Direction=void 0;const r=n(4848),a=n(2015),l=o(n(2770)),s=n(5917),c=n(2094),u=n(114);var d;!function(e){e[e.Up=1]="Up",e[e.Down=-1]="Down"}(d||(t.Direction=d={})),t.NumberInput=(0,a.forwardRef)(((e,t)=>{var{min:n,max:o,step:a=1,onTakeStep:l,value:s}=e,c=i(e,["min","max","step","onTakeStep","value"]);return(0,r.jsx)(u.BaseInput,Object.assign({type:"number"},c,{renderInput:e=>{var u=i(e,[]);return(0,r.jsx)(f,Object.assign({prependIcon:c.prependIcon,prependString:c.prependString,ref:t,onIncrement:()=>l&&l(d.Up,a),onDecrement:()=>l&&l(d.Down,a),min:n,max:o,step:a},u,{placeholder:c.placeholder,value:s,"aria-valuenow":s,"aria-valuemin":n,"aria-valuemax":o}))}}))})),t.NumberInput.displayName="NumberInput";const f=(0,a.forwardRef)(((e,t)=>{var{onIncrement:n,onDecrement:o,prependIcon:l,prependString:c}=e,u=i(e,["onIncrement","onDecrement","prependIcon","prependString"]);const d=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t?n():o())},f=(0,a.useRef)(null),[v,y]=(0,a.useState)(0);return(0,a.useEffect)((()=>{f.current?y(f.current.offsetWidth):y(0)}),[f.current,l,c]),(0,r.jsxs)(p,{children:[(!!l||!!c)&&(0,r.jsxs)(h,{hasIcon:!!l,ref:f,alignItems:"center",justifyContent:"center",children:[l&&(0,r.jsx)(s.Icon,{icon:l,size:"base"}),c&&!l&&c]}),(0,r.jsx)(g,Object.assign({prependContainerWidth:v,ref:t},u)),(0,r.jsxs)(m,{flexDirection:"column",disabled:u.disabled,children:[(0,r.jsx)(b,{onClick:n,onKeyDown:e=>d(e,!0),disabled:u.disabled,"aria-label":"Increment value",tabIndex:0,children:(0,r.jsx)(s.Icon,{icon:"TriangleUpIcon"})}),(0,r.jsx)(b,{onKeyDown:e=>d(e),onClick:o,"aria-label":"Decrement value",disabled:u.disabled,tabIndex:0,children:(0,r.jsx)(s.Icon,{icon:"TriangleDownIcon"})})]})]})}));f.displayName="StyledNumberInput";const p=l.default.div`
1975
+ position: relative;
1976
+ overflow: hidden;
1977
+ border-radius: ${({theme:e})=>e.radius.small};
1978
+ width: 100%;
1979
+ `,h=(0,l.default)(c.Box)`
1980
+ background-color: ${({theme:e})=>e.palette.background6};
1981
+ position: absolute;
1982
+ left: 1px;
1983
+ top: 1px;
1984
+ width: ${({theme:e,hasIcon:t})=>t?e.px.xxlarge:"fit-content"};
1985
+ padding: 0 ${({theme:e})=>e.px.small};
1986
+ height: calc(100% - 2px);
1987
+ border-radius: ${({theme:e})=>`${e.radius.small} 0 0 ${e.radius.small}`};
1988
+ `,m=(0,l.default)(c.Box)`
1989
+ align-items: center;
1990
+ position: absolute;
1991
+ right: 1px;
1992
+ top: 1px;
1993
+ gap: 1px;
1994
+ height: calc(100% - 2px);
1995
+ border-radius: ${({theme:e})=>`0 ${e.radius.small} ${e.radius.small} 0`};
1996
+ overflow: hidden;
1997
+
1998
+ pointer-events: ${({disabled:e})=>e?"none":void 0};
1999
+ `,b=(0,l.default)(c.Box)`
2000
+ cursor: pointer;
2001
+ background: ${({theme:e})=>e.palette.background6};
2002
+ padding: 0 ${({theme:e})=>e.px.xsmall};
2003
+ user-select: none;
2004
+ height: 50%;
2005
+ align-items: center;
2006
+ justify-content: center;
2007
+
2008
+ color: ${({disabled:e,theme:t})=>e?t.palette.textHelp:t.palette.textDefault};
2009
+
2010
+ &:hover {
2011
+ background: ${({theme:e})=>e.palette.inputFocused};
2012
+ }
2013
+
2014
+ &:active {
2015
+ background: ${({theme:e})=>e.palette.inputColor};
2016
+ }
2017
+ `,g=(0,l.default)(u.StyledInputField)`
2018
+ appearance: textfield;
2019
+ padding-left: ${({prependContainerWidth:e})=>`${e+10}px`};
2020
+
2021
+ ::-webkit-inner-spin-button,
2022
+ ::-webkit-outer-spin-button {
2023
+ appearance: none;
2024
+ margin: 0;
2025
+ }
2026
+ `},3982:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8373),t)},8373:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=void 0;const l=n(4848),s=a(n(2015)),c=a(n(2770)),u=n(2094),d=n(5963),f=n(5311),p=n(3679);t.RadioGroup=({direction:e="column",label:t,disabled:n,labelSide:i="right",gap:o="small",message:r,helperText:a,name:c,children:u,validationErrorMessage:d,onChange:_,value:x})=>{const[O,C]=s.useState(x),w=e=>{C(e.target.value),_&&_(e)};return s.useEffect((()=>{C(x)}),[x]),(0,l.jsxs)(m,{children:[(0,l.jsxs)(h,{children:[(0,l.jsx)(y,{weight:"bold",children:t}),a&&(0,l.jsx)(b,{children:a})]}),(0,l.jsx)(g,{direction:e,labelSide:i,gap:o,children:s.Children.map(u,(e=>{const t=e;return t.type===f.RadioInput?s.cloneElement(t,{name:c,labelSide:i,disabled:n,onChange:w,checked:t.props.value===O}):t}))}),!O&&d&&(0,l.jsx)(p.ValidationError,{children:d}),r?(0,l.jsx)(v,{disabled:n,children:r}):null]})};const h=(0,c.default)(u.Box)`
2027
+ display: flex;
2028
+ flex-direction: column;
2029
+ margin-bottom: ${({theme:e})=>e.px.small};
2030
+ `,m=(0,c.default)(u.Box)`
2031
+ display: flex;
2032
+ flex-direction: column;
2033
+ width: max-content;
2034
+ `,b=(0,c.default)(d.Text)`
2035
+ size: ${({theme:e})=>e.fontSize.base};
2036
+ color: ${({theme:e})=>e.palette.textHelp};
2037
+ `,g=(0,c.default)(u.Box)`
2038
+ display: flex;
2039
+ flex-direction: ${e=>e.direction};
2040
+ align-items: ${e=>{switch(e.labelSide){case"left":return"end";case"right":return"start";default:return"center"}}};
2041
+ width: fit-content;
2042
+ `,v=(0,c.default)(d.Text)`
2043
+ color: ${({theme:e})=>e.palette.inputPlaceholder};
2044
+ margin-top: ${({theme:e})=>e.px.base};
2045
+
2046
+ ${({disabled:e})=>e&&c.css`
2047
+ color: ${({theme:e})=>e.palette.inputDisabled};
2048
+ `}
2049
+ `,y=(0,c.default)(d.Text)`
2050
+ text-transform: capitalize;
2051
+ `},6942:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5311),t)},5311:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t}),l=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.RadioInput=void 0;const s=n(4848),c=n(5963),u=a(n(2015)),d=a(n(2770)),f=n(2094),p=n(5917);t.RadioInput=u.forwardRef(((e,t)=>{var{disabled:n,id:i,label:o,labelSide:r,icon:a}=e,c=l(e,["disabled","id","label","labelSide","icon"]);return(0,s.jsx)(h,{children:(0,s.jsxs)(g,{as:"label",htmlFor:i,labelSide:r,disabled:n,children:[(0,s.jsx)(b,Object.assign({ref:t,type:"radio",disabled:n},c)),(0,s.jsx)(m,{}),!!a&&(0,s.jsx)(p.Icon,{icon:a}),o||""]})})})),t.RadioInput.displayName="RadioInput";const h=(0,d.default)(f.Box)`
2052
+ display: flex;
2053
+ flex-direction: column;
2054
+ `,m=d.default.div`
2055
+ width: ${({theme:e})=>e.px.base};
2056
+ height: ${({theme:e})=>e.px.base};
2057
+ border-radius: 50%;
2058
+ border-style: solid;
2059
+ border-width: 1px;
2060
+ border-color: ${({theme:e})=>e.palette.textDefault};
2061
+ box-sizing: content-box;
2062
+
2063
+ input:checked ~ &:after {
2064
+ content: '';
2065
+ display: block;
2066
+ margin: 2px 1px 0px 2px;
2067
+ width: ${({theme:e})=>e.px.small};
2068
+ height: ${({theme:e})=>e.px.small};
2069
+ border-radius: 50%;
2070
+ background-color: ${({theme:e})=>e.palette.textDefault};
2071
+ }
2072
+
2073
+ input:disabled ~ & {
2074
+ border-color: ${({theme:e})=>e.palette.inputDisabled};
2075
+ }
2076
+
2077
+ input:disabled ~ &:after {
2078
+ background-color: ${({theme:e})=>e.palette.inputDisabled};
2079
+ }
2080
+ `,b=d.default.input`
2081
+ opacity: 0;
2082
+ position: absolute;
2083
+ cursor: pointer;
2084
+
2085
+ &:disabled {
2086
+ cursor: default;
2087
+ }
2088
+ `,g=(0,d.default)(c.Text)`
2089
+ width: fit-content;
2090
+ display: flex;
2091
+ align-items: center;
2092
+ flex-direction: ${({labelSide:e})=>{switch(e||"right"){case"left":return"row-reverse";case"right":return"row";case"top":return"column-reverse";case"bottom":return"column"}}};
2093
+ gap: ${({theme:e})=>e.px.small};
2094
+ cursor: pointer;
2095
+
2096
+ ${({disabled:e})=>e?d.css`
2097
+ & {
2098
+ cursor: default;
2099
+ }
2100
+
2101
+ color: ${({theme:e})=>e.palette.inputDisabled};
2102
+ `:null}
2103
+ `},2649:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5),t)},5:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RawInput=void 0;const o=i(n(2770));t.RawInput=o.default.input``,t.RawInput.displayName="RawInput"},2685:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(113),t)},113:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextArea=void 0;const o=n(4848),r=n(2015),a=i(n(2770)),l=n(532),s=n(532),c=n(2094),u=n(8820);t.TextArea=(0,r.forwardRef)(((e,t)=>(0,o.jsx)(f,{flexDirection:"column",alignItems:"flex-start",children:(0,o.jsxs)(d,{children:[!!e.label&&(0,o.jsx)(u.Label,{text:e.label,htmlFor:e.name,helperText:e.helperText}),(0,o.jsx)(p,Object.assign({ref:t},e,{onChange:e.onChange}))]})}))),t.TextArea.displayName="TextArea";const d=(0,a.default)(c.Box)`
2104
+ align-items: flex-start;
2105
+ flex-direction: column;
2106
+ justify-content: flex-start;
2107
+ width: 100%;
2108
+ `,f=(0,a.default)(c.Box)`
2109
+ font-size: ${({theme:e})=>e.fontSize.base};
2110
+ user-select: none;
2111
+ `,p=a.default.textarea`
2112
+ background: ${({theme:e})=>e.palette.background4};
2113
+ border: 1px solid ${({theme:e})=>e.palette.inputBorder};
2114
+ border-color: ${({theme:e,status:t})=>(0,s.getStatusColor)(e,t,"inputBorder")};
2115
+ border-radius: 4px;
2116
+ width: 100%;
2117
+ resize: none;
2118
+ overflow-y: auto;
2119
+ ${l.Mixins.scrollbar.small};
2120
+ color: ${({theme:e})=>e.palette.inputColor};
2121
+ font-size: ${({theme:e})=>e.fontSize.base};
2122
+ line-height: ${({theme:e})=>e.lineHeight.text};
2123
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
2124
+ padding: ${({theme:e})=>e.px.small} ${({theme:e})=>e.px.small} 0px ${({theme:e})=>e.px.small};
2125
+
2126
+ &:focus {
2127
+ outline: 0;
2128
+ border-color: ${({theme:e,status:t})=>(0,s.getStatusColor)(e,t,"inputFocused")};
2129
+ }
2130
+
2131
+ &:disabled::placeholder {
2132
+ color: ${({theme:e})=>e.palette.inputDisabled};
2133
+ }
2134
+ `},4864:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7043),t)},7043:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextInput=void 0;const i=n(4848),o=n(2015),r=n(114);t.TextInput=(0,o.forwardRef)(((e,t)=>(0,i.jsx)(r.BaseInput,Object.assign({ref:t,type:"text"},e)))),t.TextInput.displayName="TextInput"},2989:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Box=void 0;const o=i(n(2770)),r=n(8816),a=n(5939),l={1:a.Palette.background1,2:a.Palette.background2,3:a.Palette.background3,4:a.Palette.background4,5:a.Palette.background5,6:a.Palette.background6};t.Box=o.default.div`
2135
+ /**
2136
+ * Style Scrollbar for Boxes with overflow
2137
+ */
2138
+ ${r.Mixins.scrollbar.base}
2139
+
2140
+ display: ${({display:e="flex"})=>e};
2141
+ flex-direction: ${({flexDirection:e="row"})=>e};
2142
+ flex-wrap: ${({flexWrap:e="nowrap"})=>e};
2143
+ align-items: ${({alignItems:e})=>e};
2144
+ justify-content: ${({justifyContent:e})=>e};
2145
+ gap: ${({theme:e,gap:t})=>t&&e.px[t]};
2146
+ align-self: ${({alignSelf:e})=>e};
2147
+ flex-basis: ${({flexBasis:e})=>e};
2148
+ flex-grow: ${({flexGrow:e})=>e};
2149
+ flex-shrink: ${({flexShrink:e})=>e};
2150
+ order: ${({order:e})=>e};
2151
+ padding: ${({theme:e,padding:t})=>t&&e.px[t]};
2152
+ background: ${({theme:e,background:t})=>t&&e.palette[l[t]]};
2153
+ `,t.Box.displayName="Box"},2094:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2989),t)},9341:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefinitionList=void 0;const r=n(4848),a=o(n(2770));t.DefinitionList=e=>{var{definitions:t}=e,n=i(e,["definitions"]);return(0,r.jsx)(s,Object.assign({},n,{role:"list",children:(Array.isArray(t)?t:Array.from(t)).map((([e,t],n)=>(0,r.jsxs)(l,{role:"listitem",children:[(0,r.jsx)(c,{id:`term${n}`,children:e}),(0,r.jsx)(u,{"aria-labelledby":`term${n}`,children:t})]},`${e}-${n}`)))}))};const l=a.default.div`
2154
+ display: grid;
2155
+ grid-template-columns: 1fr 3fr;
2156
+ `,s=a.default.dl`
2157
+ gap: ${({theme:e})=>`0 ${e.px.large}`};
2158
+ overflow-y: auto;
2159
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.base}`};
2160
+ word-break: break-word;
2161
+ `,c=a.default.dt`
2162
+ color: ${({theme:e})=>e.palette.textHelp};
2163
+ font-size: ${({theme:e})=>e.fontSize.small};
2164
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
2165
+ line-height: ${({theme:e})=>e.px.base};
2166
+ padding-bottom: ${({theme:e})=>e.px.small};
2167
+ white-space: nowrap;
2168
+ `,u=a.default.dd`
2169
+ color: ${({theme:e})=>e.palette.textDefault};
2170
+ font-size: ${({theme:e})=>e.fontSize.small};
2171
+ line-height: ${({theme:e})=>e.px.base};
2172
+ padding-bottom: ${({theme:e})=>e.px.small};
2173
+ `},9916:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9341),t)},9960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalFonts=t.GlobalStyles=void 0;const i=n(2770),o=n(9853),r=n(6151);t.GlobalStyles=i.createGlobalStyle`
2174
+ /** -> Define Global CSS Vars */
2175
+ :root {
2176
+ --openfin-ui-globalTransition: ${({theme:e})=>e.transition.base};
2177
+
2178
+ font-family: ${({theme:e})=>e.fontFamily};
2179
+ /* Map over the palette keys and create variables out of them */
2180
+ ${o.getRootCssVars}
2181
+ }
2182
+
2183
+ /** -> @font-face Declaration */
2184
+
2185
+ /** -> Micro Reset */
2186
+ * {
2187
+ box-sizing: border-box;
2188
+ margin: 0;
2189
+ padding: 0;
2190
+ /**
2191
+ * Prevent browser auto-weighting
2192
+ * @link https://css-tricks.com/almanac/properties/f/font-synthesis/
2193
+ */
2194
+ font-synthesis: none;
2195
+ }
2196
+
2197
+ /** -> Apply Global Styles */
2198
+
2199
+ body,
2200
+ :root {
2201
+ background: ${({theme:e})=>e.palette.background1};
2202
+ color: ${({theme:e})=>e.palette.textDefault};
2203
+ font-family: ${({theme:e})=>e.fontFamily};
2204
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
2205
+ font-size: ${({theme:e})=>e.fontSize.base};
2206
+ line-height: ${({theme:e})=>e.lineHeight.text};
2207
+ }
2208
+
2209
+ ::placeholder {
2210
+ color: ${({theme:e})=>e.palette.inputPlaceholder};
2211
+ }
2212
+
2213
+ /** -> Reduced Motion (Accessibility) */
2214
+ @media (prefers-reduced-motion) {
2215
+ :root {
2216
+ --openfin-ui-globalTransition: ${({theme:e})=>e.transition.none};
2217
+ }
2218
+ }
2219
+ `,t.GlobalFonts=i.createGlobalStyle`${({fonts:e})=>(0,r.createFontFaceCss)(e)}`},4901:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9960),t)},5014:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},532:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1696),t),o(n(2268),t)},2346:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMostReadable=t.darkenColor=t.lightenColor=void 0;const o=i(n(6535));t.lightenColor=(e,t)=>r(e,"lighten",t),t.darkenColor=(e,t)=>r(e,"darken",t);const r=(e,t,n)=>{if(n&&(n<0||n>100))throw new Error(`${n} must be a number between 0 and 100`);return(0,o.default)(e)[t](n).toString()};t.getMostReadable=(e,t)=>o.default.mostReadable(e,t).toHexString()},2317:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IconSize=t.Transition=t.LineHeight=t.FontWeight=t.FontSize=t.FontFamily=t.Shadow=t.Radius=t.UnitPx=t.Unit=t.SizeName=t.Size=t.Color=void 0,t.Color={white:"#FFFFFF",lightGray1:"#FAFBFE",lightGray2:"#F3F5F8",lightGray3:"#ECEEF1",lightGray4:"#DDDFE4",lightGray5:"#C9CBD2",neutralGray:"#7D808A",neutralGray80:"rgba(125,128,138,0.8)",silverGray:"#C0C1C2",darkGray1:"#53565F",darkGray2:"#383A40",darkGray3:"#2F3136",darkGray4:"#24262B",darkGray5:"#1E1F23",darkGray6:"#111214",openFinDarkest:"#3D39CD",openFinDarker:"#4642E0",openFin:"#504CFF",openFinLight:"#5254FB",openFinLighter:"#5C5EFE",openFinLightest:"#6864FF",functional1:"#207735",functional2:"#46C8F1",functional3:"#0A76D3",functional4:"#6CADE5",functional5:"#0A76D3",functional6:"#882BFE",functional7:"#F31818",functional8:"#C93400",functional9:"#FF5E60",functional10:"#F48F00",purple:"#8C61FF",lightblue:"#36C3FE",aqua:"#00CC88",yellow:"#FFEB00",salmon:"#FF8C4C",pink:"#FF5E60",lightpink:"#FF8FB8",white00:"rgba(255,255,255,0.0)",white10:"rgba(255,255,255,0.1)",white20:"rgba(255,255,255,0.2)",white30:"rgba(255,255,255,0.3)",white40:"rgba(255,255,255,0.4)",white50:"rgba(255,255,255,0.5)",white60:"rgba(255,255,255,0.6)",white70:"rgba(255,255,255,0.7)",white80:"rgba(255,255,255,0.8)",white90:"rgba(255,255,255,0.9)",black00:"rgba(0,0,0,0.0)",black10:"rgba(0,0,0,0.1)",black20:"rgba(0,0,0,0.2)",black30:"rgba(0,0,0,0.3)",black40:"rgba(0,0,0,0.4)",black50:"rgba(0,0,0,0.5)",black60:"rgba(0,0,0,0.6)",black70:"rgba(0,0,0,0.7)",black80:"rgba(0,0,0,0.8)",black90:"rgba(0,0,0,0.9)",transparent:"transparent"},t.Size={xsmall:"xsmall",small:"small",base:"base",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge",xxxxlarge:"xxxxlarge"},t.SizeName={[t.Size.xsmall]:"Extra Small",[t.Size.small]:"Small",[t.Size.base]:"Base",[t.Size.large]:"Large",[t.Size.xlarge]:"Extra Large",[t.Size.xxlarge]:"2X Large",[t.Size.xxxlarge]:"3X Large",[t.Size.xxxxlarge]:"4X Large"},t.Unit={[t.Size.xsmall]:4,[t.Size.small]:8,[t.Size.base]:12,[t.Size.large]:16,[t.Size.xlarge]:20,[t.Size.xxlarge]:24,[t.Size.xxxlarge]:32,[t.Size.xxxxlarge]:48},t.UnitPx={[t.Size.xsmall]:"4px",[t.Size.small]:"8px",[t.Size.base]:"12px",[t.Size.large]:"16px",[t.Size.xlarge]:"20px",[t.Size.xxlarge]:"24px",[t.Size.xxxlarge]:"32px",[t.Size.xxxxlarge]:"48px"},t.Radius={[t.Size.xsmall]:"2px",[t.Size.small]:"4px",[t.Size.base]:"8px",[t.Size.large]:"24px",pill:"100vh",round:"50%",none:"0"},t.Shadow={[t.Size.base]:"0 4px 4px rgba(0, 0, 0, 0.25)"},t.FontFamily=["Inter","system-ui","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"].join(","),t.FontSize={[t.Size.xsmall]:"8px",[t.Size.small]:"10px",[t.Size.base]:"12px",[t.Size.large]:"14px",[t.Size.xlarge]:"16px",[t.Size.xxlarge]:"18px",[t.Size.xxxlarge]:"20px",[t.Size.xxxxlarge]:"40px"},t.FontWeight={normal:400,bold:600},t.LineHeight={ui:1,heading:1.2,text:1.5},t.Transition={base:"200ms cubic-bezier(0.16, 1, 0.3, 1)",none:"0ms"},t.IconSize={[t.Size.xsmall]:t.UnitPx.small,[t.Size.small]:t.UnitPx.base,[t.Size.base]:"15px",[t.Size.large]:t.UnitPx.xlarge,[t.Size.xlarge]:t.UnitPx.xxlarge,[t.Size.xxlarge]:t.UnitPx.xxxlarge,[t.Size.xxxlarge]:t.UnitPx.xxxxlarge}},6151:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createFontFaceCss=function(e){return i.css`
2220
+ ${e.regular&&i.css`
2221
+ @font-face {
2222
+ font-family: 'Inter';
2223
+ src: url(${e.regular}) format('woff2');
2224
+ font-weight: ${o.FontWeight.normal};
2225
+ font-style: normal;
2226
+ font-display: fallback;
2227
+ }
2228
+ `}
2229
+ ${e.italic&&i.css`
2230
+ @font-face {
2231
+ font-family: 'Inter';
2232
+ src: url(${e.italic}) format('woff2');
2233
+ font-weight: ${o.FontWeight.normal};
2234
+ font-style: italic;
2235
+ font-display: fallback;
2236
+ }
2237
+ `}
2238
+ ${e.semiBold&&i.css`
2239
+ @font-face {
2240
+ font-family: 'Inter';
2241
+ src: url(${e.semiBold}) format('woff2');
2242
+ font-weight: ${o.FontWeight.bold};
2243
+ font-style: normal;
2244
+ font-display: fallback;
2245
+ }
2246
+ `}
2247
+ ${e.semiBoldItalic&&i.css`
2248
+ @font-face {
2249
+ font-family: 'Inter';
2250
+ src: url(${e.semiBoldItalic}) format('woff2');
2251
+ font-weight: ${o.FontWeight.bold};
2252
+ font-style: italic;
2253
+ font-display: fallback;
2254
+ }
2255
+ `}
2256
+ `};const i=n(2770),o=n(2317)},6893:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTheme=void 0;const i=n(2317),o=n(2346),r=n(5939),a={fontFamily:i.FontFamily,fontSize:i.FontSize,fontWeight:i.FontWeight,lineHeight:i.LineHeight,iconSize:i.IconSize,radius:i.Radius,shadow:i.Shadow,transition:i.Transition,unit:i.Unit,px:i.UnitPx},l=(e,t)=>({[`${e}Active`]:(0,o.darkenColor)(t,2),[`${e}Hover`]:(0,o.lightenColor)(t,5),[`${e}Focused`]:(0,o.getMostReadable)(t,[i.Color.white,i.Color.darkGray5]),[`${e}Text`]:(0,o.getMostReadable)(t,[i.Color.white,i.Color.darkGray5])});t.createTheme=e=>Object.assign(Object.assign({},a),{palette:Object.assign(Object.assign(Object.assign({},e),l(r.Palette.brandPrimary,e.brandPrimary)),l(r.Palette.brandSecondary,e.brandSecondary))})},9853:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_LANGUAGES=t.getStatusColor=t.getRootCssVars=t.getVariantCSS=void 0;const i=n(5939);t.getVariantCSS=(e,t)=>n=>e[t][n[t]],t.getRootCssVars=({theme:e})=>Object.keys(i.Palette).map((t=>`--openfin-ui-${t}: ${e.palette[t]};`)).join("\n"),t.getStatusColor=(e,t,n)=>{switch(t){case"active":return e.palette.statusActive;case"critical":return e.palette.statusCritical;case"warning":return e.palette.statusWarning;case"success":return e.palette.statusSuccess;default:return n?e.palette[n]:"inherit"}},t.SUPPORTED_LANGUAGES=["en-US","ja-JP","zh-CN","ko-KR","ru-RU","de-DE","zh-Hant"]},5947:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.IconSet=void 0;const l=a(n(824)),s=a(n(6283));t.IconSet=Object.assign(Object.assign({},l),s)},1696:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2346),t),o(n(2317),t),o(n(5947),t),o(n(6151),t),o(n(6893),t),o(n(9853),t),o(n(2091),t),o(n(8816),t),o(n(5939),t),o(n(5241),t)},2091:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},8816:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Mixins=void 0;const i=n(2317),o=n(2770),r=o.css`
2257
+ user-select: none;
2258
+ `,a=o.css`
2259
+ white-space: nowrap;
2260
+ overflow: hidden;
2261
+ text-overflow: ellipsis;
2262
+ `,l=o.css`
2263
+ &::-webkit-scrollbar {
2264
+ width: var(--scrollbarSize, ${i.UnitPx.xsmall});
2265
+ height: var(--scrollbarSize, ${i.UnitPx.xsmall});
2266
+ }
2267
+
2268
+ &::-webkit-scrollbar-track {
2269
+ background: ${i.Color.neutralGray80};
2270
+ border-radius: var(--scrollbarSize, ${i.UnitPx.xsmall});
2271
+ opacity: 0.8;
2272
+ }
2273
+
2274
+ &::-webkit-scrollbar-thumb {
2275
+ background: ${i.Color.white80};
2276
+ width: var(--scrollbarSize, ${i.UnitPx.xsmall});
2277
+ height: var(--scrollbarSize, ${i.UnitPx.xsmall});
2278
+ border-radius: var(--scrollbarSize, ${i.UnitPx.xsmall});
2279
+ opacity: 0.8;
2280
+ }
2281
+ `,s=o.css`
2282
+ --scrollbarSize: 2px;
2283
+ ${l};
2284
+ `,c=o.css`
2285
+ -webkit-app-region: drag;
2286
+ `,u=o.css`
2287
+ -webkit-app-region: no-drag;
2288
+ `;t.Mixins={noSelect:r,textOverflow:a,scrollbar:{[i.Size.base]:l,[i.Size.small]:s},appRegion:{drag:c,noDrag:u}}},5939:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Palette=void 0,t.Palette={background1:"background1",background2:"background2",background3:"background3",background4:"background4",background5:"background5",background6:"background6",brandPrimary:"brandPrimary",brandSecondary:"brandSecondary",brandPrimaryActive:"brandPrimaryActive",brandPrimaryHover:"brandPrimaryHover",brandPrimaryFocused:"brandPrimaryFocused",brandPrimaryText:"brandPrimaryText",brandSecondaryActive:"brandSecondaryActive",brandSecondaryHover:"brandSecondaryHover",brandSecondaryFocused:"brandSecondaryFocused",brandSecondaryText:"brandSecondaryText",inputBackground:"inputBackground",inputColor:"inputColor",inputPlaceholder:"inputPlaceholder",inputDisabled:"inputDisabled",inputFocused:"inputFocused",inputBorder:"inputBorder",statusSuccess:"statusSuccess",statusWarning:"statusWarning",statusCritical:"statusCritical",statusActive:"statusActive",textDefault:"textDefault",textHelp:"textHelp",textInactive:"textInactive",borderNeutral:"borderNeutral",contentBackground1:"contentBackground1",contentBackground2:"contentBackground2",contentBackground3:"contentBackground3",contentBackground4:"contentBackground4",contentBackground5:"contentBackground5",linkDefault:"linkDefault",linkHover:"linkHover"}},5241:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4322:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4207),t)},4207:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OpenFinDarkTheme=t.OpenFinLightTheme=void 0;const i=n(5939),o=n(2317),r=n(6893),a={[i.Palette.brandPrimary]:o.Color.openFin,[i.Palette.statusSuccess]:o.Color.functional1,[i.Palette.statusWarning]:o.Color.functional10,[i.Palette.statusCritical]:o.Color.functional7,[i.Palette.statusActive]:o.Color.functional3,[i.Palette.borderNeutral]:o.Color.silverGray,[i.Palette.contentBackground1]:o.Color.openFin,[i.Palette.contentBackground2]:"#000000",[i.Palette.contentBackground3]:"#000000",[i.Palette.contentBackground4]:"#000000",[i.Palette.contentBackground5]:"#000000",[i.Palette.linkDefault]:o.Color.functional4,[i.Palette.linkHover]:o.Color.functional5};t.OpenFinLightTheme=(0,r.createTheme)(Object.assign(Object.assign({},a),{[i.Palette.background1]:o.Color.white,[i.Palette.background2]:o.Color.lightGray1,[i.Palette.background3]:o.Color.lightGray2,[i.Palette.background4]:o.Color.lightGray3,[i.Palette.background5]:o.Color.lightGray3,[i.Palette.background6]:o.Color.lightGray5,[i.Palette.brandSecondary]:o.Color.lightGray4,[i.Palette.inputBackground]:o.Color.lightGray3,[i.Palette.inputColor]:o.Color.darkGray5,[i.Palette.inputPlaceholder]:o.Color.darkGray2,[i.Palette.inputDisabled]:o.Color.neutralGray,[i.Palette.inputFocused]:o.Color.lightGray5,[i.Palette.inputBorder]:o.Color.neutralGray,[i.Palette.textDefault]:o.Color.darkGray5,[i.Palette.textHelp]:o.Color.neutralGray,[i.Palette.textInactive]:o.Color.neutralGray})),t.OpenFinDarkTheme=(0,r.createTheme)(Object.assign(Object.assign({},a),{[i.Palette.background1]:o.Color.darkGray6,[i.Palette.background2]:o.Color.darkGray5,[i.Palette.background3]:o.Color.darkGray4,[i.Palette.background4]:o.Color.darkGray3,[i.Palette.background5]:o.Color.darkGray2,[i.Palette.background6]:o.Color.darkGray1,[i.Palette.brandSecondary]:o.Color.darkGray2,[i.Palette.inputBackground]:o.Color.darkGray1,[i.Palette.inputColor]:o.Color.white,[i.Palette.inputPlaceholder]:o.Color.lightGray5,[i.Palette.inputDisabled]:o.Color.neutralGray,[i.Palette.inputFocused]:o.Color.lightGray5,[i.Palette.inputBorder]:o.Color.neutralGray,[i.Palette.textDefault]:o.Color.white,[i.Palette.textHelp]:o.Color.lightGray5,[i.Palette.textInactive]:o.Color.neutralGray}))},2268:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeProvider=void 0;const i=n(4848),o=n(2015),r=n(2770),a=n(2762),l=n(5007),s=n(4901),c=n(3092);t.ThemeProvider=({children:e,themes:t,scheme:n=a.ColorScheme.system,fonts:u=c.Fonts})=>{const d=(0,l.useTheme)({themes:t,scheme:n}),f=(0,o.useMemo)((()=>(0,i.jsx)(s.GlobalFonts,{fonts:u})),[u]);return(0,i.jsxs)(i.Fragment,{children:[f,(0,i.jsx)(r.ThemeProvider,{theme:d,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.GlobalStyles,{}),e]})})]})}},8543:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4901),t),o(n(5014),t),o(n(532),t)},357:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContactStatusIcon=void 0;const o=n(4848),r=i(n(2770)),a=n(5823),l={available:(0,o.jsx)(a.CheckSVG,{}),away:(0,o.jsx)(a.BusySVG,{}),"do-not-disturb":(0,o.jsx)(a.DoNotDisturbSVG,{}),offline:(0,o.jsx)(a.OfflineSVG,{}),busy:null};t.ContactStatusIcon=({onlineStatus:e})=>e?(0,o.jsx)(s,{onlineStatus:e,children:l[e]||null}):null;const s=r.default.div`
2289
+ border: 1.6px solid ${({theme:e})=>e.palette.background1};
2290
+
2291
+ background: ${({onlineStatus:e})=>"busy"===e?"#C21313":"white"};
2292
+ border-radius: 50%;
2293
+
2294
+ height: ${({theme:e})=>e.px.large};
2295
+ width: ${({theme:e})=>e.px.large};
2296
+
2297
+ display: flex;
2298
+ align-items: center;
2299
+ justify-content: center;
2300
+
2301
+ position: absolute;
2302
+ left: 78.95%;
2303
+ right: -7.02%;
2304
+ top: 77.12%;
2305
+ bottom: -4.24%;
2306
+ `},5823:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OfflineSVG=t.DoNotDisturbSVG=t.BusySVG=t.CheckSVG=void 0;const i=n(4848);t.CheckSVG=()=>(0,i.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8 0C8.73438 0 9.4401 0.0963542 10.1172 0.289063C10.7943 0.481771 11.4297 0.752604 12.0234 1.10156C12.6172 1.45052 13.1563 1.86979 13.6406 2.35938C14.1302 2.84375 14.5495 3.38281 14.8984 3.97656C15.2474 4.57031 15.5182 5.20573 15.7109 5.88281C15.9036 6.5599 16 7.26563 16 8C16 8.72917 15.9036 9.4349 15.7109 10.1172C15.5182 10.7943 15.2474 11.4297 14.8984 12.0234C14.5495 12.6172 14.1302 13.1589 13.6406 13.6484C13.1563 14.1328 12.6172 14.5495 12.0234 14.8984C11.4297 15.2474 10.7917 15.5182 10.1094 15.7109C9.43229 15.9036 8.72917 16 8 16C7.27083 16 6.5651 15.9036 5.88281 15.7109C5.20573 15.5182 4.57031 15.2474 3.97656 14.8984C3.38281 14.5495 2.84115 14.1328 2.35156 13.6484C1.86719 13.1589 1.45052 12.6172 1.10156 12.0234C0.752604 11.4297 0.481771 10.7943 0.289063 10.1172C0.0963542 9.4349 0 8.72917 0 8C0 7.27083 0.0963542 6.56771 0.289063 5.89063C0.481771 5.20833 0.752604 4.57031 1.10156 3.97656C1.45052 3.38281 1.86719 2.84375 2.35156 2.35938C2.84115 1.86979 3.38281 1.45052 3.97656 1.10156C4.57031 0.752604 5.20573 0.481771 5.88281 0.289063C6.5651 0.0963542 7.27083 0 8 0ZM10.6328 5.6875C10.4245 5.6875 10.2474 5.76042 10.1016 5.90625L7.27344 8.75L6.26563 7.75C6.11979 7.60417 5.94531 7.53125 5.74219 7.53125C5.64323 7.53125 5.54948 7.55208 5.46094 7.59375C5.3724 7.63542 5.29167 7.69271 5.21875 7.76563C5.15104 7.83333 5.09635 7.91146 5.05469 8C5.01302 8.08854 4.99219 8.18229 4.99219 8.28125C4.99219 8.48958 5.0651 8.66667 5.21094 8.8125L6.74219 10.3438C6.88802 10.4896 7.0651 10.5625 7.27344 10.5625C7.48177 10.5625 7.65885 10.4896 7.80469 10.3438L11.1641 6.96875C11.3099 6.82292 11.3828 6.64583 11.3828 6.4375C11.3828 6.33854 11.362 6.24479 11.3203 6.15625C11.2786 6.06771 11.2214 5.98958 11.1484 5.92188C11.0807 5.84896 11.0026 5.79167 10.9141 5.75C10.8255 5.70833 10.7318 5.6875 10.6328 5.6875Z",fill:"#207735"})}),t.BusySVG=()=>(0,i.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8 0.790237C8.73438 0.790237 9.4401 0.886592 10.1172 1.0793C10.7943 1.27201 11.4297 1.54284 12.0234 1.8918C12.6172 2.24076 13.1563 2.66003 13.6406 3.14961C14.1302 3.63399 14.5495 4.17305 14.8984 4.7668C15.2474 5.36055 15.5182 5.99597 15.7109 6.67305C15.9036 7.35013 16 8.05586 16 8.79024C16 9.5194 15.9036 10.2251 15.7109 10.9074C15.5182 11.5845 15.2474 12.2199 14.8984 12.8137C14.5495 13.4074 14.1302 13.9491 13.6406 14.4387C13.1563 14.9231 12.6172 15.3397 12.0234 15.6887C11.4297 16.0376 10.7917 16.3085 10.1094 16.5012C9.43229 16.6939 8.72917 16.7902 8 16.7902C7.27083 16.7902 6.5651 16.6939 5.88281 16.5012C5.20573 16.3085 4.57031 16.0376 3.97656 15.6887C3.38281 15.3397 2.84115 14.9231 2.35156 14.4387C1.86719 13.9491 1.45052 13.4074 1.10156 12.8137C0.752604 12.2199 0.481771 11.5845 0.289063 10.9074C0.0963542 10.2251 0 9.5194 0 8.79024C0 8.06107 0.0963542 7.35795 0.289063 6.68086C0.481771 5.99857 0.752604 5.36055 1.10156 4.7668C1.45052 4.17305 1.86719 3.63399 2.35156 3.14961C2.84115 2.66003 3.38281 2.24076 3.97656 1.8918C4.57031 1.54284 5.20573 1.27201 5.88281 1.0793C6.5651 0.886592 7.27083 0.790237 8 0.790237ZM7.32031 4.04805C7.21094 4.04805 7.10677 4.07149 7.00781 4.11836C6.91406 4.16003 6.82813 4.21992 6.75 4.29805C6.67708 4.37097 6.61719 4.4569 6.57031 4.55586C6.52865 4.64961 6.50781 4.75117 6.50781 4.86055V9.19649C6.50781 9.30586 6.52865 9.41263 6.57031 9.5168C6.61198 9.62097 6.67188 9.71211 6.75 9.79024L9.1875 12.2121C9.34896 12.3736 9.54167 12.4543 9.76563 12.4543C9.875 12.4543 9.97917 12.4335 10.0781 12.3918C10.1771 12.3449 10.263 12.285 10.3359 12.2121C10.4089 12.134 10.4661 12.0454 10.5078 11.9465C10.5547 11.8475 10.5781 11.7434 10.5781 11.634C10.5781 11.5298 10.5547 11.4283 10.5078 11.3293C10.4661 11.2251 10.4089 11.1366 10.3359 11.0637L8.13281 8.87618V4.86055C8.13281 4.75117 8.10938 4.64701 8.0625 4.54805C8.02083 4.44909 7.96354 4.36315 7.89063 4.29024C7.81771 4.21732 7.73177 4.16003 7.63281 4.11836C7.53385 4.07149 7.42969 4.04805 7.32031 4.04805Z",fill:"#FE9F4D"})}),t.DoNotDisturbSVG=()=>(0,i.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8 0.590256C8.73438 0.590256 9.4401 0.68661 10.1172 0.879318C10.7943 1.07203 11.4297 1.34286 12.0234 1.69182C12.6172 2.04078 13.1562 2.46005 13.6406 2.94963C14.1302 3.43401 14.5495 3.97307 14.8984 4.56682C15.2474 5.16057 15.5182 5.79598 15.7109 6.47307C15.9036 7.15015 16 7.85588 16 8.59026C16 9.31942 15.9036 10.0252 15.7109 10.7074C15.5182 11.3845 15.2474 12.0199 14.8984 12.6137C14.5495 13.2074 14.1302 13.7491 13.6406 14.2387C13.1562 14.7231 12.6172 15.1397 12.0234 15.4887C11.4297 15.8377 10.7917 16.1085 10.1094 16.3012C9.43229 16.4939 8.72917 16.5903 8 16.5903C7.27083 16.5903 6.5651 16.4939 5.88281 16.3012C5.20573 16.1085 4.57031 15.8377 3.97656 15.4887C3.38281 15.1397 2.84115 14.7231 2.35156 14.2387C1.86719 13.7491 1.45052 13.2074 1.10156 12.6137C0.752604 12.0199 0.481771 11.3845 0.289062 10.7074C0.0963542 10.0252 0 9.31942 0 8.59026C0 7.86109 0.0963542 7.15796 0.289062 6.48088C0.481771 5.79859 0.752604 5.16057 1.10156 4.56682C1.45052 3.97307 1.86719 3.43401 2.35156 2.94963C2.84115 2.46005 3.38281 2.04078 3.97656 1.69182C4.57031 1.34286 5.20573 1.07203 5.88281 0.879318C6.5651 0.68661 7.27083 0.590256 8 0.590256ZM5.47656 7.74651C5.36719 7.74651 5.26042 7.76994 5.15625 7.81682C5.05729 7.86369 4.96875 7.92619 4.89062 8.00432C4.8125 8.08244 4.75 8.17359 4.70312 8.27776C4.65625 8.37671 4.63281 8.48088 4.63281 8.59026C4.63281 8.69963 4.65625 8.8064 4.70312 8.91057C4.75 9.00953 4.8125 9.09807 4.89062 9.17619C4.96875 9.25432 5.05729 9.31682 5.15625 9.36369C5.26042 9.41057 5.36719 9.43401 5.47656 9.43401H10.5234C10.6328 9.43401 10.737 9.41057 10.8359 9.36369C10.9401 9.31682 11.0312 9.25432 11.1094 9.17619C11.1875 9.09807 11.25 9.00953 11.2969 8.91057C11.3438 8.8064 11.3672 8.69963 11.3672 8.59026C11.3672 8.48088 11.3438 8.37671 11.2969 8.27776C11.25 8.17359 11.1875 8.08244 11.1094 8.00432C11.0312 7.92619 10.9401 7.86369 10.8359 7.81682C10.737 7.76994 10.6328 7.74651 10.5234 7.74651H5.47656Z",fill:"#C21313"})}),t.OfflineSVG=()=>(0,i.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M8 0.990252C8.73438 0.990252 9.4401 1.08661 10.1172 1.27931C10.7943 1.47202 11.4297 1.74286 12.0234 2.09181C12.6172 2.44077 13.1562 2.86004 13.6406 3.34963C14.1302 3.834 14.5495 4.37306 14.8984 4.96681C15.2474 5.56056 15.5182 6.19598 15.7109 6.87306C15.9036 7.55015 16 8.25588 16 8.99025C16 9.71942 15.9036 10.4251 15.7109 11.1074C15.5182 11.7845 15.2474 12.4199 14.8984 13.0137C14.5495 13.6074 14.1302 14.1491 13.6406 14.6387C13.1562 15.1231 12.6172 15.5397 12.0234 15.8887C11.4297 16.2376 10.7917 16.5085 10.1094 16.7012C9.43229 16.8939 8.72917 16.9903 8 16.9903C7.27083 16.9903 6.5651 16.8939 5.88281 16.7012C5.20573 16.5085 4.57031 16.2376 3.97656 15.8887C3.38281 15.5397 2.84115 15.1231 2.35156 14.6387C1.86719 14.1491 1.45052 13.6074 1.10156 13.0137C0.752604 12.4199 0.481771 11.7845 0.289062 11.1074C0.0963542 10.4251 0 9.71942 0 8.99025C0 8.26109 0.0963542 7.55796 0.289062 6.88088C0.481771 6.19859 0.752604 5.56056 1.10156 4.96681C1.45052 4.37306 1.86719 3.834 2.35156 3.34963C2.84115 2.86004 3.38281 2.44077 3.97656 2.09181C4.57031 1.74286 5.20573 1.47202 5.88281 1.27931C6.5651 1.08661 7.27083 0.990252 8 0.990252ZM8 2.67775C7.42188 2.67775 6.86458 2.75327 6.32812 2.90431C5.79167 3.05536 5.28906 3.2689 4.82031 3.54494C4.35156 3.82098 3.92448 4.15171 3.53906 4.53713C3.15885 4.91734 2.83073 5.34181 2.55469 5.81056C2.27865 6.27931 2.0651 6.78192 1.91406 7.31838C1.76302 7.85484 1.6875 8.41213 1.6875 8.99025C1.6875 9.56838 1.76302 10.1257 1.91406 10.6621C2.0651 11.1986 2.27865 11.7012 2.55469 12.1699C2.83073 12.6387 3.15885 13.0658 3.53906 13.4512C3.92448 13.8314 4.35156 14.1595 4.82031 14.4356C5.28906 14.7116 5.79167 14.9251 6.32812 15.0762C6.86458 15.2272 7.42188 15.3028 8 15.3028C8.57812 15.3028 9.13542 15.2272 9.67188 15.0762C10.2083 14.9251 10.7109 14.7116 11.1797 14.4356C11.6484 14.1595 12.0729 13.8314 12.4531 13.4512C12.8385 13.0658 13.1693 12.6387 13.4453 12.1699C13.7214 11.7012 13.9349 11.1986 14.0859 10.6621C14.237 10.1257 14.3125 9.56838 14.3125 8.99025C14.3125 8.41213 14.237 7.85484 14.0859 7.31838C13.9349 6.78192 13.7214 6.27931 13.4453 5.81056C13.1693 5.34181 12.8385 4.91734 12.4531 4.53713C12.0729 4.15171 11.6484 3.82098 11.1797 3.54494C10.7109 3.2689 10.2083 3.05536 9.67188 2.90431C9.13542 2.75327 8.57812 2.67775 8 2.67775Z",fill:"#979797"})})},818:function(e,t,n){var i,o=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=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||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),a=0;a<n.length;a++)"default"!==n[a]&&o(t,e,n[a]);return r(t,e),t}),l=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContactCard=void 0;const c=n(4848),u=a(n(2015)),d=s(n(2770)),f=n(9916),p=n(904),h=n(357),m=n(9543);t.ContactCard=e=>{var{name:t,title:n,photoUrl:i,useInitials:o=!1,details:r,onlineStatus:a}=e,s=l(e,["name","title","photoUrl","useInitials","details","onlineStatus"]);const d=i||o,f=(0,u.useMemo)((()=>(0,p.getInitials)(t)),[t]),P=(0,u.useMemo)((()=>(0,m.generateColorFromString)(t)),[t]),M=(0,u.createRef)();return(0,u.useEffect)((()=>{var e;null===(e=M.current)||void 0===e||e.scrollTo(0,0)})),(0,c.jsxs)(b,Object.assign({},s,{children:[(0,c.jsxs)(g,{children:[d&&(0,c.jsxs)(v,{iconColor:P,children:[i?(0,c.jsx)(_,{alt:n,src:i}):(0,c.jsx)(y,{children:f}),(0,c.jsx)(h.ContactStatusIcon,{onlineStatus:a})]}),(0,c.jsxs)(x,{children:[(0,c.jsxs)(O,{children:[" ",t," "]}),n&&(0,c.jsxs)(C,{children:[" ",n," "]})]})]}),(0,c.jsx)(j,{}),(0,c.jsx)(w,{ref:M,children:(null==r?void 0:r.length)>0?r.map(((e,n)=>(0,c.jsxs)(u.default.Fragment,{children:[(0,c.jsx)(S,{definitions:e}),n<r.length-1&&(0,c.jsx)(j,{padding:!0})]},`${t}-details-${n}`))):(0,c.jsx)("p",{children:"No information available."})})]}))};const b=d.default.div`
2307
+ display: flex;
2308
+ flex-direction: column;
2309
+ height: 100%;
2310
+ `,g=d.default.div`
2311
+ display: flex;
2312
+ padding-bottom: ${({theme:e})=>e.px.large};
2313
+ `,v=d.default.div`
2314
+ align-items: center;
2315
+ background-color: ${e=>e.iconColor};
2316
+ border-radius: ${({theme:e})=>e.px.xsmall};
2317
+ display: flex;
2318
+ justify-content: center;
2319
+
2320
+ height: 60px;
2321
+ width: 60px;
2322
+
2323
+ position: relative;
2324
+ `,y=d.default.span`
2325
+ font-size: 24px;
2326
+ text-transform: uppercase;
2327
+ `,_=d.default.img`
2328
+ border-radius: ${({theme:e})=>e.px.xsmall};
2329
+ object-fit: cover;
2330
+ user-select: none;
2331
+ height: 100%;
2332
+ width: 100%;
2333
+ `,x=d.default.div`
2334
+ display: flex;
2335
+ flex-direction: column;
2336
+ justify-content: flex-start;
2337
+ min-width: 0;
2338
+ margin-left: ${({theme:e})=>e.px.base};
2339
+ `,O=d.default.span`
2340
+ font-size: ${({theme:e})=>e.fontSize.large};
2341
+ line-height: ${({theme:e})=>e.px.large};
2342
+ overflow: hidden;
2343
+ padding-bottom: ${({theme:e})=>e.px.xsmall};
2344
+ font-weight: ${({theme:e})=>e.fontWeight.bold};
2345
+ text-overflow: ellipsis;
2346
+ white-space: nowrap;
2347
+ `,C=d.default.span`
2348
+ color: ${({theme:e})=>e.palette.textHelp};
2349
+ line-height: ${({theme:e})=>e.px.base};
2350
+ overflow: hidden;
2351
+ padding-bottom: 2px;
2352
+ text-overflow: ellipsis;
2353
+ white-space: nowrap;
2354
+ `,w=d.default.div`
2355
+ border-radius: 2px;
2356
+ flex: 1;
2357
+ margin-top: ${({theme:e})=>e.px.large};
2358
+ margin-bottom: ${({theme:e})=>e.px.base};
2359
+ padding-right: ${({theme:e})=>e.px.base};
2360
+ overflow-y: auto;
2361
+ `,j=d.default.div`
2362
+ border-bottom: solid 1px ${({theme:e})=>e.palette.background6};
2363
+ margin-bottom: ${({theme:e,padding:t})=>t&&e.px.base};
2364
+ `,S=(0,d.default)(f.DefinitionList)`
2365
+ dt {
2366
+ text-align: left;
2367
+ text-transform: capitalize;
2368
+ }
2369
+
2370
+ dd {
2371
+ overflow: hidden;
2372
+ text-align: right;
2373
+ text-overflow: ellipsis;
2374
+ white-space: nowrap;
2375
+ }
2376
+ `},5168:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(818),t)},904:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getInitials=void 0,t.getInitials=e=>{const t=e.trim(),n=t.lastIndexOf(" ");return n>-1?[t.charAt(0),t.charAt(n+1)].join(""):t.slice(0,2)}},4492:function(e,t,n){var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.H6=t.H5=t.H4=t.H3=t.H2=t.H1=t.Heading=t.defaultSize=void 0;const r=n(4848),a=o(n(2770)),l=n(2317),s=n(5963);t.defaultSize={h1:l.Size.xxxlarge,h2:l.Size.xxlarge,h3:l.Size.xlarge,h4:l.Size.large,h5:l.Size.base,h6:l.Size.small},t.Heading=e=>{var{level:n=1,className:o}=e,a=i(e,["level","className"]);const l=`h${n}`;return(0,r.jsx)(c,Object.assign({className:o,as:l,size:t.defaultSize[l],weight:"bold"},a))};const c=(0,a.default)(s.Text)`
2377
+ line-height: ${({theme:e})=>e.lineHeight.heading};
2378
+ `;t.H1=(0,a.default)(t.Heading).attrs((e=>Object.assign(Object.assign({},e),{level:1})))``,t.H2=(0,a.default)(t.Heading).attrs((e=>Object.assign(Object.assign({},e),{level:2})))``,t.H3=(0,a.default)(t.Heading).attrs((e=>Object.assign(Object.assign({},e),{level:3})))``,t.H4=(0,a.default)(t.Heading).attrs((e=>Object.assign(Object.assign({},e),{level:4})))``,t.H5=(0,a.default)(t.Heading).attrs((e=>Object.assign(Object.assign({},e),{level:5})))``,t.H6=(0,a.default)(t.Heading).attrs((e=>Object.assign(Object.assign({},e),{level:6})))``},5058:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4492),t)},5963:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1316),t)},1316:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;const o=i(n(2770));t.Text=o.default.span`
2379
+ color: ${({theme:e,color:t="textDefault"})=>e.palette[t]};
2380
+ font-size: ${({theme:e,size:t="base"})=>e.fontSize[t]};
2381
+ font-weight: ${({theme:e,weight:t="normal"})=>e.fontWeight[t]};
2382
+ line-height: ${({theme:e})=>e.lineHeight.text};
2383
+ `,t.Text.displayName="Text"},2762:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useColorScheme=t.ColorScheme=void 0;const i=n(2015);t.ColorScheme={dark:"dark",light:"light",system:"system"},t.useColorScheme=({colorScheme:e,fallbackScheme:n=t.ColorScheme.light})=>{const[r,a]=(0,i.useState)(e&&e!==t.ColorScheme.system?e:n),l=t=>{a(o(t,e||n))};return(0,i.useEffect)((()=>{const t=window.matchMedia("(prefers-color-scheme: dark)");return a(o(t,e||n)),t.addEventListener("change",l),()=>t.removeEventListener("change",l)}),[e,r]),r};const o=(e,n)=>n===t.ColorScheme.system?e.matches?t.ColorScheme.dark:t.ColorScheme.light:n},6110:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useDropdownKeyboardNavigation=void 0;const i=n(2015);t.useDropdownKeyboardNavigation=(e,t,n,o,r)=>{const[a,l]=(0,i.useState)(0),[s,c]=(0,i.useState)("");let u;if((0,i.useEffect)((()=>{if(t&&!n){const n=e.flat().findIndex((e=>e.value===t.value));n>=0&&l(n)}}),[e,t,n]),(0,i.useEffect)((()=>{n||c("")}),[n]),(0,i.useEffect)((()=>{if(s){const t=e.flat().findIndex((e=>e.title.toLowerCase().startsWith(s.toLowerCase())));t>=0&&l(t)}}),[e,s]),e[0].length>0&&e.flat().length>a){const[t,n]=[Math.floor(a/e[0].length),a%e[0].length];u=e[t][n]}return(0,i.useEffect)((()=>{const e=setTimeout((()=>{c("")}),500);return()=>clearTimeout(e)}),[s]),{focusedOption:u,handleKeyDown:t=>{switch(t.code){case"ArrowUp":t.preventDefault(),a>0&&l(a-1);break;case"ArrowDown":t.preventDefault(),a<e.flat().length-1&&l(a+1);break;case"Enter":case"Space":t.preventDefault(),n?((null==u?void 0:u.overrideOnClick)?u.overrideOnClick():r(null!=u?u:e[0][0]),o()):o();break;case"Escape":t.preventDefault(),o(!1);break;default:/^[a-z0-9]$/i.test(t.key)&&c((e=>e+t.key))}}}}},7980:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useLayoutMediaQuery=t.useMediaQuery=void 0;const i=n(2015),o=e=>t=>{const[n,o]=(0,i.useState)(!1);return e((()=>{const e=window.matchMedia(t);if(e){e.matches!==n&&o(e.matches);const t=()=>o(e.matches),i=()=>e.removeEventListener("change",t);return e.addEventListener("change",t),i}}),[n,t]),n};t.useMediaQuery=o(i.useEffect),t.useLayoutMediaQuery=o(i.useLayoutEffect)},421:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.usePrevious=void 0;const i=n(2015);t.usePrevious=e=>{const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current}},5007:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useTheme=void 0;const i=n(2015),o=n(4322),r=n(2762),a=n(532),l=n(7825),s={[r.ColorScheme.dark]:o.OpenFinDarkTheme,[r.ColorScheme.light]:o.OpenFinLightTheme};t.useTheme=({themes:e,scheme:t})=>{let n={};const o=(0,r.useColorScheme)({colorScheme:t});try{n=(0,i.useMemo)((()=>((e,t)=>{const n=null==t?void 0:t[e];let i=Object.assign({},s[e]);return n&&n.palette&&(i=(0,l.merge)(i,n,(0,a.createTheme)(n.palette))),i})(o,e)),[e,o])}catch(e){console.error(e)}return n}},1440:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2367),t),o(n(7787),t),o(n(759),t),o(n(4810),t),o(n(5825),t),o(n(8577),t),o(n(3189),t),o(n(4706),t),o(n(5918),t),o(n(5917),t),o(n(4416),t),o(n(2387),t),o(n(114),t),o(n(2649),t),o(n(4864),t),o(n(3842),t),o(n(9990),t),o(n(8045),t),o(n(6942),t),o(n(3982),t),o(n(6841),t),o(n(2685),t),o(n(2094),t),o(n(9916),t),o(n(8543),t),o(n(5168),t),o(n(5058),t),o(n(5963),t),o(n(2762),t),o(n(7980),t),o(n(421),t),o(n(6110),t),o(n(7013),t),o(n(9543),t),o(n(3679),t),o(n(3092),t)},9543:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generateColorFromString=function(e="",t=70,n=50){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i),i|=0;return`hsl(${i%360}, ${t}%, ${n}%)`}},7013:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.whenFin=function(e,t){const n="undefined"!=typeof fin?e:t;return"function"==typeof n?n():n}},9802:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-Italic.woff2"},9294:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-Regular.woff2"},3325:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-SemiBold.woff2"},2773:e=>{e.exports="https://cdn.openfin.co/ui-library/fonts/Inter-SemiBoldItalic.woff2"},824:e=>{e.exports=n(6542)},5322:e=>{e.exports=n(8898)},7825:e=>{e.exports=n(96)},2015:e=>{e.exports=n(5932)},9500:e=>{e.exports=n(1922)},2770:e=>{e.exports=n(2230)},6535:function(e){e.exports=function(){function e(t){return(e="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})(t)}var t=/^\s+/,n=/\s+$/;function i(o,r){if(r=r||{},(o=o||"")instanceof i)return o;if(!(this instanceof i))return new i(o,r);var a=function(i){var o,r,a,l={r:0,g:0,b:0},s=1,c=null,u=null,d=null,f=!1,p=!1;return"string"==typeof i&&(i=function(e){e=e.replace(t,"").replace(n,"").toLowerCase();var i,o=!1;if(_[e])e=_[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(i=D.rgb.exec(e))?{r:i[1],g:i[2],b:i[3]}:(i=D.rgba.exec(e))?{r:i[1],g:i[2],b:i[3],a:i[4]}:(i=D.hsl.exec(e))?{h:i[1],s:i[2],l:i[3]}:(i=D.hsla.exec(e))?{h:i[1],s:i[2],l:i[3],a:i[4]}:(i=D.hsv.exec(e))?{h:i[1],s:i[2],v:i[3]}:(i=D.hsva.exec(e))?{h:i[1],s:i[2],v:i[3],a:i[4]}:(i=D.hex8.exec(e))?{r:j(i[1]),g:j(i[2]),b:j(i[3]),a:E(i[4]),format:o?"name":"hex8"}:(i=D.hex6.exec(e))?{r:j(i[1]),g:j(i[2]),b:j(i[3]),format:o?"name":"hex"}:(i=D.hex4.exec(e))?{r:j(i[1]+""+i[1]),g:j(i[2]+""+i[2]),b:j(i[3]+""+i[3]),a:E(i[4]+""+i[4]),format:o?"name":"hex8"}:!!(i=D.hex3.exec(e))&&{r:j(i[1]+""+i[1]),g:j(i[2]+""+i[2]),b:j(i[3]+""+i[3]),format:o?"name":"hex"}}(i)),"object"==e(i)&&($(i.r)&&$(i.g)&&$(i.b)?(o=i.r,r=i.g,a=i.b,l={r:255*C(o,255),g:255*C(r,255),b:255*C(a,255)},f=!0,p="%"===String(i.r).substr(-1)?"prgb":"rgb"):$(i.h)&&$(i.s)&&$(i.v)?(c=P(i.s),u=P(i.v),l=function(e,t,n){e=6*C(e,360),t=C(t,100),n=C(n,100);var i=Math.floor(e),o=e-i,r=n*(1-t),a=n*(1-o*t),l=n*(1-(1-o)*t),s=i%6;return{r:255*[n,a,r,r,l,n][s],g:255*[l,n,n,a,r,r][s],b:255*[r,r,l,n,n,a][s]}}(i.h,c,u),f=!0,p="hsv"):$(i.h)&&$(i.s)&&$(i.l)&&(c=P(i.s),d=P(i.l),l=function(e,t,n){var i,o,r;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=C(e,360),t=C(t,100),n=C(n,100),0===t)i=o=r=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;i=a(s,l,e+1/3),o=a(s,l,e),r=a(s,l,e-1/3)}return{r:255*i,g:255*o,b:255*r}}(i.h,c,d),f=!0,p="hsl"),i.hasOwnProperty("a")&&(s=i.a)),s=O(s),{ok:f,format:i.format||p,r:Math.min(255,Math.max(l.r,0)),g:Math.min(255,Math.max(l.g,0)),b:Math.min(255,Math.max(l.b,0)),a:s}}(o);this._originalInput=o,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||a.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=a.ok}function o(e,t,n){e=C(e,255),t=C(t,255),n=C(n,255);var i,o,r=Math.max(e,t,n),a=Math.min(e,t,n),l=(r+a)/2;if(r==a)i=o=0;else{var s=r-a;switch(o=l>.5?s/(2-r-a):s/(r+a),r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4}i/=6}return{h:i,s:o,l}}function r(e,t,n){e=C(e,255),t=C(t,255),n=C(n,255);var i,o,r=Math.max(e,t,n),a=Math.min(e,t,n),l=r,s=r-a;if(o=0===r?0:s/r,r==a)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4}i/=6}return{h:i,s:o,v:l}}function a(e,t,n,i){var o=[S(Math.round(e).toString(16)),S(Math.round(t).toString(16)),S(Math.round(n).toString(16))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function l(e,t,n,i){return[S(M(i)),S(Math.round(e).toString(16)),S(Math.round(t).toString(16)),S(Math.round(n).toString(16))].join("")}function s(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s-=t/100,n.s=w(n.s),i(n)}function c(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s+=t/100,n.s=w(n.s),i(n)}function u(e){return i(e).desaturate(100)}function d(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l+=t/100,n.l=w(n.l),i(n)}function f(e,t){t=0===t?0:t||10;var n=i(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),i(n)}function p(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l-=t/100,n.l=w(n.l),i(n)}function h(e,t){var n=i(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,i(n)}function m(e){var t=i(e).toHsl();return t.h=(t.h+180)%360,i(t)}function b(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=i(e).toHsl(),o=[i(e)],r=360/t,a=1;a<t;a++)o.push(i({h:(n.h+a*r)%360,s:n.s,l:n.l}));return o}function g(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+72)%360,s:t.s,l:t.l}),i({h:(n+216)%360,s:t.s,l:t.l})]}function v(e,t,n){t=t||6,n=n||30;var o=i(e).toHsl(),r=360/n,a=[i(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(i(o));return a}function y(e,t){t=t||6;for(var n=i(e).toHsv(),o=n.h,r=n.s,a=n.v,l=[],s=1/t;t--;)l.push(i({h:o,s:r,v:a})),a=(a+s)%1;return l}i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,i=this.toRgb();return e=i.r/255,t=i.g/255,n=i.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=O(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=r(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=r(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return a(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,i,o){var r=[S(Math.round(e).toString(16)),S(Math.round(t).toString(16)),S(Math.round(n).toString(16)),S(M(i))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*C(this._r,255))+"%",g:Math.round(100*C(this._g,255))+"%",b:Math.round(100*C(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*C(this._r,255))+"%, "+Math.round(100*C(this._g,255))+"%, "+Math.round(100*C(this._b,255))+"%)":"rgba("+Math.round(100*C(this._r,255))+"%, "+Math.round(100*C(this._g,255))+"%, "+Math.round(100*C(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[a(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+l(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=i(e);n="#"+l(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,i=this._a<1&&this._a>=0;return t||!i||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(f,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(c,arguments)},greyscale:function(){return this._applyModification(u,arguments)},spin:function(){return this._applyModification(h,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(v,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(y,arguments)},splitcomplement:function(){return this._applyCombination(g,arguments)},triad:function(){return this._applyCombination(b,[3])},tetrad:function(){return this._applyCombination(b,[4])}},i.fromRatio=function(t,n){if("object"==e(t)){var o={};for(var r in t)t.hasOwnProperty(r)&&(o[r]="a"===r?t[r]:P(t[r]));t=o}return i(t,n)},i.equals=function(e,t){return!(!e||!t)&&i(e).toRgbString()==i(t).toRgbString()},i.random=function(){return i.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},i.mix=function(e,t,n){n=0===n?0:n||50;var o=i(e).toRgb(),r=i(t).toRgb(),a=n/100;return i({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},i.readability=function(e,t){var n=i(e),o=i(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},i.isReadable=function(e,t,n){var o,r,a,l,s,c=i.readability(e,t);switch(r=!1,(a=n,"AA"!==(l=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==l&&(l="AA"),"small"!==(s=(a.size||"small").toLowerCase())&&"large"!==s&&(s="small"),o={level:l,size:s}).level+o.size){case"AAsmall":case"AAAlarge":r=c>=4.5;break;case"AAlarge":r=c>=3;break;case"AAAsmall":r=c>=7}return r},i.mostReadable=function(e,t,n){var o,r,a,l,s=null,c=0;r=(n=n||{}).includeFallbackColors,a=n.level,l=n.size;for(var u=0;u<t.length;u++)(o=i.readability(e,t[u]))>c&&(c=o,s=i(t[u]));return i.isReadable(e,s,{level:a,size:l})||!r?s:(n.includeFallbackColors=!1,i.mostReadable(e,["#fff","#000"],n))};var _=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=i.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(_);function O(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function C(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function w(e){return Math.min(1,Math.max(0,e))}function j(e){return parseInt(e,16)}function S(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function M(e){return Math.round(255*parseFloat(e)).toString(16)}function E(e){return j(e)/255}var T,k,I,D=(k="[\\s|\\(]+("+(T="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",I="[\\s|\\(]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",{CSS_UNIT:new RegExp(T),rgb:new RegExp("rgb"+k),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+k),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+k),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function $(e){return!!D.CSS_UNIT.exec(e)}return i}()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,exports:{}};return i[e].call(n.exports,n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a=r(1440),l=t;for(var s in a)l[s]=a[s];a.__esModule&&Object.defineProperty(l,"__esModule",{value:!0})},7260:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultInputBoxCSS=t.Label=t.SingleLineText=t.InputContainer=void 0;const a=r(n(2230)),l=n(7250);t.InputContainer=(0,a.default)(l.Box)`
2384
+ width: 100%;
2385
+ display: flex;
2386
+ `,t.SingleLineText=a.css`
2387
+ white-space: nowrap;
2388
+ text-overflow: ellipsis;
2389
+ overflow: hidden;
2390
+ word-wrap: break-word;
2391
+ `,t.Label=a.default.label`
2392
+ display: block;
2393
+ width: 100%;
2394
+ text-align: left;
2395
+ margin-bottom: 10px;
2396
+ ${t.SingleLineText}
2397
+ `,t.defaultInputBoxCSS=a.css`
2398
+ width: 100%;
2399
+ padding: ${({theme:e})=>`${e.px.small} ${e.px.base}`};
2400
+ border-radius: ${({theme:e})=>e.radius.small};
2401
+ background: ${({theme:e})=>e.palette.inputBackground};
2402
+ border: 1px solid
2403
+ ${e=>e.$validationError?e.theme.palette.statusCritical:"transparent"};
2404
+ color: ${({theme:e})=>e.palette.textDefault};
2405
+ filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
2406
+
2407
+ &::placeholder {
2408
+ color: ${({theme:e})=>e.palette.inputPlaceholder};
2409
+ }
2410
+
2411
+ &:focus {
2412
+ border: 1px solid ${({theme:e})=>e.palette.brandPrimary};
2413
+ outline: none;
2414
+ }
2415
+ `},7261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeNotification=void 0;const i=n(4022);t.removeNotification=new i.Signal(i.Aggregators.AWAIT_VOID)},7342:e=>{"use strict";e.exports=x},7344:e=>{"use strict";e.exports=O},7379:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormError=void 0;const o=i(n(2230)),r=n(7250),a=i(n(5932));t.FormError=({error:e})=>a.default.createElement(l,null,a.default.createElement(r.Icon,{icon:"ExclamationCircledFilledIcon",color:"red"})," ",e);const l=(0,o.default)(r.Text)`
2416
+ margin-bottom: ${({theme:e})=>e.px.small};
2417
+ display: flex;
2418
+ gap: ${({theme:e})=>e.px.xsmall};
2419
+ `},7380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleFilter=void 0;const i=n(7451),o=n(2373);t.ToggleFilter=class{constructor(){this._toggleBlockTimer=new o.Timer(750),this._blurBlockTimer=new o.Timer(750)}recordBlur(){return this._blurBlockTimer.running?(this._blurBlockTimer.clear(),!1):(this._toggleBlockTimer.start(),!0)}recordToggle(e){if(e===i.ToggleCenterVisibilitySource.API||e===i.ToggleCenterVisibilitySource.TRAY){const e=this._toggleBlockTimer.running;return this._toggleBlockTimer.clear(),!e&&(this._blurBlockTimer.start(),!0)}return!0}}},7383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initialSecuritySettingsState=void 0,t.initialSecuritySettingsState={notificationSecurityRules:{}}},7446:e=>{"use strict";e.exports=C},7451:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ApplySnapshot=t.UsingCustomManifest=t.RaiseAnalyticsEvent=t.HideModal=t.ShowModal=t.selectVisibleErrors=t.selectErrors=t.Unfreeze=t.Freeze=t.UpdateAppToastPersistState=t.SetSelectedPlatform=t.UpdateStreamMuteState=t.UpdateAppMuteState=t.ExpireNotification=t.DismissError=t.PushError=t.RegisterStream=t.RegisterApplication=t.ToggleCenterMuted=t.ToggleCenterLocked=t.BlurCenter=t.HideCenter=t.ShowCenter=t.ToggleCenterVisibility=t.ClickFragment=t.ClickButton=t.ClickNotification=t.RemoveNotifications=t.InitiateRemoveAllNotifications=t.UpdateNotification=t.CreateNotification=t.ToggleCenterVisibilitySource=void 0;const r=n(6566),a=n(6455),l=n(7380),s=n(3363),c=n(0),u=n(4887),d=n(6012),f=n(5425),p=n(8136),h=n(7676),m=n(2471),b=n(8320),g=n(7031),v=n(7261),y=n(8001);var _;o(n(7540),t),function(e){e[e.API=0]="API",e[e.TRAY=1]="TRAY",e[e.BUTTON=2]="BUTTON",e[e.INTERNAL=3]="INTERNAL",e[e.HOTKEY=4]="HOTKEY"}(_=t.ToggleCenterVisibilitySource||(t.ToggleCenterVisibilitySource={}));class x extends r.Action{get notification(){return this._notification}constructor(e){super(),this._notification=e}async handleStreamStatus(e,t){const n=e.notification.stream;if(n){const i=t.state.streams.get(n.id);if(!i||i.displayName!==n.displayName){const i=e.source.identity.uuid;await t.dispatch(new N(n,i))}}}async call(e,t){var n;const i=this.notification;this._notification=Object.assign(Object.assign({},this.notification),{title:(0,s.getStreamTitle)(e.state.streams,null===(n=i.notification.stream)||void 0===n?void 0:n.id)||(0,s.getSourceTitle)(this.notification.source,e.state.applications)});const o=e.state.reminders.find((e=>e.id===i.id));o&&await e.dispatch(new b.CancelReminder(o));const r=e.state.notifications.filter((e=>e.id===i.id));r.length&&await e.dispatch(new w(r)),await this.handleStreamStatus(i,e),await t()}reduce(e){const{notification:t}=this,n=e.notifications.slice(),i=e.notifications.findIndex((e=>e.id===t.id));i>=0?(console.warn(`Attempted to add a notification with duplicate id '${t.id}'. Will replace existing notification.`),n[i]=t):n.push(t);const o=e.stickyNotifications.slice();if((0,d.isSticky)(t.notification)){const e=o.findIndex((e=>e.id===t.id));e>=0?o[e]=t:o.push(t)}const r=(0,p.insertNotificationIntoSortedMaps)(e.sortedNotifications,t),a=new Map(e.platform.counts),l=t.notification.platform;if(l){const e=a.get(l);a.set(l,e?e+1:1)}return Object.assign(Object.assign({},e),{notifications:n,stickyNotifications:o,sortedNotifications:r,platform:Object.assign(Object.assign({},e.platform),{counts:a})})}}t.CreateNotification=x;class O extends r.Action{constructor(e){super(),this.updatePayload=e,this._updatedNotification=null}get updatedNotification(){return this._updatedNotification}async call(e,t){e.state.reminders.find((e=>e.notification.id===this.updatePayload.id))&&await e.dispatch(new b.UpdateReminder(this.updatePayload)),await t()}reduce(e){const t=[...e.notifications];return this._updatedNotification=(0,g.updateCollection)(t,this.updatePayload),this._updatedNotification?Object.assign(Object.assign(Object.assign({},e),{notifications:t}),{stickyNotifications:(n=this._updatedNotification)&&(0,d.isSticky)(n.notification)?e.stickyNotifications.map((e=>e.id===n.id?n:e)):e.stickyNotifications,sortedNotifications:(0,p.insertNotificationIntoSortedMaps)(e.sortedNotifications,n)}):Object.assign({},e);var n}}t.UpdateNotification=O;class C extends r.Action{constructor(e){super(),this.notifications=e}}t.InitiateRemoveAllNotifications=C;class w extends r.Action{constructor(e,t){super(),this.notifications=e,this.action=t}async call(e,t){const{notifications:n}=this,i=n.map((e=>e.id)),o=e.state.reminders.filter((e=>i.includes(e.id)));for(const t of o)await e.dispatch(new b.CancelReminder(t));for(const e of n)await v.removeNotification.emit(e);await t();const r=(0,f.getDefaultPlatform)(e);r&&await e.dispatch(new z(r))}reduce(e){const{notifications:t}=this,n=t.map((e=>e.id));let i=e.stickyNotifications.slice();t.forEach((e=>{(0,d.isSticky)(e.notification)&&(i=i.filter((t=>t.id!==e.id)))}));let o=Object.assign({},e.sortedNotifications);const r=new Map(e.platform.counts);for(const e of t){o=(0,p.removeNotificationFromSortedMaps)(o,e);const t=e.notification.platform;if(t){const e=r.get(t);r.set(t,e?e-1:1)}}return Object.assign(Object.assign({},e),{notifications:e.notifications.filter((e=>-1===n.indexOf(e.id))),stickyNotifications:i,search:Object.assign(Object.assign({},e.search),{results:e.search.results.filter((({item:e})=>-1===n.indexOf(e.id)))}),sortedNotifications:o,platform:Object.assign(Object.assign({},e.platform),{counts:r})})}}t.RemoveNotifications=w;class j extends r.Action{constructor(e){super(),this.notification=e}async call(e,t){var n,i;(null===(n=this.notification.notification.onSelect)||void 0===n?void 0:n.__NOOP__)===a.ActionNoopType.EVENT_DISMISS&&console.warn("[DEPRECATED]: __NOOP__ has been deprecated, Notifications now will not trigger the dismiss action when the body is clicked by default."),(null===(i=this.notification.notification.onSelect)||void 0===i?void 0:i.BODY_CLICK)===a.ActionBodyClickType.DISMISS_EVENT&&(e.state.centerVisible?await e.dispatch(new w([this.notification])):await e.dispatch(new h.MinimizeToast(this.notification))),await(0,f.getTargetOrError)(e,this.notification.notification)&&await t()}}t.ClickNotification=j;class S extends r.Action{constructor(e,t){super(),this.notification=e,this.buttonIndex=t}async call(e,t){await(0,f.getTargetOrError)(e,this.notification.notification)&&await Promise.all([t(),e.dispatch(new w([this.notification]))])}}t.ClickButton=S;class P extends r.Action{constructor(e,t,n){super(),this.notification=e,this.fragment=t,this.isToast=n}}t.ClickFragment=P;class M extends r.Action{constructor(e,t){super(),this.source=e,this.visible=t}async call(e,t){(this.source===_.INTERNAL||U.recordToggle(this.source))&&await t();const n=void 0!==this.visible?this.visible:e.state.centerVisible;e.state.settings.clearFiltersOnCenterShow&&this.source!==_.HOTKEY&&n&&(0,y.clearAllFilterSettings)(e),await e.dispatch(new m.SetSearchMode(!1))}reduce(e){const t=void 0!==this.visible?this.visible:!e.centerVisible;return Object.assign(Object.assign({},e),{centerVisible:t})}}t.ToggleCenterVisibility=M;class E extends r.Action{constructor(e){super(),this.navigateToAll=e}async call(e,t){U.recordToggle(_.API),this.navigateToAll&&await e.dispatch(new z(void 0)),await t()}reduce(e){return Object.assign(Object.assign({},e),{centerVisible:!0})}}t.ShowCenter=E;class T extends r.Action{constructor(){super()}reduce(e){return Object.assign(Object.assign({},e),{centerVisible:!1})}}t.HideCenter=T;class k extends r.Action{async call(e,t){U.recordBlur()&&await t()}reduce(e){return Object.assign(Object.assign({},e),{centerVisible:!1})}}t.BlurCenter=k;class I extends r.Action{reduce(e){return Object.assign(Object.assign({},e),{centerLocked:!e.centerLocked})}}t.ToggleCenterLocked=I;class D extends r.Action{reduce(e){return Object.assign(Object.assign({},e),{centerMuted:!e.centerMuted})}}t.ToggleCenterMuted=D;class $ extends r.Action{constructor(e){super(),this.application=e}reduce(e){const t=e.applications.get(this.application.id);let n=e.notifications,i=e.reminders;if(t&&t.title!==this.application.title){const t=this.application.title;n=e.notifications.map((e=>Object.assign(Object.assign({},e),{title:t}))),i=e.reminders.map((e=>Object.assign(Object.assign({},e),{title:t})))}const o=Object.assign(Object.assign({},this.application),{muted:t?t.muted:this.application.muted,persistToasts:t?t.persistToasts:this.application.persistToasts}),r=new Map(e.applications);return r.set(o.id,o),Object.assign(Object.assign({},e),{applications:r,notifications:n,reminders:i})}}t.RegisterApplication=$;class N extends r.Action{constructor(e,t){super(),this.stream=e,this._appId=t}reduce(e){const t=e.streams.get(this.stream.id),n=new Map(e.streams);return n.set(this.stream.id,Object.assign(Object.assign({},this.stream),{muted:!!t&&t.muted,appId:this._appId})),Object.assign(Object.assign({},e),{streams:n})}}t.RegisterStream=N;class A extends r.Action{constructor(e,t){super(),this.id=e,this.message=t}reduce(e){const t=new Map(e.errors);return t.delete(this.id),t.set(this.id,{id:this.id,message:this.message}),Object.assign(Object.assign({},e),{errors:t})}}t.PushError=A;class F extends r.Action{constructor(e){super(),this.id=e}reduce(e){const t=new Map(e.errors);return t.delete(this.id),Object.assign(Object.assign({},e),{errors:t})}}t.DismissError=F;class R extends r.Action{constructor(e){super(),this.notification=e}async call(e,t){await Promise.all([t(),e.dispatch(new w([this.notification]))])}}t.ExpireNotification=R;class B extends r.Action{constructor(e,t){super(),this.application=e,this.muted=t}reduce(e){const t=this.application,n=new Map(e.applications);return n.set(t.id,Object.assign(Object.assign({},t),{muted:this.muted})),Object.assign(Object.assign({},e),{applications:n})}}t.UpdateAppMuteState=B;class L extends r.Action{constructor(e,t){super(),this.stream=e,this.muted=t}reduce(e){const t=this.stream,n=new Map(e.streams);return n.set(t.id,Object.assign(Object.assign({},t),{muted:this.muted})),Object.assign(Object.assign({},e),{streams:n})}}t.UpdateStreamMuteState=L;class z extends r.Action{constructor(e){super(),this.id=e}reduce(e){return Object.assign(Object.assign({},e),{platform:Object.assign(Object.assign({},e.platform),{selected:this.id})})}}t.SetSelectedPlatform=z;class H extends r.Action{constructor(e,t){super(),this.application=e,this.persistToasts=t}reduce(e){const t=this.application,n=new Map(e.applications);return n.set(t.id,Object.assign(Object.assign({},t),{persistToasts:this.persistToasts})),Object.assign(Object.assign({},e),{applications:n})}}t.UpdateAppToastPersistState=H;class V extends r.KeyedAction{constructor(){super("frozen")}reduce(){return!0}}t.Freeze=V;class W extends r.KeyedAction{constructor(){super("frozen")}reduce(){return!1}}t.Unfreeze=W;const U=new l.ToggleFilter;t.selectErrors=e=>e.errors,t.selectVisibleErrors=(0,c.createSelector)(t.selectErrors,(e=>Array.from(e.values()).slice(-u.maxVisibleUserFacingErrors).reverse()));class G extends r.Action{constructor(e){super(),this.config=e}}t.ShowModal=G;class q extends r.Action{constructor(e){super(),this.id=e}}t.HideModal=q;class K extends r.Action{constructor(e,t){super(),this.event=e,this.platformId=t}}t.RaiseAnalyticsEvent=K;class Z extends r.Action{reduce(e){return Object.assign(Object.assign({},e),{customManifest:!0})}}t.UsingCustomManifest=Z;class Y extends r.Action{constructor(e){super(),this.snapshot=e}reduce(e){const t=new Map(this.snapshot.applications.map((e=>[e.id,e]))),n=new Map(this.snapshot.streams.map((e=>[e.id,e])));let i=h.initialSortedNotificationsState;return this.snapshot.notifications.forEach((e=>{i=(0,p.insertNotificationIntoSortedMaps)(i,e)})),Object.assign(Object.assign({},e),{applications:t,streams:n,notifications:this.snapshot.notifications,reminders:this.snapshot.reminders,sortedNotifications:i})}}t.ApplySnapshot=Y},7527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetSelectedCategorySorting=t.SetSelectedCategory=t.CategorySortTypesNamesMap=t.CategoryNamesMap=t.initialCategoryState=void 0;const i=n(6566);t.initialCategoryState={selectedCategory:"all",sortType:"date",sortDirection:"descending"},t.CategoryNamesMap={all:"All","needs-attention":"Needs Attention",sender:"Group by Sender",reminders:"Reminders"},t.CategorySortTypesNamesMap={"date-ascending":"Oldest","date-descending":"Newest","priority-ascending":"Lowest Priority","priority-descending":"Highest Priority"};class o extends i.Action{constructor(e){super(),this.category=e}reduce(e){return Object.assign(Object.assign({},e),{categories:Object.assign(Object.assign({},e.categories),{selectedCategory:this.category})})}}t.SetSelectedCategory=o;class r extends i.Action{constructor(e,t){super(),this.sortType=e,this.sortDirection=t}reduce(e){return Object.assign(Object.assign({},e),{categories:Object.assign(Object.assign({},e.categories),{sortType:this.sortType||e.categories.sortType,sortDirection:this.sortDirection||e.categories.sortDirection})})}}t.SetSelectedCategorySorting=r},7530:e=>{"use strict";e.exports=w},7540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectPlatformNotificationCounts=t.selectPlatformSearchResults=t.selectPlatformReminders=t.selectPlatformNotifications=t.selectActivePlatforms=t.selectCurrentPlatform=t.selectPlatformScheme=t.selectPlatformTheme=t.selectCounts=t.selectPlatforms=t.DeregisterPlatform=t.UpdatePlatformScheme=t.RegisterPlatform=t.initialPlatformState=void 0;const i=n(6566),o=n(0);t.initialPlatformState={list:new Map,counts:new Map};class r extends i.Action{constructor(e){super(),this.platform=e}reduce(e){const t=new Map(e.platform.list);t.set(this.platform.id,Object.assign(Object.assign({},this.platform),{active:!0}));const n=new Map(e.platform.counts);return n.set(this.platform.id,e.notifications.filter((e=>e.notification.platform===this.platform.id)).length),Object.assign(Object.assign({},e),{platform:Object.assign(Object.assign({},e.platform),{list:t,counts:n})})}}t.RegisterPlatform=r;class a extends i.Action{constructor(e,t){super(),this.scheme=e,this.identity=t}reduce(e){let t=e.theme;const n=new Map(e.platform.list);return n.forEach((i=>{i.platformIdentity.uuid===this.identity.uuid&&(n.set(i.id,Object.assign(Object.assign({},i),{scheme:this.scheme})),i.id===e.platform.selected&&(t={themes:i.theme,scheme:this.scheme}))})),Object.assign(Object.assign({},e),{platform:Object.assign(Object.assign({},e.platform),{list:n}),theme:t})}}t.UpdatePlatformScheme=a;class l extends i.KeyedAction{constructor(e){super("platform"),this.id=e}reduce(e){const t=new Map(e.list),n=t.get(this.id);return n?t.set(this.id,Object.assign(Object.assign({},n),{active:!1})):console.warn(`Platform to deregister (id: ${this.id}) could not be found.`),Object.assign(Object.assign({},e),{list:t})}}t.DeregisterPlatform=l,t.selectPlatforms=e=>e.platform.list,t.selectCounts=e=>e.platform.counts,t.selectPlatformTheme=(0,o.createSelector)([t.selectPlatforms,(e,t)=>t],((e,t)=>{var n;return null===(n=e.get(t))||void 0===n?void 0:n.theme})),t.selectPlatformScheme=(0,o.createSelector)([t.selectPlatforms,(e,t)=>t],((e,t)=>{var n;return null===(n=e.get(t))||void 0===n?void 0:n.scheme})),t.selectCurrentPlatform=e=>e.platform.selected,t.selectActivePlatforms=(0,o.createSelector)(t.selectPlatforms,(e=>Array.from(e.values()).filter((e=>e.active)))),t.selectPlatformNotifications=(0,o.createSelector)((e=>e.notifications),t.selectCurrentPlatform,((e,t)=>t?e.filter((e=>e.notification.platform===t)):e)),t.selectPlatformReminders=(0,o.createSelector)((e=>e.reminders),t.selectCurrentPlatform,((e,t)=>t?e.filter((e=>e.notification.platform===t)):e)),t.selectPlatformSearchResults=(0,o.createSelector)((e=>e.search.results),t.selectCurrentPlatform,((e,t)=>t?e.filter((e=>e.item.notification.platform===t)):e)),t.selectPlatformNotificationCounts=(0,o.createSelector)([t.selectCounts,(e,t)=>t],((e,t)=>e.get(t)||0))},7581:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useModalDialog=void 0;const i=n(5932),o=n(7049),r=n(6975),a=n(3413),l=n(6415);t.useModalDialog=(e,t,n,s,c,u,d)=>{const f=(0,i.useRef)(null),[p,h]=(0,i.useState)(!1),[m]=(0,o.usePosition)(),[b,g]=(0,i.useState)(0),{setTimePickerConfig:v,setDatePickerConfig:y,setMenuConfig:_,setIsTimePickerModalOpen:x,setIsDatePickerModalOpen:O,setIsMenuModalOpen:C,setModalType:w}=(0,i.useContext)(l.WebModalContext);return(0,i.useEffect)((()=>{if(p){const i=f.current,o=i?m(i):null;if(o&&i){const l={id:(0,a.randomUUID)()},p=Object.assign(Object.assign({},s(n(f),i,o)),{onDismiss:e=>{g(b+1),h(!1),c(e),"web"===u&&("time"===d?x(!1):"date"===d?O(!1):"menu"===d&&C(!1))},identity:l}),m=()=>t(l.id);return"desktop"===u?(e(p),(0,r.subscribeScrollableContainers)(i,m)):"web"===u&&(console.log("setting modal config",d),w("widget"),"time"===d?(v(Object.assign({},p)),x(!0)):"date"===d?(y(Object.assign({},p)),O(!0)):"menu"===d&&(_(Object.assign({},p)),C(!0))),()=>{i&&"desktop"===u&&(0,r.unsubscribeScrollableContainers)(i,m)}}}}),[p,f.current]),[p,h,f,b]}},7586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTES=void 0,t.ROUTES={NOTIFICATIONS:"/center/notifications",SETTINGS:"/center/settings",ADVANCED_SETTINGS:"/center/settings/advanced"}},7603:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MultiFieldFormContainer=void 0;const o=n(7250),r=i(n(5932)),a=i(n(2230)),l=n(6370),s=n(388),c=n(1270),u=n(4116),d=n(7379),f=n(4515),p=n(3081);t.MultiFieldFormContainer=({notificationId:e,templateContent:t,fields:n,children:i})=>{const a=r.default.useRef(null),[m,b]=(0,l.useFormContainerExpander)(e),g=(0,u.useFormError)(e);return(0,s.useCollapsibleCardHeaderEdgeCaseBehavior)(a,t,m,b),(0,c.useCollapsibleCardHeaderScroll)(a,t,m),(0,p.useScrollToFirstElementOnExpand)(a,m),r.default.createElement(h,null,r.default.createElement(o.CollapsibleCardStateless,{ref:a,onExpand:b,title:r.default.createElement(f.CollapsibleCardTitle,{expanded:m,fieldTitles:n.map((e=>{var t;return null!==(t=e.label)&&void 0!==t?t:"Unlabeled Field"}))}),headerSettings:{fixedHeader:!0,zIndex:1e3},expanded:m||!1},g?r.default.createElement(d.FormError,{error:g}):null,i))};const h=(0,a.default)(o.Box)`
2420
+ width: 100%;
2421
+ padding-top: ${e=>e.theme.px.small};
2422
+ form {
2423
+ width: 100%;
2424
+ }
2425
+ `},7620:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.SingleFieldFormContainer=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(258),u=n(9130),d=n(1827),f=n(4116),p=n(7379);t.SingleFieldFormContainer=({children:e,notificationId:t})=>{const n=(0,u.useDispatch)(),{dirty:i}=(0,c.useFormikContext)(),o=(0,f.useFormError)(t);return(0,l.useEffect)((()=>{n&&i&&n(new d.NotificationFormEditStart(t))}),[i,n,t]),l.default.createElement(h,null,o?l.default.createElement(p.FormError,{error:o}):null,e)};const h=s.default.div`
2426
+ padding: ${e=>e.theme.px.base};
2427
+ padding-top: ${e=>e.theme.px.small};
2428
+ padding-bottom: 0;
2429
+ `},7676:(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 i=n(6566),o=n(0),r=n(6012);t.initialSortedNotificationsState={byId:{},byApplication:{},byStream:{}};class a extends i.KeyedAction{constructor(e,t,n){super("notifications"),this.notification=e,this.form=t,this.button=n}}t.SubmitNotificationForm=a;class l extends i.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],i=[...e].findIndex((e=>e.id===t)),o=Object.assign(Object.assign({},n[i]),{modifiers:this.modifiers});return n[i]=o,n}}t.ApplyNotificationModifier=l;class s extends i.Action{constructor(e){super(),this.notification=e}async call(e,t){(0,r.isSticky)(this.notification.notification)&&await e.dispatch(new l(this.notification,{notSticky:!0})),await t()}reduce(e){const{notification:t}=this;return(0,r.isSticky)(t.notification)?Object.assign(Object.assign({},e),{stickyNotifications:[...e.stickyNotifications.filter((e=>e.id!==t.id))]}):e}}t.MinimizeToast=s;class c extends i.Action{constructor(e){super(),this.notifications=e}async call(e,t){const n=this.notifications.map((async t=>{await e.dispatch(new s(t))}));await Promise.all(n),await t()}reduce(e){return e}}t.MinimizeAllToast=c;class u extends i.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,r.isSticky)(e.notification)&&!(null===(t=e.modifiers)||void 0===t?void 0:t.notSticky)}))))},7953:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ResizeWrapper=t.ResizeContext=t.MeasureMode=void 0;const a=r(n(5932));var l;!function(e){e[e.CONSTANT=0]="CONSTANT",e[e.ONCE=1]="ONCE"}(l=t.MeasureMode||(t.MeasureMode={})),t.ResizeContext=a.createContext({});const s={margin:"0",display:"inline-block"};t.ResizeWrapper=e=>{const{children:n,onModifySize:i,onSize:o,mode:r,onResize:c}=e,u=Object.assign(Object.assign({},s),e.style),d=a.useRef(null);a.useEffect((()=>{const e=d.current;if(!e)return;const t=Array.from(e.getElementsByTagName("img"));Promise.all(t.map((e=>new Promise((t=>{e.complete&&e.naturalWidth>0?t():(e.addEventListener("load",(()=>t()),{once:!0}),e.addEventListener("error",(()=>t()),{once:!0}))}))))).then((()=>(()=>{const{width:t,height:n}=e.getBoundingClientRect();t&&n&&o&&o({x:t,y:n})})()))}),r===l.ONCE?[]:[n]);const f={emitResize:e=>{if(!d.current||!c)return;const{width:t,height:n}=d.current.getBoundingClientRect();t&&n&&c({x:t,y:n+(null!=e?e:0)})},emitModify:e=>{null==i||i(null!=e?e:{x:0,y:0})}};return a.createElement(t.ResizeContext.Provider,{value:f},a.createElement("div",{ref:d,style:u},a.Children.only(n)))}},7982:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationTime=void 0;const o=n(7250),r=i(n(5932)),a=i(n(2230));t.NotificationTime=e=>{const{timeStrings:t}=e;return r.default.createElement(s,null,r.default.createElement(l,{size:"base","data-testid":"time","aria-label":`${t[1]?"":" Received"} ${t[0]}`},t[0]),t[1]?r.default.createElement(l,{size:"base","data-testid":"time"},` ${t[1]}`):r.default.createElement(r.default.Fragment,null))};const l=(0,a.default)(o.Text)`
2430
+ color: ${o.Color.lightGray5};
2431
+ ${o.Mixins.textOverflow};
2432
+ white-space: pre;
2433
+ line-height: 16px;
2434
+ `,s=(0,a.default)(o.Box)`
2435
+ top: 1px;
2436
+ flex-direction: column;
2437
+ align-items: flex-end;
2438
+ `},8001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearAllFilterSettings=void 0;const i=n(7451),o=n(7527);t.clearAllFilterSettings=e=>{e.dispatch(new o.SetSelectedCategory("all")),e.dispatch(new i.SetSelectedPlatform(void 0)),e.dispatch(new o.SetSelectedCategorySorting("date","descending"))}},8004:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Inject=void 0,function(e){e[e.API_HANDLER=0]="API_HANDLER",e[e.CLIENT_EVENT_CONTROLLER=1]="CLIENT_EVENT_CONTROLLER",e[e.CLIENT_REGISTRY=2]="CLIENT_REGISTRY",e[e.DATABASE=3]="DATABASE",e[e.ENVIRONMENT=4]="ENVIRONMENT",e[e.EVENT_PUMP=5]="EVENT_PUMP",e[e.SCHEDULER=6]="SCHEDULER",e[e.FRAME_MANAGER=7]="FRAME_MANAGER",e[e.LAYOUTER=8]="LAYOUTER",e[e.MONITOR_MODEL=9]="MONITOR_MODEL",e[e.NOTIFICATION_CENTER=10]="NOTIFICATION_CENTER",e[e.PERSISTOR=11]="PERSISTOR",e[e.STORE=12]="STORE",e[e.TOAST_MANAGER=13]="TOAST_MANAGER",e[e.TOAST_STATE_HANDLER=14]="TOAST_STATE_HANDLER",e[e.LAYOUT_STACK=15]="LAYOUT_STACK",e[e.TRAY_ICON=16]="TRAY_ICON",e[e.WEB_WINDOW_FACTORY=17]="WEB_WINDOW_FACTORY",e[e.WINDOW_MANAGER=18]="WINDOW_MANAGER",e[e.DISPLAY_CONTROLLER=19]="DISPLAY_CONTROLLER",e[e.ANALYTICS_CONTROLLER=20]="ANALYTICS_CONTROLLER",e[e.WORKSPACE_SYNC_CONTROLLER=21]="WORKSPACE_SYNC_CONTROLLER",e[e.TOAST_CUSTOM_LOCATION_CONTROLLER=22]="TOAST_CUSTOM_LOCATION_CONTROLLER",e[e.MODAL_CONTROLLER=23]="MODAL_CONTROLLER",e[e.WINDOW_POOL=24]="WINDOW_POOL",e[e.NOTIFICATION_FORM_EDIT_MANAGER=25]="NOTIFICATION_FORM_EDIT_MANAGER",e[e.SECURITY_SETTINGS_CONTROLLER=26]="SECURITY_SETTINGS_CONTROLLER"}(n||(n={})),t.Inject=Object.keys(n).filter((e=>"string"==typeof e)).reduce(((e,t)=>(e[t]=t,e)),{})},8017:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.SetReminderModal=void 0;const l=n(7250),s=n(7451),c=n(4800),u=n(2207),d=n(5738),f=r(n(5932)),p=n(9130),h=a(n(2230)),m=n(6464),b=n(5046),g=n(9247);t.SetReminderModal=(0,p.connect)((e=>({mode:e.mode})),(e=>({showModal:t=>e(new s.ShowModal(t)),raiseAnalyticsEvent:t=>e(new s.RaiseAnalyticsEvent(t))})))((({notification:e,onDismiss:t,showModal:n,getModalBounds:i,mode:o,position:r,modalType:a})=>{const[s,p]=(0,f.useState)(!0),[h,C]=(0,f.useState)(Date.now()),[w,j]=(0,f.useState)(void 0),S=(0,f.useMemo)((()=>Array.from(Array(24).keys()).map((e=>({title:`${e%12||12}:00 ${e>=12?"PM":"AM"}`,value:`${e.toString().padStart(2,"0")}:00`})))),[]),P=(0,d.startOfHour)(Date.now()+(0,d.hoursToMilliseconds)(1)).valueOf(),M=(0,b.useValidation)((0,f.useCallback)((t=>{const n=(0,u.getZonedDate)(t).valueOf(),i=(0,d.startOfDay)((0,u.getZonedDate)()).valueOf(),o=e.notification.expires;return n<i?"You must select today or a date in the future.":o&&(0,d.startOfDay)((0,u.getZonedDate)(o)).valueOf()<(0,d.startOfDay)((0,u.getZonedDate)(n)).valueOf()?`This notification expires at ${(0,d.format)(o,"p, MMMM d y")}. You must select a date before the expiration date.`:""}),[e.notification.expires]),(0,u.localDateString)(P)),{isValid:E,value:T}=M,k=(0,b.useValidation)((0,f.useCallback)((t=>{if(E){const n=(0,u.getZonedDate)(`${T} ${t}`).valueOf(),i=e.notification.expires;if(n<(0,u.getZonedDate)().valueOf())return"You must select a time in the future.";if(i&&(0,u.getZonedDate)(i).valueOf()<n)return`This notification expires at ${(0,d.format)(i,"p, MMMM d y")}. You must select a time before the expiration time.`}return""}),[E,T,e.notification.expires]),(0,u.localTimeString)(P)),{isValid:I,value:D}=k;return(0,f.useEffect)((()=>{p(I&&E)}),[I,E]),(0,f.useEffect)((()=>{C((0,u.getZonedDate)(`${T} ${D}`).valueOf())}),[T,D,C]),(0,f.useEffect)((()=>{if("00"===D.substring(3))try{const e=parseInt(D.substring(0,2));e<24&&j(S[e])}catch(e){j(void 0)}else j(void 0)}),[D,S]),f.default.createElement(v,{width:m.modalWidth,mode:o,position:r,modalType:a},f.default.createElement(y,null,f.default.createElement(_,null," Remind me in... "),f.default.createElement(x,null,f.default.createElement(c.HeaderButton,{onClick:()=>null==t?void 0:t(),"aria-label":"close"},f.default.createElement(l.Icon,{icon:"Cross1Icon",size:"base"})))),f.default.createElement(g.DateTimeInput,Object.assign({type:"Calendar",inputType:"date",getBounds:i,showModal:n,transformer:u.localDateString,width:m.dropdownModalWidth,minDate:(0,u.getZonedDate)(),initialValue:(0,u.getZonedDate)(T),mode:o},M)),f.default.createElement(g.DateTimeInput,Object.assign({type:"Menu",inputType:"time",getBounds:i,showModal:n,width:m.dropdownModalWidth,height:m.dropdownModalHeight,options:[S],selectedOption:w,mode:o},k)),f.default.createElement(O,null,f.default.createElement(l.Button,{"aria-label":"cancel-button",label:"Cancel",size:"base",kind:"textOnly",onClick:()=>null==t?void 0:t()}),f.default.createElement(l.Button,{"aria-label":"set-button",label:"Set Reminder",size:"base",kind:"primary",disabled:!s,onClick:()=>{null==t||t(h)}})))}));const v=(0,h.default)(l.Box)`
2439
+ ${({mode:e,position:t,modalType:n})=>"web"===e&&`\n position: ${"reminder"===n?"absolute":"initial"};\n z-index: 1001;\n // transform: translate(0%, -30%); /* Transform is necessary to position web modal correctly */\n top: ${null==t?void 0:t.top};\n left: ${null==t?void 0:t.left};\n `}
2440
+
2441
+ flex-direction: column;
2442
+ background-color: ${({theme:e})=>e.palette.background4};
2443
+ width: ${({width:e})=>`${e}px`};
2444
+ padding: ${({theme:e})=>e.px.base};
2445
+ user-select: none;
2446
+ border: 1px solid ${({theme:e})=>e.palette.inputBackground};
2447
+ `,y=(0,h.default)(l.Box)`
2448
+ align-items: center;
2449
+ width: 100%;
2450
+ `,_=(0,h.default)(l.Text)`
2451
+ font-weight: 600;
2452
+ text-transform: capitalize;
2453
+ `,x=(0,h.default)(l.Box)`
2454
+ margin-left: auto;
2455
+ `,O=(0,h.default)(l.Box)`
2456
+ width: 100%;
2457
+ display: flex;
2458
+ align-items: center;
2459
+ justify-content: flex-end;
2460
+ gap: ${({theme:e})=>e.px.xsmall};
2461
+ `},8061:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HideIndicator=t.ShowIndicator=t.UpdateActiveDisplay=t.SelectDisplay=t.UpdateDisplayList=t.initialDisplayState=void 0;const i=n(6566),o="Default Display Set";t.initialDisplayState={selected:"",active:"",list:[]};class r extends i.Action{constructor(e){super(),this.displays=e}reduce(e){return Object.assign(Object.assign({},e),{display:Object.assign(Object.assign({},e.display),{list:this.displays})})}}t.UpdateDisplayList=r;class a extends i.Action{constructor(e){super(),this.display=e}reduce(e){return Object.assign(Object.assign({},e),{display:Object.assign(Object.assign({},e.display),{selected:this.display,active:this.display,indicator:{message:o,decorateSuccess:!0}})})}}t.SelectDisplay=a;class l extends i.Action{constructor(e){super(),this.display=e}reduce(e){return Object.assign(Object.assign({},e),{display:Object.assign(Object.assign({},e.display),{active:this.display,indicator:{message:o,decorateSuccess:!0}})})}}t.UpdateActiveDisplay=l;class s extends i.Action{constructor(e,t){super(),this.display=e,this.message=t}reduce(e){return Object.assign(Object.assign({},e),{display:Object.assign(Object.assign({},e.display),{indicator:{message:this.message,decorateSuccess:!1}})})}}t.ShowIndicator=s;class c extends i.Action{constructor(){super()}}t.HideIndicator=c},8136:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.binaryInsertNotificationSortedMap=t.removeNotificationFromSortedMaps=t.insertNotificationIntoSortedMaps=void 0;const i=n(2191);function o(e,t){var n,o,a,l,s,c;const u=Object.assign({},t);delete u[e.id];const d=Object.entries(u),f=null!==(l=null===(a=null===(o=null===(n=d[0])||void 0===n?void 0:n[1])||void 0===o?void 0:o.modifiers)||void 0===a?void 0:a.reminder)&&void 0!==l?l:null===(c=null===(s=d[0])||void 0===s?void 0:s[1])||void 0===c?void 0:c.notification.date;if(0===d.length)return{[e.id]:e};if((0,i.getSortDate)(e)>=f)return Object.fromEntries([[e.id,e],...d]);const p=r(d,e,0,d.length-1),h=d.slice(0,p),m=d.slice(p,d.length),b=[...h,[e.id,e],...m];return Object.fromEntries(b)}t.insertNotificationIntoSortedMaps=function(e,t){var n,i;const r=t.source.identity.uuid,a=null!==(i=null===(n=t.notification.stream)||void 0===n?void 0:n.id)&&void 0!==i?i:null,l=Object.assign({},e),s=o(t,e.byId),c=o(t,e.byApplication[r]);return l.byId=s,l.byApplication[r]=c,a&&(l.byStream[a]=o(t,e.byStream[a])),l},t.removeNotificationFromSortedMaps=function(e,t){var n,i,o;if(!e.byId[t.id])return e;delete e.byId[t.id];const r=t.source.identity.uuid,a=null===(n=t.notification.stream)||void 0===n?void 0:n.id;return null===(i=e.byApplication[r])||void 0===i||delete i[t.id],0===Object.keys(e.byApplication[r]).length&&delete e.byApplication[r],a&&(null===(o=e.byStream[a])||void 0===o||delete o[t.id],0===Object.keys(e.byStream[a]).length&&delete e.byStream[a]),e},t.binaryInsertNotificationSortedMap=o;const r=(e,t,n=0,o=e.length-1)=>{var a,l,s,c;const u=Math.floor((n-o)/2+n),d=null!==(s=null===(l=null===(a=e[u])||void 0===a?void 0:a[1].modifiers)||void 0===l?void 0:l.reminder)&&void 0!==s?s:null===(c=e[u])||void 0===c?void 0:c[1].notification.date;switch(!0){case d===(0,i.getSortDate)(t):return u;case o-n==0:return 0;case d<(0,i.getSortDate)(t):return r(e,t,u+1,o);case d>(0,i.getSortDate)(t):return r(e,t,n,u);default:return 0}}},8173:(e,t)=>{"use strict";function n(e,t){let n;try{n=JSON.stringify(e)}catch(e){n=t}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.setValidationMethod=t.validateEnvironment=t.safeStringify=t.sanitizeEventType=t.sanitizeFunction=void 0,t.sanitizeFunction=function(e){if("function"!=typeof e)throw new Error(`Invalid argument passed: ${n(e,"The provided value")} is not a valid function`);return e},t.sanitizeEventType=function(e){if("notification-action"===e||"notification-created"===e||"notification-toast-dismissed"===e||"notification-closed"===e||"notifications-count-changed"===e||"notification-form-submitted"===e||"notification-reminder-created"===e||"notification-reminder-removed"===e||"notification-form-values-changed"===e||"notification-sound-toggled"===e)return e;throw new Error(`Invalid argument passed: ${n(e,"The provided event type")} is not a valid Notifications event type`)},t.safeStringify=n,t.validateEnvironment=()=>{throw new Error("fin is not defined. The openfin-notifications module is only intended for use in an OpenFin application.")},t.setValidationMethod=e=>{t.validateEnvironment=e}},8180:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsPanel=void 0;const l=n(7250),s=r(n(5932)),c=n(9130),u=a(n(2230)),d=n(7451),f=n(6764),p=n(5898),h=n(660),m=n(7586),b=n(925),g=n(2984),v=n(978),y=n(6406),_=s.default.createElement(v.Switch,null,s.default.createElement(v.Route,{path:m.ROUTES.ADVANCED_SETTINGS,exact:!0},s.default.createElement(y.AdvancedSettingsView,null)),s.default.createElement(v.Route,{path:m.ROUTES.SETTINGS,exact:!0},s.default.createElement(p.SettingsView,null))),x=({closeCenter:e})=>{const t=(0,s.useContext)(h.HistoryContext);return s.default.createElement(v.Switch,null,s.default.createElement(v.Route,{path:m.ROUTES.ADVANCED_SETTINGS,exact:!0},s.default.createElement(f.Header,{title:"Advanced Settings",onClose:e,onBack:()=>t.push(m.ROUTES.SETTINGS)})),s.default.createElement(v.Route,{path:m.ROUTES.SETTINGS,exact:!0},s.default.createElement(f.Header,{title:"Settings",onClose:e,onBack:()=>t.push(m.ROUTES.NOTIFICATIONS)})))},O=(0,u.default)(l.Box)`
2462
+ background: ${({theme:e})=>e.palette.background2};
2463
+ border: 1px solid ${({theme:e})=>e.palette.background4};
2464
+ height: 100%;
2465
+
2466
+ &:after {
2467
+ position: absolute;
2468
+ content: '';
2469
+ pointer-events: none;
2470
+ top: 1px;
2471
+ left: 1px;
2472
+ right: 1px;
2473
+ bottom: 1px;
2474
+ box-shadow: 0 0 1px 1px ${({theme:e})=>e.palette.background4};
2475
+ }
2476
+ `,C=(0,u.default)(l.Box)`
2477
+ background: ${({theme:e})=>e.palette.background1};
2478
+ color: ${({theme:e})=>e.palette.textDefault};
2479
+ left: ${({theme:e})=>e.px.xxxxlarge};
2480
+ top: ${({theme:e})=>e.px.xxxxlarge};
2481
+ padding: ${({theme:e})=>e.px.xsmall};
2482
+ user-select: none;
2483
+ position: absolute;
2484
+ visibility: hidden;
2485
+ `,w=(0,u.default)(l.Box)`
2486
+ &:hover ${C} {
2487
+ visibility: visible !important;
2488
+ }
2489
+ `;t.SettingsPanel=(0,c.connect)(void 0,(e=>({closeCenter:()=>e(new d.ToggleCenterVisibility(d.ToggleCenterVisibilitySource.BUTTON,!1))})))((({closeCenter:e})=>{const[t,n]=(0,s.useState)(!1);return s.default.createElement(O,{flexDirection:"column"},s.default.createElement(b.GlobalProviderStyles,null),s.default.createElement(w,{onDoubleClick:()=>n(!t)},s.default.createElement(x,{closeCenter:e}),t&&s.default.createElement(C,null,"Notification Center Version: ",(0,g.getVersion)())),_)}))},8281:function(e,t,n){"use strict";var i,o=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=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(4352),l=n(6566),s=n(5966),c=n(4673);let u=class extends l.Store{constructor(e){super(e),this._initialized=new s.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};u=o([(0,a.injectable)(),r("design:paramtypes",["function"==typeof(i=void 0!==c.RootState&&c.RootState)?i:Object])],u),t.Store=u},8318:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.PlatformsPanel=t.PlatformsPanelComponent=void 0;const l=r(n(5932)),s=n(9130),c=n(7451),u=a(n(2230)),d=n(746),f=n(7250);t.PlatformsPanelComponent=e=>{const{platforms:t,currentPlatform:n,allNotificationsCount:i,setSelectedPlatform:o,platformCount:r}=e,a=e=>{o(e)};return t.length>1||t.length>0&&r(t[0].id)!==i?l.createElement(p,{"data-testid":"platform-select-container"},l.createElement(d.PlatformIcon,{title:"All",onPlatformSelect:a,selected:!n,count:i}),l.createElement(h,null),t.map((e=>l.createElement(d.PlatformIcon,{selected:n===e.id,key:`p-icon-${e.id}`,id:e.id,icon:e.icon,title:e.title,onPlatformSelect:a,count:r(e.id)})))):l.createElement(l.Fragment,null)};const p=(0,u.default)(f.Box)`
2490
+ display: flex;
2491
+ flex-direction: row;
2492
+ overflow-x: auto;
2493
+ overflow-y: hidden;
2494
+ margin: ${({theme:e})=>`0 ${e.px.large}`};
2495
+ padding: ${({theme:e})=>`${e.px.large} 0 ${e.px.xsmall} 0`};
2496
+ `,h=(0,u.default)(f.Box)`
2497
+ border-right: 1px ${({theme:e})=>e.palette.textDefault} solid;
2498
+ height: ${({theme:e})=>e.px.xxxlarge};
2499
+ `;t.PlatformsPanel=(0,s.connect)((e=>({platforms:(0,c.selectActivePlatforms)(e),currentPlatform:(0,c.selectCurrentPlatform)(e),allNotificationsCount:e.notifications.length,platformCount:t=>(0,c.selectPlatformNotificationCounts)(e,t)})),(e=>({setSelectedPlatform:t=>e(new c.SetSelectedPlatform(t))})))(t.PlatformsPanelComponent)},8320:(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 i=n(6566),o=n(768),r=n(7031),a=n(7451),l=n(7234);class s extends i.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=s,t.SetReminderThroughUI=class extends s{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 l.RemindersTutorialComplete))}};class c extends i.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 i.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 i.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,r.updateCollection)(t,this.updatePayload),[...t]}}t.UpdateReminder=d},8364:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8602:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetFocusedNotification=void 0;const i=n(6566);class o extends i.KeyedAction{constructor(e){super("focusedNotification"),this.notificationId=e}reduce(e){return Object.assign(Object.assign({},e),{notificationId:this.notificationId})}}t.SetFocusedNotification=o},8684:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequestNotificationFormCustomValidation=void 0;const i=n(6566);class o extends i.Action{constructor(e,t){super(),this.notification=e,this.form=t}async call(e,t){await t()}}t.RequestNotificationFormCustomValidation=o},8728:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIsStateUpdate=void 0;const i=n(5932);t.useIsStateUpdate=(e,t)=>{const[n,o]=(0,i.useState)(e),[r,a]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return(0,i.useEffect)((()=>{l.current?(t(n,e)&&a(!0),o(e)):l.current=!0}),[e]),[r,()=>a(!1)]}},8740:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsNavigationTitle=void 0;const o=i(n(5932)),r=n(7250),a=i(n(2230));t.SettingsNavigationTitle=({onClick:e,title:t})=>o.default.createElement(l,{as:"button",onClick:e},o.default.createElement(r.Text,{size:"large"},t),o.default.createElement(r.Icon,{icon:"ArrowRightIcon",size:"base"}));const l=(0,a.default)(r.Box)`
2500
+ flex-direction: row;
2501
+ justify-content: space-between;
2502
+ align-items: center;
2503
+ border: none;
2504
+ background: none;
2505
+ cursor: pointer;
2506
+ color: inherit;
2507
+ font-family: inherit;
2508
+ `},8768:function(e,t){"use strict";var n=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.useFormData=void 0,t.useFormData=e=>{if(!e)return[[],{}];if(e.hasOwnProperty.call(e,"fields")){const t=e,{fields:i}=t;return[i,n(t,["fields"])]}return[e,{}]}},8833:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useLoaded=t.LoadState=void 0;const a=r(n(5932));var l;!function(e){e.LOADING="loading",e.ERROR="error",e.LOADED="loaded"}(l=t.LoadState||(t.LoadState={})),t.useLoaded=(e="",t)=>{const[n,i]=a.useState(l.LOADING);return a.useEffect((()=>{if(!e&&!t)return;const n=new Image;let o=!0;return n.onload=()=>o&&i(l.LOADED),n.onerror=()=>o&&i(l.ERROR),n.src=e,t&&(n.srcset=t),()=>{o=!1}}),[e,t]),n}},8898:e=>{"use strict";e.exports=j},8899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alignModalToParent=void 0,t.alignModalToParent=function(e,t){return{x:e.left+t.left,y:e.top+t.top+t.height+3,offsetX:t.width,offsetY:-(t.height+6)}}},8904:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.CategoriesPanel=t.CategoriesPanelComponent=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(9130),u=n(7250),d=n(7527),f=n(7230),p=[Object.keys(d.CategoryNamesMap).map((e=>({value:e,title:d.CategoryNamesMap[e]})))];t.CategoriesPanelComponent=({onClearAll:e,setSelectedCategory:t,setSelectedCategorySorting:n,selectedCategory:i,selectedSortType:o,selectedSortDirection:r})=>{const[a,s]=(0,l.useState)(!1),[c,d]=(0,l.useState)(r);return(0,l.useEffect)((()=>{s("reminders"===i&&"date"===o)}),[i,o]),(0,l.useEffect)((()=>{a&&n("date","ascending")}),[a,n]),(0,l.useEffect)((()=>{d(a?"ascending":r)}),[a,r]),l.default.createElement(h,{flexDirection:"column"},l.default.createElement(m,null,l.default.createElement(u.DropdownMenu,{selected:p[0].find((e=>e.value===i)),options:p,onChange:e=>t(e.value)})),l.default.createElement(b,null,l.default.createElement(f.CategoriesSortingSelect,{selectedCategory:i,selectedSortType:o,selectedSortDirection:c,onChange:e=>{n(e.value.type,e.value.direction)}}),l.default.createElement(g,{"data-testid":"clearall",onClick:e},"Clear All")))};const h=(0,s.default)(u.Box)`
2509
+ align-items: center;
2510
+ justify-content: space-between;
2511
+ padding: ${({theme:e})=>e.px.large};
2512
+ row-gap: ${({theme:e})=>e.px.small};
2513
+
2514
+ border-bottom: 1px solid ${({theme:e})=>e.palette.background4};
2515
+ `,m=s.default.div`
2516
+ width: 100%;
2517
+ `,b=(0,s.default)(u.Box)`
2518
+ width: 100%;
2519
+ align-items: center;
2520
+ justify-content: space-between;
2521
+ row-gap: ${({theme:e})=>e.px.small};
2522
+ `,g=s.default.button`
2523
+ background: transparent;
2524
+ border: none;
2525
+ color: ${({theme:e})=>e.palette.textDefault};
2526
+ cursor: pointer;
2527
+ font-size: ${({theme:e})=>e.fontSize.base};
2528
+ user-select: none;
2529
+ `;t.CategoriesPanel=(0,c.connect)((e=>({selectedCategory:e.categories.selectedCategory,selectedSortType:e.categories.sortType,selectedSortDirection:e.categories.sortDirection})),(e=>({setSelectedCategory:t=>e(new d.SetSelectedCategory(t)),setSelectedCategorySorting:(t,n)=>{e(new d.SetSelectedCategorySorting(t,n))}})))(t.CategoriesPanelComponent)},8912:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3955),t),o(n(3713),t)},8917:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormStatusOptions=void 0;const i=n(6566),o=n(5425),r=n(7451),a=n(96);class l extends i.Action{constructor(e){super(),this.notificationFormStatusOptions=e}async call(e,t){if("submitted"===this.notificationFormStatusOptions.formStatus){const t=e.state.notifications.find((e=>e.id===this.notificationFormStatusOptions._notificationId));if(!t)throw new Error(`SetNotificationFormStatusOptions was invoked without notification ${this.notificationFormStatusOptions._notificationId}`);await(0,o.getTargetOrError)(e,t.notification)&&await(0,a.debounce)((()=>Promise.all([e.dispatch(new r.RemoveNotifications([t]))])),500)()}await t()}reduce(e){var t,n;const i=null!==(n=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==n?n:[],o=i.find((e=>e.notificationId===this.notificationFormStatusOptions._notificationId));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{focusedFormNotificationId:this.notificationFormStatusOptions._notificationId,forms:[{notificationId:this.notificationFormStatusOptions._notificationId,formStatusOptions:Object.assign(Object.assign({},null==o?void 0:o.formStatusOptions),this.notificationFormStatusOptions)},...i.filter((e=>e.notificationId!==this.notificationFormStatusOptions._notificationId))]})})}}t.SetNotificationFormStatusOptions=l},9004:function(e,t,n){"use strict";var i=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(7250),r=i(n(5932)),a=i(n(2230));t.Header=({title:e,hasControls:t=!1,itemCount:n,isExpandable:i=!1,isExpanded:o=!1,onToggleExpanded:a,onClearAll:b,onPopOutFrame:g,onKeyDown:v})=>{const y=o?"Show Fewer":`Show All (${n})`;return r.default.createElement(l,null,r.default.createElement(s,{"data-testid":"group-title",tabIndex:t?0:-1,onKeyDown:t?e=>null==v?void 0:v(e.nativeEvent):void 0,"aria-label":`Notifications from ${e}`,role:t?"listitem":void 0},g&&r.default.createElement(c,{onClick:g,icon:"ExternalLinkIcon"}),t?r.default.createElement(h,null,e):r.default.createElement(m,null,e),t&&r.default.createElement(u,null,i&&r.default.createElement(r.default.Fragment,null,r.default.createElement(f,{onClick:a,width:107,"aria-label":`${y} notifications from ${e}`},y),r.default.createElement(p,null)),r.default.createElement(d,{onClick:b,"data-testid":"clear","aria-label":`Clear all notifications from ${e}`},"Clear"))))};const l=(0,a.default)(o.Box)`
2530
+ margin-bottom: ${({theme:e})=>e.px.base};
2531
+ height: ${({theme:e})=>e.px.xlarge};
2532
+ align-items: center;
2533
+ `,s=(0,a.default)(o.Box)`
2534
+ align-items: center;
2535
+ width: 100%;
2536
+ gap: ${({theme:e})=>e.px.small};
2537
+ `,c=(0,a.default)(o.Icon)`
2538
+ cursor: pointer;
2539
+ `,u=(0,a.default)(o.Box)`
2540
+ flex-direction: row;
2541
+ align-items: center;
2542
+ margin-left: auto;
2543
+ `,d=a.default.button`
2544
+ font-size: ${({theme:e})=>e.px.base};
2545
+ font-weight: ${({theme:e})=>e.fontWeight.normal};
2546
+ line-height: ${({theme:e})=>e.px.base};
2547
+ color: ${({theme:e})=>e.palette.textDefault};
2548
+ font-style: normal;
2549
+ letter-spacing: 0px;
2550
+ text-align: center;
2551
+ cursor: pointer;
2552
+ background-color: transparent;
2553
+ border: none;
2554
+ white-space: nowrap;
2555
+ text-overflow: ellipsis;
2556
+ overflow: hidden;
2557
+ word-wrap: break-word;
2558
+ `,f=(0,a.default)(d)`
2559
+ max-width: 107px;
2560
+ `,p=a.default.div`
2561
+ height: ${({theme:e})=>e.px.large};
2562
+ margin: 0 ${({theme:e})=>e.px.small};
2563
+ width: 0px;
2564
+ border: 1px solid rgba(255, 255, 255, 0.1);
2565
+ `,h=a.default.h2`
2566
+ margin-right: ${({theme:e})=>e.px.small};
2567
+ overflow: hidden;
2568
+ white-space: nowrap;
2569
+ text-overflow: ellipsis;
2570
+ `,m=a.default.h3`
2571
+ font-weight: ${({theme:e})=>e.fontWeight.bold};
2572
+ font-size: ${({theme:e})=>e.fontSize.large};
2573
+ line-height: ${({theme:e})=>e.px.large};
2574
+ font-style: normal;
2575
+ `},9052:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ModalComponent=void 0;const a=n(7250),l=n(8017),s=r(n(5932)),c=r(n(2230)),u=n(6464),d=n(6415);t.ModalComponent=e=>{const{type:t,onDismiss:n,mode:i}=e,[o,r]=(0,s.useState)(null),c=(0,s.useCallback)((e=>{null==n||n(null!=e?e:o)}),[o,n]),{modalType:h}=s.default.useContext(d.WebModalContext);return(()=>{var n,o;switch(t){case"Menu":return s.default.createElement(p,{mode:i,position:e.webPosition,modalType:h},s.default.createElement(a.Menu,{header:e.header,width:`${e.width}px`,height:`${e.height}px`,options:e.options,selected:e.selectedOption,onChange:e=>{c(e.value)}}));case"Calendar":{const t=e.minDate?new Date(e.minDate):void 0,l=e.maxDate?new Date(e.maxDate):void 0;return s.default.createElement(m,{width:null!==(n=e.width)&&void 0!==n?n:u.defaultCalendarWidth,mode:i,position:e.webPosition,modalType:h},s.default.createElement(a.Calendar,{value:null!==(o=e.initialValue)&&void 0!==o?o:null,minDate:t,maxDate:l,onChange:e=>r(e),onDismiss:()=>c()}))}case"CustomReminderModal":return s.default.createElement(l.SetReminderModal,{notification:e.notification,onDismiss:c,getModalBounds:e.queryModalBounds,position:e.webPosition,modalType:h});default:return s.default.createElement(f,null," Unknown Modal ")}})()};const f=(0,c.default)(a.Box)``,p=c.default.div`
2576
+ ${({mode:e,position:t,modalType:n})=>"web"===e&&`\n position: ${"reminder"===n?"absolute":"initial"};\n z-index: 1001;\n top: ${null==t?void 0:t.top};\n left: ${null==t?void 0:t.left}\n `}
2577
+ `,h=c.css`
2578
+ /* stylelint-disable no-descending-specificity */
2579
+ /* stylelint-disable property-no-vendor-prefix */
2580
+ .react-calendar {
2581
+ width: 350px;
2582
+ max-width: 100%;
2583
+ background: white;
2584
+ border: 1px solid #a0a096;
2585
+ font-family: 'Arial', 'Helvetica', sans-serif;
2586
+ line-height: 1.125em;
2587
+ }
2588
+
2589
+ .react-calendar--doubleView {
2590
+ width: 700px;
2591
+ }
2592
+
2593
+ .react-calendar--doubleView .react-calendar__viewContainer {
2594
+ display: flex;
2595
+ margin: -0.5em;
2596
+ }
2597
+
2598
+ .react-calendar--doubleView .react-calendar__viewContainer > * {
2599
+ width: 50%;
2600
+ margin: 0.5em;
2601
+ }
2602
+
2603
+ .react-calendar,
2604
+ .react-calendar *,
2605
+ .react-calendar *:before,
2606
+ .react-calendar *:after {
2607
+ -moz-box-sizing: border-box;
2608
+ -webkit-box-sizing: border-box;
2609
+ }
2610
+
2611
+ .react-calendar button {
2612
+ margin: 0;
2613
+ border: 0;
2614
+ outline: none;
2615
+ }
2616
+
2617
+ .react-calendar button:enabled:hover {
2618
+ cursor: pointer;
2619
+ }
2620
+
2621
+ .react-calendar__navigation {
2622
+ display: flex;
2623
+ height: 44px;
2624
+ margin-bottom: 1em;
2625
+ }
2626
+
2627
+ .react-calendar__navigation button {
2628
+ min-width: 44px;
2629
+ background: none;
2630
+ }
2631
+
2632
+ .react-calendar__navigation button:disabled {
2633
+ background-color: #f0f0f0;
2634
+ }
2635
+
2636
+ .react-calendar__navigation button:enabled:hover,
2637
+ .react-calendar__navigation button:enabled:focus {
2638
+ background-color: #e6e6e6;
2639
+ }
2640
+
2641
+ .react-calendar__month-view__weekdays {
2642
+ text-align: center;
2643
+ text-transform: uppercase;
2644
+ font: inherit;
2645
+ font-size: 0.75em;
2646
+ font-weight: bold;
2647
+ }
2648
+
2649
+ .react-calendar__month-view__weekdays__weekday {
2650
+ padding: 0.5em;
2651
+ }
2652
+
2653
+ .react-calendar__month-view__weekNumbers .react-calendar__tile {
2654
+ display: flex;
2655
+ align-items: center;
2656
+ justify-content: center;
2657
+ font: inherit;
2658
+ font-size: 0.75em;
2659
+ font-weight: bold;
2660
+ }
2661
+
2662
+ .react-calendar__month-view__days__day--weekend {
2663
+ color: #d10000;
2664
+ }
2665
+
2666
+ .react-calendar__month-view__days__day--neighboringMonth,
2667
+ .react-calendar__decade-view__years__year--neighboringDecade,
2668
+ .react-calendar__century-view__decades__decade--neighboringCentury {
2669
+ color: #757575;
2670
+ }
2671
+
2672
+ .react-calendar__year-view .react-calendar__tile,
2673
+ .react-calendar__decade-view .react-calendar__tile,
2674
+ .react-calendar__century-view .react-calendar__tile {
2675
+ padding: 2em 0.5em;
2676
+ }
2677
+
2678
+ .react-calendar__tile {
2679
+ max-width: 100%;
2680
+ padding: 10px 6.6667px;
2681
+ background: none;
2682
+ text-align: center;
2683
+ font: inherit;
2684
+ font-size: 0.833em;
2685
+ }
2686
+
2687
+ .react-calendar__tile:disabled {
2688
+ background-color: #f0f0f0;
2689
+ color: #ababab;
2690
+ }
2691
+
2692
+ .react-calendar__month-view__days__day--neighboringMonth:disabled,
2693
+ .react-calendar__decade-view__years__year--neighboringDecade:disabled,
2694
+ .react-calendar__century-view__decades__decade--neighboringCentury:disabled {
2695
+ color: #cdcdcd;
2696
+ }
2697
+
2698
+ .react-calendar__tile:enabled:hover,
2699
+ .react-calendar__tile:enabled:focus {
2700
+ background-color: #e6e6e6;
2701
+ }
2702
+
2703
+ .react-calendar__tile--now {
2704
+ background: #ffff76;
2705
+ }
2706
+
2707
+ .react-calendar__tile--now:enabled:hover,
2708
+ .react-calendar__tile--now:enabled:focus {
2709
+ background: #ffffa9;
2710
+ }
2711
+
2712
+ .react-calendar__tile--hasActive {
2713
+ background: #76baff;
2714
+ }
2715
+
2716
+ .react-calendar__tile--hasActive:enabled:hover,
2717
+ .react-calendar__tile--hasActive:enabled:focus {
2718
+ background: #a9d4ff;
2719
+ }
2720
+
2721
+ .react-calendar__tile--active {
2722
+ background: #006edc;
2723
+ color: white;
2724
+ }
2725
+
2726
+ .react-calendar__tile--active:enabled:hover,
2727
+ .react-calendar__tile--active:enabled:focus {
2728
+ background: #1087ff;
2729
+ }
2730
+
2731
+ .react-calendar--selectRange .react-calendar__tile--hover {
2732
+ background-color: #e6e6e6;
2733
+ }
2734
+ /* stylelint-enable property-no-vendor-prefix */
2735
+ /* stylelint-enable no-descending-specificity */
2736
+ `,m=(0,c.default)(a.Box)`
2737
+ ${({mode:e,position:t,modalType:n})=>"web"===e&&`\n position: ${"reminder"===n?"absolute":"initial"};\n z-index: 1002;\n top: ${null==t?void 0:t.top};\n left: ${null==t?void 0:t.left};\n `}
2738
+
2739
+ width: ${({width:e})=>`${e}px`};
2740
+
2741
+ ${h}
2742
+
2743
+ /* stylelint-disable no-descending-specificity */
2744
+ .react-calendar {
2745
+ min-width: 230px;
2746
+ width: 100%;
2747
+ background-color: ${({theme:e})=>e.palette.background4};
2748
+ color: ${({theme:e})=>e.palette.textDefault};
2749
+ font-size: ${({theme:e})=>e.fontSize.base};
2750
+ border: 1px solid ${({theme:e})=>e.palette.background6};
2751
+ }
2752
+
2753
+ .react-calendar__navigation {
2754
+ background-color: ${({theme:e})=>e.palette.background4} !important;
2755
+ color: ${({theme:e})=>e.palette.textDefault};
2756
+ font-size: ${({theme:e})=>e.fontSize.base};
2757
+ margin: 0;
2758
+ }
2759
+
2760
+ .react-calendar__navigation__arrow {
2761
+ background-color: ${({theme:e})=>e.palette.background4} !important;
2762
+ color: ${({theme:e})=>e.palette.textDefault};
2763
+ font-size: ${({theme:e})=>e.fontSize.large};
2764
+
2765
+ :disabled {
2766
+ color: ${({theme:e})=>e.palette.inputDisabled};
2767
+ }
2768
+ }
2769
+
2770
+ .react-calendar__navigation__label {
2771
+ background-color: ${({theme:e})=>e.palette.background4} !important;
2772
+ color: ${({theme:e})=>e.palette.textDefault};
2773
+ font-size: ${({theme:e})=>e.fontSize.base};
2774
+ }
2775
+
2776
+ .react-calendar__viewContainer {
2777
+ background-color: ${({theme:e})=>e.palette.background4} !important;
2778
+ color: ${({theme:e})=>e.palette.inputColor};
2779
+ font-size: ${({theme:e})=>e.fontSize.base};
2780
+ }
2781
+
2782
+ .react-calendar__month-view__weekdays {
2783
+ text-decoration: none;
2784
+ text-transform: none;
2785
+ font-weight: normal;
2786
+ font-size: ${({theme:e})=>e.fontSize.base};
2787
+
2788
+ abbr {
2789
+ text-decoration: none;
2790
+ }
2791
+ }
2792
+
2793
+ .react-calendar__tile {
2794
+ display: flex;
2795
+ align-items: center;
2796
+ justify-content: center;
2797
+ background-color: ${({theme:e})=>e.palette.background4} !important;
2798
+ color: ${({theme:e})=>e.palette.textDefault};
2799
+ border-radius: 100px;
2800
+ aspect-ratio: 1/1;
2801
+ cursor: pointer;
2802
+
2803
+ :disabled {
2804
+ color: ${({theme:e})=>e.palette.textInactive};
2805
+ cursor: not-allowed;
2806
+
2807
+ :hover {
2808
+ border: none;
2809
+ }
2810
+ }
2811
+
2812
+ :hover {
2813
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
2814
+ border-radius: 100px;
2815
+ }
2816
+
2817
+ :focus {
2818
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
2819
+ border-radius: 100px;
2820
+ }
2821
+ }
2822
+
2823
+ .react-calendar__tile--now {
2824
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary} !important;
2825
+ border-radius: 100px;
2826
+ }
2827
+
2828
+ .react-calendar__tile--active {
2829
+ background-color: ${({theme:e})=>e.palette.brandPrimary} !important;
2830
+ color: ${({theme:e})=>e.palette.brandPrimaryText};
2831
+ border-radius: 100px;
2832
+
2833
+ :focus {
2834
+ border: 2px solid ${({theme:e})=>e.palette.brandPrimary};
2835
+ color: ${({theme:e})=>e.palette.textDefault};
2836
+ border-radius: 100px;
2837
+ }
2838
+ }
2839
+ `},9130:e=>{"use strict";e.exports=S},9136:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.WindowConsumer=t.WindowProvider=t.WindowContext=void 0;const a=r(n(5932));t.WindowContext=a.createContext(window),t.WindowProvider=t.WindowContext.Provider,t.WindowConsumer=t.WindowContext.Consumer},9173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenFrame=void 0;const i=n(6566);class o extends i.Action{constructor(e,t,n){super(),this.key=e,this.isStream=t,this.platformId=n}}t.OpenFrame=o},9183:function(e,t,n){"use strict";var i=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultThemeProvider=void 0;const r=n(7250),a=o(n(5932));t.DefaultThemeProvider=e=>{var{themes:t,children:n}=e,o=i(e,["themes","children"]);const l={light:(0,r.createTheme)({brandPrimary:"#0A76D3"}),dark:(0,r.createTheme)({brandPrimary:"#0A76D3"})};return a.default.createElement(r.ThemeProvider,Object.assign({themes:null!=t?t:l},o),n)}},9205:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.CardButtonGroup=void 0;const l=r(n(5932)),s=a(n(2230)),c=n(7250),u=a(n(6992)),d=n(9136),f=n(3087),p=n(5387),h=n(2200);t.CardButtonGroup=e=>{var t;const n=(0,l.useContext)(d.WindowContext),i=[...null!==(t=e.buttons)&&void 0!==t?t:[]],o=i[0],r=null==o?void 0:o.cta,a=i.find((e=>e.submit));let s=!1,g=(e,t)=>t.onClick(e,t);const v=(0,l.useContext)(f.FormikProxyContext).formikProps,[y]=(0,p.useStateButtonOptionsOverrides)(e.notificationId,[o]);a&&(v?(s=!v.isValid,g=v.submitForm):(s=!0,g=void 0));const _=(0,p.useStateButtonOptionsOverrides)(e.notificationId,i);if(i.length<=2&&r||i.length<=1)return l.default.createElement(l.default.Fragment,null,i.map(((t,n)=>{const i=_[n];return l.default.createElement(m,Object.assign({},t,{title:i.buttonText,onClick:t.submit?e=>g&&i.canSubmit?g(e,t):(0,u.default)():e=>t.onClick(e,t),size:"base",kind:r||t.submit?c.ButtonKind.primary:c.ButtonKind.textOnly,disabled:s,key:n,"data-testid":`nft-btn-${n}`,tabIndex:e.tabIndexOverride,applySubmittedColor:i.isSubmitted&&i.hasOverrides&&t.submit}),l.default.createElement(h.ButtonLabel,{overrides:i,button:t}))})));{const t=i.slice(1).map((t=>({title:t.title,onClick:n=>{var i;t.onClick(n,t),null===(i=e.raiseAnalyticsEvent)||void 0===i||i.call(e,{type:e.isToast?"Toast":"Notification",action:"Select Secondary Button",value:t.title,data:{id:e.notificationId}})}}))),a={title:y.buttonText,label:y.buttonText,onClick:o.submit?e=>g&&y.canSubmit?g(e,o):(0,u.default)():t=>{var n;o.onClick(t,o),null===(n=e.raiseAnalyticsEvent)||void 0===n||n.call(e,{type:e.isToast?"Toast":"Notification",action:"Select Primary Button",value:y.buttonText,data:{id:e.notificationId}})},size:"base",kind:r||o.submit?c.ButtonKind.primary:c.ButtonKind.textOnly,disabled:s,secondaryButtons:t,closePanelOnSecondaryButtonClick:!0,expandDirection:c.ExpandDirection.Up,document:n.document};return l.default.createElement(b,Object.assign({applySubmittedColor:y.isSubmitted&&y.hasOverrides},a,{tabIndex:e.tabIndexOverride}))}};const m=(0,s.default)(c.Button)`
2840
+ background-color: ${({applySubmittedColor:e,theme:t})=>e?t.palette.statusSuccess:void 0} !important;
2841
+ flex-shrink: 1;
2842
+ overflow: hidden;
2843
+ `,b=(0,s.default)(c.ExpandableButton)`
2844
+ div {
2845
+ background-color: ${({applySubmittedColor:e,theme:t})=>e?t.palette.statusSuccess:void 0} !important;
2846
+ ${c.Mixins.textOverflow}
2847
+ white-space: nowrap;
2848
+ text-overflow: ellipsis;
2849
+ display: block;
2850
+ overflow: hidden;
2851
+ padding: 0;
2852
+ }
2853
+ `},9247:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DateTimeInput=void 0;const s=n(7250),c=n(8899),u=r(n(5932)),d=l(n(2230)),f=n(6415);t.DateTimeInput=e=>{const{inputType:t,value:n,message:i,getBounds:o,showModal:r,updateValue:l,transformer:d,mode:h}=e,m=a(e,["inputType","value","message","getBounds","showModal","updateValue","transformer","mode"]),{setIsDatePickerModalOpen:b,setDatePickerConfig:g,setIsTimePickerModalOpen:v,setTimePickerConfig:y,setModalType:_}=(0,u.useContext)(f.WebModalContext),[x,O]=(0,u.useState)(!1),[C,w]=(0,u.useState)(0),[j,S]=(0,u.useState)(),P=(0,u.createRef)();(0,u.useEffect)((()=>{S(i?"critical":void 0)}),[i]);const M=(0,u.useCallback)((e=>{if(e.current){const t=o(),n=e.current.getBoundingClientRect();return(0,c.alignModalToParent)(t,{left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top})}return null}),[o]),E=(0,u.useCallback)((e=>{if(O(!1),e){const t=d?d(e):e;l(t),w(C+1)}"date"===t?b(!1):"time"===t&&v(!1)}),[C,d,l,t,b,v]),T=(0,u.useCallback)((e=>{var n;if(O(!x),x)"web"===h&&("date"===t?b(!1):"time"===t&&v(!1));else if("desktop"===h){const i=null!==(n=M(P))&&void 0!==n?n:{x:e.screenX,y:e.screenY},o=Object.assign(Object.assign({identity:{id:`${t}-input-dropdown-modal`,parentId:"custom-reminder-select-menu-modal"}},m),{position:i,onDismiss:E});r(o)}else if("web"===h){const n={x:e.clientX,y:e.clientY},i=Object.assign(Object.assign({identity:{id:`${t}-input-dropdown-modal`,parentId:"custom-reminder-select-menu-modal"}},m),{position:n,onDismiss:E});_("reminder"),"date"===t?(g(i),b(!0),v(!1)):"time"===t&&(y(i),v(!0),b(!1))}}),[x,h,M,P,t,m,E,r,_,g,b,v,y]);return u.default.createElement(p,null,u.default.createElement(s.DateInput,{type:t,expanded:x,status:j,message:i,ref:P,label:t,value:n,key:`${t}-input-rev-${C}`,onExpand:T,onChange:e=>l(e.target.value)}))};const p=(0,d.default)(s.Box)`
2854
+ width: 100%;
2855
+ padding-bottom: ${({theme:e})=>e.px.small};
2856
+
2857
+ & > * {
2858
+ width: 100%;
2859
+ }
2860
+ `},9588:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.DisplaySelector=t.DisplaySelectorComponent=void 0;const l=r(n(5932)),s=n(9130),c=a(n(2230)),u=n(7250),d=n(8061);t.DisplaySelectorComponent=({title:e,description:t,displays:n,selectedDisplay:i,selectDisplay:o,showIndicator:r,hideIndicator:a,raiseAnalyticsEvent:s})=>{var c;const[d,m]=(0,l.useState)(),[b,g]=(0,l.useState)([[]]);return(0,l.useEffect)((()=>{let e=0;const t=n.map(((t,n)=>{const o={title:`Display ${n+1}`,value:{display:t,index:n}};return t===i&&(e=n),o}));g([t]),m(t[e])}),[n,i]),l.default.createElement(f,null,l.default.createElement(p,{size:u.Size.large},e),l.default.createElement(h,{size:u.Size.base},t),l.default.createElement(u.DropdownMenu,{key:null!==(c=null==d?void 0:d.title)&&void 0!==c?c:"No Display",options:b,onChange:e=>{const t=e.value;o(t.display),null==s||s({type:"Settings",action:"Change Display",value:`${t.index+1}`,skipValueHashing:!0})},onOptionHover:e=>{const t=e;t?r(t.display,`Display ${t.index+1}`):a()},selected:d}))};const f=(0,c.default)(u.Box)`
2861
+ flex-direction: column;
2862
+ `,p=(0,c.default)(u.Text).attrs({as:"label"})`
2863
+ margin-bottom: ${({theme:e})=>e.px.small};
2864
+ `,h=(0,c.default)(u.Text).attrs({as:"label"})`
2865
+ margin-bottom: ${({theme:e})=>e.px.large};
2866
+ color: ${({theme:e})=>e.palette.textHelp};
2867
+ `;t.DisplaySelector=(0,s.connect)((e=>({displays:e.display.list,selectedDisplay:e.display.selected})),(e=>({selectDisplay:t=>e(new d.SelectDisplay(t)),showIndicator:(t,n)=>e(new d.ShowIndicator(t,n)),hideIndicator:()=>e(new d.HideIndicator)})))(t.DisplaySelectorComponent)},9594:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DateWidgetComponent=t.DateWidgetComponentConnected=void 0;const o=i(n(5932)),r=n(258),a=n(7451),l=n(9130),s=n(7250),c=n(6464),u=n(67),d=n(7260),f=n(1971),p=n(5232),h=n(5484),m=n(4691),b=n(9816),g=n(6415);t.DateWidgetComponentConnected=e=>o.default.createElement(r.Field,{name:e.field.key,component:v,dateField:e.field,showModal:e.showModal,hideModal:e.hideModal,formSettings:e.formSettings,raiseAnalytics:e.raiseAnalytics,mode:e.mode});const v=({field:e,showModal:t,hideModal:n,dateField:i,form:r,formSettings:a,raiseAnalytics:l,mode:v})=>{var y,_;(0,h.useRaiseFieldAnalytics)(i,l,e.value?t=>(0,m.fieldValueAsString)(e.value):void 0);const[x,O,C,w]=(0,u.useCalendarModalDialog)((e=>{r.setFieldTouched(i.key,!0),r.setFieldValue(i.key,(0,m.dateToFieldValue)(e))}),t,n,(e=>{var t;return{width:null===(t=null==e?void 0:e.current)||void 0===t?void 0:t.clientWidth,height:c.dropdownModalHeight}}),(()=>r.setFieldTouched(i.key,!0)),e.value?(0,m.fieldValueToDate)(e.value):void 0,null===(y=i.widget)||void 0===y?void 0:y.minDate,null===(_=i.widget)||void 0===_?void 0:_.maxDate,v),{modalType:j,isDatePickerModalOpen:S}=o.default.useContext(g.WebModalContext),P=r.errors[e.name]&&r.touched[e.name]?"critical":void 0;return o.default.createElement(d.InputContainer,{flexDirection:"column"},o.default.createElement(s.DateInput,{label:(0,p.getLabelText)(i,a),key:`${i.key}-${w}`,value:e.value?(0,m.fieldValueAsString)(e.value):void 0,helperText:i.helperText,type:"date",onChange:e=>{isNaN(Date.parse(e.target.value))||r.setFieldValue(i.key,(0,m.dateToFieldValue)(new Date(Date.parse(e.target.value))))},expanded:x,ref:C,onExpand:()=>O(!x),status:P}),"web"===v&&"widget"===j&&S&&o.default.createElement(b.WebModalComponent,{mode:v}),o.default.createElement(f.ErrorLabel,{name:e.name}))};t.DateWidgetComponent=(0,l.connect)((e=>({mode:e.mode})),(e=>({showModal:t=>e(new a.ShowModal(t)),hideModal:t=>e(new a.HideModal(t))})))(t.DateWidgetComponentConnected)},9603:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.APITopic=t.getChannelName=t.SERVICE_CHANNEL=t.SERVICE_IDENTITY=void 0,t.SERVICE_IDENTITY={uuid:"notifications-service",name:"notifications-service"},t.SERVICE_CHANNEL="of-notifications-service-v1",t.getChannelName=e=>e===t.SERVICE_IDENTITY.uuid?t.SERVICE_CHANNEL:`${e}-${t.SERVICE_CHANNEL}`,(n=t.APITopic||(t.APITopic={})).CREATE_NOTIFICATION="create-notification",n.UPDATE_NOTIFICATION="update-notification",n.CLEAR_NOTIFICATION="clear-notification",n.GET_APP_NOTIFICATIONS="fetch-app-notifications",n.CLEAR_APP_NOTIFICATIONS="clear-app-notifications",n.TOGGLE_NOTIFICATION_CENTER="toggle-notification-center",n.ADD_EVENT_LISTENER="add-event-listener",n.REMOVE_EVENT_LISTENER="remove-event-listener",n.GET_PROVIDER_STATUS="get-provider-status",n.GET_NOTIFICATIONS_COUNT="get-notifications-count",n.SHOW_NOTIFICATION_CENTER="show-notification-center",n.HIDE_NOTIFICATION_CENTER="hide-notification-center",n.REGISTER_PLATFORM="register-notifications-platform",n.DEREGISTER_PLATFORM="deregister-notifications-platform",n.SET_FORM_STATUS_OPTIONS="set-form-status-options",n.SET_FORM_VALIDATION_ERRORS="set-form-validation-errors",n.GET_USER_SETTINGS_STATUS="get-user-settings-status",n.SET_DEFAULT_PLATFORM_SHORTCUT="set-default-platform-shortcut",n.SET_NOTIFICATION_SECURITY_RULE="set-notification-security-rule"},9611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickBestComposition=void 0;const i=n(2984);t.pickBestComposition=function(e){if(e.length<1)return;const t=parseInt((0,i.getTemplateAPIVersion)()),n=e.map(((e,t)=>({version:parseInt(e.minTemplateAPIVersion),index:t}))).filter((e=>e.version<=t)).reduce(((e,t)=>t.version>e.version?t:e),{version:0,index:-1}).index;return n>=0?e[n]:void 0}},9615:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hide=t.show=t.removeVisibilityListener=t.addVisibilityListener=t.removeNotificationCountListener=t.addNotificationCountListener=t.setTheme=t.applySnapshot=t.getSnapshot=t.initNotificationCenter=void 0,n(392);const r=n(2882),a=n(343),l=n(3082);o(n(394),t),customElements.define("notification-center",l.NotificationCenterWebComponent);let s=!1;function c(){if(!s)throw new Error("Notification Center is not initialized. You must call initNotificationCenter first.")}t.initNotificationCenter=async function(e){if(s)throw new Error("Notification center is already initialized.");if(!e)throw new Error("You must provide options to initialize the notification center.");if(!e.container)throw new Error("You must provide a container to render the notification center.");if(!e.finContext)throw new Error("You must provide a fin context to initialize the notification center.");if(!e.serviceId)throw new Error("You must provide a unique service id to initialize the notification center.");if(e.theme&&!e.theme.palette)throw new Error("You must provide a palette when using the theme options.");const t=r.Injector.getClass(a.Main);await t.register(e),s=!0},t.getSnapshot=function(){return c(),r.Injector.getClass(a.Main).getSnapshot()},t.applySnapshot=async function(e){c(),await r.Injector.getClass(a.Main).applySnapshot(e)},t.setTheme=async function(e){c(),await r.Injector.getClass(a.Main).setTheme(e)},t.addNotificationCountListener=function(e,t){a.Main._countChangeSignal.add(e,t)},t.removeNotificationCountListener=function(e,t){a.Main._countChangeSignal.remove(e,t)},t.addVisibilityListener=function(e,t){a.Main._visibilityChangeSignal.add(e,t)},t.removeVisibilityListener=function(e,t){a.Main._visibilityChangeSignal.remove(e,t)},t.show=async function(){c(),await r.Injector.getClass(a.Main).show()},t.hide=async function(){c(),await r.Injector.getClass(a.Main).hide()}},9628:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Layer=void 0;const a=r(n(5932)),l=n(9130),s=n(4887),c=n(7451),u=n(9173),d=n(9004),f=n(6731),p=n(7250);t.Layer=(0,l.connect)((e=>({platform:(0,c.selectCurrentPlatform)(e)})),(e=>({remove:t=>e(new c.RemoveNotifications(t,"Clear")),frame:(t,n,i)=>e(new u.OpenFrame(t,n,i)),raiseAnalyticsEvent:async(t,n)=>e(new c.RaiseAnalyticsEvent(t,n))})))((({layer:e,platform:t,frame:n,remove:i,raiseAnalyticsEvent:o,onKeyDown:r})=>{const[l,c]=(0,a.useState)(!1);return a.default.createElement(a.default.Fragment,null,a.default.createElement(d.Header,{hasControls:!0,title:e.title,itemCount:e.count,isExpanded:l,isExpandable:e.count>s.groupMinimizedStackSize,onPopOutFrame:i=>{i.stopPropagation(),n(e.key,e.isStream,t),o({type:"Center",action:"Popout Stream",value:`${e.key}`})},onClearAll:()=>{i(e.sections.flatMap((e=>e.notifications))),o({type:"Center",action:"Clear",value:`${e.title}`,skipValueHashing:!0})},onToggleExpanded:()=>{c(!l),o({type:"Center",action:l?"Select Show Fewer":"Select Show All",value:`${e.title}`})},onKeyDown:null==r?void 0:r(null)}),a.default.createElement(p.Box,{role:"list"},a.default.createElement(f.Groups,{groupData:l?e:e.preview,hasControls:!1,onKeyDown:r?e=>r:void 0})))}))},9636:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(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.FormContainer=void 0;const l=r(n(5932)),s=n(3087),c=n(258),u=n(7603),d=n(7620),f=n(3051),p=n(7953),h=a(n(2230));t.FormContainer=e=>{const{setFormikProps:t}=(0,l.useContext)(s.FormikProxyContext),n=(0,c.useFormikContext)();(0,f.useFormCustomValidationErrors)(n,e.notificationId),(0,l.useEffect)((()=>{t(n)}),[n]);const i=(0,l.useContext)(p.ResizeContext);return(0,l.useEffect)((()=>{"emitResize"in i&&i.emitResize()}),[e.formErrorsCount,i]),l.default.createElement(m,null,e.fields.length>1?l.default.createElement(u.MultiFieldFormContainer,Object.assign({},e),e.children):l.default.createElement(d.SingleFieldFormContainer,{notificationId:e.notificationId},e.children))};const m=h.default.div`
2868
+ input {
2869
+ box-shadow: none;
2870
+ }
2871
+ `},9640:e=>{"use strict";e.exports=P},9690:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CardHeaderHover=t.CardHeader=void 0;const a=n(7250),l=n(2207),s=r(n(5932)),c=r(n(2230)),u=n(5396),d=n(7982),f=n(4858),p=n(9136),h=n(9816),m=n(6415);t.CardHeader=e=>{const{sender:t,creationDate:n,reminderDate:i,icon:o,uuid:r,notificationID:c,onDismiss:f,raiseAnalyticsEvent:O,onShowReminderModal:C,isToast:w,showReminderButton:j=!0,tabIndex:S,mode:P="desktop"}=e,[M,E]=s.default.useState(["",null]),T=s.default.useContext(p.WindowContext),{modalType:k}=s.default.useContext(m.WebModalContext);return(0,s.useEffect)((()=>{const e=()=>{n&&E((0,l.formatLines)(n,i))};e();const t=T.setInterval(e,6e4);return()=>{T.clearInterval(t)}}),[n,i,l.formatLines]),s.default.createElement(b,{alignItems:"center"},s.default.createElement(u.AppLogo,{src:o,size:"xlarge",alt:t,uuid:r,"data-testid":"icon"}),s.default.createElement(g,{"data-testid":"sender-title"},t),s.default.createElement(v,{alignItems:"center"},s.default.createElement(x,null,s.default.createElement(d.NotificationTime,{timeStrings:M})),s.default.createElement(y,null,j?s.default.createElement(_,{onClick:C,kind:"secondary","data-testid":"reminders-menu-button",title:"Remind me later",tabIndex:S},s.default.createElement(a.Icon,{size:"base",icon:"TimerIcon"})):s.default.createElement(s.default.Fragment,null),s.default.createElement(_,{onClick:e=>{f(e),null==O||O({type:w?"Toast":"Notification",action:w?"Dismiss":"Clear",data:{id:c},skipValueHashing:!0})},kind:"secondary","data-testid":"dismiss-button",title:w?"Dismiss":"Clear",tabIndex:S},s.default.createElement(a.Icon,{size:"base",icon:w?"MinusCircledIcon":"CrossCircledIcon"}))),"web"===P&&"reminder"===k&&s.default.createElement(h.WebModalComponent,{mode:P})))};const b=(0,c.default)(a.Box)`
2872
+ width: 100%;
2873
+ user-select: none;
2874
+ position: relative;
2875
+ padding: ${e=>e.theme.px.base};
2876
+ padding-bottom: 0;
2877
+ `,g=(0,c.default)(f.SingleLine)`
2878
+ flex: 1 1 100px;
2879
+ `,v=(0,c.default)(a.Box)`
2880
+ height: 32px;
2881
+ justify-self: flex-end;
2882
+ margin-left: ${e=>e.theme.px.small};
2883
+ `,y=(0,c.default)(a.Box)`
2884
+ right: ${e=>e.theme.px.base};
2885
+ `,_=(0,c.default)(a.Button)`
2886
+ && {
2887
+ background-color: transparent;
2888
+ border-color: transparent;
2889
+ padding: ${e=>e.theme.px.xsmall};
2890
+
2891
+ &:hover {
2892
+ background-color: ${e=>e.theme.palette.brandSecondaryHover};
2893
+ }
2894
+ }
2895
+ `,x=c.default.div``;t.CardHeaderHover=c.css`
2896
+ &:hover {
2897
+ ${y} {
2898
+ display: inline-block;
2899
+ position: absolute;
2900
+ top: ${e=>e.theme.px.base};
2901
+ }
2902
+
2903
+ ${x} {
2904
+ display: none;
2905
+ }
2906
+ }
2907
+
2908
+ ${x} {
2909
+ display: inline-block;
2910
+ position: absolute;
2911
+ right: ${e=>e.theme.px.base};
2912
+ }
2913
+
2914
+ ${y} {
2915
+ overflow: hidden;
2916
+ display: none;
2917
+ }
2918
+
2919
+ ${y}:focus-within {
2920
+ height: unset;
2921
+ }
2922
+ &:has(${y}:focus-within) {
2923
+ ${x} {
2924
+ display: none;
2925
+ }
2926
+ }
2927
+ `},9694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHandleClickOutsideForWebModals=void 0;const i=n(5932);t.useHandleClickOutsideForWebModals=function(e,t,n,o){(0,i.useEffect)((()=>{if("web"!==e)return;if(!(n.isMenuOpen||n.isCustomReminderOpen||n.isDatePickerOpen||n.isTimePickerOpen))return;const i=e=>{var i;const r=(null===(i=e.composedPath)||void 0===i?void 0:i.call(e))||[],a=n.isMenuOpen&&t.menuRef.current&&!r.includes(t.menuRef.current),l=n.isCustomReminderOpen&&t.customReminderRef.current&&!r.includes(t.customReminderRef.current),s=n.isDatePickerOpen&&t.datePickerRef.current&&!r.includes(t.datePickerRef.current),c=n.isTimePickerOpen&&t.timePickerRef.current&&!r.includes(t.timePickerRef.current);a&&o.setIsMenuOpen(!1),l&&((s||c)&&o.setIsCustomReminderOpen(!1),n.isTimePickerOpen||n.isDatePickerOpen||o.setIsCustomReminderOpen(!1)),s&&o.setIsDatePickerOpen(!1),c&&o.setIsTimePickerOpen(!1)};return document.addEventListener("click",i,{capture:!0}),()=>{document.removeEventListener("click",i,{capture:!0})}}),[e,t.menuRef,t.customReminderRef,t.datePickerRef,t.timePickerRef,n.isMenuOpen,n.isCustomReminderOpen,n.isDatePickerOpen,n.isTimePickerOpen,o.setIsMenuOpen,o.setIsCustomReminderOpen,o.setIsDatePickerOpen,o.setIsTimePickerOpen])}},9816:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=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,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=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}),r=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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.WebModalComponent=void 0;const a=n(6415),l=n(9694),s=r(n(5932)),c=n(9052);t.WebModalComponent=e=>{const{isMenuModalOpen:t,setIsMenuModalOpen:n,menuConfig:i,isCustomReminderModalOpen:o,setIsCustomReminderModalOpen:r,customReminderConfig:d,isDatePickerModalOpen:f,setIsDatePickerModalOpen:p,datePickerConfig:h,isTimePickerModalOpen:m,setIsTimePickerModalOpen:b,timePickerConfig:g}=(0,s.useContext)(a.WebModalContext),v=(0,s.useRef)(null),y=(0,s.useRef)(null),_=(0,s.useRef)(null),x=(0,s.useRef)(null);return(0,l.useHandleClickOutsideForWebModals)(e.mode,{menuRef:v,customReminderRef:y,datePickerRef:_,timePickerRef:x},{isMenuOpen:t,isCustomReminderOpen:o,isDatePickerOpen:f,isTimePickerOpen:m},{setIsMenuOpen:n,setIsCustomReminderOpen:r,setIsDatePickerOpen:p,setIsTimePickerOpen:b}),s.default.createElement(s.default.Fragment,null,t&&s.default.createElement("div",{ref:v},s.default.createElement(c.ModalComponent,Object.assign({onDismiss:()=>n(!1)},i,{type:"Menu",mode:e.mode,webPosition:u.menu}))),o&&s.default.createElement("div",{ref:y},s.default.createElement(c.ModalComponent,Object.assign({onDismiss:()=>r(!1)},d,{type:"CustomReminderModal",mode:e.mode,webPosition:u.customReminder}))),f&&s.default.createElement("div",{ref:_},s.default.createElement(c.ModalComponent,Object.assign({onDismiss:()=>p(!1)},h,{type:"Calendar",mode:e.mode,webPosition:u.calendar}))),m&&s.default.createElement("div",{ref:x},s.default.createElement(c.ModalComponent,Object.assign({onDismiss:()=>{b(!1)}},g,{type:"Menu",mode:e.mode,webPosition:u.time}))))};const u={time:{top:"210px",left:"13px"},calendar:{top:"142px",left:"13px"},menu:{top:"37px",left:"145px"},customReminder:{top:"37px",left:"0px"}}},9872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIndicatorColor=void 0;const i=n(7250),o=n(6865),r={background:e=>{switch(e){case o.IndicatorColor.GREEN:return i.Color.functional1;case o.IndicatorColor.YELLOW:return"#FCFF58";case o.IndicatorColor.RED:return"#C21313";case o.IndicatorColor.BLUE:return i.Color.functional3;case o.IndicatorColor.PURPLE:return"#7E36C6";case o.IndicatorColor.GRAY:return i.Color.darkGray1;case o.IndicatorColor.MAGENTA:return"#AF2668";case o.IndicatorColor.ORANGE:return"#FE7301";case o.IndicatorColor.TEAL:return"#0B827C";default:return"transparent"}},foreground:e=>{switch(e){case o.IndicatorColor.ORANGE:case o.IndicatorColor.YELLOW:return"#000000";default:return"#FFFFFF"}}};t.getIndicatorColor=(e,t,n)=>{const i=((e,t)=>{var n;return e.color?null===(n=t.notificationIndicatorColors)||void 0===n?void 0:n[e.color]:null})(t,n);if(i)return i[e];return(0,r[e])("fallback"in t?t.fallback:t.color)}},9897:function(e,t,n){"use strict";var i,o,r=this&&this.__decorate||function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>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)},l=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}},s=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(707),u=n(4854),d=n(7451),f=n(8684),p=n(7676),h=n(8320),m=n(4673),b=n(768),g=n(7234),v=n(7202),y=n(6858),_=n(4352),x=s(n(9640));let O=class{constructor(e,t){this._providersById=new Map,this._providersByUUID=new Map,this._topics=new Map,this._throttledBroadcastNotificationCount=(0,x.default)((()=>this.broardcastAction("notifications-count-changed")),1e3),this._throttledNotificationSoundChanged=(0,x.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 h.SetReminder?await this.onSetReminder(e):e instanceof h.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 p.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 g.ToggleNotificationSound&&this._throttledNotificationSoundChanged()}async onCreateNotifications(e){const{notification:t,source:n}=e.notification;if((0,b.isTutorialNotification)(e.notification))return;const i={target:"default",type:"notification-created",notification:(0,m.mutable)(t)};await this.dispatchAction(n,i)}async onRemoveNotifications(e){const{notifications:t}=e;await Promise.all(t.map((async e=>{const{notification:t,source:n}=e;if((0,b.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 i={target:"default",type:"notification-closed",notification:(0,m.mutable)(t)};await this.dispatchAction(n,i)})))}async onSetReminder(e){const{notification:t,source:n,modifiers:i}=e.reminder,o={target:"default",type:"notification-reminder-created",notification:(0,m.mutable)(t),reminderDate:i.reminder};await this.dispatchAction(n,o)}async onCancelReminder(e){const{notification:t,source:n}=e.reminder,i={target:"default",type:"notification-reminder-removed",notification:(0,m.mutable)(t)};await this.dispatchAction(n,i)}async onClickButton(e){const{notification:t,source:n}=e.notification,i=t.buttons[e.buttonIndex];if(!i.onClick)return;if((0,b.isTutorialNotification)(e.notification))return void await(0,b.handleTutorialButtonAction)(i.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:i.onClick};await this.dispatchAction(n,o)}async onClickFragment(e){const{notification:t,source:n}=e.notification,i=e.fragment;if(!i.onClick)return;const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:Object.assign(Object.assign({},t),{_fragments:[i]}),source:n,controlSource:"_fragments",controlIndex:0,result:i.onClick};await this.dispatchAction(n,o)}async onClickNotification(e){const{notification:t,source:n}=e.notification;if((0,b.isTutorialNotification)(e.notification)||!t.onSelect)return;const i={target:"default",type:"notification-action",trigger:c.ActionTrigger.SELECT,notification:(0,m.mutable)(t),source:n,result:t.onSelect};await this.dispatchAction(n,i)}async onExpireNotification(e){const{notification:t,source:n}=e.notification;if(!t.onExpire)return;const i={target:"default",type:"notification-action",trigger:c.ActionTrigger.EXPIRE,notification:(0,m.mutable)(t),source:n,result:t.onExpire};await this.dispatchAction(n,i)}async onSubmitNotificationForm(e){const{form:t,button:n}=e,{notification:i}=e.notification,o=e.notification.source,r={target:"default",type:"notification-form-submitted",notification:(0,m.mutable)(i),form:t,button:n};await this.dispatchAction(o,r)}async onRequestNotificationFormCustomValidation(e){const{notification:t}=e.notification,n=e.notification.source,i={target:"default",type:"notification-form-values-changed",notification:(0,m.mutable)(t),form:e.form};await this.dispatchAction(n,i)}async dispatchAction(e,t){const n=this._topics.get(t.type);if(n){const i=this.translateProviderIdentityToClientIdentity(e.identity);i&&n.some((e=>e.uuid===i.uuid&&e.name===i.name))&&this._apiHandler.dispatchEvent(i,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.`)}};O=r([(0,_.injectable)(),l(0,(0,_.inject)(v.Inject.STORE)),l(1,(0,_.inject)(v.Inject.API_HANDLER)),a("design:paramtypes",["function"==typeof(i=void 0!==y.WebStore&&y.WebStore)?i:Object,"function"==typeof(o=void 0!==u.APIHandler&&u.APIHandler)?o:Object])],O),t.ClientController=O}},E={},function e(t){var n=E[t];if(void 0!==n)return n.exports;var i=E[t]={exports:{}};return M[t].call(i.exports,i,i.exports,e),i.exports}(9615);var M,E}));